Click here to Skip to main content
15,892,537 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to take input from camera than apply some image processing and detect the only led light from the image calculate its position x,y from the image and send the command to mouse or cursor to go at the exact position where the light is in the image.

i show you with the help of example what i really want to do ..

Step 1

Take input from webcam..


<img width="200" height="200"
src="http://postimg.org/image/pay5sq08p/" />


Step 2

Apply image processing using aforge library..

<img width="200" height="200"
src="http://s4.postimg.org/g8yxe7i5p/IMAGE_0133.png" />



Step 3

Place the cursor over that place


<img width="200" height="200"
src="http://s9.postimg.org/jhk0ldxnj/image.jpg" />



I hope you understand what i want to create using windows form application c#

there are 3 conditions ..

1) If center light is on than cursor will move according to the led light.
2) If center light + left led light of hand is on than left click will execute.
3) If center light + right led light of hand is on than right click will execute.
Posted
Comments
Kenneth Haugland 1-Mar-15 6:14am    
And, is there a real question here, or are you trying to order some software?
Sergey Alexandrovich Kryukov 1-Mar-15 6:52am    
Please search CodeProject articles. I think I saw at least one providing this kind of input.
—SA
Dave Kreskowiak 1-Mar-15 12:28pm    
OK, your premise sounds good. Permission granted. Please, proceed.
Mohammad Reza Valadkhani 2-Mar-15 4:42am    
for image processing use EMGU CV library for c#

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900