gapi_ov_PyParams
import { gapi_ov_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, blob_path: EmbindString, device: EmbindString): gapi_ov_PyParams;3 available overloads
new(): gapi_ov_PyParams;new(tag: EmbindString, model_path: EmbindString, bin_path: EmbindString, device: EmbindString): gapi_ov_PyParams;new(tag: EmbindString, blob_path: EmbindString, device: EmbindString): gapi_ov_PyParams;tagtag argument (EmbindString).
model_pathmodel path argument (EmbindString).
bin_pathbin path argument (EmbindString).
devicedevice argument (EmbindString).
blob_pathblob path argument (EmbindString).
The gapi_ov_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.
cfgPluginConfig
Configure plugin config. 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.
cfgPluginConfig(config: map_string_and_string): gapi_ov_PyParams;configconfig argument (map_string_and_string).
The gapi_ov_PyParams result.
cfgInputTensorLayout
Configure input tensor layout. 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.
cfgInputTensorLayout(tensor_layout: EmbindString): gapi_ov_PyParams;tensor_layouttensor layout argument (EmbindString).
The gapi_ov_PyParams result.
cfgInputTensorLayout1
Configure input tensor layout. 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.
cfgInputTensorLayout1(layout_map: map_string_and_string): gapi_ov_PyParams;layout_maplayout map argument (map_string_and_string).
The gapi_ov_PyParams result.
cfgInputModelLayout
Configure input model layout. 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.
cfgInputModelLayout(tensor_layout: EmbindString): gapi_ov_PyParams;tensor_layouttensor layout argument (EmbindString).
The gapi_ov_PyParams result.
cfgInputModelLayout1
Configure input model layout. 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.
cfgInputModelLayout1(layout_map: map_string_and_string): gapi_ov_PyParams;layout_maplayout map argument (map_string_and_string).
The gapi_ov_PyParams result.
cfgOutputTensorLayout
Configure output tensor layout. 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.
cfgOutputTensorLayout(tensor_layout: EmbindString): gapi_ov_PyParams;tensor_layouttensor layout argument (EmbindString).
The gapi_ov_PyParams result.
cfgOutputTensorLayout1
Configure output tensor layout. 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.
cfgOutputTensorLayout1(layout_map: map_string_and_string): gapi_ov_PyParams;layout_maplayout map argument (map_string_and_string).
The gapi_ov_PyParams result.
cfgOutputModelLayout
Configure output model layout. 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.
cfgOutputModelLayout(tensor_layout: EmbindString): gapi_ov_PyParams;tensor_layouttensor layout argument (EmbindString).
The gapi_ov_PyParams result.
cfgOutputModelLayout1
Configure output model layout. 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.
cfgOutputModelLayout1(layout_map: map_string_and_string): gapi_ov_PyParams;layout_maplayout map argument (map_string_and_string).
The gapi_ov_PyParams result.
cfgOutputTensorPrecision
Configure output tensor precision. 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.
cfgOutputTensorPrecision(precision: number): gapi_ov_PyParams;precisionprecision argument (number).
The gapi_ov_PyParams result.
cfgOutputTensorPrecision1
Configure output tensor precision. 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.
cfgOutputTensorPrecision1(precision_map: map_string_and_int): gapi_ov_PyParams;precision_mapprecision map argument (map_string_and_int).
The gapi_ov_PyParams result.
cfgReshape
Configure reshape. 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.
cfgReshape(new_shape: size_tVector): gapi_ov_PyParams;new_shapenew shape argument (size_tVector).
The gapi_ov_PyParams result.
cfgReshape1
Configure reshape. 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.
cfgReshape1(new_shape_map: map_string_and_vector_size_t): gapi_ov_PyParams;new_shape_mapnew shape map argument (map_string_and_vector_size_t).
The gapi_ov_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_ov_PyParams;nireqnireq argument (number).
The gapi_ov_PyParams result.
cfgMean
Configure mean. 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.
cfgMean(mean_values: FloatVector): gapi_ov_PyParams;mean_valuesmean values argument (FloatVector).
The gapi_ov_PyParams result.
cfgMean1
Configure mean. 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.
cfgMean1(mean_map: map_string_and_vector_float): gapi_ov_PyParams;mean_mapmean map argument (map_string_and_vector_float).
The gapi_ov_PyParams result.
cfgScale
Configure scale. 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.
cfgScale(scale_values: FloatVector): gapi_ov_PyParams;scale_valuesscale values argument (FloatVector).
The gapi_ov_PyParams result.
cfgScale1
Configure scale. 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.
cfgScale1(scale_map: map_string_and_vector_float): gapi_ov_PyParams;scale_mapscale map argument (map_string_and_vector_float).
The gapi_ov_PyParams result.
cfgResize
Configure resize. 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.
cfgResize(interpolation: number): gapi_ov_PyParams;interpolationinterpolation argument (number).
The gapi_ov_PyParams result.
cfgResize1
Configure resize. 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.
cfgResize1(interpolation: map_string_and_int): gapi_ov_PyParams;interpolationinterpolation argument (map_string_and_int).
The gapi_ov_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.