Skip to content

Commit 5388f1a

Browse files
authored
Update mouse_control_by_eye.py
1 parent 55cfddf commit 5388f1a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

mouse_control_by_eye.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
"""
22
Description :This Script is controlling A mouse cursor by eyes
33
Making Date : 01/03/2019
4+
Last Update Date : 21/01/2023
45
Writer : Bapon Kar
56
"""
67

78
import pyautogui
89
import cv2
910
import time
1011

12+
#When I have tried into my windows machine then it was ask to do
13+
#But in Linux machine it will works fine without this false selection
14+
pyautogui.FAILSAFE = False
15+
1116
#Creating a openCv object
1217
video = cv2.VideoCapture(0)
1318
#using haarcascade_eye.xml

0 commit comments

Comments
 (0)