MATLAB Answers

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

2 views (last 30 days)
Avijit Ashe
Avijit Ashe on 9 Oct 2016
Answered: Anand on 10 Oct 2016
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]?

  0 Comments

Sign in to comment.

Answers (1)

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

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by