EnoxSoftware / OpenCVForUnity

OpenCV for Unity (Untiy Asset Plugin)
https://assetstore.unity.com/packages/tools/integration/opencv-for-unity-21088
560 stars 175 forks source link

Run yolov5 on opencvforunity yolo scene #82

Open syedali1621 opened 3 years ago

syedali1621 commented 3 years ago

Hi i trained and run almost all versions of yolo in unity using opencvforunity package which has yolo implementation. The question is YOLOV5 is only available using pytorch and pytorch output different type of weight but that unity project only accept .weights from darknet is there any way to run yolov5 in unity or any way to convert pytorch weight into darknet format?

Thank you

EnoxSoftware commented 3 years ago

if yolov5 can work with opencv4.5.0, I think it will work with OpenCVForUntiy2.4.1. https://github.com/ultralytics/yolov5/issues/239 https://github.com/opencv/opencv/issues/18920 https://github.com/opencv/opencv/issues/18655

wwzh2015 commented 3 years ago

if yolov5 can work with opencv4.5.0, I think it will work with OpenCVForUntiy2.4.1. ultralytics/yolov5#239 opencv/opencv#18920 opencv/opencv#18655

why