gapi_onnx_TraitAs
import { gapi_onnx_TraitAs } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSConstructor or factory
CLASSgapi_onnx_TraitAs
RETURN TYPEOwned native handle
Native object: release it with using or delete(). Factories can return null; check before calling methods.
Native enum entries for gapi onnx trait as. Pass an entry to enum-typed arguments or its .value to numeric arguments.
Constructors and members
static TENSOR
G-API traits an associated cv::Mat as a raw tensor
TENSOR: gapi_onnx_TraitAsValue<0>,static IMAGE
G-API traits an associated cv::Mat as an image so
IMAGE: gapi_onnx_TraitAsValue<1>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.