We have a web cam that we would like to function like a mouse. By using the brightest spots on the screen we can tell where the Webcam is pointing. We want this to run on Android so the most logical method seems to be a device driver (Mouse or similar pointing device). There may well be other simpler options available.
What we would like is something like the following.
module_init -> Set up the webcam using v4l2 API
set up two streaming buffers.
On Buffer full it should simply scan the Display buffer looking for the two brightest spots (of at least MIN_X and MIN_Y size).
The returned average of these two bright spot co-ordinates are the mouse pointer co-ordinates.
Hello, The virtual mouse can be created via uinput, this will mitigate the complexity of inserting kernel driver into android system. Using V4L2 to implement the algorithm you described should be straight-forward
9 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön
Hello, i have done device driver related stuffs for USB on linux, i wants to do some programming for V4L2 , if you give me this project i will do it for you, you can see my reviews regarding to OS concepts.