Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Assertion failed window_w32.cpp OpenCV-4.0.0

Greetings!

I'm new here and say hello to all!

From // https://docs.opencv.org/3.2.0/de/da9/tutorial_template_matching.html I've downloaded the C++ source and compiled it with OpenCV-4.0.0 w/o errors.

I run the program with 2 input files: image.bmp and a template.bmp containing an existing crop (60x60) of image.bmp. The program fails with error OpenCV: terminate handler is called! The last OpenCV error is: OpenCV(4.0.0) Error: Assertion failed (dst.data == (uchar*)dst_ptr) in cvShowImage, file C:\OpenCV\source\modules\highgui\src\window_w32.cpp, line 1230

Any hints whats going wrong?

Thanks for reading

Wolf

click to hide/show revision 2
retagged

updated 2018-12-22 04:10:50 -0600

berak gravatar image

Assertion failed window_w32.cpp OpenCV-4.0.0

Greetings!

I'm new here and say hello to all!

From // https://docs.opencv.org/3.2.0/de/da9/tutorial_template_matching.html I've downloaded the C++ source and compiled it with OpenCV-4.0.0 w/o errors.

I run the program with 2 input files: image.bmp and a template.bmp containing an existing crop (60x60) of image.bmp. The program fails with error OpenCV: terminate handler is called! The last OpenCV error is: OpenCV(4.0.0) Error: Assertion failed (dst.data == (uchar*)dst_ptr) in cvShowImage, file C:\OpenCV\source\modules\highgui\src\window_w32.cpp, line 1230

Any hints whats going wrong?

Thanks for reading

Wolf

Assertion failed window_w32.cpp OpenCV-4.0.0

Greetings!

I'm new here and say hello to all!

From // https://docs.opencv.org/3.2.0/de/da9/tutorial_template_matching.html I've downloaded the C++ source and compiled it with OpenCV-4.0.0 w/o errors.

I run the program with 2 input files: image.bmp and a template.bmp containing an existing crop (60x60) of image.bmp. The program fails with error OpenCV: terminate handler is called! The last OpenCV error is: OpenCV(4.0.0) Error: Assertion failed (dst.data == (uchar*)dst_ptr) in cvShowImage, file C:\OpenCV\source\modules\highgui\src\window_w32.cpp, line 1230

Any hints whats going wrong?

Thanks for reading

Wolf

Assertion failed window_w32.cpp OpenCV-4.0.0

Greetings!

I'm new here and say hello to all!

From // https://docs.opencv.org/3.2.0/de/da9/tutorial_template_matching.html I've downloaded the C++ source and compiled it with OpenCV-4.0.0 w/o errors.

I run the program with 2 input files: image.bmp and a template.bmp containing an existing crop (60x60) of image.bmp. The program fails with error OpenCV: terminate handler is called! The last OpenCV error is: OpenCV(4.0.0) Error: Assertion failed (dst.data == (uchar*)dst_ptr) in cvShowImage, file C:\OpenCV\source\modules\highgui\src\window_w32.cpp, line 1230

Any hints whats going wrong?

Thanks for reading

Wolf

Assertion failed window_w32.cpp OpenCV-4.0.0

Greetings!

I'm new here and say hello to all!

From // https://docs.opencv.org/3.2.0/de/da9/tutorial_template_matching.html I've downloaded the C++ source and compiled it with OpenCV-4.0.0 w/o errors.

I run the program with 2 input files: image.bmp and a template.bmp containing an existing crop (60x60) of image.bmp. The program fails with error OpenCV: terminate handler is called! The last OpenCV error is: OpenCV(4.0.0) Error: Assertion failed (dst.data == (uchar*)dst_ptr) in cvShowImage, file C:\OpenCV\source\modules\highgui\src\window_w32.cpp, line 1230

Any hints whats going wrong?

Thanks for reading

Wolf