Alyssa Ross
de37867e1f
Don't destroy windows if visualization disabled
...
This fixes the following error on exit when OpenCV is built without
GUI support:
Traceback (most recent call last):
File "facetracker.py", line 450, in <module>
cv2.error: OpenCV(4.9.0) /build/source/modules/highgui/src/window.cpp:1266: error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function 'cvDestroyAllWindows'
[254225] Failed to execute script 'facetracker' due to unhandled exception!
2024-09-20 10:41:38 +02:00
John Gebbie
96a9a2549a
tidy: use cv2.circle
2023-05-03 09:39:36 +01:00
John Gebbie
c31c891959
tidy: not x is None -> x is not None
2023-05-03 09:02:08 +01:00
Emiliana
bbbd5e4ab6
Updated --gaze-tracking description.
2021-11-10 01:29:29 +01:00
Emiliana
06406f642d
Added a note that setting --dcap still requires --fps to be set
2021-11-10 00:39:26 +01:00
Autumn
d89e8dacda
Merge branch 'master' of https://github.com/qt-autumn/OpenSeeFace
2021-10-01 02:35:34 +10:00
Autumn
e49cbdb9c0
Enable the --fps option on non Windows systems & set CAP_PROP_BUFFERSIZE to 1 when using OpenCV for live capture
2021-10-01 02:35:00 +10:00
Emiliana
44d97a967c
Adjusted eye landmark display threshold.
2021-09-11 15:56:25 +02:00
Emiliana
22384e341a
Fixed data logging.
2021-08-07 15:55:29 +02:00
Adrian Iain Lam
aed11bf4bd
Add option to flip input frame like a mirror image
2021-05-29 00:33:06 +01:00
Emiliana
971f81b030
Added new wink tracking capable tracking model.
2021-01-22 16:55:06 +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
400e12f334
Integrated two new tracking models.
2020-11-28 15:50:22 +01:00
Emiliana
4e3ee5795d
Added a new --try-hard flag.
2020-10-06 23:44:23 +02:00
Emiliana
b9d8c555ff
Disabled special Blackmagic capture card support by default.
2020-10-04 23:14:43 +02:00
Emiliana
a3ff1bbedc
Added support for setting facetracker process priority on Windows.
2020-10-02 17:35:25 +02:00
Emiliana
d9cd16b095
Fixed Blackmagic capture.
2020-09-30 19:31:53 +02:00
Emiliana
3670d3f793
Added support for libminibmcapture input and the OpenSeeWebcamInfo example.
2020-09-30 01:03:04 +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
bee8e74cf2
Added a separate --list-dcaps option.
2020-09-26 20:43:06 +02:00
Emiliana
c9af5913fa
Added support for picking directshow device capability lines.
2020-09-26 20:18:29 +02:00
Emiliana
28ed5e2f8e
Changed visualization colors and added more options regarding video output.
2020-09-05 21:03:54 +02:00
Emiliana
0d61b061a3
Added a separate detection threshold parameter.
2020-09-02 18:42:25 +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
f962e0391b
Fixed bug.
2020-08-11 13:09:49 +02:00
Emiliana
b098cf39fc
Added output logging to file.
2020-08-11 12:51:29 +02:00
Emiliana
0885df2da9
Added a bit more exception handling.
2020-08-11 12:29:31 +02:00
Emiliana
d30b7ecd98
Added redistributable DLLs to binary builds and improved camera reinitialization.
2020-08-11 12:10:39 +02:00
Emiliana
2fc0f52385
Added camera reinitialization.
2020-08-10 22:09:17 +02:00
Emiliana
15590e2ad7
Switched camera reading from escapi to libdshowcapture.
2020-08-06 17:59:34 +02:00
Emiliana
52e5103f5c
Updated default settings.
2020-07-30 22:57:56 +02:00
Emiliana
6ccb821508
Fixed a small bug
2020-07-02 02:07:54 +02:00
Emiliana
5c4d4b7b14
Added an option to disable escapi for video input on Windows.
2020-07-02 01:39:46 +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
Emiliana
cf49ba5468
Unity components that rely on 3D points now ignore tracking data for frames with high 3D fitting error.
2020-03-30 16:44:33 +02:00
Emiliana
b6554ddeaa
This adds a new fastest model.
2020-03-28 13:14:50 +01:00
Emiliana
4268abb00a
The basic 3D point model used for 3D point fitting is now based on data from fitting the points to head-pose-face-detection-female.mp4 over multiple iterations
2020-03-26 19:00:33 +01:00
Emiliana
3f85a44f13
Slightly higher threshold.
2020-03-25 22:57:13 +01:00
Emiliana
5c118347b6
New and improved tracking model and confidence value visualization.
2020-03-25 17:03:30 +01:00
Emiliana
94d2f4fbe0
With this, the face tracker will actually track at the specified FPS, saving CPU especially at lower tracking frame rates.
2020-03-03 18:48:52 +01:00
Emiliana
04d7f5b8b3
This adds manually designed features to the OpenSeeData.
2020-03-01 14:23:56 +01:00
Emiliana
033a48b132
This changes the points used for PnP solving and replaces the RetinaFace model with a higher resolution version.
2020-02-28 02:10:23 +01:00
Emiliana
cd9cfd9ee8
RetinaFace was added as a face detection scheme.
2020-02-26 00:54:32 +01:00
Emiliana
0332f9cb93
This adds the gaze tracker.
2020-02-24 00:44:17 +01:00
Emiliana
e60b9b37bd
The internal face 3D model will now adapt to the tracked landmarks.
2020-02-20 21:33:00 +01:00
Emiliana
633293eb52
The face tracker can now offset face ids by a given value. This makes it possible to easily mix tracking input from multiple network sources.
2020-02-16 15:58:47 +01:00
Emiliana
83e400a1d1
Face ids can now be displayed.
2020-02-08 00:13:28 +01:00
Emiliana
7998bf715c
The code is now refactored to use the new FaceInfo class instead of passing around big tuples. Keeping track of which face is which is more reliable now too.
2020-02-07 20:59:46 +01:00