https://github.com/nathsou/shapeidentifier
Detect some shapes in an image using opencv.
https://github.com/nathsou/shapeidentifier
Last synced: 4 months ago
JSON representation
Detect some shapes in an image using opencv.
- Host: GitHub
- URL: https://github.com/nathsou/shapeidentifier
- Owner: nathsou
- Created: 2015-07-06T22:42:59.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-07-08T20:50:44.000Z (about 10 years ago)
- Last Synced: 2025-01-15T19:52:28.771Z (6 months ago)
- Language: Python
- Homepage:
- Size: 660 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ShapeIdentifier
Detect some shapes in an image thanks to opencv.
- requires **opencv** and **numpy**
#Recognize simple polygons:
- Green -> Polygon
- Blue -> Regular polygon
- Red -> Ellipse or Circle
if no **-s** *(source image path)* paramater is given, the script will try to capture from a webcam:

The default thickness value is -1 *(filled)*, you can change it with the *-t* parameter:
```
python main.py -t 2
```
