- Based on face_recognition
- A face recognition with PostgreSQL
- Install Python 3.7.x
- Use the package manager pip to install Python dependencies
pip install face_recognition numpy opencv-python argparse psycopg2-binary prettytable
Install Postgres
- Using Docker
- Or install PostgreSQL
demo_video.py requires Pillow
pip install Pillow
- Create and edit config.json following config_template.json
- Setup user and database in PostgreSQL
- Run the following command to create tables
python db_tool.py --cmd 'clean_db'
- A set of commands to access or update data in database
python db_tool.py --cmd 'summary'
python db_tool.py --cmd 'status'