Ask Your Question

selbstdual's profile - activity

2015-03-19 14:44:35 -0600 asked a question Does anyone have a classifier for not just frontal but also tilted faces?

See question.

2015-03-19 14:39:25 -0600 commented answer Train dataset for temp stage can not be filled. Branch training terminated.

I found that cascade.xml has already been created in the subdirectory, so the case is closed.

2015-03-17 16:10:58 -0600 commented question Train dataset for temp stage can not be filled. Branch training terminated.

@Remek I did that, too. The problem remains.

2015-03-17 04:03:24 -0600 received badge  Editor (source)
2015-03-16 18:41:11 -0600 asked a question Train dataset for temp stage can not be filled. Branch training terminated.

My goal is to detect a certain mood and it's absence based on my facial features. So the idea was to first detect my face and have only the facial expression of the mood that I want, use those pictures as the positive pictures and then on the flip side have negative pictures that show me not having this mood. Then to use both of them to train a classifier. The current command line (64bit) looks like this opencv_traincascade.exe -data YesTC -vec Mood.vec -bg NonMood.txt -numstages 30 -minHitRate 0.999 -numPos 120 -numNeg 120 -maxFalseAlarmRate 0.5 -w 20 -h 20 -precalcValBufSize 1024 -precalcIdxBufSize 1024 while having 133 positive Images and 133 negative images.

The good thing is, it does not crash, which happened a lot of times before.

the bad thing is, after some stages(so it could read images in the first stages) it aborts, saying

Train dataset for temp stage can not be filled. Branch training terminated.

I tried using relative paths as suggested at http://answers.opencv.org/question/10..., I tried absolute paths, I tried saving it as unix file, always the same result.

How to fix this?