Fix crash issue when using webcam, and there is no pedestrian been detected as beginning. (#17)
This commit is contained in:
parent
7a26127493
commit
b6be952946
@ -66,7 +66,7 @@ def webcam(args):
|
||||
outputs, varss = monoloco.forward(keypoints, kk)
|
||||
dic_out = monoloco.post_process(outputs, varss, boxes, keypoints, kk, dict_gt)
|
||||
visualizer_monoloco.send((pil_image, dic_out))
|
||||
end = time.time()
|
||||
end = time.time()
|
||||
print("run-time: {:.2f} ms".format((end-start)*1000))
|
||||
|
||||
cam.release()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user