Unity ml-agents has a vision sensor. But its kind of not working for me well. More on this:
And even worse news:
Is ml agents dead? page-2#post-8724534