I have done hand tracking in opencv in c++. Now I want to move cursor with hand tracking. Please tell me about the functions i can use and how to do it.
Asked
Active
Viewed 473 times
1 Answers
0
The library pyautogui(https://github.com/asweigart/pyautogui) may be helpful, but it's written in python. You can call python fuctions in C++, although it would cost you a little effort. What's more, if you want to move cursor by yourself and you are using linux system, congratulations, the mouse cursor is a device file, you can move it by write the formated data to it. The detail you can find it with google. Or you can refer this question: Control mouse by writing to /dev/input/mice

Community
- 1
- 1

happyjacket
- 16
- 3
-
i am using windows 10 – Ashish Verma Apr 06 '17 at 05:11