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 ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results