# Python Version AI Demo Reference

Using Python to write AI demos, you can leverage common libraries such as NumPy and OpenCV for post-processing, enabling pure Python AI demo development. You can refer to the following examples to develop your own applications.

## YOLOv8 Object Detection (v4l2-drm library)

Source code see [yolo_v4l2_drm.py](https://github.com/kendryte/k230_linux_sdk/blob/dev/buildroot-overlay/package/python-k230/py_demo/ai/yolo_v4l2_drm.py)

## Face Detection

Source code see [face_detect.py](https://github.com/kendryte/k230_linux_sdk/blob/dev/buildroot-overlay/package/python-k230/py_demo/ai/face_detect.py)

## YOLOv8 Object Detection (display library)

Source code see [yolo_display.py](https://github.com/kendryte/k230_linux_sdk/blob/dev/buildroot-overlay/package/python-k230/py_demo/ai/yolo_display.py)
>This demo is not recommended, single channel, preview may lag
