필터 지우기
필터 지우기

image size of positive image set for training

조회 수: 3 (최근 30일)
Ed Sykes
Ed Sykes 2017년 2월 16일
답변: Tohru Kikawada 2017년 2월 21일
We are using the trainCascadeObjectDetector( Current_Detector, imageData, negativeFolder, ... 'FalseAlarmRate', 0.5, ... 'TruePositiveRate', 0.995, ... 'NumCascadeStages', 10, ... 'FeatureType', 'Haar');
to train a cascade classifier.
Attached is a sample of a positive image for training (tropicana_cropped.png). I have also attached the test image (test_image.jpg).
Question: Should the sizes of the positive images (for training) be the same as in the objects-of-interest in the test image? For example, should the image of the "tropicana_cropped.png" be reduced in size to be very similar to the "Tropicana" in the test image before Training?
Thanks, Ed

답변 (1개)

Tohru Kikawada
Tohru Kikawada 2017년 2월 21일
You don't need to care the size of images. This is because vision.CascadeObjectDetector performs multiscale object detection on the input image. See this link for details.

카테고리

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