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
# Start empty dict to save poses to for each frame
208
+
poses, times= [], []
209
+
frame_index=0
210
+
212
211
whileTrue:
213
212
ret, frame=cap.read()
214
213
ifnotret:
215
214
break
216
-
# if frame_index == 0:
217
-
# pose = dlc_live.init_inference(frame) # load DLC model
215
+
218
216
try:
219
-
# pose = dlc_live.get_pose(frame)
217
+
start_time=time.perf_counter()
220
218
ifframe_index==0:
221
-
# dlc_live.dynamic = (False, dynamic[1], dynamic[2]) # TODO trying to fix issues with dynamic cropping jumping back and forth between dyanmic cropped and original image
222
-
pose, inf_time=dlc_live.init_inference(frame) # load DLC model
0 commit comments