Update utils/ingest_image.py
Browse files- utils/ingest_image.py +1 -0
utils/ingest_image.py
CHANGED
@@ -44,6 +44,7 @@ def extract_and_store_images(pdf_path,images_dir=r'extracted_images'):
|
|
44 |
file_path = os.path.join(images_dir, filename)
|
45 |
ids.append(str(i))
|
46 |
uris.append(file_path)
|
|
|
47 |
|
48 |
image_collection.add(ids=ids, uris=uris)
|
49 |
print("Images added to the database.")
|
|
|
44 |
file_path = os.path.join(images_dir, filename)
|
45 |
ids.append(str(i))
|
46 |
uris.append(file_path)
|
47 |
+
print(file_path)
|
48 |
|
49 |
image_collection.add(ids=ids, uris=uris)
|
50 |
print("Images added to the database.")
|