davidsandberg / facenet

Face recognition using Tensorflow
MIT License
13.77k stars 4.81k forks source link

origin face rectangle #203

Closed mickeyandkaka closed 7 years ago

mickeyandkaka commented 7 years ago

New here, I wonder how to get the face box position of the origin image?

davidsandberg commented 7 years ago

Have you looked at for example compare.py and the call to bounding_boxes, _ = align.detect_face.detect_face(img, minsize, pnet, rnet, onet, threshold, factor)? This will give you the bounding boxes for detected faces.

mickeyandkaka commented 7 years ago

I will check that, thank you!