This example uses the Ultralytics YOLOv8n model to showcase the working of TFLite delegate running with ArmNN acceleration.
sudo ln ../libs/delegate/libarmnnDelegate.so.29.1 libarmnnDelegate.so.29
sudo ln ../libs/libarmnn.so.34.0 libarmnn.so.34
python3 run_inference.py
The detections are displayed on output.png
Modify the BACKEND
variable in the code to use either GpuAcc
or CpuAcc
backends.