Ask Your Question

Bartis Áron's profile - activity

2019-04-14 07:40:19 -0600 received badge  Popular Question (source)
2014-02-09 12:54:15 -0600 commented question How to change contrast of image?
2014-02-07 08:54:39 -0600 received badge  Supporter (source)
2014-02-06 07:53:51 -0600 asked a question traincascade parameters: precalcValBufSize and precalcIdxBufSize

My question is that when I use traincascade, there are these two parameters: -precalcValBufSize and -precalcIdxBufSize.

Can you give me some hints about how to calibrate these numbers? I know that the more memory equals lesser execution time, but how can I set a good balance between the two values when the memory is limited?

Also: how much is too much?

2014-02-05 13:24:02 -0600 commented question OpenCV traincascade fails: Insufficient memory

Two more questions: what is the size of your negatives and how much free memory do you have? I personally met with this kind of problem and the solution was that I had to close some of my applications (in spite of my 4 GB total memory).

Ps.: Sometimes the traincascade can consume at least 1 GB.

2014-02-05 07:46:45 -0600 received badge  Scholar (source)
2014-02-05 07:38:05 -0600 received badge  Editor (source)
2014-02-05 07:31:21 -0600 asked a question Continuing training from given stage

I tried to train with traincascade until the 8th stage. I know, it is few. Now that's why I want to reteach the classifier until 12th stage.

My first question is that if I do not modify other parameters than the maximum number of stages, will the first 8 stage change? I compared the output results, but at the time I did not noticed any difference (except precalculation time).

If no, my second question is that, can I reteach only continuing from the 9th (number 8) stage to get a working cascade? And if I can reteach, how? I could not find any parameter related to this.

I know, there was more post related to this issue, but I couldn't get clear answer to my question.

Thanks!

2014-02-05 07:11:42 -0600 commented answer Detecting color range from "avarage"

I must agree that my method was not one of the easiest, but why is a bad choice anyway?

2014-02-05 04:02:26 -0600 commented question Traincascade and symmetric images

Yes, I meant that, but I thought, that I can solve it automatically either with traincascade or createsamples.

2014-02-04 14:46:11 -0600 asked a question Traincascade and symmetric images

I've searched, but couldn't find any reference. Has the newer "traincascade" any concern about the symmetric images? For example logos can't be mirrored, but faces yes and thus the detection could be improved. I know that about the "haartraining" that it has any, but the "traincascade"?

2014-02-04 05:18:21 -0600 commented question i want to convert from rgb to lab

What kind of error?

2014-02-03 10:32:47 -0600 answered a question Detecting color range from "avarage"

You should try the method backprojection: http://docs.opencv.org/doc/tutorials/imgproc/histograms/back_projection/back_projection.html It will give you a probability map of your image, where you get skin color, and where not.

2014-02-03 04:28:39 -0600 answered a question Help with haar training

Maybe you should check the size or number of your negatives. I'm not really sure about the haartraining (it is deprecated and the traincascade is more advanced), but if it works like the traincascade, than the number of the negatives doesn't mean too much. Suppose only one big negative (say 480 * 110) then it contains one hundred times more data than one of your positives. That could slow greatly the procedure.