GrabCutClasses
import { GrabCutClasses } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSConstructor or factory
CLASSGrabCutClasses
RETURN TYPEOwned native handle
Native object: release it with using or delete(). Factories can return null; check before calling methods.
class of the pixel in GrabCut algorithm
Constructors and members
static GC_BGD
an obvious background pixels
GC_BGD: GrabCutClassesValue<0>,static GC_FGD
an obvious foreground (object) pixel
GC_FGD: GrabCutClassesValue<1>,static GC_PR_BGD
a possible background pixel
GC_PR_BGD: GrabCutClassesValue<2>,static GC_PR_FGD
a possible foreground pixel
GC_PR_FGD: GrabCutClassesValue<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.