Can I detect the orientation of an image with text in c# - possibly using MODI? -
i have number of documents scanned png files. not know orientation of each scan. need know how rotate them when present them user; either 0, 90, 180 or 270 degrees. documents in english.
i using modi extract text each image in .net 4.0 c# environment. there way read orientation of image using modi? or perhaps method accessible c# detect orientation of image?
why use method? check sizes:
if(img.width>img.height) //orientation=landscape else //orientation=portait
Comments
Post a Comment