main
luanhailiang 2023-10-11 16:33:34 +08:00
parent 272be46f63
commit 14e671e476
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)