yeungpakming / hand-gesture-control

opencv to handle a livestream input, using mediapipe solution to detect and track a hand, then use pyautogui to perform mouse control
2 stars 0 forks source link

Task list #1

Open yeungpakming opened 2 weeks ago

yeungpakming commented 2 weeks ago
  1. no dragging

  2. not enough responsive solution: implementing async could potentially solve above, if i actually get the correct concept of it, have not tested about it enough to understand

  3. limit a region in the frame for mouse movement so that we can have access to the whole screen solution: have that in mind already, have not implemented yet

  4. gesture_control.py is not really readable solution: will warp up the whole after settling above issues

  5. a bunch of warning poping up at the start, but the code still works solution: if it ain't broke, don't fix it; joking, but this will be at the least priority

yeungpakming commented 2 weeks ago

lunch hour thoughts:

1 and 2 are not necessarily needed to use async for dragging potentially just two if statment for checking is enough async will just be performance improvement so i will lower priority of this

yeungpakming commented 2 weeks ago

Update:

the 1 and 2 problem remains, don't even know why; maybe i should just try asyncio tomorrow 3, 4, 5 have not been implemented

yeungpakming commented 2 weeks ago

Shower thoughts: hold the finger and perform drag, directly using pyautogui mouse drag command instead of an unstable continuous inputs of mouse down so i just need to add a variable to count frame

yeungpakming commented 2 weeks ago

some bug fixes today making it more responsive it was actually a bug lmao