I used OpenCV and Yolo on an RPi4 for object detection. Worked great. Fun project and I learned a lot from the OpenCV community.
I think the ability to learn computer vision from scratch (and free) like I did is one of the best aspects of open source generally.
But yeah, an Arduino would be tough.