Implementing User Post-Processing Code - 1.1 English

Vitis AI Library User Guide (UG1354)

Document ID
UG1354
Release Date
2020-03-23
Version
1.1 English

You can also call their own post-processing functions on their own request. Take demo_yolov3.cpp and demo_classification.cpp as an example. Use vitis::ai::DpuTask::create or vitis::ai::DpuRunner::create_dpu_runner to create the task, and after DPU processing is complete, the post-processing function can be invoked. The post_process function in the following figure is a user post-processing code.

Figure 1. User Post-Processing Code Example

For more details, see ~/vitis-ai/vitis_ai_library/overview/demo/classification/demo_classification.cpp.