# Add postprocessing support for custom model Source: [https://docs.qualcomm.com/doc/80-70014-15B/topic/add-postprocessing.html](https://docs.qualcomm.com/doc/80-70014-15B/topic/add-postprocessing.html) This section guides you in adding model postprocessing support in a Qualcomm IM SDK plugin, particularly in cases where the current Qualcomm IM SDK plugin does not support postprocessing for the model . In this example, we explain the required steps to add custom model postprocessing to the qtimlvdetection plugin. **Prerequisites** You need to confirm that qtimlvconverter supports preprocessing for the model. **Example – Adding YoloV8 module support to qtimlvdetection** 1. Write a new module in the qtimlvdetection plugin to enable postprocessing support. Refer to the following example code: [gst-plugin-mlvdetection/modules/ml-vdetection-yolov8.c · imsdk.lnx.2.0.0.r1-rel· CodeLinaro / le / platform / vendor / qcom-opensource / gst-plugins-qti-oss · GitLab](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/blob/imsdk.lnx.2.0.0.r1-rel/gst-plugin-mlvdetection/modules/ml-vdetection-yolov8.c). 2. Write a new file for your custom model. In the model postprocessing module, the `gst_ml_module_process` function is responsible for executing all postprocessing operations. Recompile the plugin, using the instructions provided in [Compile and install Qualcomm IM SDK plugins](https://docs.qualcomm.com/doc/80-70014-15B/topic/esdk-compile-qimsdk-plugins.html). 3. Add your new files in Cmakelists.txt. refer to the following example: [gst-plugin-mlvdetection/modules/CMakeLists.txt · imsdk.lnx.2.0.0.r1-rel · CodeLinaro / le / platform / vendor / qcom-opensource / gst-plugins-qti-oss · GitLab](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/blob/imsdk.lnx.2.0.0.r1-rel/gst-plugin-mlvdetection/modules/CMakeLists.txt) 4. Recompile the reference application and execute it. See [compile reference apps using platform eSDK](https://docs.qualcomm.com/doc/80-70014-15B/topic/compile-app-esdk.html) for instructions on how to compile reference applications with the eSDK. Last Published: Jan 21, 2026 [Previous Topic Integrate AI Hub models in application](https://docs.qualcomm.com/bundle/publicresource/80-70014-15B/topics/integrate-aihub-model.md) [Next Topic Implement new use case](https://docs.qualcomm.com/bundle/publicresource/80-70014-15B/topics/implement-new-use-case.md)