Can I read frames from a webcam?

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

I wonder i it’s possible to obtain images from a webcam.
If it’s possible - does it work the same way for PC and Android?

I think the ARVR plugins by BastianOlij needed such a feature to work. He made a PR but it’s still pending: https://github.com/godotengine/godot/pull/10643

Zylann | 2018-06-21 12:55

:bust_in_silhouette: Reply From: Zylann

I think the ARVR plugins by BastiaanOlij needed such a feature to work. He made a PR but it’s still pending: CameraServer class by BastiaanOlij · Pull Request #10643 · godotengine/godot · GitHub

It looks like webcam support may be included in v3.2:

Preliminary changelog: Godot 4.0 preliminary changelog (does not list changes that were also backported to Godot 3.x) · GitHub

RK | 2019-09-23 17:55

I’m afraid it’s not yet ready. See my answer here:
How to use Webcam / CameraServer / CameraFeed in 3.2 and Windows? - Archive - Godot Forum

rolfpancake | 2020-02-05 17:24