Skip to content

Latest commit

 

History

History
134 lines (130 loc) · 4.81 KB

section-type.md

File metadata and controls

134 lines (130 loc) · 4.81 KB
layout title description keywords needGenerateH3Content needAutoGenerateSidebar noTitleIndex breadcrumbText codeAutoHeight
default-layout
SectionType - Dynamsoft Core Enumerations
The enumeration SectionType of Dynamsoft Core describes the section of the algorithm.
Section type
true
true
true
SectionType
true

Enumeration SectionType

SectionType categorizes the distinct segments within the image processing algorithm, pinpointing the exact phase responsible for generating a specific IntermediateResult.

>- JavaScript >- Android >- Objective-C >- Swift >- C++ > > ```javascript enum EnumSectionType { /** Indicates that no specific section type has been specified. */ ST_NULL = 0, /** Corresponds to results generated in the "region prediction" section. */ ST_REGION_PREDETECTION = 1, /** Corresponds to results generated in the "barcode localization" section. */ ST_BARCODE_LOCALIZATION = 2, /** Corresponds to results generated in the "barcode decoding" section. */ ST_BARCODE_DECODING = 3, /** Corresponds to results generated in the "text line localization" section. */ ST_TEXT_LINE_LOCALIZATION = 4, /** Corresponds to results generated in the "text line recognition" section. */ ST_TEXT_LINE_RECOGNITION = 5, /** Corresponds to results generated in the "document detection" section. */ ST_DOCUMENT_DETECTION = 6, /** Corresponds to results generated in the "document normalization" section. */ ST_DOCUMENT_NORMALIZATION = 7 } ``` > ```java @Retention(RetentionPolicy.CLASS) public @interface EnumSectionType { /**No section type is specified.*/ public static final int ST_NULL = 0; /**The result is output by "region prediction" section.*/ public static final int ST_REGION_PREDETECTION = 1; /**The result is output by "barcode localization" section.*/ public static final int ST_BARCODE_LOCALIZATION = 2; /**The result is output by "barcode decoding" section.*/ public static final int ST_BARCODE_DECODING = 3; /**The result is output by "text line localization" section.*/ public static final int ST_TEXT_LINE_LOCALIZATION = 4; /**The result is output by "text line recognition" section.*/ public static final int ST_TEXT_LINE_RECOGNITION = 5; /**The result is output by "document detection" section.*/ public static final int ST_DOCUMENT_DETECTION = 6; /**The result is output by "document normalization" section.*/ public static final int ST_DOCUMENT_NORMALIZATION = 7; } ``` > ```objc typedef NS_ENUM(NSInteger, DSSectionType) { /**No section type is specified.*/ DSSectionTypeNull = 0, /**The result is output by "region prediction" section.*/ DSSectionTypeRegionPredection = 1, /**The result is output by "barcode localization" section.*/ DSSectionTypeBarcodeLocalization = 2, /**The result is output by "barcode decoding" section.*/ DSSectionTypeBarcodeDecoding = 3, /**The result is output by "text line localization" section.*/ DSSectionTypeTextLineLocalization = 4, /**The result is output by "text line recognition" section.*/ DSSectionTypeTextLineRecognition = 5, /**The result is output by "document detection" section.*/ DSSectionTypeDocumentDetection = 6, /**The result is output by "document normalization" section.*/ DSSectionTypeDocumentNormalization = 7 }; ``` > ```swift public enum SectionType : Int { /**No section type is specified.*/ null = 0, /**The result is output by "region prediction" section.*/ regionPredection = 1, /**The result is output by "barcode localization" section.*/ barcodeLocalization = 2, /**The result is output by "barcode decoding" section.*/ barcodeDecoding = 3, /**The result is output by "text line localization" section.*/ textLineLocalization = 4, /**The result is output by "text line recognition" section.*/ textLineRecognition = 5, /**The result is output by "document detection" section.*/ documentDetection = 6, /**The result is output by "document normalization" section.*/ documentNormalization = 7 } ``` > ```cpp typedef enum SectionType { /**No section type is specified.*/ ST_NULL, /**The result is output by "region prediction" section.*/ ST_REGION_PREDETECTION, /**The result is output by "barcode localization" section.*/ ST_BARCODE_LOCALIZATION, /**The result is output by "barcode decoding" section.*/ ST_BARCODE_DECODING, /**The result is output by "text line localization" section.*/ ST_TEXT_LINE_LOCALIZATION, /**The result is output by "text line recognition" section.*/ ST_TEXT_LINE_RECOGNITION, /**The result is output by "document detection" section.*/ ST_DOCUMENT_DETECTION, /**The result is output by "document normalization" section.*/ ST_DOCUMENT_NORMALIZATION, } SectionType; ```