Access Mobile Cam/Webcam and use Augmented Reality

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By lucasfazzi

Hello people;

I’m a little confused about using the functions on how to use ARVR to access the camera from a mobile or webcam. I tried to follow the steps strictly as in the documentation (link) and I didnt have results - just a black screen as background.

Then, I watched Bastiaan’s video and tried to apply his script (keeping the same node scheme), including Camera Feed, Get Camera Enviroment and everything as in the video and black screen persists.

Reading the documentation further, I saw that there is a CameraServer in addition to the ARVRServer; should I configure it to receive feedback from my camera? If so, what should I do? What is the best step by step way to access a mobile camera / webcam using Godot 3.2?

PS: I think my problem is in the enviroment / Camera Feed which, when configured, leaves a black screen. If I disable it, I can see my mesh in the scene. When active, I get a black screen. The canvaslayers buttons appear normally even with Black Screen.

Thanks Guys

:bust_in_silhouette: Reply From: lucasfazzi

So, I was digging in it and found this answer