text_ocr_engine_mode
import { text_ocr_engine_mode } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSConstructor or factory
CLASStext_ocr_engine_mode
RETURN TYPEOwned native handle
Native object: release it with using or delete(). Factories can return null; check before calling methods.
Tesseract.OcrEngineMode Enumeration
Constructors and members
static OEM_TESSERACT_ONLY
oem tesseract only constant (0), defined by OpenCV for cv::text.
OEM_TESSERACT_ONLY: text_ocr_engine_modeValue<0>,static OEM_CUBE_ONLY
oem cube only constant (1), defined by OpenCV for cv::text.
OEM_CUBE_ONLY: text_ocr_engine_modeValue<1>,static OEM_TESSERACT_CUBE_COMBINED
oem tesseract cube combined constant (2), defined by OpenCV for cv::text.
OEM_TESSERACT_CUBE_COMBINED: text_ocr_engine_modeValue<2>,static OEM_DEFAULT
oem default constant (3), defined by OpenCV for cv::text.
OEM_DEFAULT: text_ocr_engine_modeValue<3>These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.