Skip to content
New issue

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

Opencv fails with long video. #504

Closed
iPsych opened this issue Jul 1, 2018 · 4 comments
Closed

Opencv fails with long video. #504

iPsych opened this issue Jul 1, 2018 · 4 comments

Comments

@iPsych
Copy link

iPsych commented Jul 1, 2018

Reopen of issue #442

Still fails with long video with OpenCV 3.4.1_6 from homebrew, openface 2.0.3 3d5b3d.

I think it was resolved, but re-evoked after the first-frame bug fixed.

Thanks.

Below is the full error codes. It replicated with the videos I shared.

OpenCV(3.4.1) Error: Assertion failed (0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols && 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows) in Mat, file /tmp/opencv-20180630-73747-zn1npb/opencv-3.4.1/modules/core/src/matrix.cpp, line 464
libc++abi.dylib: terminating with uncaught exception of type cv::Exception: OpenCV(3.4.1) /tmp/opencv-20180630-73747-zn1npb/opencv-3.4.1/modules/core/src/matrix.cpp:464: error: (-215) 0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols && 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows in function Mat

Abort trap: 6

Update :

I found below issues in opencv 4.1

opencv/opencv#11076
maelvls/homebrew-amc#4

@TadasBaltrusaitis
Copy link
Owner

Can you try the following branch, I'm not 100% that this fixed the error as I'm not able to reproduce it:
https://github.com/TadasBaltrusaitis/OpenFace/tree/feature/2.0.4

This should not be related to the first frame bug though.

Thanks,
Tadas

@iPsych
Copy link
Author

iPsych commented Jul 6, 2018 via email

@iPsych
Copy link
Author

iPsych commented Jul 6, 2018 via email

@TadasBaltrusaitis
Copy link
Owner

Hi, you should be able to edit the wiki now (please let me know if you can't).

Thanks,
Tadas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants