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 个评论

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

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Computer Vision Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by