liuliu / ccv

C-based/Cached/Core Computer Vision Library, A Modern Computer Vision Library
http://libccv.org
Other
7.08k stars 1.72k forks source link

SWT Image orientation sensitivity #206

Open Makogan opened 7 years ago

Makogan commented 7 years ago

Hello,

I have been comparing this library's implementation of Stroke Width Transform with another one. Yours seems to be sensitive to the orientation of the text (I cannot display the images but in one the text is vertical and in the other one it is horizontal [rotated by 90 degrees], in the case of vertical text it doesn't detect it)

However the other implementation did not have this issue (that implementation however performs poorly if the size of the text is small compared to the size of the image)

I was wondering why your method is sensitive to text orientation.