Skip to content
/ kohaku Public

An automated image tagging program written in Ruby using the Imagga API: (https://imagga.com)

License

Notifications You must be signed in to change notification settings

99z/kohaku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kohaku banner

An automated image tagging program written in Ruby using the Imagga API: (https://imagga.com)

Kohaku is primarily targeted towards individuals who store a lot of pictures locally, such as imageboard users. It works best with large, non-vector images - particularly of landscapes and people.

Expect Kohaku to get angry at you for strange inputs. Error handling/checking has yet to be extensively implemented.

requirements

usage

  1. clone this repo / download the .zip
  2. open your preferred terminal emulator in the kohaku directory
  3. type ruby kohaku.rb

NOTE: Please give Kohaku a directory of only .jpg images for now - more testing has yet to be completed with other formats.

current limitations

fixable limitations

  • only works with .jpg files, other formats will be included very soon

unfixable (imagga) limitations

  • close-ups of objects where only part of the object can be seen tends to produce odd tags
  • .gifs don't work! this is a limitation on imagga's end, but still good to note

TODO:

  • update to work with clarifai.com
  • create a better readme
  • comments
  • support for multiple file formats
  • rspec tests / general error handling
  • gemify
  • allow user to specify how many tags to use when renaming
  • directory checking to make sure user doesn't rename images in accidentally incorrect directory
  • multiple modes for more precise image tagging, e.g. 'wallpaper' mode will always include 'wallpaper' for one of the tags applied to images in a directory
  • maybe combine with cloudsight api?

About

An automated image tagging program written in Ruby using the Imagga API: (https://imagga.com)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages