GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureOCR Class / RunOCR Method / RunOCR(OCRSpecialContext) Method
A member of the OCRSpecialContext specifying the special context to use. Special context can be added on demand to our team of researchers, feel free to contact us! Please check the documentation related to the OCRSpecialContext to obtain more information about a specific special context.





In This Topic
RunOCR(OCRSpecialContext) Method
In This Topic
Runs the OCR on the image previously set by the GdPictureOCR.SetImage method and using a special context.

A special context allows triggering a specific layout analysis and OCR engines in order to maximize accuracy and speed on the detection of specific items.

Syntax
'Declaration
 
Public Overloads Function RunOCR( _
   ByVal OCRSpecialContext As OCRSpecialContext _
) As String
public string RunOCR( 
   OCRSpecialContext OCRSpecialContext
)
public function RunOCR( 
    OCRSpecialContext: OCRSpecialContext
): String; 
public function RunOCR( 
   OCRSpecialContext : OCRSpecialContext
) : String;
public: string* RunOCR( 
   OCRSpecialContext OCRSpecialContext
) 
public:
String^ RunOCR( 
   OCRSpecialContext OCRSpecialContext
) 

Parameters

OCRSpecialContext
A member of the OCRSpecialContext specifying the special context to use. Special context can be added on demand to our team of researchers, feel free to contact us! Please check the documentation related to the OCRSpecialContext to obtain more information about a specific special context.

Return Value

A unique result identifier of the executed OCR process or an empty string in case of failure.

Please always use the GdPictureOCR.GetStat method to determine if this method has been successful.

See Also