How to automatically rotate images before recognition in FlexiCapture SDK?

Question

How to configure the FlexiCapture SDK so that input images would rotate automatically?

Answer

You can use ImageProcessingTools Object, which allows you to preprocess images before recognition. Specifically, the combination of the following methods:

  • DetectRequiredRotation Method detects the rotation that should be applied to an image to return it to the normal (upright) orientation.
  • RotateImageByRotationType Method rotates an image by a predefined angle.

 
There is more information about ImageProcessingTools Object and its methods in the FlexiCapture SDK User's Guide. You can also find a code sample in C# for implementing it.

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.