Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

How to you OpenCV draw functions on the GPU?

$
0
0
I want to draw a bezier curve ( which is piece-wise drawn through a set of points ) on an empty canvas using OpenCV and Python. I then want to get the resultant image in matrix form. To do this I used a small code to calculate the the points of the bezier curve and then rendered it using cv2.polylines. This works but it is too slow. I was wondering (1) if there was a way to draw a bezier curve faster, using openCV (2) if I could do the drawing operation using the GPU to make this faster. Any help would be much appreciated!

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>