Skip to content

RikEnde/image-indexer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image-indexer

Trying out pymongo. The exif info of holiday snapshots is a nice source of large amounts of unstructured data. Generate a document containing exif and file stat info of image files and persist this document.

Requirements

  • pymongo
  • PIL or Pillow
  • python-magic

Usage

image_indexer.py --path=/root [-v | --verbose=true] [-u | --upsert=true] [-d | --debug=true] [-h | --hashing=true]
    --path=/path    The top directory to be traversed while indexing
    -v, --verbose   if true, print to stdout what file the indexer is currently working on
    -u, --upsert    if true, update files that have already been indexed. If false, skip.
    -d, --debug     print extremely verbose debugging info to stdout
    -h, --hashing   if true, include an md5 hash in the document that is persisted

Known issues

  • Not very useful

TODO

  • Store image file in GridFS
  • Generate and store thumbnails

About

Trying out pymongo. The exif info of holiday snapshots is a nice source of large amounts of unstructured data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published