Welcome to FACE01 world!
In this article, I will introduce the necessary knowledge and techniques to create an application that uses face recognition using FACE01 with an example program.
Are you ready?
Let's check the checks you must pass as step. 1.
TOC
- Step-by-step to use FACE01 library
- Simple flow for using FACE01
- Simple face recognition
- Display GUI window
- Display 'telop' and 'logo' images which you're company's.
- Want to benchmark?
- Example list
- Troubleshooting:thinking:
✅
- Basic operation of Python
- Basic operation of Docker
- Basic operation of Linux terminal
- (If using Nvidia GPU) CUDA driver is already installed
Have you checked everything?
OK! Let's get started!
This article describes how to register face images.
See here.
Start the virtual environment using venv of the Python standard library.
# activate venv
. bin/activate
The Docker Image comes with vim installed so you can edit conf.ini
.
# Check vim installed
which vim
It is an example of how to use FACE01, but let's look at a simple flow.
See here.
Let' try simple.py
.
simple.py is an example script for CUI behavior.
python example/simple.py
See here.
Want to display in a cool GUI window?
Try example/display_GUI_window.py
.
See here.
python example/display_GUI_window.py
See here.
Do you want your window to display your company logo or something?
Of course you can!
See here.
See here.
# 1. Simple
python example/simple.py
# 2. Display GUI window
python example/display_GUI_window.py
# 3. logging
python example/example_logging.py
# 4. data structure
python example/data_structure.py
# 5. Benchmark with CUI mode
python example/benchmark_CUI.py
# 6. Benchmark with GUI mode
python example/benchmark_GUI_window.py
# Other
- example/aligned_crop_face.py
- example/anti_spoof.py
- example/distort_barrel.py
- example/draw_datas.py
- example/face_coordinates.py
- example/get_encoded_data.py
- example/lightweight_GUI.py
...and others.
For more information about FACE01 many Classes and methods, see FACE01 document.