Ask Your Question
0

Drawing with touchscreen

asked 2016-09-27 07:46:42 -0500

j0h gravatar image

Hello All, I have read the drawing tutorial, and understand how to do some basic drawing functions. I would like to draw using a touchscreen. There a library that can help me do that?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2016-09-27 09:58:51 -0500

kbarni gravatar image

Sorry, but drawing and touchscreen are not really computer vision topics...

Otherwise you won't really need any library. Touchscreen works basically as a mouse. So, using your favourite framework (Qt, MFC, Java...) put a bitmap control with a bitmap on the screen, a mouse callback (onMouse(x,y,event)), and on mouse button down event change the color of the current pixel of the bitmap.

This is possible even in OpenCV, but as I said, it wasn't created for this.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2016-09-27 07:46:42 -0500

Seen: 241 times

Last updated: Sep 27 '16