Error while training the trainCasca​deObjectDe​tector...p​lease help!

Hello, please help me to solve following problem. I have 30k positive images with ROIs and 60k negatives (without ROIs). Then I start training the standart Viola classifier by trainCascadeObjectDetector function after ten minutes on stage 1 of training process I've got error: "Error using ocvTrainCascade Error in generating samples for training. No samples could be generated for training the first cascade stage"
Why is it? What is wrong? Appreciate any help, thank you.

1 Comment

Hi Andrew,
How many stages are you trying to train? And what is the negative samples factor?

Sign in to comment.

Answers (0)

Categories

Asked:

on 30 Apr 2015

Commented:

on 1 May 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!