DetectRectangles

AsposeOcr.DetectRectangles method

Detects text areas on images. Supports GIF, PNG, JPEG, BMP, TIFF, JFIF, stream, folder, arrays, archives.

public List<RectangleOutput> DetectRectangles(OcrInput images, AreasType areasType, 
    bool detectAreas = true)
ParameterTypeDescription
imagesOcrInputThe container with sources.OcrInput
areasTypeAreasTypeDeterminates wich rectangles to return - line or paragraphs.
detectAreasBooleanEnable automatic text areas detection.

Return Value

List of RectangleOutput with detected text areas or lines.

See Also