Open stuartchen1949 opened 3 years ago
Hi, the model is stored in the MODEL_ROOT. you can find it and edit it in the "config.py".
If you want to see the visualization, you can try to open ipython notebook and type:
from PIL import Image from detector import detect_faces from visualization_utils import show_results
img = Image.open('some_img.jpg') # modify the image path to yours bounding_boxes, landmarks = detect_faces(img) # detect bboxes and landmarks for all faces in the image show_results(img, bounding_boxes, landmarks) # visualize the results
Hi, the model is stored in the MODEL_ROOT. you can find it and edit it in the "config.py". If you want to see the visualization, you can try to open ipython notebook and type:
from PIL import Image from detector import detect_faces from visualization_utils import show_results
img = Image.open('some_img.jpg') # modify the image path to yours bounding_boxes, landmarks = detect_faces(img) # detect bboxes and landmarks for all faces in the image show_results(img, bounding_boxes, landmarks) # visualize the results
hello, the code you mentioned can only perform face detection, but cannot recognize faces. How can I train my own data set and recognize a single picture, that is, frame the face and mark the name? Thank you!
I'm new to machine learning, so it would be a great help if anyone can tell me where the model is stored and how can i apply this model, say, use one image and get a picture with faces illustrated and marked with names? Great thanks!