Hello!
I've been stuck on this particular task for a while, so I thought I would ask the Computer Vision gurus on here. So far I've tried regionprops (specifically – orientation property of regionprops), which has been fairly poor for in terms of results. I was wondering if anyone has any tips or method for which I could calculate the orientation of a letter in the attached image. I've also attached an example image of what I would like to achieve.
Thank you.
Edit: Attached an input example image
Edit2: Attached imgmat.mat file containing the original image and a binary image.
Edit3: Attached shapeLetters.mat binary and an RGB image containing both letters and shapes for possible advice on clean segmentation of shapes and letters.
Best Answer