Open tv-gc opened 7 months ago
it is already supported!
Oh really? I thought you had to make predictors and detectors for it because YoloV5 is on a different repository.
Is there references on how to use v8 that you could share?
Thanks!
Sorry for the delay in responding. It seems that opencv's dnn module is capable of inferring yolov8 models in onnx format. https://github.com/opencv/opencv/pull/24611
We have a YOLOv5 example repository on our OpenCVForUnity GitHub, but that example is not applicable to yolov8 models. The data structure of the inference results is different between yolov5 and yolov8, so you need to implement yolov8-specific code. We have created a new repository containing examples of yolov8 object detection models. Please try it out. https://github.com/EnoxSoftware/YOLOv8WithOpenCVForUnityExample
Examples of Segmentation and Classification models have also been added!
Tnx it is very useful!
It seems when using CUDA backend with dnn, the returned bounding boxes are all 0. Using inference on CPU works fine. That seems to be an OpenCV 4.2.8 problem.
@wimvanhenden-tool This problem seems to have been reported in the opencv repository. https://github.com/opencv/opencv/issues/23977
Hi!
I would like to ask if OpenCVForUnity will support YOLO version 8 and if so, when will the example be shared?
Cheers!