Please use. NET 5,. NET 6, NET 7,. NET 8, NET Framework 4.6, NET Framework 4.61, NET Framework 4.7, NET Framework 4.72, NET Framework 4.8, NET Framework 4.81, and. NET Core 3.1 versions

Predictorinfer Method

The default model inference method is only applicable to single input and single output models.

Definition

Namespace: OpenVinoSharp.Extensions.model
Assemblies:  OpenVINO_CSharp_API_Extensions_OpenCvSharp (in OpenVINO_CSharp_API_Extensions_OpenCvSharp.dll) Version: 1.0.6.1+a13b433d33f957705f82a74ca14fa17017145e92
  OpenVINO_CSharp_API_Extensions_EmguCV (in OpenVINO_CSharp_API_Extensions_EmguCV.dll) Version: 1.0.6.1+a13b433d33f957705f82a74ca14fa17017145e92
C#
protected float[] infer(
	float[] input_data,
	long[] shape = null
)

Parameters

input_data  Single
The input data.
shape  Int64  (Optional)
The input shape.

Return Value

Single
Infer result.

See Also