ignoreBadAspectRatio property
Determines whether a landscape document will be detected when the camera is in portrait mode (and vice versa) or not. This parameter will be ignored if required aspect ratios have been explicitly defined. Default is true
Implementation
bool ignoreBadAspectRatio;