EnoxSoftware / OpenCVForUnity

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

yolotiny v4 Support #66

Open kushallokesh opened 4 years ago

kushallokesh commented 4 years ago

Hello,

Good Day. Does the yolo example support yolotiny v4 weights ? A quick respose would be appriciated

Thank you for your support

EnoxSoftware commented 4 years ago

YoloObjectDetectionExample in OpenCVForUnity v2.4.0 supports Yolov4-tiny.

j3vr0n commented 3 years ago

Does it support Yolo V4 (not Tiny)? I've tried loading a custom model, but can't seem to get it to work. I just receive an error:

Empty path name is not legal. UnityEngine.Debug:LogError(Object) OpenCVForUnityExample.DnnObjectDetectionExample:readClassNames(String) (at Assets/OpenCVForUnity/Examples/MainModules/dnn/DnnObjectDetectionExample.cs:320) OpenCVForUnityExample.DnnObjectDetectionExample:Run() (at Assets/OpenCVForUnity/Examples/MainModules/dnn/DnnObjectDetectionExample.cs:142) OpenCVForUnityExample.DnnObjectDetectionExample:Start() (at Assets/OpenCVForUnity/Examples/MainModules/dnn/DnnObjectDetectionExample.cs:84)

EnoxSoftware commented 3 years ago

"coco.names" seems to have failed to load. Have you downloaded "coco.names" already?

Download https://raw.githubusercontent.com/pjreddie/darknet/master/data/coco.names. Copy coco.names to “Assets/StreamingAssets/dnn/” folder.

j3vr0n commented 3 years ago

https://blog.roboflow.com/train-yolov4-tiny-on-custom-data-lighting-fast-detection/