zikes/chrisify
소개
Adds some much needed Chris to an image.
디자인 및 미디어측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalchrisify
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
관련 프로젝트 살펴보기
불러오는 중…