Skip to content

PaulVasilenko/chrisify

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chrisify

Linux Install

  1. Install Google Vision API go get -u cloud.google.com/go/...

  2. go get github.com/zikes/chrisify

  3. cd $GOPATH/src/github.com/zikes/chrisify && go build

Usage

Simplest: chrisify path/to/image.jpg > output.jpg

If executed from any location besides the repository, you must tell it where to find the bundled Haar Cascade face recognition XML file. I tried to bundle it with the binary, but it must be provided as a file to the OpenCV library, so a file path is necessary.

If you'd like to use different faces, you can provide a directory of PNG files to be imported:

chrisify --faces /path/to/faces /path/to/input.jpg > output.jpg

About

Adds some much needed Chris to an image.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%