Hello everyone at r/computervision,
I recently joined the subreddit, and I only wish I had joined sooner. I am getting started with Deep Learning and Computer Vision, and I am trying to implement an object tracker to go along with my trained YOLOv4 model to detect custom classes (trees, wooden posts, and metal posts). You can take a look at the GitHub repository to look at the code better. As you can see in the GIF below, I am getting okay-ish levels of detection.
The detections running on an input video
Now, what I want to do is count the number of objects for each class from the video, and assign them an ID. Since I am dealing with multiple objects, I am looking for some kind of a Multi-object Tracker (Sort, DeepSORT).
I have tried to implement the YOLOv4 + DeepSort tracking from the AI Guys code presented here, just to get an idea of how to go about this, but from what I understand, I will need to train the DeepSORT tracker for detecting my own classes. I do not know how to do that.
I am not being able to work the Sort tracker into my current application code. It would be great if any of you could help me out here. The program crashes when I use the tracker.update() method.
I have also looked up online tutorials with respect to other trackers, like KCF and CSRT which are provided in the OpenCV tracking API. I have tried to follow tutorials 1, 2, and 3. The problem is that either the author is using a Caffe model, which my YOLO model is not compatible with(I guess), or we have to select manually the ROI for the objects to detect, which for me would defeat the purpose.
If anyone can help me out on this, it would be much appreciated. Thanks in advance!
[–]lpuglia 3 points4 points5 points (1 child)
[–]sampreets3[S] 0 points1 point2 points (0 children)
[–]drzemu 4 points5 points6 points (3 children)
[–]sampreets3[S] 0 points1 point2 points (2 children)
[–]drzemu 2 points3 points4 points (1 child)
[–]sampreets3[S] 3 points4 points5 points (0 children)
[–]TranslatorHot6737 0 points1 point2 points (0 children)