How can i set the min and max size object to detect in matlab?

1 vue (au cours des 30 derniers jours)
Misrak Seifu
Misrak Seifu le 12 Juin 2014
Modifié(e) : Misrak Seifu le 13 Juin 2014
How can i set the min and max size object to detect in matlab? i am working on cascade object detector.
Thank you

Réponse acceptée

Dima Lisin
Dima Lisin le 13 Juin 2014
The vision.CascadeObjectDetector object has properties MinSize and MaxSize. You can also pass 'MinSize' and 'MaxSize' name-value pairs into the object's constructor:
detector = vision.CascadeObjectDetector('MinSize', [32, 32]);
  2 commentaires
Misrak Seifu
Misrak Seifu le 13 Juin 2014
Thank you!
Misrak Seifu
Misrak Seifu le 13 Juin 2014
Modifié(e) : Misrak Seifu le 13 Juin 2014
What if i want to pass a MinSize(h/4, w/4), how can i do this in matlab?
Example: For h=w=20
[ h w]=MinSize(I) MinSize(h/4, w/4)=x MinSize[ x x]
And for max
MaxSIze(h,w)=y MaxSize[y y]

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Computer Vision with Simulink dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by