YYuanAnyVision / mxnet_mtcnn_face_detection

MTCNN face detection
738 stars 314 forks source link

whats the python vision? #59

Open AshenskyABCDE opened 1 year ago

AshenskyABCDE commented 1 year ago

i try to use 3.9 and 3.6 but it all run never stop.i think It's a matter of version.

and it's my code to want test your code python detector = MtcnnDetector(model_folder="./mxnet_mtcnn_face_detection/model", ctx=mx.cpu(0), num_worker=1, accurate_landmark=False) img = cv2.imread('zjb1.png') result = detector.detect_face(img) a = result[0][0] face = img[int(a[1]):int(a[3])+1, int(a[0]):int(a[2])+1]#横纵坐标 cv2.waitkey(10000)