dd9d080cda9a4454b43da3b0aa9d805a37c96d77,examples/blink_detection.py,,main,#,22

Before Change


                cv2.rectangle(small_frame, left_eye[0], right_eye[-1], color, thickness)

                cv2.imshow("Video", small_frame)
                cv2.waitKey(1)

                ear_left = get_ear(left_eye)
                ear_right = get_ear(right_eye)

After Change


                    closed_count = 0

        process = not process
        key = cv2.waitKey(1) & 0xFF
        if key == ord("q"):
            break

def get_ear(eye):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: ageitgey/face_recognition
Commit Name: dd9d080cda9a4454b43da3b0aa9d805a37c96d77
Time: 2020-04-22
Author: aref.ariyapour@gmail.com
File Name: examples/blink_detection.py
Class Name:
Method Name: main


Project Name: thoughtworksarts/EmoPy
Commit Name: 2262591b34d60f9d4e9805b33d804440c19e18d0
Time: 2019-12-13
Author: cgavidiac@gmail.com
File Name: EmoPy/examples/fermodel_example_webcam.py
Class Name:
Method Name:


Project Name: open-mmlab/mmcv
Commit Name: b480ee475f047911eaee443de6153283c980a08a
Time: 2019-11-17
Author: nesoriti@yandex.ru
File Name: mmcv/visualization/image.py
Class Name:
Method Name: imshow