Commit graph

339 commits

Author SHA1 Message Date
RanAS
f7ef854afa adding --dformat examples 2025-11-24 19:19:07 -03:00
RanAS
66e8d91b52 feat: add fourcc / device format support on Linux, using V4L2 (Video4Linux2) 2025-11-21 13:54:07 -03:00
Emiliana
dee5bb7606
Update poetry.lock 2025-06-16 23:56:34 +02:00
Emiliana
e6e24efd20
Merge pull request #75 from alyssais/destroy
Don't destroy windows if visualization disabled
2024-09-21 18:49:36 +02:00
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
Emiliana
2b3225f599
Updated video link. 2024-06-01 00:17:08 +02:00
Emiliana
ccbcae05c0
Updated poetry.lock 2024-01-25 12:33:50 +01:00
Emiliana
5d3977934b
Updated dependencies in README.md 2023-08-27 17:09:42 +02:00
Emiliana
9e07f6e199
Merge pull request #57 from ExpiredPopsicle/remove_deprecated_npdotint
Removed deprecated use of 'np.int' and replaced it with 'int'. Fixes numpy 1.24.0.
2023-05-22 11:34:11 +02: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
Emiliana
609a6290bc
Merge pull request #56 from JohnGebbie/tidy
Minor tidying
2023-05-04 23:45:43 +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
75b2fc6196
Added commit hash to model.py. 2023-04-21 10:42:58 +02:00
Emiliana
eeac9295c6
Updated poetry.lock 2023-04-17 21:16:54 +02:00
Emiliana
ca61100f5b Merge branch 'master' of github.com:emilianavt/OpenSeeFace 2023-03-20 21:28:58 +01:00
Emiliana
89e104004b Blacklisted more virtual cameras. 2023-03-20 21:28:38 +01:00
Emiliana
f13ae8a1ec
Updated README. 2023-02-21 19:57:14 +01:00
Emiliana
6f24efc4f5
Fixed np.float issue. 2023-02-13 11:49:15 +01:00
Emiliana
bcd11597e5 Blacklisted 3tene virtual camera in dshowcapture. 2023-02-12 17:29:17 +01:00
Emiliana
259052fe97 Merge branch 'master' of github.com:emilianavt/OpenSeeFace 2023-02-10 23:28:50 +01:00
Emiliana
951068c39e Blacklisted UnityCapture based camera drivers. 2023-02-10 23:28:40 +01:00
Emiliana
91a556f692
Merge pull request #51 from JustBobinAround/master
Changed requirments to fix AttributeError caused by numpy v1.24
2022-12-20 00:33:50 +01:00
Robert Junkins
624141fa6a
numpy requirement changed to numpy==1.23.0
When building with the latest numpy version (v1.24.0), OpenSeeFace crashes with "AttributeError: module 'numpy' has no attribute 'float'". This is because the attribute 'float' is now deprecated in numpy v1.24. I have changed the requirements to the earlier version v1.23.0. This should probably only be a temporary fix, as I'm sure there is a good reason that float was depreciated. I would also recommend changing the requirements to a single file with a static version for each requirement that is known to work. This will help ensure the stability of the program. I may do this in another fork when I have more time if you want.
2022-12-18 16:39:41 -05:00
Robert Junkins
7df42c6ca4
numpy requirement changed to numpy==1.23.0
When building with the latest numpy version (v1.24.0), OpenSeeFace crashes with "AttributeError: module 'numpy' has no attribute 'float'". This is because the attribute 'float' is now deprecated in numpy v1.24. I have changed the requirements to the earlier version v1.23.0. This should probably only be a temporary fix, as I'm sure there is a good reason that float was depreciated. I would also recommend changing the requirements to a single file with a static version for each requirement that is known to work. This will help ensure the stability of the program. I may do this in another fork when I have more time if you want.
2022-12-18 16:37:23 -05:00
Emiliana
40119c1797
Updated pillow version. 2022-11-23 00:08:38 +01:00
Emiliana
670df51c0d
Merge pull request #47 from you-win/feature/add-github-workflow
add build workflow for windows, mac, and linux
2022-09-13 16:20:35 +02:00
Tim Yuen
822e9e7753 add action to append date to artifact name during upload 2022-09-12 14:57:51 -04:00
Tim Yuen
be48eadbc6 tar files before uploading, properly set execution bit, remove redundant file moving logic, split into windows and unix jobs 2022-09-11 19:13:54 -04:00
Tim Yuen
0443549277 Fix unix builds not having their executable bit set in ci, make windows build script perform a clean build every time 2022-09-11 13:11:03 -04:00
Tim Yuen
022a0520fa Update make_exe.bat to use a venv, explicitly add onnxruntime dll to pyinstaller binary, add debug prints during build 2022-09-11 00:35:50 -04:00
Tim Yuen
d6062c9664 fix actions/upload-artifact generating tar bombs, change how
make_exe.bat works
2022-09-10 18:33:02 -04:00
Tim Yuen
1f3a01976b add build workflow for windows, mac, and linux 2022-09-09 22:19:00 -04:00
Emiliana
1825b2e67e
Updated readme file. 2022-09-05 14:34:09 +02:00
Emiliana
1f8b83feef
Fixed typo. 2022-09-05 14:15:52 +02:00
Emiliana
5936b487a7
Updated readme file. 2022-09-05 14:15:24 +02:00
Emiliana
dc65454cb4
Merge pull request #44 from you-win/feature/pyinstaller-script-linux-and-osx
Add make_exe.sh for Linux and Mac
2022-08-09 13:10:28 +02:00
Timothy Yuen
c0fd813844 Add make_exe.sh for Linux and Mac 2022-08-09 00:58:06 -04:00
Emiliana
6f0ef1afb9
Updated poetry.lock. 2022-06-26 00:01:59 +02:00
Emiliana
90e32e5229
Updated README. 2022-06-20 12:15:31 +02:00
Emiliana
8c07f06f54
Merge pull request #41 from GlitchPhoenix98/patch-2
Added dependencies for Python 3.10 and above.
2022-06-20 12:14:54 +02:00
Glitch Phoenix
ae1213a298
Added dependencies for Python 3.10 and above.
Added required packages for python 3.10 and above
2022-06-19 17:58:43 +00:00
Emiliana
0bad9d9e9e
Merge pull request #40 from GlitchPhoenix98/patch-1
Update README.md
2022-06-19 13:16:04 +02:00
Glitch Phoenix
018785fb06
Update README.md
Outdated Godot renderer link.
2022-06-19 01:47:53 +00:00
Emiliana
da3eaadfb9
Merge pull request #37 from yamichan420/master
specify list of providers for onnxruntime.InferenceSession()
2022-05-17 17:31:16 +02: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
9aff345720
Updated poetry.lock. 2022-03-15 12:30:06 +01:00
Emiliana
baff2c0256
Updated pillow version. 2022-01-13 10:56:45 +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