This is a Python script for performing image recognition using computer vision techniques.
The image recognition code utilizes the OpenCV library to detect and classify objects in images or real-time video feeds. It supports the detection of faces, eyes, and smiles.
- Python 3.x
- OpenCV library
-
Install the required dependencies:
pip install opencv-python
-
Clone the repository:
git clone https://github.com/your-username/image-recognition-code.git
-
Navigate to the project directory:
cd image-recognition-code
-
Run the script:
python3 ImageRecog.py
-
This will start the image recognition process. You can provide the path to an image or use the webcam for real-time object detection.
The script will display the detected objects on the screen and provide relevant information.