How to manually change the ObjectTrainingSize in trainCascadeDetector for training larger patches?

1 回表示 (過去 30 日間)
Avijit Ashe
Avijit Ashe 2016 年 10 月 9 日
回答済み: Anand 2016 年 10 月 10 日
I'm testing the classifier design functions. When I run the detector it automatically sets the ObjectTrainingSize to [ 32, 44 ] irrespective of the no positive/negative samples. Hw do I manually change it to train on larger patches like [hei,wid]=[50,150]?

回答 (1 件)

Anand
Anand 2016 年 10 月 10 日
If you are training using the trainCascadeObjectDetector function, you can set the 'ObjectTrainingSize' parameter during training to change this.

Community Treasure Hunt

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

Start Hunting!

Translated by