YOLOv8WithOpenCVForUnityExample icon indicating copy to clipboard operation
YOLOv8WithOpenCVForUnityExample copied to clipboard

The frame rate is very low, how to improve the frame rate through the gpu

Open 643364101 opened this issue 1 year ago • 6 comments

643364101 avatar Apr 10 '24 08:04 643364101

Windows platform only, but the following solutions are available. https://enoxsoftware.com/opencvforunity/how-to-run-dnn-modules-with-cuda-backend-support-on-windows-platform/

EnoxSoftware avatar Apr 10 '24 11:04 EnoxSoftware

Hello, I built cuda acceleration according to your method, but to run on other computers, you need to install cuda environment, is there any good solution

643364101 avatar Apr 29 '24 06:04 643364101

And I don't know if it's a problem with my operation, or a bug, after using cuda acceleration, the accuracy is lost, and the red border all runs to the top left corner 1714469327696

643364101 avatar Apr 30 '24 09:04 643364101

I tried it and the same problem occurred in my environment. This problem seems to be occurring with opencv itself. https://github.com/opencv/opencv/issues/24175 https://github.com/opencv/opencv/issues/25512 https://github.com/opencv/opencv/issues/23977

EnoxSoftware avatar May 02 '24 09:05 EnoxSoftware

Okay, Have you considered using onnxRuntime for inference? Thank you very much

643364101 avatar May 15 '24 10:05 643364101

Or can provide the onnxRuntime pre - and post-processing code, thank you very much

643364101 avatar May 16 '24 01:05 643364101