Implementing User Post-Processing Code - 3.5 English

Vitis AI Library User Guide (UG1354)

Document ID
Release Date
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