We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when trying to open a movie. Just tried with the example 'OpticalFlow' and it is imposible.
Failing in row: opencv.loadImage(video);
Width (0) and height (0) cannot be <=0
The text was updated successfully, but these errors were encountered:
This may solve your issue.
while (video.height == 0 ) delay(10); // <-- add opencv.loadImage(video);
or
if (video.width > 0 && video.height > 0) {//check if the cam instance has loaded pixels opencv.loadImage(video); }
I have no idea why this is necessary. Solved it for my using Processing 3.3.6.
Sorry, something went wrong.
This above two modifications also work for Processing 3.3.7.
No branches or pull requests
Error when trying to open a movie. Just tried with the example 'OpticalFlow' and it is imposible.
Failing in row: opencv.loadImage(video);
The text was updated successfully, but these errors were encountered: