Implementing User Post-Processing Code - 3.5 English

Vitis AI Library User Guide (UG1354)

Document ID
UG1354
Release Date
2023-06-29
Version
3.5 English

You can also call your own post-processing functions. Take the demo_yolov3.cpp and demo_classification.cpp files as examples. Use vitis::ai::DpuTask::create or vitis::ai::DpuRunner::create_dpu_runner to create the task, and after the DPU processing is complete, you can invoke the post-processing function. The post_process function in the following figure shows an example of user post-processing code.

Figure 1. User Post-Processing Code Example