Visual studio cannot be used because of the company’s security. I made a Python program using k-means with opencv to cluster colors, but the cpu consumption is too high.
Can I use gpu on opencv without visual studio? Please let me know if there is a way.
I don’t understand there is no relationship between vs and cuda.
If you want cuda with opencv_python you have to build yourself
About kmeans there is no cuda function in opencv
do not expect miracles. stuff doesn’t simply “run on a GPU”. because you want it. there has to be an actual implementation that targets GPUs.
OpenCV (almost) always comes with OpenCL support. learn about
UMat (see also “T-API”).
if you want CUDA specifically, you could give this a look: