• DepthAI
  • Detection problem with Mobile Net on video from host

This isn't reproducible.

 python .\test4.py
Traceback (most recent call last):
  File "D:\Downloads\yolov8-testing-pt-files-New%20folder\test4.py", line 175, in <module>
    parser = argparse.ArgumentParser()
NameError: name 'argparse' is not defined

    Again, this is not reproducible. Did you even try running the test4.py/test5.py?

      a year later

      @erik

      Hi, can you please provide the code to run the inference on a video file using yolov5?

      Thankyou @erik

      There are modules for object Tracking using mobilenet ssd but it did not work well for yolov5.
      can you please give module for object tracker using yolov5.

      @erik

      Whether we can run dlib tracker on-device together with yolov5 object detection?

      @Unknown it's exactly the same, you can link YoloDetectionNetwork the same way you link MobileNetDetectionNetwork to the ObjectTracker node.

      @erik okay sure, Thank you.
      Can you please let me know about the query given below.
      Whether we can run dlib tracker on-device together with yolov5 object detection?

        Unknown
        Depthai has proprietary tracking algorithms that can run on RVC. Addding custom tracking (on-device) is not possible on RVC2.
        You would have to port the tracking to host side. The rest of the pipeline (yolo and others) should still be run on device.

        Thanks,
        Jaka