A simple computer vision application that allows users to apply various image processing techniques and face detection to uploaded images.
- Image Processing Techniques
- Grayscale conversion
- Gaussian blur with adjustable kernel size
- Edge detection with adjustable thresholds
- Face Detection
- Detects faces in images using Haar Cascade classifier
- Highlights detected faces with blue rectangles
- Python 3.7+
- pip
-
Clone the repository
git clone https://github.com/yourusername/computer-vision-project.git cd computer-vision-project -
Create and activate a virtual environment
python -m venv venv
On Windows:
venv\Scripts\activate
On macOS/Linux:
source venv/bin/activate -
Install dependencies
pip install -r requirements.txt
python image_processing.pypython face_detection.pystreamlit run app.pycomputer-vision-project/
├── app.py # Streamlit web application
├── image_processing.py # Basic image processing script
├── face_detection.py # Face detection script
├── requirements.txt # Project dependencies
├── assets/ # Screenshots and images
├── README.md # This file
└── .gitignore # Git ignore file
- OpenCV - Open Source Computer Vision Library
- NumPy - Numerical computing library
- Matplotlib - Visualization library
- Streamlit - Web application framework
For a detailed walkthrough of how this project was built, check out my blog post: Make Your First Computer Vision Project: A Step-by-Step Guide
- Add more image processing techniques
- Implement object detection
- Create a real-time webcam version
- Add image classification capabilities
This project is licensed under the MIT License - see the LICENSE file for details.
