Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

Latest commit

 

History

History
40 lines (25 loc) · 1.35 KB

register_faces.md

File metadata and controls

40 lines (25 loc) · 1.35 KB

Register face images

This article describes how to register face images.

Basic knowledge of facial images

Just like your passport photo, it is important that the facial image you register is accurate.

quoted from Russia Visa Center

When using on FACE01, make the height 200px and width 200px.

If you want to crop only the face part from the photo, it is very easy to use the align_and_resize_maintain_aspect_ratio method of the Utils class in FACE01.

python example/aligned_crop_face.py docs/img/Elon_Musk_Colorado_2022.jpg

If a directory name is given as an argument, all image files in that directory will be targeted.

Put face images in the preset_images folder.

When you start the application, it automatically converts the face image into 128D ndarray data.

ℹ️ NOTE If you want to delete other face image files in the preset_images folder, move them to the debug folder before starting the application.

Just Done! It's simple!