|- - - - - - - - - - Welcome to PhotoDex Laboratory - - - - - - - - - -|
We are a (mostly) ethical laboratory that specializes in manipulating and mutating directories of photos.
Currently supported experimental procedures are outlined below:
Protocol 'C':
[Sub-Protocol 'D']: Generating bar graphs of the n (n <= 10) dominant colors in images and storing
a record of the dominant color graphs in a user-specified directory.
Sample Inputs:
Relative Path to Source Directory: ../Profile_Pictures
Relative Path to Destination Directory: ../Profile_Pictures_Original
I choose: C
Enter 'Q' to query directory, 'D' to calculate dominant colors: D
[Sub-Protocol 'Q']: Search an directory and rank its images by color similarity to a user-specified
query image. The ranked images are displayed to the user, who is given the option to specify
which images they would like to move to a specified destination directory.
Sample Inputs:
Relative Path to Source Directory: ../Profile_Pictures
Relative Path to Destination Directory: ../Profile_Pictures_Original
I choose: C
Enter 'Q' to query directory, 'D' to calculate dominant colors: Q
Enter relative path to your query image: ../cero.png
Protocol 'D': Deleting or relocating duplicate or near-duplicate images
Sample Inputs:
Relative Path to Source Directory: ../Profile_Pictures
Relative Path to Destination Directory: ../Profile_Pictures_Original
I choose: D
Do you want to move or purge similar images? ('M' - move, 'P' - purge): P
Enter relative path to your query image: ../cero.png
Protocol 'F': Detecting humans and relocating photos that feature them as the subject matter.
Sample Inputs:
Relative Path to Source Directory: ../Profile_Pictures
Relative Path to Destination Directory: ../Profile_Pictures_Original
I choose: F
Would you like to see each image in a popup window? ('Y'/'N'): Y
Protocol 'S': Shrinking photos according to a specified height or width. A photo expansion option
is unavailable due to the extremely high risk of image pixellation and uglification.
Sample Inputs:
Relative Path to Source Directory: ../Profile_Pictures_Original
Relative Path to Destination Directory: ../Profile_Pictures_Original
I choose: S
Enter your impossible-to-attain ideal size: 500
Do you want them short or skinny? ('H' - height/'W' - width): W
Research Notes:
Due to limitations in face detection algorithms, Protocol 'F' does not have a 100% accuracy rate.
For video demos of the code, check out my portfolio: http://bluemelodia.github.io/