TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: OpenCV based multi-object-tracker with various object detection models

105 pointsby adipandasover 5 years ago

6 comments

mendezaover 5 years ago
I work a lot with object detection at my current role. Would be cool to add Detectron 2, seems that this library that has some of the state of the art(SOTA) models in object detection. <a href="https:&#x2F;&#x2F;github.com&#x2F;facebookresearch&#x2F;detectron2" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;facebookresearch&#x2F;detectron2</a><p>Also the TF Object Detection API has a suite of pretrained SOTA object detection models <a href="https:&#x2F;&#x2F;github.com&#x2F;tensorflow&#x2F;models&#x2F;tree&#x2F;master&#x2F;research&#x2F;object_detection" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tensorflow&#x2F;models&#x2F;tree&#x2F;master&#x2F;research&#x2F;ob...</a><p>What makes object detection really valuable is being able to finetune a model to detect objects that are relevant to your problem. However collecting, labeling, takes a lot of time since the best way is to manually label. But 30-50 hrs of manual labeling can get you some great results when you are leveraging pretrained models. Building a tool to manage data labeling and training for finetuning object detection models would be very valuable.
评论 #21464315 未加载
评论 #21464427 未加载
评论 #21464686 未加载
评论 #21466722 未加载
评论 #21464372 未加载
alexcnwyover 5 years ago
I&#x27;ve built several object detection systems and you definitely want to fine-tune your model to get good results, even if the object class you want to track is available in a pre-trained model (often it isn&#x27;t).<p>For example, pre-trained models don&#x27;t work too well at detecting people in surveillance footage when the camera is mounted on the ceiling and people are at an angle in the footage. Off-the-shelf object detection models also don&#x27;t work well in poor lighting conditions but can work well if you fine-tune one of the pre-trained models for your dataset and lighting conditions.<p>Here&#x27;s a great and fun tutorial on how to fine-tune an object detection model using TensorFlow (it&#x27;s a surprisingly fiddly process but worth the headache): <a href="https:&#x2F;&#x2F;towardsdatascience.com&#x2F;how-to-train-your-own-object-detector-with-tensorflows-object-detector-api-bec72ecfe1d9" rel="nofollow">https:&#x2F;&#x2F;towardsdatascience.com&#x2F;how-to-train-your-own-object-...</a><p>I suspect you can use your fine-tuned model with this repo by replacing the `get_ssd_model.sh` compiled graph with your fine-tuned model graph.<p>It&#x27;s also a fun exercise to implement the tracking yourself - here&#x27;s a solid tutorial to get you started: <a href="https:&#x2F;&#x2F;www.pyimagesearch.com&#x2F;2018&#x2F;08&#x2F;13&#x2F;opencv-people-counter&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.pyimagesearch.com&#x2F;2018&#x2F;08&#x2F;13&#x2F;opencv-people-count...</a>
评论 #21469637 未加载
martinshenover 5 years ago
Have you tried using object attributes&#x2F;features to enable tracking instead of IOU-based tracking? I suspect this tracker falls apart when there are significant obstructions. Thoughts on a Recurrent YOLO or DeepSORT based tracker?
评论 #21464500 未加载
评论 #21465439 未加载
nullbyteover 5 years ago
PyImageSearch is a fantastic resource for learning this stuff. Highly recommend it.
mbpqdover 5 years ago
Question for HN experts: what would be the best approach for object-detection when the object I am trying to detect is a specific image (not a class of objects) printed on a 2D surface (therefore it could be partially folded &#x2F; curved, but still more of a distorted 2D object than a complex 3D one)?
评论 #21467078 未加载
binarysaurusover 5 years ago
There arw thousands of these repositories all over the place...
评论 #21464223 未加载