You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: facetracker.py
+3-15Lines changed: 3 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,6 @@
5
5
importtraceback
6
6
importgc
7
7
importmediapipeasmp
8
-
importpickle
9
8
mp_hands=mp.solutions.hands
10
9
11
10
# mp_drawing = mp.solutions.drawing_utils
@@ -55,7 +54,6 @@
55
54
parser.add_argument("--dump-points", type=str, help="When set to a filename, the current face 3D points are made symmetric and dumped to the given file when quitting the visualization with the \"q\" key", default="")
56
55
parser.add_argument("--benchmark", type=int, help="When set to 1, the different tracking models are benchmarked, starting with the best and ending with the fastest and with gaze tracking disabled for models with negative IDs", default=0)
57
56
parser.add_argument("--frame-data", type=int, help="When set to 1, the server is sending webcam frame data", default=0)
58
-
parser.add_argument("--webcam-preview", type=int, help="When set to 1, the server is pop ups webcam preview window", default=0)
59
57
60
58
ifos.name=='nt':
61
59
parser.add_argument("--use-dshowcapture", type=int, help="When set to 1, libdshowcapture will be used for video input instead of OpenCV", default=1)
0 commit comments