vitis::ai::PointPillars - 1.4.1 English

Vitis AI Library User Guide (UG1354)

Document ID
UG1354
Release Date
2021-12-11
Version
1.4.1 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
vitis::ai::PointPillarsResult run
  • const float * points
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