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

Yolov8Seg(String, String, NullableInt32, NullableBoolean, Int64, NullableInt32, String, NullableSingle, NullableSingle) Constructor

Initializes a new instance of the Yolov8Seg class

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#
public Yolov8Seg(
	string model_path,
	string? device = null,
	int? categ_nums = null,
	bool? use_gpu = null,
	long[]? input_size = null,
	int? batch_num = null,
	string? cache_dir = null,
	float? det_thresh = null,
	float? det_nms_thresh = null
)

Parameters

model_path  String

[Missing <param name="model_path"/> documentation for "M:OpenVinoSharp.Extensions.model.Yolov8Seg.#ctor(System.String,System.String,System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Int64[],System.Nullable{System.Int32},System.String,System.Nullable{System.Single},System.Nullable{System.Single})"]

device  String  (Optional)

[Missing <param name="device"/> documentation for "M:OpenVinoSharp.Extensions.model.Yolov8Seg.#ctor(System.String,System.String,System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Int64[],System.Nullable{System.Int32},System.String,System.Nullable{System.Single},System.Nullable{System.Single})"]

categ_nums  NullableInt32  (Optional)

[Missing <param name="categ_nums"/> documentation for "M:OpenVinoSharp.Extensions.model.Yolov8Seg.#ctor(System.String,System.String,System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Int64[],System.Nullable{System.Int32},System.String,System.Nullable{System.Single},System.Nullable{System.Single})"]

use_gpu  NullableBoolean  (Optional)

[Missing <param name="use_gpu"/> documentation for "M:OpenVinoSharp.Extensions.model.Yolov8Seg.#ctor(System.String,System.String,System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Int64[],System.Nullable{System.Int32},System.String,System.Nullable{System.Single},System.Nullable{System.Single})"]

input_size  Int64  (Optional)

[Missing <param name="input_size"/> documentation for "M:OpenVinoSharp.Extensions.model.Yolov8Seg.#ctor(System.String,System.String,System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Int64[],System.Nullable{System.Int32},System.String,System.Nullable{System.Single},System.Nullable{System.Single})"]

batch_num  NullableInt32  (Optional)

[Missing <param name="batch_num"/> documentation for "M:OpenVinoSharp.Extensions.model.Yolov8Seg.#ctor(System.String,System.String,System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Int64[],System.Nullable{System.Int32},System.String,System.Nullable{System.Single},System.Nullable{System.Single})"]

cache_dir  String  (Optional)

[Missing <param name="cache_dir"/> documentation for "M:OpenVinoSharp.Extensions.model.Yolov8Seg.#ctor(System.String,System.String,System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Int64[],System.Nullable{System.Int32},System.String,System.Nullable{System.Single},System.Nullable{System.Single})"]

det_thresh  NullableSingle  (Optional)

[Missing <param name="det_thresh"/> documentation for "M:OpenVinoSharp.Extensions.model.Yolov8Seg.#ctor(System.String,System.String,System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Int64[],System.Nullable{System.Int32},System.String,System.Nullable{System.Single},System.Nullable{System.Single})"]

det_nms_thresh  NullableSingle  (Optional)

[Missing <param name="det_nms_thresh"/> documentation for "M:OpenVinoSharp.Extensions.model.Yolov8Seg.#ctor(System.String,System.String,System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Int64[],System.Nullable{System.Int32},System.String,System.Nullable{System.Single},System.Nullable{System.Single})"]

See Also