Is there a way, in a picture:
- to detect a shape (eg. a circle).
- to relate the shape with its location on the picture (eg. left, right, center) and to assign a value (true or false).
I think that there is a solution using PIL and SciPy, but do not know where to start. any tips?
Thanks and sorry for the bad english.
You might want to use OpenCV for this.
Python bindings for it already exist (they are not very pythonic though) so it shouldn’t be too hard to get into it.