# Object detection Source: [https://docs.qualcomm.com/doc/80-70020-50/topic/gst-ai-object-detection.html](https://docs.qualcomm.com/doc/80-70020-50/topic/gst-ai-object-detection.html) The **gst-ai-object-detection** application allows you to detect objects within images and videos. The use cases show the execution of [YOLOv5](https://github.com/ultralytics/yolov5), [YOLOv8](https://github.com/ultralytics/ultralytics), and [YOLOX](https://github.com/Megvii-BaseDetection/YOLOX/blob/main/README.md) using the Qualcomm Neural Processing SDK runtime, YOLOv8 using Qualcomm AI Engine direct, and YOLOv5 and YOLOv8 using LiteRT. The following figure shows the pipeline, which receives the input from a live camera feed, file, or an RTSP stream, preprocesses it, runs inferences on AI hardware, and displays the results on the screen. For information about the plugins used in the pipeline flow, see [Pipeline flow](https://docs.qualcomm.com/doc/80-70020-50/topic/gst-ai-object-detection.html#gst-ai-object-detection__section_p2w_33y_kbc). Figure : gst-ai-object-detection pipeline ## Sample model and label files | Runtime | Model files | Label files | | --- | --- | --- | | Qualcomm Neural Processing SDK | *yolonas.dlc* | | | LiteRT | *yolov8\_det\_quantized.tflite*



*yolox\_quantized.tflite* | | | Qualcomm AI Engine direct | *yolov8\_det\_quantized.bin* | | | | | | | | | | ## Run the application on the target device The sample application uses the /etc/configs/config\_detection.json file to read the input parameters. To create your own config JSON file, use [config_detection.json](https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/gst-plugins-qti-oss/-/blob/imsdk.lnx.2.0.0.r2-rel/gst-sample-apps/gst-ai-object-detection/config_detection.json?ref_type=heads) as a reference. 1. Ensure that you complete the [Prerequisites](https://docs.qualcomm.com/doc/80-70020-50/topic/download-model-and-label-files.html). 2. Update the config JSON file based on the model, input stream, and other properties. For more information, see [Config JSON field description](https://docs.qualcomm.com/doc/80-70020-50/topic/gst-ai-object-detection.html#gst-ai-object-detection__section_qjx_hqq_32c). 3. Use the following format of the /etc/configs/config\_detection.json file: { "file-path": "", "ml-framework": "", "yolo-model-type": "", "model": "", "labels": "