Table of Contents
In this project, how to create a real-time Face Attendance system. We will add an elegant graphical interface along with a live database to create a real-world system. We will cover the following topics: 1. Introduction 2. Overview 3. Setup 4. Webcam 5. Graphics 6. Encoding Generator 7. Face Recognition 8. Database Setup 9. Add Data to the Database 10. Upload Images to the Database 11. Download User Data 12. Update Attendance 13. Check if already Marked 14. Loading
- Webcam
- Graphics
- Encoding Generator
- Face Recognitions
- Database Setup
- Add data to database
- add Image into database
- Real-time Databse update
- Limit number of attendence per day
This is a sample for Project of License Plate Detection and Classification The training a custom YOLOv5 model requires a significant amount of computational resources, such as a powerful GPU and large amounts of memory. You may also need to fine-tune the hyperparameters to achieve the best performance. Use in Google Colab
Collect a dataset of images that contain numberplates and label them using a labeling tool like LabelImg. Make sure to label the numberplate regions in each image and save them in the YOLO format.
https://www.makesense.ai/
Split the dataset into two sets - training and validation - in a ratio of 80:20. This will ensure that your model can learn from a diverse set of images.
https://github.com/ultralytics/yolov5.git
Then install the project dependencies with
pip install -r requirements.txt
Modify the YOLOv5 configuration file to include your custom numberplate detection class. You will also need to adjust the number of classes, filters, and other parameters based on your specific requirements.
data/custom.yaml file
Use the YOLOv5 train.py script to train your custom numberplate detection model. This will take several hours or days, depending on the size of your dataset and the complexity of your model.
!python train.py --img 640 --batch 16 --epochs 60 --data customdata.yaml --weights yolov5s.pt --cache
!python detect.py --weights runs/train/exp2/weights/best.pt --img 640 --conf 0.25 --source /content/drive/MyDrive/Yolov5Numberplate/yellow.jpeg
!python detect.py --weights runs/train/exp2/weights/last.pt --img 640 --conf 0.25 --source /content/drive/MyDrive/Yolov5Numberplate/road.mp4
Test Mode |
Train Mode |