Drawing shapes and contours with ARM cortex M4 series!


#1

Hi
I like to know, can I use OpenVx instead of OpenCV for some simple purposes like drawing a shape or contour in an empty image(matrix) and save it as an image(.jpg) with something like STM32F407 microcontrollers?


#2

Unlike OpenCV, OpenVX does not include any of these functions as part of the standard. You can use OpenVX to do these types of things, but you or someone else would first need to write these functions as user kernels and add them into OpenVX. It could be possible to add the OpenCV function calls for this in OpenVX user kernels so that you can call them from within a larger OpenVX graph.


#3

If you’re interested in using OpenCV functions from within an OpenVX graph, as user kernels, you can look into this open-source project.
https://github.com/GPUOpen-ProfessionalCompute-Libraries/amdovx-modules/tree/develop/vx_opencv