roi_gray = cv2.resize(roi_gray, (64, 64), interpolation=cv2.INTER_AREA) if np.sum(roi_gray) != 0: # Check if the face region is not empty roi = roi_gray.astype ...
emotion_detector.py File metadata and controls Code Blame 52 lines (39 loc) · 1.32 KB Raw Download raw file 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results