OpenCVForUnity icon indicating copy to clipboard operation
OpenCVForUnity copied to clipboard

Run yolov5 on opencvforunity yolo scene

Open syedali1621 opened this issue 3 years ago • 2 comments

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

syedali1621 avatar Dec 10 '20 05:12 syedali1621

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

EnoxSoftware avatar Dec 10 '20 14:12 EnoxSoftware

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

wwzh2015 avatar Jan 20 '21 05:01 wwzh2015