GdPicture.NET.14
GdPicture14 Namespace / GdPictureOCR Class / OrientationDetectionAccuracyLevel Property
Example





In This Topic
OrientationDetectionAccuracyLevel Property (GdPictureOCR)
In This Topic
Specifies the OCR detection's accuracy level. It must be a value in the range 1 (worst accuracy, best speed) to 10 (best accuracy, worst speed).
Syntax
'Declaration
 
Public Property OrientationDetectionAccuracyLevel As Single
public float OrientationDetectionAccuracyLevel {get; set;}
public read-write property OrientationDetectionAccuracyLevel: Single; 
public function get,set OrientationDetectionAccuracyLevel : float
public: __property float get_OrientationDetectionAccuracyLevel();
public: __property void set_OrientationDetectionAccuracyLevel( 
   float value
);
public:
property float OrientationDetectionAccuracyLevel {
   float get();
   void set (    float value);
}

Property Value

The default value is 10.
Example
How to balance between speed and accuracy.
Using gdpictureOCR As GdPictureOCR = New GdPictureOCR()
 
    gdpictureOCR.EnableOrientationDetection = True
    gdpictureOCR.OrientationDetectionAccuracyLevel = 5
 
    'You can do your another stuff with gdpictureOCR here.
End Using
using (GdPictureOCR gdpictureOCR = new GdPictureOCR())
{
    gdpicturePDF.EnableOrientationDetection = true;
    gdpictureOCR.OrientationDetectionAccuracyLevel = 5;
 
    //You can do your another stuff with gdpictureOCR here.
}
See Also