mohitdaksh
December 23rd, 2011, 05:54 AM
Hello everyone,
I am planning to do an image processing project for my college.
I basically want to track the hand movements and gestures using a webcam to move and click the mouse cursor.
The image processing part can be done with OpenCV.
The part I am more concerned with is how to control the mouse from a C++ code. I have searched on various places and there seem to be a few ways of doing it(ioctl, uinput) but I am not very sure.
In fact from what it seems the whole project can be done easily(or maybe I just think so) with processing (http://processing.org) without involving C++.
But, I want to learn about the linux system programming and how the hardware devices are controlled, etc. So I want to do this in C++. I just need some pointer about how to start it and some references about things that are good to read and will be helpful.
Any reference that can first clear my understanding of how things really work down there even if unrelated to my current topic are very much welcome.
I hope my requests are not sounding too confused :)
I am planning to do an image processing project for my college.
I basically want to track the hand movements and gestures using a webcam to move and click the mouse cursor.
The image processing part can be done with OpenCV.
The part I am more concerned with is how to control the mouse from a C++ code. I have searched on various places and there seem to be a few ways of doing it(ioctl, uinput) but I am not very sure.
In fact from what it seems the whole project can be done easily(or maybe I just think so) with processing (http://processing.org) without involving C++.
But, I want to learn about the linux system programming and how the hardware devices are controlled, etc. So I want to do this in C++. I just need some pointer about how to start it and some references about things that are good to read and will be helpful.
Any reference that can first clear my understanding of how things really work down there even if unrelated to my current topic are very much welcome.
I hope my requests are not sounding too confused :)