Im creating a system that will be able to register people who will have written texts by hand, later I will have to analyze this image and detect if the writing is ascending, descending or straight. With graphology, I will be able to create the person's profile, but I have no ideas on how to analyze that image.
System using Python and Django, i just need to read the image to make this analysis.Does anyone have a suggestion on how to do it?
A possible solution is to use the
minAreaRect()
that give you the angle. Once you have it, just set your thresh to say if the writing is['Ascending', 'Descending', 'Level']
:You will have something like this: