This is a Webcam Addon for Godot 3.4 and higher (currently only Linux x86_64
and mjpeg
only, via v4l2
)
Clone the git repository and initialize the subrepositories
git clone --recursive https://github.com/d-sacre/godot-webcam-integration
cd ./godot-webcam-integration
mkdir build
cd build
cmake ..
make
Copy webcam-sample-project/webcam
into your project to use it.