Documentation
Table of contents

Enumeration RegionObjectElementType

RegionObjectElementType specifies the exact subclass type within the RegionObjectElement hierarchy. This enumeration facilitates the identification and differentiation of various processed elements in an image.

  • JavaScript
  • Android
  • Objective-C
  • Swift
  • C++
enum EnumRegionObjectElementType {
    /** 
     * Corresponds to the `PredetectedRegionElement` subclass, representing areas within the image identified as potentially significant
     * for further analysis before detailed processing.
     */
    ROET_PREDETECTED_REGION = 0,
    /** Corresponds to the `LocalizedBarcodeElement` subclass, indicating areas where barcodes have been localized within the image.*/
    ROET_LOCALIZED_BARCODE = 1,
    /** Corresponds to the `DecodedBarcodeElement` subclass, signifying barcodes that have not only been localized but also successfully decoded. */
    ROET_DECODED_BARCODE = 2,
    /** Corresponds to the `LocalizedTextLineElement` subclass, indicating lines of text that have been localized within the image. */
    ROET_LOCALIZED_TEXT_LINE = 3,
    /** Corresponds to the `RecognizedTextLineElement` subclass, referring to text lines that have been recognized. */
    ROET_RECOGNIZED_TEXT_LINE = 4,
    /** Corresponds to the `DetectedQuadElement` subclass, representing quadrilateral shapes detected within the image. */
    ROET_DETECTED_QUAD = 5,
    /** Corresponds to the `NormalizedImageElement` subclass, referring to images that have been normalized. */
    ROET_NORMALIZED_IMAGE = 6
}
@Retention(RetentionPolicy.CLASS)
public @interface EnumRegionObjectElementType
{
   /**The type of subclass PredetectedRegionElement.*/
   public static final int ROET_PREDETECTED_REGION = 0;
   /**The type of subclass LocalizedBarcodeElement.*/
   public static final int ROET_LOCALIZED_BARCODE = 1;
   /**The type of subclass DecodedBarcodeElement.*/
   public static final int ROET_DECODED_BARCODE = 2;
   /**The type of subclass LocalizedTextLineElement.*/
   public static final int ROET_LOCALIZED_TEXT_LINE = 3;
   /**The type of subclass RecognizedTextLineElement.*/
   public static final int ROET_RECOGNIZED_TEXT_LINE = 4;
   /**The type of subclass DetectedQuadElement.*/
   public static final int ROET_DETECTED_QUAD = 5;
   /**The type of subclass NormalizedImageElement.*/
   public static final int ROET_NORMALIZED_IMAGE = 6;
}
typedef NS_ENUM(NSInteger, DSRegionObjectElementType)
{
   /**The type of subclass PredetectedRegionElement.*/
   DSRegionObjectElementTypePredetectedRegion = 0,
   /**The type of subclass LocalizedBarcodeElement.*/
   DSRegionObjectElementTypeLocalizedBarcode = 1,
   /**The type of subclass DecodedBarcodeElement.*/
   DSRegionObjectElementTypeDecodedBarcode = 2,
   /**The type of subclass LocalizedTextLineElement.*/
   DSRegionObjectElementTypeLocalizedTextLine = 3,
   /**The type of subclass RecognizedTextLineElement.*/
   DSRegionObjectElementTypeRecognizedTextLine = 4,
   /**The type of subclass DetectedQuadElement.*/
   DSRegionObjectElementTypeDetectedQuad = 5,
   /**The type of subclass NormalizedImageElement.*/
   DSRegionObjectElementTypeNormalizedImage = 6
};
public enum RegionObjectElementType : Int
{
   /**The type of subclass PredetectedRegionElement.*/
   predetectedRegion = 0,
   /**The type of subclass LocalizedBarcodeElement.*/
   localizedBarcode = 1,
   /**The type of subclass DecodedBarcodeElement.*/
   decodedBarcode = 2,
   /**The type of subclass LocalizedTextLineElement.*/
   localizedTextLine = 3,
   /**The type of subclass RecognizedTextLineElement.*/
   recognizedTextLine = 4,
   /**The type of subclass DetectedQuadElement.*/
   detectedQuad = 5,
   /**The type of subclass NormalizedImageElement.*/
   normalizedImage = 6
}
typedef enum RegionObjectElementType
{
   /**The type of subclass PredetectedRegionElement.*/
   ROET_PREDETECTED_REGION,
   /**The type of subclass LocalizedBarcodeElement.*/
   ROET_LOCALIZED_BARCODE,
   /**The type of subclass DecodedBarcodeElement.*/
   ROET_DECODED_BARCODE,
   /**The type of subclass LocalizedTextLineElement.*/
   ROET_LOCALIZED_TEXT_LINE,
   /**The type of subclass RecognizedTextLineElement.*/
   ROET_RECOGNIZED_TEXT_LINE,
   /**The type of subclass DetectedQuadElement.*/
   ROET_DETECTED_QUAD,
   /**The type of subclass NormalizedImageElement.*/
   ROET_NORMALIZED_IMAGE,
   /**The type of subclass SourceImageElement.*/
   ROET_SOURCE_IMAGE,
   /**The type of subclass TargetROIElement.*/
   ROET_TARGET_ROI
} RegionObjectElementType;

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version (2.2.0)
    • Version 2.x
      • Version 2.0.30
      • Version 2.0.20
      • Version 2.0.10
      • Version 2.0.0
    Change +
    © 2003–2024 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support