Commit graph

15 commits

Author SHA1 Message Date
Epicalert 325ff2ce7d
Ignore empty frames to prevent crashes 2021-06-12 17:32:41 +08:00
Epicalert 16a7ff8ee1
Remove unnecessary debug info 2021-06-08 13:28:46 +08:00
Epicalert 09c60db8c1
Add eye direction in model
Adds eye direction support in the model system and in the 'test' model.
2021-06-08 10:53:59 +08:00
Epicalert c777e08519
Make eye direction indicator more clear
Adds a circle to the center of the eye direction indicator to make it
easier to read.
2021-06-07 18:43:00 +08:00
Epicalert e4d755c00d
Improve iris detection
This commit makes the following changes to the iris detection:
- Use Scharr instead os Sobel algorithm for image gradient
- Apply Gaussian blur to eye image before processing
- Scale down the eye image if too large
2021-06-07 18:43:00 +08:00
Epicalert 60c5254a47
CV: Add eye look direction 2021-06-07 18:43:00 +08:00
Epicalert a58e7d9428
Force ROI for Facemark to be square
This seems to help with Facemark accuracy.
2021-03-31 22:08:52 +08:00
Epicalert ed6323d7e5
Add FPS counter and unlock webcam framerate
Maybe disable webcam view altogether and make it a compiler flag?
2021-03-18 18:59:04 +08:00
Epicalert 4770c96d92
Add support for model files
Model files are zip archives with a "model.toml" file at the root describing
the model and all its textures.
2021-02-04 22:58:03 +08:00
Epicalert 82edd492c0
Add proper command line argument parsing with argp 2021-01-26 23:36:22 +08:00
Epicalert 625e9680d3
Switch to DNN face detection
Haar Cascades can still be used by passing the "--haar-cascade" option.
2021-01-22 19:48:55 +08:00
Epicalert f72c81b79b
Look for files in different paths
Models and other supporting files can now be in different directories
instead of the working directory.
2021-01-17 21:36:38 +08:00
Epicalert 9b3362dd8b
Clean up directory structure 2021-01-12 22:24:02 +08:00
Epicalert 7b82b5c386
Add head rotation 2021-01-10 15:13:32 +08:00
Epicalert 7d0760cc9f
clean up main.cpp 2021-01-06 08:10:55 +08:00