pico-detect
This library is a reimplementation of Pixel Intensity Comparison-based Object (PICO) detection algorithms in Rust:
Detector
: Cascade of binary classifiers from pico;Localizer
: Localization with an ensemble of randomized trees from picojs (seelploc.js
);Shaper
: Alignment with an ensemble of regression trees from dlib (seeshape_predictor
).
Example
To run CLI example, which takes an image, finds all faces, detects some landmarks and pupils:
Output image result.png
should be like this:
Models
Each algorithm requires to be loaded with correspondent binary model.
model | algorithm | source | Description |
---|---|---|---|
facefinder | Detector |
pico | Human face classifier |
puploc | Localizer |
puploc source | Human eye pupil localizer |
shaper_5_face_landmarks | Shaper |
shape_predictor_5_face_landmarks | Human 5 face landmarks |
Roadmap
- object detection;
- object localization;
- shape prediction;
- cli example;
- WebAssembly support (
wasm32-unknown-unknown
target) and web example.