That is exactly what this Raspberry Pi object detection project demonstrates. You can build a fully working object detection ...
The smartest way to use AI may not be letting it interact with your files, but asking it to write software that handles them ...