using RUSInferNet;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using AI.Common;
using Rect = AI.Common.Rect;
namespace HumanOrganSegDemo
{
public class HumanDetectResultPerImage
{
///
/// 一张图有多个部位检测,包括人体、人脸等
///
public Dictionary BodyPartBoundBoxesAll;
///
/// 目标对象的矩形框
///
public Rect ObjectBoundingBox;
///
/// 目标对象的关键点
///
public BodyKeyPoints ObjectKeyPoints;
///
/// 目标对象人体朝向向量(像素坐标系)
///
public Point2D ObjectOrientationInPCS;
///
/// 目标脏器的轮廓信息
///
public ContourPoints ObjectOrganContours;
///
/// 耗时统计
///
public int TimeElapsed;
public HumanDetectResultPerImage(Dictionary bodyPartBoundBoxes, Rect objectBoundingBox, BodyKeyPoints bodyKeyPoints, Point2D orientation, ContourPoints organContours, int timeElapsed)
{
BodyPartBoundBoxesAll = bodyPartBoundBoxes;
ObjectBoundingBox = objectBoundingBox;
ObjectKeyPoints = bodyKeyPoints;
ObjectOrientationInPCS = orientation;
ObjectOrganContours = organContours;
TimeElapsed = timeElapsed;
}
}
}