Coder Social home page Coder Social logo

YOLOv8 support about opencvforunity HOT 7 OPEN

tv-gc avatar tv-gc commented on August 16, 2024
YOLOv8 support

from opencvforunity.

Comments (7)

dragan07-07 avatar dragan07-07 commented on August 16, 2024

it is already supported!

from opencvforunity.

tv-gc avatar tv-gc commented on August 16, 2024

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!

from opencvforunity.

EnoxSoftware avatar EnoxSoftware commented on August 16, 2024

Sorry for the delay in responding.
It seems that opencv's dnn module is capable of inferring yolov8 models in onnx format.
opencv/opencv#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

from opencvforunity.

EnoxSoftware avatar EnoxSoftware commented on August 16, 2024

Examples of Segmentation and Classification models have also been added!

from opencvforunity.

dragan07-07 avatar dragan07-07 commented on August 16, 2024

Tnx it is very useful!

from opencvforunity.

wimvanhenden-tool avatar wimvanhenden-tool commented on August 16, 2024

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.

from opencvforunity.

EnoxSoftware avatar EnoxSoftware commented on August 16, 2024

@wimvanhenden-tool This problem seems to have been reported in the opencv repository.
opencv/opencv#23977

from opencvforunity.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.