Giter Club home page Giter Club logo

photodex's Introduction

|- - - - - - - - - - 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/

photodex's People

Contributors

bluemelodia avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.