mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-17 21:10:43 +00:00
* Added ONNX_OV_EP samples ->Added cpp, python and csharp samples using OpenVINO Execution Provider. Signed-off-by: MaajidKhan <n.maajidkhan@gmail.com>
31 lines
No EOL
647 B
C#
31 lines
No EOL
647 B
C#
/*
|
|
Copyright (C) 2021, Intel Corporation
|
|
SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
namespace yolov3
|
|
{
|
|
public class Prediction
|
|
{
|
|
public Box Box { get; set; }
|
|
public string Class { get; set; }
|
|
public float Score { get; set; }
|
|
}
|
|
|
|
public class Box
|
|
{
|
|
public float Xmin { get; set; }
|
|
public float Ymin { get; set; }
|
|
public float Xmax { get; set; }
|
|
public float Ymax { get; set; }
|
|
|
|
public Box(float xmin, float ymin, float xmax, float ymax)
|
|
{
|
|
Xmin = xmin;
|
|
Ymin = ymin;
|
|
Xmax = xmax;
|
|
Ymax = ymax;
|
|
|
|
}
|
|
}
|
|
} |