AUIDocumentSize
The size of captured document in millimeters. You can define the size of the document to be captured so that the capturing mechanism will search the exact document on frames of the video stream. In case document size is unknown the mechanism will search for any document.
typedef CGSize AUIDocumentSize NS_TYPED_EXTENSIBLE_ENUM;{
extern AUIDocumentSize const AUIDocumentSizeAny;
extern AUIDocumentSize const AUIDocumentSizeA4;
extern AUIDocumentSize const AUIDocumentSizeBusinessCard;
extern AUIDocumentSize const AUIDocumentSizeLetter;
extern AUIDocumentSize const AUIDocumentSizeID1;
extern AUIDocumentSize const AUIDocumentSizeID2;
extern AUIDocumentSize const AUIDocumentSizeID3;
};
Constants
Name | Description |
---|---|
AUIDocumentSizeAny | The document can be of any size. |
AUIDocumentSizeA4 | The size of the captured document is 210 x 297 mm. Please, note that documents of this size may require a higher quality for an appropriate recognition. |
AUIDocumentSizeBusinessCard | The size of the captured document is 53.98 x 85.6 mm. Note: It is recommended to define aspect ratio using aspectRatioMin and aspectRatioMax for business cards capture. Otherwise only business cards with 53.98x85.6 aspect ratio will be captured. |
AUIDocumentSizeLetter | The size of the captured document is 215.9 x 279.4 mm. |
AUIDocumentSizeID1 | The size of the captured document is 53.98 x 85.6 mm. |
AUIDocumentSizeID2 | The size of the captured document is 105 x 74 mm |
AUIDocumentSizeID3 | The size of the captured document is 125 x 88 mm |
02.03.2022 12:59:15