姜尧 2023-10-27 15:18:33 +08:00
commit c777e3fd04
1 changed files with 3 additions and 0 deletions

3
app.py
View File

@ -102,6 +102,9 @@ def worker(id,source,region=None,stream=False):
print("Error opening video stream....")
break
continue
# print("images shape",frame.shape)
# frame = cv2.resize(frame, (640, 360))
# print("images shape",frame.shape)
# result = model.track(frame,device=int(id)%4,tracker='botsort.yaml')
result = model(frame)
use += " track:"+str((time.time()*1000) - bgn)