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

ResultT Class

Model inference result class.

Definition

Namespace: OpenVinoSharp.Extensions.result
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 class Result<T> : BaseResult
Inheritance
Object    BaseResult    ResultT
Derived

Type Parameters

T
Model inference result type.

Constructors

ResultT Default Constructor.
ResultT(ListT) Constructor.
ResultT(ResultT) Copy Constructor.

Properties

capacity Gets or sets the total number of elements the internal data structure can hold without resizing.
count Gets the number of elements contained in the datas.
Item Gets or sets the element at the specified index.

Methods

add(T) Adds an object to the end of the inference results.
add(Int32, Single)
(Inherited from BaseResult)
add(Int32, Single, RotatedRect)
(Inherited from BaseResult)
add(Int32, Single, Rect)
(Inherited from BaseResult)
add(Int32, Single, RotatedRect)
(Inherited from BaseResult)
add(Int32, Single, Rectangle)
(Inherited from BaseResult)
add(Int32, String, Single)
(Inherited from BaseResult)
add(Single, Rect, PosePoint)
(Inherited from BaseResult)
add(Single, Rectangle, PosePoint)
(Inherited from BaseResult)
add(Int32, Single, Rect, Mat)
(Inherited from BaseResult)
add(Int32, Single, Rectangle, Mat)
(Inherited from BaseResult)
add(Int32, String, Single, RotatedRect)
(Inherited from BaseResult)
add(Int32, String, Single, Rect)
(Inherited from BaseResult)
add(Int32, String, Single, RotatedRect)
(Inherited from BaseResult)
add(Int32, String, Single, Rectangle)
(Inherited from BaseResult)
add(Single, Rect, Single, Single)
(Inherited from BaseResult)
add(Single, Rectangle, Single, Single)
(Inherited from BaseResult)
add(Int32, String, Single, Rect, Mat)
(Inherited from BaseResult)
add(Int32, String, Single, Rect, PosePoint)
(Inherited from BaseResult)
add(Int32, String, Single, Rectangle, Mat)
(Inherited from BaseResult)
add(Int32, String, Single, Rectangle, PosePoint)
(Inherited from BaseResult)
add(Int32, String, Single, Rect, Single, Single)
(Inherited from BaseResult)
add(Int32, String, Single, Rectangle, Single, Single)
(Inherited from BaseResult)
add_range Adds the elements of the specified collection to the end of the inference results.
clear Removes all elements from the inference results.
contains Determines whether an element is in the inference results.
copy_to(T) Copies the entire System.Collections.Generic.List`1 to a compatible one-dimensional array, starting at the beginning of the target array.
copy_to(T, Int32) Copies the entire inference results to a compatible one-dimensional array, starting at the specified index of the target array.
copy_to(Int32, T, Int32, Int32) Copies a range of elements from the inference results to a compatible one-dimensional array, starting at the specified index of the target array.
find Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire inference results.
find_all Retrieves all the elements that match the conditions defined by the specified predicate.
find_index(PredicateT) Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the entire inference results.
find_index(Int32, PredicateT) Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the inference results that extends from the specified index to the last element.
find_index(Int32, Int32, PredicateT) Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the inference results that starts at the specified index and contains the specified number of elements.
find_last_index(PredicateT) Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire inference results.
find_last_index(Int32, PredicateT) Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the inference results that extends from the first element to the specified index.
find_last_index(Int32, Int32, PredicateT) Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the inference results that contains the specified number of elements and ends at the specified index.
FindLast Searches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire inference results.
for_each Performs the specified action on each element of the inference results.
get_enumerator Returns an enumerator that iterates through the inference results.
get_range Creates a shallow copy of a range of elements in the source inference results.
index_of(T) Searches for the specified object and returns the zero-based index of the first occurrence within the entire inference results.
index_of(T, Int32) Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the inference results that starts at the specified index and contains the specified number of elements.
index_of(T, Int32, Int32) Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the inference results that starts at the specified index and contains the specified number of elements.
INFO Get info message.
insert Inserts an element into the System.Collections.Generic.List`1 at the specified index.
insert_range Inserts the elements of a collection into the inference results at the specified index.
last_index_of(T) Searches for the specified object and returns the zero-based index of the last occurrence within the entire inference results.
last_index_of(T, Int32) Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the inference results that contains the specified number of elements and ends at the specified index.
last_index_of(T, Int32, Int32) Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the inference results that contains the specified number of elements and ends at the specified index.
print Print the inference results.
Remove Removes the first occurrence of a specific object from the inference results.
remove_at Removes the element at the specified index of the inference results.
remove_range Removes a range of elements from the inference results.
RemoveAll Removes all the elements that match the conditions defined by the specified predicate.
reverse Reverses the order of the elements in the entire inference results.
reverse(Int32, Int32) Reverses the order of the elements in the specified range.
sort Sorts the elements in the entire inference results using the default comparer.
sort(ComparisonT) Sorts the elements in the entire inference resultsw using the specified System.Comparison`1.
sort(IComparerT) Sorts the elements in the entire inference resultsw using the specified comparer.
sort(Int32, Int32, IComparerT) Sorts the elements in a range of elements in inference results using the specified comparer.
sort_by_bbox
(Inherited from BaseResult)
sort_by_index
(Inherited from BaseResult)
sort_by_score
(Inherited from BaseResult)
to_array Copies the elements of the inference results to a new array.
update_lable(ListString)
(Inherited from BaseResult)
update_lable(String)
(Inherited from BaseResult)

Fields

datas Model inference results list.

See Also