How to automatically rotate images before recognition in FlexiCapture SDK?


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


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.

Have more questions? Submit a request



Please sign in to leave a comment.