vitis::ai::SegmentationResult - 2.0 English

Vitis AI Library User Guide (UG1354)

Document ID
UG1354
Release Date
2022-01-20
Version
2.0 English
Struct of the result returned by the segmentation network.

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;
Table 1. Structure vitis::ai::SegmentationResult member description
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.