Ask Your Question
0

How to get pixel value at mouse position

asked 2013-04-23 11:14:19 -0500

RDub gravatar image

I'm able to successfully capture images from a webcam. I want to print the pixel value wherever the mouse is pointing. I'm a newby and can't figure out how to do this. Can someone help? Thanks.

edit retag flag offensive close merge delete

Comments

Awesome. Thanks kscottz.

RDub gravatar imageRDub ( 2013-04-23 14:15:41 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-04-23 12:06:52 -0500

kscottz gravatar image

This is really simple in SimpleCV:

cam = Camera()
cam.live() # color and position will be printed on the screen, esc to exit
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-04-23 11:14:19 -0500

Seen: 1,033 times

Last updated: Apr 23 '13