title: Letter inside letter, pattern recognition
body: <p>I would like to detect this pattern</p>
  
  <p><a href="https://www.dropbox.com/s/ghuaywtfdsb249j/test.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pt32n.jpg" alt="https://www.dropbox.com/s/ghuaywtfdsb249j/test.jpg"></a></p>
  
  <p>As you can see it's basically the letter C, inside another, with different orientations. My pattern can have multiple C's inside one another, the one I'm posting with 2 C's is just a sample. I would like to detect how many C's there are, and the orientation of each one. For now I've managed to detect the center of such pattern, basically I've managed to detect the center of the innermost C. Could you please provide me with any ideas about different algorithms I could use?</p>