if you want to try on-device object detection, I’d follow this tutorial: Object Detection with TensorFlow Lite Model Maker 3
for way more information on this topic: Object Detection | On-Device ML  |  Google Developers 1
This last one will give you all the information you’ll need