You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Been experimenting with gocv on some embedded boards (which have working OpenCL but no CUDA). As of OpenCV V4.x, OpenCL acceleration is transparent for the caller to normal OpenCV functions.
After tweaking the build of OpenCV on my target to enable OpenCL everywhere it is supported, I did some very limited testing by probing to see if OpenCL is enabled when loading the bindings through gocv which suggests it is (I also get logspam from the OpenCL.so) which is encouraging.
Where I'm blocked is that the C/C++ bindings gocv uses does not provide a UMat type. Unfortunately, a lot of OpenCL code paths in OpenCV check for this to use OpenCL. Would it be possible to get some pointers on what the most sensible way to integrate UMats into gocv might be? I need maybe 5-6 functions in OpenCV . Sadly my attempts at getting swig to do the heavy lifting have all been far from workable so if I have to choose between do it in C++ and porting everything myself I think I'll put up with some C++.
The text was updated successfully, but these errors were encountered:
Hi,
Been experimenting with gocv on some embedded boards (which have working OpenCL but no CUDA). As of OpenCV V4.x, OpenCL acceleration is transparent for the caller to normal OpenCV functions.
After tweaking the build of OpenCV on my target to enable OpenCL everywhere it is supported, I did some very limited testing by probing to see if OpenCL is enabled when loading the bindings through gocv which suggests it is (I also get logspam from the OpenCL.so) which is encouraging.
Where I'm blocked is that the C/C++ bindings gocv uses does not provide a UMat type. Unfortunately, a lot of OpenCL code paths in OpenCV check for this to use OpenCL. Would it be possible to get some pointers on what the most sensible way to integrate UMats into gocv might be? I need maybe 5-6 functions in OpenCV . Sadly my attempts at getting swig to do the heavy lifting have all been far from workable so if I have to choose between do it in C++ and porting everything myself I think I'll put up with some C++.
The text was updated successfully, but these errors were encountered: