Spaces:
Sleeping
Sleeping
Update app.py
Browse files20 unmodified lines2122232425262720 unmodified linesactive_model = available_models[model_choice]# Use the active model for trackingresults = active_model.track(frame, conf=0.4, persist=True, imgsz=320)for r in results:# Check if boxes exist AND if the tracker has assigned IDs yet20 unmodified lines2122232425262720 unmodified linesactive_model = available_models[model_choice]# Use the active model for trackingresults = active_model.track(frame, conf=0.4, persist=True)for r in results:# Check if boxes exist AND if the tracker has assigned IDs yet
app.py+1-1