oevislib_net  0.14.3.0
Loading...
Searching...
No Matches

Functions

static Array< Rectangle2Doevislib_net.DeepLearning.OCR.EasyOCR.FindText (Image inImage, Optional< Rectangle2D > inRoi=null, Optional< UCS2D > inRoiAlignment=null, float inScoreThreshold=0.5f, float inAffinityThreshold=0.4f)
 Find the region of the image containing text.
static Array< string > oevislib_net.DeepLearning.OCR.EasyOCR.ReadText (Image inImage, Array< Rectangle2D > inTextRegions, Optional< TextOrientation > inOrientation=null, Language inLanguage=Language.English)
 Read and segment text from an image using EasyOCR pre-trained OCR model.

Detailed Description

Function Documentation

◆ FindText()

Array< Rectangle2D > oevislib_net.DeepLearning.OCR.EasyOCR.FindText ( Image inImage,
Optional< Rectangle2D > inRoi = null,
Optional< UCS2D > inRoiAlignment = null,
float inScoreThreshold = 0::5f,
float inAffinityThreshold = 0::4f )
inlinestatic

Find the region of the image containing text.

Parameters
inImageThe input Image containing the text to be highlighted.
inRoiRegion of interest where the text is located.
inRoiAlignmentUCS2D alignment to apply to the given ROI.
inScoreThresholdCRAFT Model Score Map threshold
inAffinityThresholdCRAFT Model Affinity Map threshold
Returns
An Array<Rectangle2D> representing the found bounding boxes delimiting text regions.

◆ ReadText()

Array< string > oevislib_net.DeepLearning.OCR.EasyOCR.ReadText ( Image inImage,
Array< Rectangle2D > inTextRegions,
Optional< TextOrientation > inOrientation = null,
Language inLanguage = Language::English )
inlinestatic

Read and segment text from an image using EasyOCR pre-trained OCR model.

Parameters
inImageThe input Image containing the text to be recognized.
inTextRegionsArray of Rectangle2D specifying regions to read.
inOrientationWhether the text is horizontal or vertical oriented.
inLanguageLanguage in which the text is written.
Returns
Recognized strings of text.