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

3 次查看(过去 30 天)
How can i set the min and max size object to detect in matlab? i am working on cascade object detector.
Thank you

采纳的回答

Dima Lisin
Dima Lisin 2014-6-13
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 个评论
Misrak Seifu
Misrak Seifu 2014-6-13
编辑:Misrak Seifu 2014-6-13
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]

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Computer Vision with Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by