• 시작하기
  • 개발가이드
  • API 레퍼런스
  • 릴리즈 노트
Search Results for

    Show / Hide Table of Contents
    • SaigeVision.Net.Core.V2
      • Constants
      • NativeMethod
      • NativeValidation
      • ResponseCode
      • SaigeClassRoc
      • SaigeDetectedObject
      • SaigeEllipse
      • SaigeHandleConfig
      • SaigeInferenceOption
      • SaigeKeyInfoDict
      • SaigeModelInfo
      • SaigeOCRTextBox
      • SaigeRoiInfo
      • SaigeRotatedBox
      • SaigeSegmentedObject
      • SaigeTextFormatting
      • SaigeTextObject
      • SaigeValidationRoc
    • SaigeVision.Net.V2
      • ClassInfo
      • ClassRoc
      • ClassScoreInfo
      • Contour
      • DetectedObject
      • DrawingHelper
      • Ellipse
      • EngineTypeFlags
      • IInspectionEngine<TOption, UResult>
      • IInspectionOption
      • IInspectionResult
      • ImageDataRawFlag
      • ImageTypeFlags
      • InferenceTimeInfo
      • InspectionEngine<TOption, UResult>
      • InspectionOption
      • InspectionResult
      • ModelInfo
      • OptionFlags
      • OverSizeImage
      • OverSizeImageFlags
      • RotatedBox
      • ScoreValues<T>
      • SegmentedObject
      • SrImage
      • TextFormatting
      • TextObject
    • SaigeVision.Net.V2.Classification
      • ClassificationEngine
      • ClassificationOption
      • ClassificationResult
    • SaigeVision.Net.V2.Detection
      • DetectionEngine
      • DetectionOption
      • DetectionResult
    • SaigeVision.Net.V2.IAD
      • IADEngine
      • IADOption
      • IADResult
    • SaigeVision.Net.V2.IEN
      • IENEngine
      • IENOption
      • IENResult
    • SaigeVision.Net.V2.OCR
      • OCREngine
      • OCROption
      • OCRResult
    • SaigeVision.Net.V2.ROD
      • RODEngine
      • RODOption
      • RODResult
    • SaigeVision.Net.V2.Segmentation
      • SegmentationEngine
      • SegmentationOption
      • SegmentationResult

    Struct SaigeTextFormatting

    (OCR) 인식하고자 하는 글자의 포맷을 지정하는 옵션입니다.
    글자 수에 관계 없이 인식하고자 하는 글자집합을 설정하는 방식과,
    글자의 위치별로 인식하고자 하는 글자집합을 설정하는 두 가지 방식이 있습니다.
    Text Formatting 방식과 설정 방법은 다음과 같습니다.
    글자 수에 관계 없이 글자 집합을 지정하는 방식 (By Character Set)

    • length 값을 0으로 설정합니다.
    • 각 문자집합 bool 배열의 첫 번째 값을 지정합니다.
    • 예시: 영소문자, 숫자만 인식하는 경우
    SaigeInferenceOption option;  
    option.textFormatting.length = 0;  
    option.textFormatting.engLower[0] = true;  
    option.textFormatting.engUpper[0] = false;  
    option.textFormatting.kor[0] = false;  
    option.textFormatting.number[0] = true;  
    option.textFormatting.symbol[0] = false;

    글자 수와 패턴을 지정하는 방식(By Character Pattern)

    • length 값을 0 초과, MaxLenOfTextFormatting 이하로 설정합니다.
    • 각 문자집합 bool 배열의 0 ~ length-1 까지의 값을 지정합니다.
    • 예시: 000가1234 (숫자 3자리, 한글 1자리, 숫자 4자리)
    SaigeInferenceOption option;
    option.textFormatting.length = 8;
    option.textFormatting.number[3] = false;  
    option.textFormatting.kor[3] = true;
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: SaigeVision.Net.Core.V2
    Assembly: SaigeVision.Net.Core.V2.dll
    Syntax
    public struct SaigeTextFormatting

    Fields

    | Improve this Doc View Source

    engLower

    영소문자를 포함하는지 여부를 지정하는 변수입니다.

    Declaration
    public bool[] engLower
    Field Value
    Type Description
    bool[]
    | Improve this Doc View Source

    engUpper

    영대문자를 포함하는지 여부를 지정하는 변수입니다.

    Declaration
    public bool[] engUpper
    Field Value
    Type Description
    bool[]
    | Improve this Doc View Source

    kor

    한글을 포함하는지 여부를 지정하는 변수입니다.
    지원하는 한글집합은 KSC5601을 지원하며 예외적인 글자도 추가될 수 있습니다.

    Declaration
    public bool[] kor
    Field Value
    Type Description
    bool[]
    | Improve this Doc View Source

    length

    인식하려는 글자의 수를 지정합니다.
    0인 경우 글자 수에 관계 없는 옵션을 의미합니다.

    Declaration
    public int length
    Field Value
    Type Description
    int
    | Improve this Doc View Source

    number

    숫자를 포함하는지 여부를 지정하는 변수입니다.

    Declaration
    public bool[] number
    Field Value
    Type Description
    bool[]
    | Improve this Doc View Source

    symbol

    기호를 포함하는지 여부를 지정하는 변수입니다.
    지원하는 기호의 종류는 다음과 같습니다.
    .,'"·●°_~-+±=*※#%&@:/!?(){}[]<>

    Declaration
    public bool[] symbol
    Field Value
    Type Description
    bool[]
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX