mirror of
https://github.com/iperov/DeepFaceLive
synced 2025-08-14 02:37:01 -07:00
update Google FaceMesh model to the latest version
This commit is contained in:
parent
6978619d7f
commit
894ec56a93
2 changed files with 3 additions and 0 deletions
Binary file not shown.
|
@ -30,6 +30,9 @@ class FaceMesh:
|
|||
raise Exception(f'device_info {device_info} is not in available devices for FaceMesh')
|
||||
|
||||
path = Path(__file__).parent / 'FaceMesh.onnx'
|
||||
if not path.exists():
|
||||
raise FileNotFoundError(f'{path} not found')
|
||||
|
||||
self._sess = sess = InferenceSession_with_device(str(path), device_info)
|
||||
self._input_name = sess.get_inputs()[0].name
|
||||
self._input_width = 192
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue