Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nathsou/shapeidentifier
Detect some shapes in an image using opencv.
https://github.com/nathsou/shapeidentifier
Last synced: about 2 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 (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-08T20:50:44.000Z (over 9 years ago)
- Last Synced: 2024-10-11T20:42:54.484Z (3 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**![Usage](http://nathsou.fr/iup/u/004d-Capture_du_2015-07-08_17:00:24.png)
#Recognize simple polygons:
- Green -> Polygon
- Blue -> Regular polygon
- Red -> Ellipse or Circle![Before](http://i.imgur.com/z2t854x.png)
![After](http://nathsou.fr/iup/u/ac43-out.png)if no **-s** *(source image path)* paramater is given, the script will try to capture from a webcam:
![Gameboy](http://nathsou.fr/iup/u/e053-Capture_du_2015-07-08_17:11:06.png)
The default thickness value is -1 *(filled)*, you can change it with the *-t* parameter:
```
python main.py -t 2
```
![RaspberryPi](http://nathsou.fr/iup/u/8c67-Capture_du_2015-07-08_17:20:13.png)