Enum ProcessingMode
- Namespace
- ScanbotSDK.MAUI.Core.Common
- Assembly
- ScanbotSDK.Shared.dll
[JsonConverter(typeof(ProcessingModeConverter))]
public enum ProcessingMode
Fields
Auto = 2The scanner chooses live or single-shot mode based on the source of the image. An image constructed with RawImageLoadOptions.liveSource equal to true will be processed in live mode, otherwise it will be processed in single-shot mode. On Android liveSource is automatically set to true if the ImageRef is created from Nv21 image data. On iOS liveSource is automatically set to true if the ImageRef is created from a CMSampleBuffer.
Live = 0In live mode input images are expected to come from a video source like a camera. Scanners in live mode typically spend little time on each image and are able to quickly analyze multiple images and combine the individual image results into a final result. Individual results from a particular image may be less accurate than running the scanner in single-shot mode on that frame, but after aggregating a few images of the same subject, the final result becomes much more accurate.
SingleShot = 1In single-shot the scanner tries to extract the maximum amount of information possible from each input image. The scanner typically spends much longer on analyzing the image to ensure that all available information has been extracted.