Ask Your Question
0

Saliency map for BinWAngApr2014 is blank

asked 2015-09-29 03:59:55 -0600

Hello all,

I recently compiled the example code in the Saliency module. https://github.com/fpuja/opencv_contr...

It compiled fine, without any problems. Unfortunately when I run the program I don't see anything in the Saliency Map image window, nor anything inside the matrix. When imshow is executed all that is displayed is a blank, white box the same size as my input video.

The input video shows up just fine. It also happens to take a pretty long time, so it seems like something is being down in the background and the data just doesn't appear.

The Saliency map shows up for the Spectral_residual function.

edit retag flag offensive close merge delete

Comments

1

why are you using an outdated fork instead of https://github.com/Itseez/opencv_cont... ?

berak gravatar imageberak ( 2015-09-29 04:04:29 -0600 )edit

@berak When I was searching for answers I must of found this location by accident. I tried out the code in the master fork, unfortunately, it still provides the same result -- a blank/white saliency map.

jparrish88 gravatar imagejparrish88 ( 2015-09-29 14:29:46 -0600 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2016-01-26 05:21:06 -0600

bobv gravatar image

You've probably not given it enough time to settle: it uses the first couple of frames to calibrate, so the result is a complete white output. What is the framerate you're using? The lower the framerate, the longer it takes.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-09-29 03:59:55 -0600

Seen: 335 times

Last updated: Sep 29 '15