How to run the demo of morphology in Opencv 2.4.8

asked 2014-08-04 04:55:05 -0500

sainimu78 gravatar image

updated 2014-08-05 01:06:18 -0500

An error occurred when I run the morphology demo. image description

I'm sure about the availability of the input image file.

By the way, most demos can't be executed correctly.


I'm sorry, I don't know why I can't open the reply link, just clicked reply button with no response. However, maybe I knew why this happened,

It maybe caused by disabling CUDA support, I should configure the opencv proj using cmake then rebuild opencv proj

edit retag flag offensive close merge delete

Comments

2

your screenshot is unreadable. please supply the text of the errormsg

berak gravatar imageberak ( 2014-08-04 05:12:21 -0500 )edit

He has an unhandled exception in xstring code. Go with debug through your sample code and post the exact line that is generating this error. That will help us much more. I am guessing some data wasn't passed correctly. Since it is windows, I am guessing a backslash error in a path variable.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-08-04 05:57:12 -0500 )edit
1

It maybe caused by disabling CUDA support, I should configure the opencv proj using cmake then rebuild opencv proj

But I have not tried that,

sainimu78 gravatar imagesainimu78 ( 2014-08-05 01:08:44 -0500 )edit
1

Yeah it is quite logical that GPU samples will NOT built if you have not built openCV with GPU support yourself.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-08-05 02:42:41 -0500 )edit