Ask Your Question

NicholasH's profile - activity

2019-04-04 04:10:43 -0600 marked best answer Does BackgroundSubtractorKNN respect a learning rate of 0 correctly?

I'm getting a strange result where it looks like BackgroundSubtractorKNN algorithm may still be learning when the learning rate parameter is set to zero in the apply function.

Looking at the source code for apply() I see that:

learningRate = learningRate >= 0 && nframes > 1 ? learningRate : 1./std::min( 2*nframes, history );

Kshort=(int)(log(0.7)/log(1-learningRate))+1;

Kmid=(int)(log(0.4)/log(1-learningRate))-Kshort+1;

Klong=(int)(log(0.1)/log(1-learningRate))-Kshort-Kmid+1;

This strikes me odd as the log of 1 being zero, therefore division by zero occurs. Can anyone confirm or correct me?

2019-01-23 04:25:55 -0600 asked a question Does BackgroundSubtractorKNN respect a learning rate of 0 correctly?

Does BackgroundSubtractorKNN respect a learning rate of 0 correctly? I'm getting a strange result where it looks like Ba

2018-11-18 15:31:42 -0600 received badge  Enthusiast
2018-11-14 15:37:57 -0600 received badge  Supporter (source)
2018-11-14 15:37:04 -0600 marked best answer How to get cmake options used in default build?

How can I list (or where can I find) the cmake options that were used to build the default OpenCV binary releases available for download? Or are the default binary releases published just built with the default options defined in the source.

For example I want to know if things like TBB and IPP are used or not used in these builds.

2018-11-14 15:37:04 -0600 received badge  Scholar (source)
2018-11-13 19:47:36 -0600 received badge  Student (source)
2018-11-13 19:44:50 -0600 asked a question How to get cmake options used in default build?

How to get cmake options used in default build? How can I list (or where can I find) the cmake options that were used to