一、项目地址
二、代码解析
3、自定义人体信息类
该类用于在控制台打印人体位置信息
/// <summary>
/// 人体信息
/// </summary>
public class BodyInfo
{
public int Left { get; set; } = 0;
public int Top { get; set; } = 0;
public int Right { get; set; } = 0;
public int Bottom { get; set; } = 0;
/// <summary>
/// 概率
/// </summary>
public double Score { get; set; } = 0;
public BodyInfo(int left, int top, int right, int bottom, double score)
{
Left = left;
Top = top;
Right = right;
Bottom = bottom;
Score = score;
}
}
2、
标签:传参,YoloV5,set,get,C#,int,控制台,public,人体 From: https://www.cnblogs.com/qq2806933146xiaobai/p/18289303