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

3 次查看(过去 30 天)
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.

类别

Help CenterFile Exchange 中查找有关 Recognition, Object Detection, and Semantic Segmentation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by