- mediapipe
pip install mediapipe
- opencv
pip install opencv-contrib-python
- pyautogui
pip install pyautogui
- time
pip install time
- 1 : RIGHT
- 2 : LEFT
- 3 : UP
- 4 : DOWN
- 5 : PLAY/PAUSE
Used to display an image in a window
cv2.imshow(window_name, image)
Parameters:
- window_name: A string representing the name of the window in which image to be displayed.
- image: It is the image that is to be displayed.
- Return Value: It doesn’t returns anything.
used to flip a 2D array
cv2.cv.flip(src, flipCode 0/1/-1)
Parameters:
- src = input array