Skip to content

Store and retrieve images from MongoDB using GridFS and exif metadata.

License

Notifications You must be signed in to change notification settings

sriramcu/photo_metadata_mongodb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

photo_metadata_mongodb

Store and retrieve images from MongoDB using GridFS and exif metadata, based on date of capture and camera model used to capture the image. The advantage being that you can access your photos in a categorised manner anywhere.

Usage

Step 1

git clone https://github.com/sriramcu/photo_metadata_mongodb

Step 2

Install requirements:
pip install -r requirements.txt

Step 3

Get your Atlas-MongoDB connection string by following the steps on the website. Modify lines 24,26,27 in driver.py to match the values entered by you when creating your cluster.

Step 4

Run the program:
python3 driver.py <connection_string>
or
python3 driver.py "$(< file.txt)"
Where file.txt contains the connection string.

About

Store and retrieve images from MongoDB using GridFS and exif metadata.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages