Commit graph

76 commits

Author SHA1 Message Date
Cowwan
60886f9f95 moved visualization to the preview thread, reduced latency, added --threads functionality 2024-02-07 18:41:16 -05:00
Cowwan
a6a9ae0a88 removed the message queue and thread, it was a silly idea 2024-02-06 23:37:57 -05:00
Cowwan
31d16b20c0 Made landmarks static 2024-02-06 21:18:49 -05:00
Cowwan
68f350f30e made some parts of landmarks static
removed a bit where I was copying the same array to face info over and over
2024-02-06 21:11:27 -05:00
Cowwan
e0ac7feefc made face detection static 2024-02-06 20:50:37 -05:00
Cowwan
14744143bf moved computer vision models to one dedicated class 2024-02-06 20:24:37 -05:00
Cowwan
797e5c2d56 more changes to work with single face operation 2024-02-06 18:23:07 -05:00
Cowwan
6ef8ee60e7 removed some whitespace 2024-02-06 13:45:20 -05:00
Cowwan
f793bb270a Added some object-oriented-ness to the EyeTracker class 2024-02-06 12:14:04 -05:00
Cowwan
76390857f8 Setup a feature to allow the use of EmilianaVT's featureExtracotor
will need to test it, it seems to work better than I rememebr, if it keeps working that good I might juse make it the default
2024-02-06 09:53:08 -05:00
Cowwan
526c037336 Made FeatureExtractor a separate file
added documentation to featureExtractor.py to help people customize it
2024-02-06 08:16:39 -05:00
Cowwan
994d3fc880 put in the new code 2024-02-05 16:54:50 -05:00
Kiri
d242009e0b Removed deprecated use of 'np.int' and replaced it with 'int'. Fixes numpy 1.24.0 and up compatibility. 2023-05-21 16:46:51 -07:00
John Gebbie
c31c891959 tidy: not x is None -> x is not None 2023-05-03 09:02:08 +01:00
Emiliana
6f24efc4f5
Fixed np.float issue. 2023-02-13 11:49:15 +01:00
yamichan420
0204d8a4a7
Add files via upload
apparently, onnxruntime 1.9 and later require that the available providers be explicitly listed as an argument in InferenceSession()
or i was getting that error anyway, and it was preventing OpenSeeFace from working
i'm running Arch Linux using the build of python-onnxruntime available in the AUR
anyway, i edited tracker.py and retinaface.py to find the list of available providers and pass that argument
and that makes it work for me!
yay!
2022-03-29 22:21:40 -07:00
Emiliana
2eec12225b Added missing setting for onnxruntime session. 2021-10-06 02:07:28 +02:00
Emiliana
1264cc255c Changed gaze tracking to always use single thread to avoid excessive CPU usage. 2021-09-11 15:57:03 +02:00
rez-spb
323d707849 Move from int cast to float. 2021-06-08 21:43:38 +03:00
rez-spb
98781a780a Fix exception in gaze tracking by casting np.int64 to int. 2021-06-08 18:12:29 +03:00
Emiliana
971f81b030 Added new wink tracking capable tracking model. 2021-01-22 16:55:06 +01:00
Emiliana
4ba81cb147 Fixed thread calculation. 2021-01-02 23:45:55 +01:00
Emiliana
0a45f64a6f Added jaw point back to PnP points. 2020-12-13 12:46:51 +01:00
Emiliana
a0ccd9a162 Reduced the impact of eye blinks and opening the mouth on head pose and added new models to benchmark. 2020-12-07 18:11:44 +01:00
Emiliana
2f7d8b04dc Fixed a possible division by zero. 2020-11-28 15:54:06 +01:00
Emiliana
400e12f334 Integrated two new tracking models. 2020-11-28 15:50:22 +01:00
Emiliana
8354e2829a Changed eye features to use the absolute value rather than clipped ones. 2020-10-26 21:16:39 +01:00
Emiliana
3038cad92b Modified how the mouth open feature is calculated. 2020-10-18 20:35:55 +02:00
Emiliana
e805aa24e3 Reverted "Switched back to decoding face landmarks within the models."
This reverts commit 4038d334b1.
2020-10-08 13:07:51 +02:00
Emiliana
4e3ee5795d Added a new --try-hard flag. 2020-10-06 23:44:23 +02:00
Emiliana
4038d334b1 Switched back to decoding face landmarks within the models. 2020-10-05 19:57:57 +02:00
Emiliana
d9cd16b095 Fixed Blackmagic capture. 2020-09-30 19:31:53 +02:00
Emiliana
d8c8ed05e8 Added --benchmark option and disabled gaze tracking for models with negative IDs. 2020-09-26 23:49:54 +02:00
Emiliana
1aca1bee66 Fixed gaze tracking issues introduced recently. 2020-09-05 15:05:32 +02:00
Emiliana
0d61b061a3 Added a separate detection threshold parameter. 2020-09-02 18:42:25 +02:00
Emiliana
bde32b7213 Added support for 30 point tracking to OpenSeeShowPoints and OpenSeeVRMDriver. 2020-09-02 15:31:35 +02:00
Emiliana
fb00f6aff1 Added basic support for toaster level tracking model. 2020-09-01 18:53:15 +02:00
Emiliana
87236c0549 Fixed bug with --gaze-tracking 0 and added explicit gc calls at end of frame. 2020-08-21 22:47:02 +02:00
Emiliana
9ce7d39505 Added filters for NaN values. 2020-08-11 16:27:20 +02:00
Emiliana
c9eb3c1826 Removed landmark detection from ONNX model due to potential compatibility issues. 2020-08-11 10:44:07 +02:00
Emiliana
2fc0f52385 Added camera reinitialization. 2020-08-10 22:09:17 +02:00
Emiliana
8dbc573830 Reduced size of binary after scikit-image made it double. 2020-08-10 18:05:09 +02:00
Emiliana
878c6b8833 Reduced unnecessary iteration. 2020-08-10 15:42:18 +02:00
Emiliana
50224a1e2e Slightly optimized eye alignment and landmark decoding. 2020-08-10 14:40:40 +02:00
Emiliana
adbf3a4bed Merge branch 'master' of github.com:emilianavt/OpenSeeFace
# Conflicts:
#	tracker.py
2020-08-10 00:13:01 +02:00
Emiliana
96ca687d0c Moved landmark decoding into the ONNX model. 2020-08-10 00:03:24 +02:00
Emiliana
76bd3dcf3a
Optimized estimate_depth function for a 0.5ms speedup. 2020-08-09 19:34:14 +02:00
Emiliana
6b876be623
Optimized landmarks function for a 1-2ms speedup. 2020-08-09 17:32:29 +02:00
Emiliana
d8d0b0bff0 When --max-feature-updates is enabled, feature stats are no longer discarded upon detecting a new face. 2020-06-25 17:19:51 +02:00
Emiliana
0690bdd15e Face 3D point adaption can be disabled and feature adaptability can be limited now. 2020-06-24 12:29:33 +02:00