zikes/chrisify
Tentang
Adds some much needed Chris to an image.
Desain dan mediaPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- 0
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
Aslichrisify
Linux Install
Install the OpenCV Developer package. On Ubuntu systems that's
sudo apt install libopencv-devgo get github.com/zikes/chrisifygo get github.com/lazywei/go-opencvcd $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.
chrisify --haar /path/to/haarcascade_frontalface_alt.xml /path/to/input.jpg > output.jpg
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
Jelajahi proyek terkait
Memuat…