This project comprises two visual recognition systems: License Plate Recognition and Facial Recognition, both developed using Python and various libraries.
The Visual Recognition System project demonstrates the implementation of two distinct recognition systems:
- License Plate Recognition: Detects and recognizes text from license plates in images using OpenCV and Pytesseract.
- Facial Recognition: Identifies and verifies human faces in images utilizing facial recognition libraries.
These systems showcase the application of computer vision techniques for real-world scenarios.
-
License Plate Recognition:
- Detects license plates in input images.
- Extracts and recognizes text from detected license plates.
-
Facial Recognition:
- Detects human faces in input images.
- Identifies and verifies recognized faces against a known dataset.
- Programming Language: Python
- Libraries:
- OpenCV
- Pytesseract
- face_recognition
- NumPy
To set up the project locally, follow these steps:
-
Clone the Repository:
git clone https://github.com/AkashDeore15/visual_recognition_system.git cd visual_recognition_system -
Install Dependencies: Ensure you have Python installed, then run:
pip install -r requirements.txt
-
Additional Setup for License Plate Recognition:
-
Install Tesseract-OCR on your system.
- Windows: Download the installer from the official repository and follow the installation instructions.
- macOS: Use Homebrew:
brew install tesseract
- Linux: Use the package manager:
sudo apt-get install tesseract-ocr
-
Ensure the Tesseract executable is in your system's PATH.
-
-
License Plate Recognition:
- Place the input images containing license plates in the designated directory.
- Run the script:
python license_plate_recognition.py --image path_to_image
- The script will display the detected license plate and recognized text.
-
Facial Recognition:
- Prepare a dataset of known faces and ensure they are properly labeled.
- Run the script:
python facial_recognition.py --image path_to_image
- The script will detect faces in the image and attempt to identify them based on the known dataset.
license_plate_recognition.py: Script for license plate detection and recognition.facial_recognition.py: Script for facial detection and recognition.requirements.txt: List of required Python libraries.README.md: Project documentation.
Contributions are welcome! To contribute:
- Fork the Repository.
- Create a New Branch:
git checkout -b feature-branch
- Make Your Changes and Commit Them:
git commit -m 'Add new feature' - Push to the Branch:
git push origin feature-branch
- Open a Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.