Open srs123 opened 6 years ago
Please use cv2.imread('C:\Users\sathi\Downloads\benchmark_images\frame279.jpg') without the second parameter. The second parameter "0" indicate loading image in gray scale
i tried same error throw please sample code sent me
On Tue, Jun 12, 2018 at 7:21 AM, martinambition notifications@github.com wrote:
Please use cv2.imread('C:\Users\sathi\Downloads\benchmark_images\frame279.jpg') without the second parameter. The second parameter "0" indicate loading image in gray scale
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/martinambition/FaceRecognitionAPI/issues/3#issuecomment-396440044, or mute the thread https://github.com/notifications/unsubscribe-auth/AR3U-MOkAy0qDfgS0S0IWiGNhdI_mTjnks5t7x6QgaJpZM4Uikx6 .
I tried code below
from face_process.face_api import FaceAPI face_api = FaceAPI() import cv2
img = cv2.imread('C:\Users\sathi\Downloads\benchmark_images\frame279.jpg',0) face_api.track_faces(img)
ValueError: not enough values to unpack (expected 3, got 2)