Research/Google "image recognition programs"
Example links that I found:
https://www.neoito.com/blog/image-recognition-apps/
https://www.talkwalker.com/blog/best-image-recognition-tools
(There were many such links.)
Read the above links and/or other links that are presented.
Then revise the search criteria as necessary to further filter and sort the results.
Hopefully, there will be some program that meets your requirements.
Certainly an AI type problem per
@kanewolf .
How any given program will really work and how successful the program's end results actually are will require some testing.
Another area to consider:
"robot navigation systems image recognition"
The concept being that the robot can recognize things and not necessarily be required to move around that object or otherwise interact with a recognized object.
A dog or or person perhaps.