text_page_seg_mode
import { text_page_seg_mode } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Native object: release it with using or delete(). Factories can return null; check before calling methods.
Tesseract.PageSegMode Enumeration
Constructors and members
static PSM_OSD_ONLY
psm osd only constant (0), defined by OpenCV for cv::text.
PSM_OSD_ONLY: text_page_seg_modeValue<0>,static PSM_AUTO_OSD
psm auto osd constant (1), defined by OpenCV for cv::text.
PSM_AUTO_OSD: text_page_seg_modeValue<1>,static PSM_AUTO_ONLY
psm auto only constant (2), defined by OpenCV for cv::text.
PSM_AUTO_ONLY: text_page_seg_modeValue<2>,static PSM_AUTO
psm auto constant (3), defined by OpenCV for cv::text.
PSM_AUTO: text_page_seg_modeValue<3>,static PSM_SINGLE_COLUMN
psm single column constant (4), defined by OpenCV for cv::text.
PSM_SINGLE_COLUMN: text_page_seg_modeValue<4>,static PSM_SINGLE_BLOCK_VERT_TEXT
psm single block vert text constant (5), defined by OpenCV for cv::text.
PSM_SINGLE_BLOCK_VERT_TEXT: text_page_seg_modeValue<5>,static PSM_SINGLE_BLOCK
psm single block constant (6), defined by OpenCV for cv::text.
PSM_SINGLE_BLOCK: text_page_seg_modeValue<6>,static PSM_SINGLE_LINE
psm single line constant (7), defined by OpenCV for cv::text.
PSM_SINGLE_LINE: text_page_seg_modeValue<7>,static PSM_SINGLE_WORD
psm single word constant (8), defined by OpenCV for cv::text.
PSM_SINGLE_WORD: text_page_seg_modeValue<8>,static PSM_CIRCLE_WORD
psm circle word constant (9), defined by OpenCV for cv::text.
PSM_CIRCLE_WORD: text_page_seg_modeValue<9>,static PSM_SINGLE_CHAR
psm single char constant (10), defined by OpenCV for cv::text.
PSM_SINGLE_CHAR: text_page_seg_modeValue<10>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.