Comments (4)
Example: line_zone.py:trigger() checks if iterating over tracker_id
array produces None
Related: Test case in #1206 checks it too.
from supervision.
Example: smoother.py:update_with_detections() checks if iterating over tracker_id
array produces None
from supervision.
I'm heavily in favour of 1. The steps for this would be:
- Find, learn of all places where
tracker_id
is used. - Modify the core of
ByteTrack
- if there is a detection but there's no tracker - instead of returning nothing, return-1
. Make sure the length oftracker_id
matches the length ofdetections
being returned. - Think a bit how this affects case where we deliberately hide uncertain trackers - this would be introduced as part of #1076.
- Propagate the changes in the core of
ByteTrack
, to the uses by various components - annotators, examples - Some tests would be good to have.
This would be a draft PR until #1076 is merged. This PR new should remove the Detections.empty
call from it.
from supervision.
I was wrong about the -1
case - the only issues that exist are unnecessary None
checks.
When the related PR is merged, this can be closed.
from supervision.
Related Issues (20)
- Multi-can tracking HOT 1
- ultralytics_stream_example do not work HOT 8
- ByteTrack memory consumption increases indefinitely HOT 4
- [KeyPoints] - add `from_mediapipe` connector allowing Supervision to be used with Google MediaPipe models HOT 4
- Request: as_coco Parameter Adjustment for sv.DetectionDataset in Supervision API HOT 7
- HaloAnnotator does not work HOT 1
- I want to show zone_annotator all the time
- the update of supervision HOT 3
- small objects detection using sahi or combine it with other models HOT 2
- Saving Detections - Possible Issue? HOT 8
- Smoother Fails Due to Missing tracker_id in Detections HOT 8
- Integrate OCSORT to supervision HOT 3
- ValueError when loading COCO dataset with multiple segmentation masks for one class HOT 13
- Problems with tracker.update_with_detections(detections) HOT 13
- tflite with supervison HOT 3
- Loading OBB detection from ultralytics fails HOT 18
- Prediction-level metadata in `sv.Detections` HOT 17
- Request: PolygonZone determination using object recognition HOT 1
- Speed Estimator for Vehicle Tracking HOT 1
- Low FPS on video stream HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from supervision.