LineSegmentDetectorModes
import { LineSegmentDetectorModes } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSConstructor or factory
CLASSLineSegmentDetectorModes
RETURN TYPEOwned native handle
Native object: release it with using or delete(). Factories can return null; check before calling methods.
Variants of Line Segment %Detector
Constructors and members
static LSD_REFINE_NONE
No refinement applied
LSD_REFINE_NONE: LineSegmentDetectorModesValue<0>,static LSD_REFINE_STD
Standard refinement is applied. E.g. breaking arches into smaller straighter line approximations.
LSD_REFINE_STD: LineSegmentDetectorModesValue<1>,static LSD_REFINE_ADV
Advanced refinement. Number of false alarms is calculated, lines are
LSD_REFINE_ADV: LineSegmentDetectorModesValue<2>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.