1:- Import code from given link with all files without leaving any thing.
2:- Open your code with code editor. VS code is preferred.
3:- install xamp server for accessing local host
For more guidance on xamp installation refer below links
2) Detailed Installation Video
4:- Setup database on locahost according to given code. means make table and database same as given in code.
5:- Create face_samples directory on parent directory where your haarcascade XML files are present.
6:- Set path of images according to your device path.
7:- Install libraries of all imports
import tkinter as tk
pip scripts used for libraries installation
- pip install pillow
- pip install PyMySQL
- pip install opencv-python or pip install opencv-contrib-python
pip install pillow
7:- When you the xamp server must be started.
8:- Run your code and select pics according to demo video.
Notes:- 1) After doing all above stuff still you face error then just need to restart your vs code.
After doing above stuff if you are still facing then check your table columns and and just connect to me.
Thank you
Where is the link of source code?
ReplyDelete