6

I want to detect symmetries (rotation, translation, etc) of a simple figure or a shape in a image. That is, if I find one symmetry I want to replicate my original figure with it.

Are there any function or module? I have thought in python-opencv, but I did not find nothing.

kshipuden
  • 93
  • 1
  • 4
  • What are your purposes here? If you're just interested in detecting the rotation of highly similar images, you of course would only need to do a fraction of the work... – Tom Jun 29 '13 at 09:31
  • First I want resolve a simple problem, after, I will do problems more difficult in my test – kshipuden Jun 29 '13 at 13:41
  • Can you give an example of a shape in python. –  Jul 04 '13 at 14:59

1 Answers1

1

Let me just throw some packages at you: OpenCV for Python Cookbook might be a good start. A search for "opencv" on the Python Package Index yields several bindings of OpenCV for Python.

Concerning the detection of symmetries: The answer to question how to detect simple geometric shapes using OpenCV? might be a good start. After you find similar objects, check their orientation. Replacing then should be a piece of cake.

Community
  • 1
  • 1
ojdo
  • 8,280
  • 5
  • 37
  • 60