Define Tuple with PuthonObject
Trying to convert the below opencv python code to mojolang:
So, I wrote the below:
I got the error:
declaration must have either a type or an initializer
at the line var ret, frame = cap.read()
4 Replies
Dont use var in def function (to solve the issue)
I got
use of unknown declaration 'ret'
This is a working approach
Thanks a lot, it worked well.