我正在使用face_recognition的python库做人脸识别演示。 # Grab a single frame of video
ret, frame = video_capture.read()
# Resize frame of video to 1/4 size for faster face recognition processing
small_frame = cv2.resize(frame, (0, 0), fx=0.25, fy=0.25)
# Convert the image from BGR color (which Op
最近,我一直在研究使用C++检测和识别人脸的OpenCV。为了从OpenCV网站执行源代码演示,我需要首先运行Python来裁剪图像。不幸的是,当我运行Python脚本(此脚本由OpenCV网站提供)时,错误消息为'ImportError: No module named Image'。我安装了"python-2.7.amd64“并下载了"PIL-1.1.7.win32-py2.7”来安装Image库。但是,消息error为'Python version 2.7 required, which was not found in the registry&