Commit graph

16 commits

Author SHA1 Message Date
Epicalert b9c9cb3de4
Make .local and .config directories on startup
Directories for the config file and custom data will be created when
Facecam2D starts.
2021-07-03 00:19:14 +08:00
Epicalert d63178a37b
Add working config file system
`fc2dconfig` will write a config file, and `fc2d` will read it.
2021-07-01 22:47:13 +08:00
Epicalert 05a4079418
Chance "_WIN64" checks to "_WIN32"
_WIN32 is defined on both 32-bit and 64-bit windows systems, so might as
well just use that.
2021-06-13 19:02:57 +08:00
Epicalert 735e27ac53
Disable command line args on Windows
It seems argp doesn't work on Windows, so we can disable it for now.
2021-06-10 01:38:03 +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 cbbdf5ff79
Fix compile error with project name 2021-01-29 15:15:32 +08:00
Epicalert 5cdd1808ad
Define version number and project name with cmake 2021-01-27 00:21:06 +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 0aac06bc30
Disable "Video Input" window on macOS
I'm not sure why, but when it's enabled macOS kills the program
complaining "NSScreen reconfig must only happen on the main thread."
When it's not enabled the program runs fine.
2021-01-15 19:03:48 +08:00
Epicalert 7d0760cc9f
clean up main.cpp 2021-01-06 08:10:55 +08:00
Epicalert 43de93eb3a
add scaling 2021-01-03 23:11:35 +08:00
Epicalert 72fc3d5e2c
add support for multiple textures in one part
Also added open/closed states for mouth
2021-01-02 02:55:12 +08:00
Epicalert 62779b6f78
separate face and head
- Head position is now calculated from the midpoint of points 2 and 14
(sides of head)
- Face position is calculated from point 30 (nose tip)
2021-01-01 16:23:44 +08:00
Epicalert 25ebd7a387
initial commit 2020-12-31 20:58:39 +08:00