Skip to content

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

Directifai

A command line tool to process images (JPGs and PNGs) and sort them into directory based on tags given by Clarifai API.

Example Usage

Uage

mvn clean package

export CLARIFAI_APP_ID=your_client_id
export CLARIFAI_APP_SECRET=your_client_secret

java -jar target/Directifai-1-jar-with-dependencies.jar ~/absolute/path/to/directory/that/contains/images/

Results will be under folder parentFolder/Output/

Setup

To avoid having to provide the API keys everytime you wanted to run the app Add the api keys to your enviornment variable. (.bashrc, .zshrc, .fishrc or if you are in windows just search enviornment variabls) Alternately modifay ClarifaiClient constructor in the Tagifai.java ''' ClarifaiClient clarifai = new ClarifaiClient(APP_ID, APP_SECRET); '''

Requirements

  • JDK 8 or later
  • Maven
  • Clarifai's free account

WIP

  • Favour tags that group as many pictures as possible
  • Add filter to less desirable tags

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages