Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, October 28, 2020 12:42:35 AM(UTC)
Nachiket

Groups: Registered
Posts: 1


Hi,

Is there a way, I can get the orientation of an image after I load it using Raster.Codecs. We have cases where we get images in horizontal orientation which actually are vertical and we nee to orient them appropriately before running them through OCR.
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Wednesday, October 28, 2020 8:45:46 AM(UTC)
Marcus Andra

Groups: Registered, Manager, Tech Support, Administrators
Posts: 107

Was thanked: 9 time(s) in 9 post(s)

Hello,

Once you have loaded in your image, you can get access to the ViewPerspective and IsRotated property through use of the CodecsImageInfo class.
https://www.leadtools.com/help/sdk/v21/dh/co/codecsimageinfo.html

This will allow you to determine if your loaded image has a rotated view perspective and provide you access to the view perspective of the image.
https://www.leadtools.com/help/sdk/v20/dh/co/codecsimageinfo-isrotated.html
https://www.leadtools.com/help/sdk/v21/dh/co/codecsimageinfo-viewperspective.html

Thanks,
Marcus Andra
Developer Support Engineer
LEAD Technologies, Inc.
LEAD Logo
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.062 seconds.