#169 · Primary category: Computer Vision

pigo

computer-vision eye-detection face-detection facial-landmarks golang machine-learning opencv pixel-intensity-comparison pupil-detection wasm webassembly

Fast face detection, pupil/eyes localization and facial landmark points detection library in pure Go.

Project last updated:05/03/25

GitHub Stars

4.7K

Forks

325

Contributors

11

License

MIT

Why we included this project

Most Go face-detection libraries are thin wrappers over C/C++ code, which means cgo and all the setup pain that comes with it. Pigo takes a different route: it is a pure-Go implementation of the Pixel Intensity Comparison-based Object detection method, so it needs no OpenCV install and no preprocessing or integral-image pyramids to produce results quickly. Beyond drawing boxes around faces, it also finds pupils and eyes and returns facial landmark points, which opens up attention tracking, photo analysis, and small embedded or WebAssembly deployments. The lack of cgo is the real draw here: teams that want a compact, portable binary often trip over the usual OpenCV or dlib bindings, and Pigo avoids that entirely. It is a focused library rather than a full pipeline, so you will handle image loading and post-processing yourself.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category