Comments (6)
Multi-object tracking algorithms like DeepSORT here works within the context of one camera view. You may independently run an instance of DeepSORT for each of your cameras, that is up to your implementation. If you want to track across different cameras, then that's another task -- you may want to check out person re-identification algorithms and build your own re-id engine.
from deep_sort_realtime.
Multi-object tracking algorithms like DeepSORT here works within the context of one camera view. You may independently run an instance of DeepSORT for each of your cameras, that is up to your implementation. If you want to track across different cameras, then that's another task -- you may want to check out person re-identification algorithms and build your own re-id engine.
Thanks, so if I use weights from person re-id and use DeepSORT it's actually not working, am I right?
If you're using person re-id appearance embedder for your deepsort tracking, then I think it should be reasonable for you to to re-use these features from each track for re-identification across different cameras. But do note that in this repo, we use a light re-id network for appearance embedding by design. For person re-id across cameras, people may want to use deeper re-id networks for better discriminative ability. End of the day, it's up to your design considerations.
from deep_sort_realtime.
Thank's for your answers. It's clear to me. I hope you have a great day.
from deep_sort_realtime.
If I understood your question, you should add your own frame reading logic to the readme example, like so:
from deep_sort_realtime.deepsort_tracker import DeepSort
# define your deepsort tracker
tracker = DeepSort(max_age=5)
# initialize your frame reader (e.g., individual file data loader, opencv video stream)
reader = init_reader()
# read frame and process it until end_condition is met, e.g., no more frames in video
while (not end_condition):
# read frame
frame = reader.read_frame()
# detect objects in frame
bbs = object_detector.detect(frame)
tracks = tracker.update_tracks(bbs, frame=frame) # bbs expected to be a list of detections, each in tuples of ( [left,top,w,h], confidence, detection_class )
for track in tracks:
if not track.is_confirmed():
continue
track_id = track.track_id
ltrb = track.to_ltrb()
# update end_condition
reader.close_reader()
from deep_sort_realtime.
Multi-object tracking algorithms like DeepSORT here works within the context of one camera view. You may independently run an instance of DeepSORT for each of your cameras, that is up to your implementation. If you want to track across different cameras, then that's another task -- you may want to check out person re-identification algorithms and build your own re-id engine.
Thanks, so if I use weights from person re-id and use DeepSORT it's actually not working, am I right?
from deep_sort_realtime.
If I understood your question, you should add your own frame reading logic to the readme example, like so:
from deep_sort_realtime.deepsort_tracker import DeepSort # define your deepsort tracker tracker = DeepSort(max_age=5) # initialize your frame reader (e.g., individual file data loader, opencv video stream) reader = init_reader() # read frame and process it until end_condition is met, e.g., no more frames in video while (not end_condition): # read frame frame = reader.read_frame() # detect objects in frame bbs = object_detector.detect(frame) tracks = tracker.update_tracks(bbs, frame=frame) # bbs expected to be a list of detections, each in tuples of ( [left,top,w,h], confidence, detection_class ) for track in tracks: if not track.is_confirmed(): continue track_id = track.track_id ltrb = track.to_ltrb() # update end_condition reader.close_reader()
Sorry if my question it's not clear enough. I mean another camera view, not just a single camera. If using this, it's not working in multiple camera views.
from deep_sort_realtime.
Related Issues (20)
- Question about embeds HOT 1
- jupyter kernel die when I create DeepSort object HOT 3
- A more in-depth understanding of the matching step HOT 2
- Question about embedders HOT 1
- Order of 'track.to_ltrb()' values HOT 2
- custom max_iou_distance HOT 1
- Identity switch HOT 4
- Bug with the detection file HOT 3
- cv2.imshow broken when using tracker HOT 1
- np.float deprecated HOT 3
- Update distance metric module (partial fit) only considers latest feature vectors HOT 3
- index out of range
- Deep sort remembering bad state HOT 3
- Falling to implement deep -sort-realtime with YOLOv8 HOT 2
- Implementation of Deep sort with yolo as an object detection HOT 5
- It seems more like a question than a problem. Real-time processing is not achieved. HOT 1
- Matrix contains invalid numeric entries HOT 1
- TF Google Drive Link
- ValueError: shapes not aligned (when running deep sort with yolov8 object detector) HOT 3
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 deep_sort_realtime.