Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ioggstream/photo-unique

A simple photo deduplication archiver, using pHash
https://github.com/ioggstream/photo-unique

Last synced: about 1 month ago
JSON representation

A simple photo deduplication archiver, using pHash

Awesome Lists containing this project

README

        

photo-unique
-----------------

A simple multithread script to create an unique photo library. The script is made up of three components:
* Main thread
* Indexing thread
* Db thread

Main thread
--------------
Walk thru a filesystem to find images, then pass their path to one of the indexing threads

Indexing threads
-----------------
Every indexing thread creates an image perceptual hash and pass it to the Db thread. This job is quite slow, so it's parallelized.

Db thread
-----------
Write indexes to the db in the following form:
{ hash : path}

It's in a separate thread to avoid locking issues. Only this thread plays with db.