That is exactly what this Raspberry Pi object detection project demonstrates. You can build a fully working object detection ...
My oldest iPad is finally pulling its weight again.