This project is a Python-based real-time shape detection tool using OpenCV. It uses contour analysis, Canny edge detection, and morphological operations to identify basic geometric shapes like triangles, rectangles, circles, and octagons from webcam input.
- Live video capture from webcam or IP camera
- Adjustable edge detection thresholds via trackbars
- Automatic shape detection (Triangle, Rectangle, Circle, Octagon)
- Displays contour area, number of vertices, and shape classification
- Real-time FPS counter for performance monitoring
- Modular preprocessing functions for extensibility
- Python 3.x
- OpenCV
- NumPy
Install the dependencies using pip:
pip install opencv-python numpy


