Data Structure Index
The following is a list of data structures:
- vitis::ai::ANNORET
- vitis::ai::BCCResult
- vitis::ai::CenterPointResult
- vitis::ai::ClassificationResult
- vitis::ai::ClassificationResult::Score
- vitis::ai::Covid19SegmentationResult
- vitis::ai::DISPLAY_PARAM
- vitis::ai::FaceDetectResult
- vitis::ai::FaceDetectResult::BoundingBox
- vitis::ai::FaceFeatureFixedResult
- vitis::ai::FaceFeatureFloatResult
- vitis::ai::FaceLandmarkResult
- vitis::ai::FaceQuality5ptResult
- vitis::ai::HourglassResult
- vitis::ai::HourglassResult::PosePoint
- vitis::ai::MedicalDetectionResult
- vitis::ai::MedicalDetectionResult::BoundingBox
- vitis::ai::MedicalSegcellResult
- vitis::ai::MedicalSegmentationResult
- vitis::ai::MultiTaskResult
- vitis::ai::MultiTaskv3Result
- vitis::ai::OpenPoseResult
- vitis::ai::OpenPoseResult::PosePoint
- vitis::ai::PPBbox
- vitis::ai::PPResult
- vitis::ai::PlateDetectResult
- vitis::ai::PlateDetectResult::BoundingBox
- vitis::ai::PlateDetectResult::Point
- vitis::ai::PlateNumResult
- vitis::ai::PointPillarsNuscenesResult
- vitis::ai::PointPillarsResult
- vitis::ai::PoseDetectResult
- vitis::ai::PoseDetectResult::Pose14Pt
- vitis::ai::RcanResult
- vitis::ai::RefineDetResult
- vitis::ai::RefineDetResult::BoundingBox
- vitis::ai::ReidResult
- vitis::ai::RetinaFaceResult
- vitis::ai::RetinaFaceResult::BoundingBox
- vitis::ai::RoadLineResult
- vitis::ai::RoadLineResult::Line
- vitis::ai::SSDResult
- vitis::ai::SSDResult::BoundingBox
- vitis::ai::Segmentation3DResult
- vitis::ai::SegmentationResult
- vitis::ai::TFSSDResult
- vitis::ai::TFSSDResult::BoundingBox
- vitis::ai::VehicleResult
- vitis::ai::Vehiclev3Result
- vitis::ai::YOLOv2Result
- vitis::ai::YOLOv2Result::BoundingBox
- vitis::ai::YOLOv3Result
- vitis::ai::YOLOv3Result::BoundingBox
- vitis::ai::pointpillars_nus::CamInfo
- vitis::ai::pointpillars_nus::Points
- vitis::ai::pointpillars_nus::PointsInfo
- vitis::ai::pointpillars_nus::SweepInfo
- xilinx::ai::FaceQualityResult
vitis::ai::ANNORET
Declaration
typedef struct
{
std::vector< std::string > name,
V1I label,
V1F truncated,
V1I occluded,
V1F alpha,
V2I bbox,
V2F dimensions,
V2F location,
V1F rotation_y,
V1F score,
V2F box3d_camera,
V2F box3d_lidar void clear(),
} vitis::ai::ANNORET;
Member | Description |
---|---|
name | Name of detected result in vector: such as Car Cylist Pedestrian. |
label | Label of detected result. |
truncated | Truncated information. |
occluded | Occluded information. |
alpha | Alpha information. |
bbox | bbox information. |
dimensions | Dimensions information. |
location | Location information. |
rotation_y | rotation_y information. |
score | Score information. |
box3d_camera | box3d_camera information. |
box3d_lidar | box3d_lidar information. |
clear | Inner function to clear all fields. |
vitis::ai::BCCResult
Declaration
typedef struct
{
int width,
int height,
int count
} vitis::ai::BCCResult;
Member | Description |
---|---|
width | Width of input image. |
height | Height of input image. |
count | Count of crowd. |
vitis::ai::CenterPointResult
Declaration
typedef struct
{
std::vector< float > bbox,
float score,
int label
} vitis::ai::CenterPointResult;
Member | Description |
---|---|
bbox | Bounding box 3d: {x, y, z, x_size, y_size, z_size, yaw} |
score | Score |
label | Classification |
vitis::ai::ClassificationResult
Declaration
typedef struct
{
int width,
int height,
std::vector< Score
> scores,
int type const char * lookup(int index),
} vitis::ai::ClassificationResult;
Member | Description |
---|---|
width | Width of input image. |
height | Height of input image. |
scores | A vector of object width confidence in the first k; k defaults to 5 and can be modified through the model configuration file. |
type | Classification label type. |
lookup | The classification corresponding by index. |
vitis::ai::ClassificationResult::Score
Declaration
typedef struct
{
int index,
float score
} vitis::ai::ClassificationResult::Score;
Member | Description |
---|---|
index | The index of the result in the ImageNet. |
score | Confidence of this category. |
vitis::ai::Covid19SegmentationResult
Declaration
typedef struct
{
int width,
int height,
cv::Mat positive_classification,
cv::Mat infected_area_classification
} vitis::ai::Covid19SegmentationResult;
Member | Description |
---|---|
width | Width of input image. |
height | Height of input image. |
positive_classification | Positive detection result. The cv::Mat type is CV_8UC1 or CV_8UC3. |
infected_area_classification | Infected area detection result. The cv::Mat type is CV_8UC1 or CV_8UC3. |
vitis::ai::DISPLAY_PARAM
Declaration
typedef struct
{
V2F P2,
V2F rect,
V2F Trv2c,
V2F p2rect
} vitis::ai::DISPLAY_PARAM;
Member | Description |
---|---|
P2 | P2 information. |
rect | rect information |
Trv2c | Trv2c information. |
p2rect | p2rect information |
vitis::ai::FaceDetectResult
Declaration
typedef struct
{
int width,
int height,
std::vector< BoundingBox
> rects
} vitis::ai::FaceDetectResult;
Member | Description |
---|---|
width | Width of an input image. |
height | Height of an input image. |
rects | All faces, filtered by confidence >= detect threshold. |
vitis::ai::FaceDetectResult::BoundingBox
Declaration
typedef struct
{
float x,
float y,
float width,
float height,
float score
} vitis::ai::FaceDetectResult::BoundingBox;
Member | Description |
---|---|
x | x-coordinate. x is normalized relative to the input image columns. Range from 0 to 1. |
y | y-coordinate. y is normalized relative to the input image rows. Range from 0 to 1. |
width | face width. Width is normalized relative to the input image columns, Range from 0 to 1. |
height | face height. Heigth is normalized relative to the input image rows, Range from 0 to 1. |
score | face confidence, the value range from 0 to 1. |
vitis::ai::FaceFeatureFixedResult
FaceFeature
. It is a 512 dimensions vector, fix point values. Declaration
typedef struct
{
std::array< int8_t, 512 > vector_t int width,
int height,
float scale std::unique_ptr< vector_t
> feature,
} vitis::ai::FaceFeatureFixedResult;
Member | Description |
---|---|
vector_t | The 512 dimensions vector, in fix point format. |
width | Width of an input image. |
height | Height of an input image. |
scale | The fix point. |
feature | A vector of 512 fixed values. |
vitis::ai::FaceFeatureFloatResult
FaceFeature
. It is a 512 dimensions vector, float value. Declaration
typedef struct
{
std::array< float, 512 > vector_t int width,
int height std::unique_ptr< vector_t
> feature,
} vitis::ai::FaceFeatureFloatResult;
Member | Description |
---|---|
vector_t | The 512 dimensions vector. |
width | Width of an input image. |
height | Height of an input image. |
feature | A vector of 512 float values. |
vitis::ai::FaceLandmarkResult
Declaration
typedef struct
{
std::array< std::pair< float, float >, 5 > points
} vitis::ai::FaceLandmarkResult;
Member | Description |
---|---|
points | Five key points coordinate. This array of <x,y> has five elements, x / y is normalized relative to width / height, the value range from 0 to 1. |
vitis::ai::FaceQuality5ptResult
Declaration
typedef struct
{
int width,
int height,
float score,
std::array< std::pair< float, float >, 5 > points
} vitis::ai::FaceQuality5ptResult;
Member | Description |
---|---|
width | Width of a input image. |
height | Height of a input image. |
score | The quality of face. The value range is from 0 to 1. If the option "original_quality" in the model prototxt is false, it is a normal mode. If the option "original_quality" is true, the quality score can be larger than 1, this is a special mode only for accuracy test. |
points | Five key points coordinate. An array of <x,y> has five elements where x and y are normalized relative to input image columns and rows. The value range is from 0 to 1. |
vitis::ai::HourglassResult
Declaration
typedef struct
{
int width,
int height,
std::vector< PosePoint
> poses
} vitis::ai::HourglassResult;
Member | Description |
---|---|
width | Width of input image. |
height | Height of input image. |
poses | A vector of pose, pose is represented by a vector of |
vitis::ai::HourglassResult::PosePoint
Declaration
typedef struct
{
int type,
cv::Point2f point
} vitis::ai::HourglassResult::PosePoint;
Member | Description |
---|---|
type | Point type.
|
point | Coordinate point. |
vitis::ai::MedicalDetectionResult
Declaration
typedef struct
{
int width,
int height,
std::vector< BoundingBox
> bboxes
} vitis::ai::MedicalDetectionResult;
Member | Description |
---|---|
width | Width of input image. |
height | Height of input image. |
bboxes | All objects, a vector of BoundingBox . |
vitis::ai::MedicalDetectionResult::BoundingBox
Declaration
typedef struct
{
int label,
float score,
float x,
float y,
float width,
float height
} vitis::ai::MedicalDetectionResult::BoundingBox;
Member | Description |
---|---|
label | Classification . |
score | Confidence. |
x | x-coordinate. x is normalized relative to the input image columns. The range of values is from 0 to 1. |
y | y-coordinate. y is normalized relative to the input image rows. The range of values is from 0 to 1. |
width | width. width is normalized relative to the input image columns. The value range from 0 to 1. |
height | height, height is normalized relative to the input image rows. The value range from 0 to 1. |
vitis::ai::MedicalSegcellResult
Declaration
typedef struct
{
int width,
int height,
cv::Mat segmentation
} vitis::ai::MedicalSegcellResult;
Member | Description |
---|---|
width | Width of input image. |
height | Height of input image. |
segmentation | Segmentation result in cv::Mat mode. |
vitis::ai::MedicalSegmentationResult
MedicalSegmentation
neuron network. Declaration
typedef struct
{
int width,
int height,
std::vector< cv::Mat > segmentation
} vitis::ai::MedicalSegmentationResult;
Member | Description |
---|---|
width | Width of input image. |
height | Height of input image. |
segmentation | A vector of cv::Mat (segmentation result). |
vitis::ai::MultiTaskResult
MultiTask
network. Declaration
typedef struct
{
int width,
int height,
std::vector< VehicleResult
> vehicle,
cv::Mat segmentation
} vitis::ai::MultiTaskResult;
Member | Description |
---|---|
width | Width of input image. |
height | Height of input image. |
vehicle | Detection result of SSD task. |
segmentation | Segmentation result to visualize, cv::Mat type is CV_8UC1 or CV_8UC3. |
vitis::ai::MultiTaskv3Result
MultiTaskv3
network. Declaration
typedef struct
{
int width,
int height,
std::vector< Vehiclev3Result
> vehicle,
cv::Mat segmentation,
cv::Mat lane,
cv::Mat drivable,
cv::Mat depth
} vitis::ai::MultiTaskv3Result;
Member | Description |
---|---|
width | Width of input image. |
height | Height of input image. |
vehicle | Detection result of SSD task. |
segmentation | Segmentation result to visualize, cv::Mat type is CV_8UC1 or CV_8UC3. |
lane | Lane segmentation. |
drivable | Drivable area. |
depth | Depth estimation. |
vitis::ai::OpenPoseResult
Declaration
typedef struct
{
int width,
int height,
std::vector< std::vector< PosePoint
> > poses
} vitis::ai::OpenPoseResult;
Member | Description |
---|---|
width | Width of input image. |
height | Height of input image. |
poses | A vector of pose. Pose is represented by a vector of |
vitis::ai::OpenPoseResult::PosePoint
Declaration
typedef struct
{
int type,
cv::Point2f point
} vitis::ai::OpenPoseResult::PosePoint;
Member | Description |
---|---|
type | Point type.
|
point | Coordinate point. |
vitis::ai::PlateDetectResult
Declaration
typedef struct
{
int width,
int height,
BoundingBox box,
Point
top_left,
Point
top_right,
Point
bottom_left,
Point
bottom_right
} vitis::ai::PlateDetectResult;
Member | Description |
---|---|
width | Width of input image. |
height | Height of input image. |
box | The position of plate. |
top_left | The top_left point. |
top_right | The top_right point. |
bottom_left | The bottom_left point. |
bottom_right | The bottom_right point. |
vitis::ai::PlateDetectResult::BoundingBox
Declaration
typedef struct
{
float score,
float x,
float y,
float width,
float height
} vitis::ai::PlateDetectResult::BoundingBox;
Member | Description |
---|---|
score | Plate confidence, the value ranges from 0 to 1. |
x | x-coordinate. x is normalized relative to the input image columns. Range from 0 to 1. |
y | y-coordinate. y is normalized relative to the input image rows. Range from 0 to 1. |
width | Plate width. Width is normalized relative to the input image columns, Range from 0 to 1. |
height | Plate height. Heigth is normalized relative to the input image rows, Range from 0 to 1. |
vitis::ai::PlateDetectResult::Point
Declaration
typedef struct
{
float x,
float y
} vitis::ai::PlateDetectResult::Point;
Member | Description |
---|---|
x | x-coordinate, the value ranges from 0 to 1. |
y | y-coordinate, the value ranges from 0 to 1. |
vitis::ai::PlateNumResult
Declaration
typedef struct
{
int width,
int height,
std::string plate_number,
std::string plate_color
} vitis::ai::PlateNumResult;
Member | Description |
---|---|
width | Width of input image. |
height | Height of input image. |
plate_number | The plate number. |
plate_color | The plate color, Blue / Yellow. |
vitis::ai::pointpillars_nus::CamInfo
Declaration
typedef struct
{
uint64_t timestamp,
std::array< float, 3 > s2l_t,
std::array< float, 9 > s2l_r,
std::array< float, 9 > cam_intr
} vitis::ai::pointpillars_nus::CamInfo;
Member | Description |
---|---|
timestamp | Timestamp of input points. |
s2l_t | Sensor to lidar translation params. |
s2l_r | Sensor to lidar rotation params. |
cam_intr | Camera intrinsic params. |
vitis::ai::pointpillars_nus::Points
Declaration
typedef struct
{
int dim,
std::shared_ptr< std::vector< float > > points
} vitis::ai::pointpillars_nus::Points;
Member | Description |
---|---|
dim | Points dim. |
points | Points data. |
vitis::ai::pointpillars_nus::PointsInfo
Declaration
typedef struct
{
std::vector< CamInfo
> cam_info,
Points
points,
uint64_t timestamp,
std::vector< SweepInfo
> sweep_infos
} vitis::ai::pointpillars_nus::PointsInfo;
Member | Description |
---|---|
cam_info | Camera information. |
points | Points . |
timestamp | Timestamp of points. |
sweep_infos | Sweeps information. |
vitis::ai::pointpillars_nus::SweepInfo
Declaration
typedef struct
{
CamInfo
cam_info,
Points
points
} vitis::ai::pointpillars_nus::SweepInfo;
Member | Description |
---|---|
cam_info | Camera information. |
points | Points . |
vitis::ai::PointPillarsNuscenesResult
PointPillarsNuscenes
network. Declaration
typedef struct
{
std::vector< PPBbox
> bboxes
} vitis::ai::PointPillarsNuscenesResult;
Member | Description |
---|---|
bboxes | All bounding boxes. |
vitis::ai::PointPillarsResult
Declaration
typedef struct
{
int width,
int height,
PPResult
ppresult
} vitis::ai::PointPillarsResult;
Member | Description |
---|---|
width | Width of network input. |
height | Height of network input. |
ppresult | Final result returned by the pointpillars neuron network. |
vitis::ai::PoseDetectResult
Declaration
typedef struct
{
cv::Point2f Point int width,
int height Pose14Pt
pose14pt,
} vitis::ai::PoseDetectResult;
Member | Description |
---|---|
Point | A coordinate points. |
width | Width of input image. |
height | Height of input image. |
pose14pt | The pose of input image. |
vitis::ai::PoseDetectResult::Pose14Pt
Declaration
typedef struct
{
Point
right_shoulder,
Point
right_elbow,
Point
right_wrist,
Point
left_shoulder,
Point
left_elbow,
Point
left_wrist,
Point
right_hip,
Point
right_knee,
Point
right_ankle,
Point
left_hip,
Point
left_knee,
Point
left_ankle,
Point
head,
Point
neck
} vitis::ai::PoseDetectResult::Pose14Pt;
Member | Description |
---|---|
right_shoulder | R_shoulder coordinate. |
right_elbow | R_elbow coordinate. |
right_wrist | R_wrist coordinate. |
left_shoulder | L_shoulder coordinate. |
left_elbow | L_elbow coordinate. |
left_wrist | L_wrist coordinate. |
right_hip | R_hip coordinate. |
right_knee | R_knee coordinate. |
right_ankle | R_ankle coordinate. |
left_hip | L_hip coordinate. |
left_knee | L_knee coordinate. |
left_ankle | L_ankle coordinate. |
head | Head coordinate. |
neck | Neck coordinate. |
vitis::ai::PPBbox
Declaration
typedef struct
{
float score,
std::vector< float > bbox,
uint32_t label
} vitis::ai::PPBbox;
Member | Description |
---|---|
score | Confidence. |
bbox | Bounding box: x, y, z, x-size, y-size, z-size, yaw, custom value and so on. |
label | Classification . |
vitis::ai::PPResult
Declaration
typedef struct
{
V2F final_box_preds,
V1F final_scores,
V1I label_preds
} vitis::ai::PPResult;
Member | Description |
---|---|
final_box_preds | Final box predicted. |
final_scores | Final scores predicted. |
label_preds | Final label predicted. |
vitis::ai::RcanResult
Rcan
network. Declaration
typedef struct
{
int width,
int height,
cv::Mat feat
} vitis::ai::RcanResult;
Member | Description |
---|---|
width | Width of input image. |
height | Height of input image. |
feat | Double size of input image. |
vitis::ai::RefineDetResult
Declaration
typedef struct
{
int width,
int height,
std::vector< BoundingBox
> bboxes
} vitis::ai::RefineDetResult;
Member | Description |
---|---|
width | Width of the input image. |
height | Height of the input image. |
bboxes | The vector of BoundingBox . |
vitis::ai::RefineDetResult::BoundingBox
Declaration
typedef struct
{
float x,
float y,
float width,
float height,
int label,
float score
} vitis::ai::RefineDetResult::BoundingBox;
Member | Description |
---|---|
x | x-coordinate. x is normalized relative to the input image columns. Range from 0 to 1. |
y | y-coordinate. y is normalized relative to the input image rows. Range from 0 to 1. |
width | Body width. Width is normalized relative to the input image columns, Range from 0 to 1. |
height | Body height. Heigth is normalized relative to the input image rows, Range from 0 to 1. |
label | Body detection label. The value ranges from 0 to 21. |
score | Body detection confidence. The value ranges from 0 to 1. |
vitis::ai::ReidResult
Declaration
typedef struct
{
int width,
int height,
cv::Mat feat
} vitis::ai::ReidResult;
Member | Description |
---|---|
width | Width of input image. |
height | Height of input image. |
feat | The feature of input image. |
vitis::ai::RetinaFaceResult
Declaration
typedef struct
{
int width,
int height,
std::vector< BoundingBox
> bboxes,
std::vector< std::array< std::pair< float, float >, 5 > > landmarks
} vitis::ai::RetinaFaceResult;
Member | Description |
---|---|
width | Width of input image. |
height | Height of input image. |
bboxes | All faces, filtered by confidence >= detect threshold. |
landmarks | Landmarks. |
vitis::ai::RetinaFaceResult::BoundingBox
Declaration
typedef struct
{
float x,
float y,
float width,
float height,
float score
} vitis::ai::RetinaFaceResult::BoundingBox;
Member | Description |
---|---|
x | x-coordinate. x is normalized relative to the input image columns. Range from 0 to 1. |
y | y-coordinate. y is normalized relative to the input image rows. Range from 0 to 1. |
width | Face width. Width is normalized relative to the input image columns, Range from 0 to 1. |
height | Face height. Heigth is normalized relative to the input image rows, Range from 0 to 1. |
score | Face confidence. The value ranges from 0 to 1. |
vitis::ai::RoadLineResult
Declaration
typedef struct
{
int width,
int height,
std::vector< Line
> lines
} vitis::ai::RoadLineResult;
Member | Description |
---|---|
width | Width of input image. |
height | Height of input image. |
lines | The vector of line. |
vitis::ai::RoadLineResult::Line
Declaration
typedef struct
{
int type,
std::vector< cv::Point > points_cluster
} vitis::ai::RoadLineResult::Line;
Member | Description |
---|---|
type | Road line type, the value range from 0 to 3.
|
points_cluster | Point clusters, make line from these. |
vitis::ai::Segmentation3DResult
Declaration
typedef struct
{
int width,
int height,
std::vector< int > array
} vitis::ai::Segmentation3DResult;
Member | Description |
---|---|
width | Width of the network model. |
height | Height of the network model. |
array | Input 3D object data. |
vitis::ai::SegmentationResult
FPN Num of segmentation classes
- 0 : "unlabeled"
- 1 : "ego vehicle"
- 2 : "rectification border"
- 3 : "out of roi"
- 4 : "static"
- 5 : "dynamic"
- 6 : "ground"
- 7 : "road"
- 8 : "sidewalk"
- 9 : "parking"
- 10 : "rail track"
- 11 : "building"
- 12 : "wall"
- 13 : "fence"
- 14 : "guard rail"
- 15 : "bridge"
- 16 : "tunnel"
- 17 : "pole"
- 18 : "polegroup"
Declaration
typedef struct
{
int width,
int height,
cv::Mat segmentation
} vitis::ai::SegmentationResult;
Member | Description |
---|---|
width | Width of input image. |
height | Height of input image. |
segmentation | Segmentation result. The cv::Mat type is CV_8UC1 or CV_8UC3. |
vitis::ai::SSDResult
SSD
neuron network. Declaration
typedef struct
{
int width,
int height,
std::vector< BoundingBox
> bboxes
} vitis::ai::SSDResult;
Member | Description |
---|---|
width | Width of input image. |
height | Height of input image. |
bboxes | All objects, a vector of BoundingBox . |
vitis::ai::SSDResult::BoundingBox
Declaration
typedef struct
{
int label,
float score,
float x,
float y,
float width,
float height
} vitis::ai::SSDResult::BoundingBox;
Member | Description |
---|---|
label | Classification . |
score | Confidence. |
x | x-coordinate. x is normalized relative to the input image columns. Range from 0 to 1. |
y | y-coordinate. y is normalized relative to the input image rows. Range from 0 to 1. |
width | Width. Width is normalized relative to the input image columns, Range from 0 to 1. |
height | Height. Heigth is normalized relative to the input image rows, Range from 0 to 1. |
vitis::ai::TFSSDResult
TFSSD
neuron network. Declaration
typedef struct
{
int width,
int height,
std::vector< BoundingBox
> bboxes
} vitis::ai::TFSSDResult;
Member | Description |
---|---|
width | Width of input image. |
height | Height of input image. |
bboxes | All objects, a vector of BoundingBox . |
vitis::ai::TFSSDResult::BoundingBox
Declaration
typedef struct
{
int label,
float score,
float x,
float y,
float width,
float height
} vitis::ai::TFSSDResult::BoundingBox;
Member | Description |
---|---|
label | Classification . |
score | Confidence. |
x | x-coordinate. x is normalized relative to the input image columns. Range from 0 to 1. |
y | y-coordinate. y is normalized relative to the input image rows. Range from 0 to 1. |
width | Width. Width is normalized relative to the input image columns, Range from 0 to 1. |
height | Height. Heigth is normalized relative to the input image rows, Range from 0 to 1. |
vitis::ai::VehicleResult
MultiTask
. Declaration
typedef struct
{
int label,
float score,
float x,
float y,
float width,
float height,
float angle
} vitis::ai::VehicleResult;
Member | Description |
---|---|
label | number of classes
|
score | Confidence of this target. |
x | x-coordinate. x is normalized relative to the input image columns. Range from 0 to 1. |
y | y-coordinate. y is normalized relative to the input image rows. Range from 0 to 1. |
width | Width. Width is normalized relative to the input image columns, Range from 0 to 1. |
height | Height. Heigth is normalized relative to the input image rows, Range from 0 to 1. |
angle | The angle between the target vehicle and ourself. |
vitis::ai::Vehiclev3Result
MultiTaskv3
. Declaration
typedef struct
{
int label,
float score,
float x,
float y,
float width,
float height,
float angle
} vitis::ai::Vehiclev3Result;
Member | Description |
---|---|
label | number of classes
|
score | Confidence of this target. |
x | x-coordinate. x is normalized relative to the input image columns. Range from 0 to 1. |
y | y-coordinate. y is normalized relative to the input image rows. Range from 0 to 1. |
width | Width. Width is normalized relative to the input image columns, Range from 0 to 1. |
height | Height. Heigth is normalized relative to the input image rows, Range from 0 to 1. |
angle | The angle between the target vehicle and ourself. |
vitis::ai::YOLOv2Result
YOLOv2
network. Declaration
typedef struct
{
int width,
int height,
std::vector< BoundingBox
> bboxes
} vitis::ai::YOLOv2Result;
Member | Description |
---|---|
width | Width of input image. |
height | Height of input image. |
bboxes | All objects. |
vitis::ai::YOLOv2Result::BoundingBox
Declaration
typedef struct
{
int label,
float score,
float x,
float y,
float width,
float height
} vitis::ai::YOLOv2Result::BoundingBox;
Member | Description |
---|---|
label | Classification . |
score | Confidence. The value ranges from 0 to 1. |
x | x-coordinate. x is normalized relative to the input image columns. Range from 0 to 1. |
y | y-coordinate. y is normalized relative to the input image rows. Range from 0 to 1. |
width | Width. Width is normalized relative to the input image columns, Range from 0 to 1. |
height | Height. Heigth is normalized relative to the input image rows, Range from 0 to 1. |
vitis::ai::YOLOv3Result
YOLOv3
neuron network. Declaration
typedef struct
{
int width,
int height,
std::vector< BoundingBox
> bboxes
} vitis::ai::YOLOv3Result;
Member | Description |
---|---|
width | Width of input image. |
height | Height of output image. |
bboxes | All objects, The vector of BoundingBox . |
vitis::ai::YOLOv3Result::BoundingBox
Declaration
typedef struct
{
int label,
float score,
float x,
float y,
float width,
float height
} vitis::ai::YOLOv3Result::BoundingBox;
Member | Description |
---|---|
label | Classification . |
score | Confidence. The value ranges from 0 to 1. |
x | x-coordinate. x is normalized relative to the input image columns. Range from 0 to 1. |
y | y-coordinate. y is normalized relative to the input image rows. Range from 0 to 1. |
width | Width. Width is normalized relative to the input image columns, Range from 0 to 1. |
height | Height. Heigth is normalized relative to the input image rows, Range from 0 to 1. |
xilinx::ai::FaceQualityResult
Declaration
typedef struct
{
int width,
int height,
float value
} xilinx::ai::FaceQualityResult;
Member | Description |
---|---|
width | Width of input image. |
height | Height of input image. |
value | Quality value ranges from 0.0 to 1.0. |