vitis::ai::PointPillars - 1.3 English

Vitis AI Library User Guide (UG1354)

Document ID
UG1354
Release Date
2021-02-03
Version
1.3 English
Base class for pointpillars .

Input is points data.

Output is a struct of detection results, named PointPillarsResult.

Sample code :

  ...
  auto net = vitis::ai::PointPillars::create("pointpillars_kitti_12000_0_pt", "pointpillars_kitti_12000_1_pt", true);
  V1F PointCloud ;
  int len = getfloatfilelen( lidar_path);
  PointCloud.resize( len );
  myreadfile(PointCloud.data(), len, lidar_path);
  auto res = net->run(PointCloud);
  ...
please see the test sample for detail.

Quick Function Reference

The following table lists all the functions defined in the vitis::ai::PointPillars class:

Table 1. Quick Function Reference
Type Name Arguments
std::unique_ptr< PointPillars > create
  • const std::string & model_name
  • const std::string & model_name1
vitis::ai::PointPillarsResult run
  • const V1F & v1f
size_t get_input_batch
  • void
void do_pointpillar_display
  • PointPillarsResult & res
  • int flag
  • DISPLAY_PARAM & dispp
  • cv::Mat & rgb_map
  • cv::Mat & bev_map
  • int width
  • int height
  • ANNORET & annoret