0 votes

I am using Godot Python on Windows 10 64 and I manage to run Open CV in Godot.
I manage to call my webcam and capture frames from it.
However when I try to convert the OpenCV frame to a Godot Image ... the process is timed at about 1 entire SECOND ... to do so I make it a ByteArray and do a Image.CreateFromData ()
Should I use a streamTexture ? Is it possible to attribute it from code instead of a file?
Should I rather write the byte array into the properties of a shader to run faster (use of graphics card)?

Best regards,

in Engine by (17 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.