Module.DetectAreasMode.COMBINE

Contents
[ ]

The combination of Module.DetectAreasMode.DOCUMENT and Module.DetectAreasMode.PHOTO, which can extract as much text from an image as possible. The OCR engine detects large blocks of text (such as paragraphs and columns), while the remaining content is analyzed by Module.DetectAreasMode.PHOTO model.

This allows you to handle even the most complex cases like posters, billboards, or random photos. However, it can take a little longer and may be less efficient than the specialized models. Try one of the dedicated area detection models if you are sure of the content type.

Example

The following code sample demonstrates how to use this document areas detection model:

var settings = Module.WasmAsposeOCRRecognitionSettings();
settings.detect_areas_mode = Module.DetectAreasMode.COMBINE;