Is there any way to detect real world obstacles like Wall, Columns Car etc using ARCamera?

Hi

I am developing an AR applications out of interest. I am rendering a huge life size 3D model. I want to reduce the opacity of model or make that model inactive if camera collides with real world obstacles like Wall, Car etc, blocking the user’s movement. ,Hi

I am developing an AR applications out of interest. I am rendering a huge life size 3D model. I want to reduce the opacity of model or make that model inactive if camera collides with real world obstacles like Wall, Car etc, blocking the user’s movement.

If you can detect the wall you should be able to get the distance from it. I don’t really know as I haven’t had experience in AR but you could try to get the distance from the wall or object.
as for object detection here is a tutorial that detects objects. it isn’t quite the same thing but i think it’s the same sort of concept: