I want to ask for help with getting the orientation of an image.
I am using GdPicture.NET 11.
I have tried to get the orientation of the text of an image, but I always get "0".
Apply filters to the image (like rotation)
Even if I set the rotation to 90 in the Filters section it returns 0
int rotation = oGDPictureImaging.OCRTesseractGetOrientation(ImageID, ocrLanguage, ocrLanguageFilePath, 10);
if (rotation > 0)
I never get into the if cause.
Additional info. ocrLanguage is "hun" in default, but I tried with "eng" too, and ocrLanguageFilePath is set to the folder which contains the language files.
I searched the forums for a while for any solution, but none of them worked for me.
Could you share input image from which you obtain such undesired behavior ? If they are confidential please open a ticket on our helpdesk that you can reach here: http://support.gdpicture.com
With best regards,
Who is online
Users browsing this forum: No registered users and 3 guests