mouse control by color detection methods using java robot class....
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
i used a code to detect color where i can only detec red,green or blue color using "imsubtract(data(:,:,1),rgb2grey(data))" command... then i applied robaot java class for mouse pointer movement relative to cordinates of the color.... the mouse pointer moves and also clicks, but the problems i faced are..... 1) i dont know how the clicking operation is being executed.... does it executes when pointer is stable on a folder for some specified time or when another color is detected by the system?...... 2) if i move my hand to right , the pointer moves left and vice versa..... how to reverse that....... 3)if the camera resolution is less than the resolution of the screen, whole screen is not covered with this system.... how to eliminate this?..... 4)if i want to detect two different colors and execute clicking operations by manipulating the distance between the colors, how can i do that..?? please help...
1 comentario
Walter Roberson
el 21 de Feb. de 2013
Is this not the same topic as http://www.mathworks.co.uk/matlabcentral/answers/64131-mouse-control-by-color-detection-methods ?
Respuestas (1)
vidit virmani
el 21 de Feb. de 2013
1 comentario
Jan
el 21 de Feb. de 2013
Editada: Jan
el 21 de Feb. de 2013
Without a proper formatting, this code is not readable. Didn't you see this by your own? Please read http://www.mathworks.com/matlabcentral/answers/13205-tutorial-how-to-format-your-question-with-markup. In addition information, which is essential to understand the question, should be seen inside the question and not in the section for answers. Therefore editing the questions is possible in this forum.
Ver también
Categorías
Más información sobre Startup and Shutdown en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!