udit043 / Mouse-Control-with-hand-finger-gesture-OpenCV-

Other
9 stars 7 forks source link

Is there any port for Linux machines?? #1

Open andro-galexy opened 7 years ago

andro-galexy commented 7 years ago

The work you have done is awesome, but am curious to know whether there is any port for Ubuntu(Linux) of this code?

udit043 commented 7 years ago

Hi @swapgit Currently code only works for Windows OS. I will try to make it work for Linux system next month. Here are some helpful links, please have a look: http://unix.stackexchange.com/questions/25601/how-do-mouse-events-work-in-linux http://stackoverflow.com/questions/20595716/control-mouse-by-writing-to-dev-input-mice https://installthetech.com/2017/03/10/controlling-vlc-player-through-bash-script/

andro-galexy commented 7 years ago

I guess , instead of writing separate code to work in Linux , you can simply port the code in Python, so it will become platform independent!

udit043 commented 7 years ago

Thanks for the suggestion, I will work on it.

installthetech commented 7 years ago

This is reference to the comment mentioned below:

Hi @swapgit Currently code only works for Windows OS. I will try to make it work for Linux system next month. Here are some helpful links, please have a look: http://unix.stackexchange.com/questions/25601/how-do-mouse-events-work-in-linux http://stackoverflow.com/questions/20595716/control-mouse-by-writing-to-dev-input-mice http://www.installthetech.com/shell-scripting/2016/5/21/controlling-the-ubuntu-system-without-keyboard-and-mouse-using-xdotool

The above link has been changed to: https://installthetech.com/2017/03/10/controlling-vlc-player-through-bash-script/ Thus, I request the owner to change it, please. Thanks