gapi_ie_PyParams
import { gapi_ie_PyParams } 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.
NB: Used by python wrapper This class can be marked as SIMPLE, because it's implemented as pimpl
Constructors and members
static new
Create network parameter configuration. These parameter objects describe an optional OpenVINO or ONNX Runtime backend, which is not linked in this WASM build. Use gapi.dnn.Params for executable CPU inference.
new(tag: EmbindString, model: EmbindString, device: EmbindString): gapi_ie_PyParams;3 available overloads
new(): gapi_ie_PyParams;new(tag: EmbindString, model: EmbindString, weights: EmbindString, device: EmbindString): gapi_ie_PyParams;new(tag: EmbindString, model: EmbindString, device: EmbindString): gapi_ie_PyParams;tagtag argument (EmbindString).
modelmodel argument (EmbindString).
weightsweights argument (EmbindString).
devicedevice argument (EmbindString).
The gapi_ie_PyParams result.
Upstream declaration ↗Upstream declaration 2 ↗Upstream declaration 3 ↗
clone
Create another handle to the same native object. This retains the object without copying its pixels or algorithm state; dispose both handles separately.
clone(): this;The this result.
constInput
Bind a constant network input. These parameter objects describe an optional OpenVINO or ONNX Runtime backend, which is not linked in this WASM build. Use gapi.dnn.Params for executable CPU inference.
constInput(layer_name: EmbindString, data: Mat, hint: number): gapi_ie_PyParams;2 available overloads
constInput(layer_name: EmbindString, data: Mat): gapi_ie_PyParams;constInput(layer_name: EmbindString, data: Mat, hint: number): gapi_ie_PyParams;layer_namelayer name argument (EmbindString).
datadata argument (Mat).
hinthint argument (number).
The gapi_ie_PyParams result.
cfgNumRequests
Configure num requests. These parameter objects describe an optional OpenVINO or ONNX Runtime backend, which is not linked in this WASM build. Use gapi.dnn.Params for executable CPU inference.
cfgNumRequests(nireq: number): gapi_ie_PyParams;nireqnireq argument (number).
The gapi_ie_PyParams result.
cfgBatchSize
Configure batch size. These parameter objects describe an optional OpenVINO or ONNX Runtime backend, which is not linked in this WASM build. Use gapi.dnn.Params for executable CPU inference.
cfgBatchSize(size: number): gapi_ie_PyParams;sizesize argument (number).
The gapi_ie_PyParams result.
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.