Run person detection TFLite model on Raspberry Pi Pico and Arducam OV2640 without another Pi

Hi everyone, I’m trying to deploy a person detection tflite model that I already have, but using only a Raspberry Pi Pico and an Arducam OV2640. The problem is that every person detection tutorial I can find for this setup requires connecting the Pico to another (larger) Raspberry Pi board, which I don’t have available. Has anyone managed to run a tflite person detection model on just the Pico + OV2640?

Thanks for the details. Just to make sure I understand the environment correctly before pointing you at the right resources: are you working with a plain Raspberry Pi Pico and an Arducam OV2640 camera module? And are you planning to do the inference entirely on the Pico itself?

Yes, exactly. It’s a plain Raspberry Pi Pico with an Arducam OV2640. No other Pi board involved. I was also considering using Thonny with MicroPython/Python instead of going the C/C++ route. I’ve already followed the steps in the ArduCAM/PICO_SPI_CAM GitHub repo (GitHub - ArduCAM/PICO_SPI_CAM · GitHub) and I got the camera demo working using the provided HostApp.exe, so the camera link itself is fine. I just need a way to run the person detection model on the Pico without offloading to a bigger Pi.

Got it, thanks for clarifying. Since the camera demo is already working, the next step for TinyML on the Pico side would normally be to look at the TinyML example flow. Here are the Arducam TinyML documentation links we typically share for this kind of use case:

One thing to keep in mind though: these references are written for the Arducam Pico4ML TinyML board, which may not match your plain Pico + OV2640 setup exactly.

I checked those links, but the problem is they require the Pico4ML board, which I don’t have. I’m looking for a reference that only requires a Raspberry Pi Pico and an Arducam OV2640, without needing a larger Raspberry Pi. Is there any example or documentation for that specific combination?

I understand. To be clear: the reference example we have available is specifically for the Arducam Pico4ML board. After checking, we don’t have an alternative reference example that targets a plain Raspberry Pi Pico + Arducam OV2640 for running person detection without a larger Raspberry Pi involved. So at the moment, the only available reference is the Pico4ML example, and there is no documented flow for deploying the person detection model on just the Pico + OV2640 combination you described.