系统信息(版本):
详细说明:
我正在尝试使用face_LBPHFaceRecognizer()
训练人脸识别模型,但每次尝试使用face_recognizer.train(faces,labels)
训练模型时,我的内核都会自动重新启动(内核似乎已死亡。它将自动重新启动)
代码片段:
import cv2 as cv
import numpy as np
import os
#assume that my code has required data in *faces* and *labels* variables
face_recognizer = cv.face_LBPHFaceRecognizer()
#my code runs successfully till here. but after this line kernel automatically gets restared
face_recognizer.train(faces,labels)
目前没有回答
相关问题 更多 >
编程相关推荐