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

Error run at optimizer.cvStream.waitForCompletion(); #52

Open
anson2004110 opened this issue Nov 7, 2016 · 1 comment
Open

Error run at optimizer.cvStream.waitForCompletion(); #52

anson2004110 opened this issue Nov 7, 2016 · 1 comment

Comments

@anson2004110
Copy link

convert
text_file_name = /home/anson.lin/dtamm/OpenDTAM-2.4.9_experimental/Trajectory_30_seconds/scene_046.txt
Reading: scene_046.png
convert
text_file_name = /home/anson.lin/dtamm/OpenDTAM-2.4.9_experimental/Trajectory_30_seconds/scene_047.txt
Reading: scene_047.png
convert
text_file_name = /home/anson.lin/dtamm/OpenDTAM-2.4.9_experimental/Trajectory_30_seconds/scene_048.txt
Reading: scene_048.png
convert
text_file_name = /home/anson.lin/dtamm/OpenDTAM-2.4.9_experimental/Trajectory_30_seconds/scene_049.txt
Reading: scene_049.png
convert
text_file_name = /home/anson.lin/dtamm/OpenDTAM-2.4.9_experimental/Trajectory_30_seconds/scene_050.txt
Reading: scene_050.png

OpenCV Error: Assertion failed (src1.type() == src2.type()) in scaleAdd, file /home/ubuntu/opencv-2.4.10/modules/core/src/matmul.cpp, line 2079
terminate called after throwing an instance of 'cv::Exception'
what(): /home/ubuntu/opencv-2.4.10/modules/core/src/matmul.cpp:2079: error: (-215) src1.type() == src2.type() in function scaleAdd

Aborted (core dumped)

we found the error occurred at the commond:
optimizer.cvStream.waitForCompletion();

@anuranbaka
Copy link
Owner

That usually happens when the images are an unexpected data type. It may be due to a switch between 16 and 8 bit inputs.
Can you give a full stack trace?

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