08: Using our code to access webcam in a 2D scene

Опубликовано: 29 Май 2026
на канале: Milind Padalkar
520
8

Repository: https://github.com/mgpadalkar/godot-c...

Using OpenCV C++ code with Godot 3.5.2 on Ubuntu 20.04
Godot example with C++ and OpenCV functions in GDNative

Purpose:
Acquire video with a webcam
Process frames with OpenCV
Display output in AR/VR headset

Referred from: https://docs.godotengine.org/en/3.5/t...

All videos in this series (no audio, sorry):
01. Downloading the GDNative C++ Example |    • 01: Downloading the GDNative C++ Example  
02. Downloading Godot 3.5.2 |    • 02. Downloading Godot 3.5.2  
03. Making an empty project |    • 03  Making an empty project  
04. Writing our own OpenCV code |    • 04: Writing our own OpenCV code  
05. Creating the GDNative wrapper |    • 05: Creating the GDNative wrapper  
06. Compiling our code + wrapper with SConstruct |    • 06: Compiling our code + wrapper with SCon...  
07. Creating files necessary for using our code in Godot |    • 07: Creating files necessary for using our...  
08. Using our code to access webcam in a 2D scene |    • 08: Using our code to access webcam in a 2...  
09. Showing the webcam frames in a 3D scene |    • 09: Showing the webcam frames in a 3D scene  
10. Displaying the OpenCV output in HMD |    • 10: Displaying the OpenCV output in HMD