필터 지우기
필터 지우기

I am doing my research in automatic image annotation. I tried by using vision toolbox, but able to solve only for one object. how to proceed for multiple objects

조회 수: 2 (최근 30일)
my code for identifying cats in an image.
load('cats.mat');
imDir = fullfile(matlabroot,'toolbox','vision','visiondemos','cats');
addpath(imDir);
negativeFolder = fullfile(matlabroot,'toolbox','vision','visiondemos','non cats');
trainCascadeObjectDetector('stopSignDetector.xml', data, negativeFolder, 'FalseAlarmRate', 0.2, 'NumCascadeStages', 5);
trainCascadeObjectDetector('cats.xml', data, negativeFolder, 'FalseAlarmRate', 0.2, 'NumCascadeStages', 5);
img = imread('test1.jpg');
detector = vision.CascadeObjectDetector('cats.xml');
bbox = step(detector, img);
detectedImg = insertObjectAnnotation(img,'rectangle', bbox, 'cat');
figure; imshow(detectedImg);
rmpath(imDir);
  댓글 수: 2
Nomi khan
Nomi khan 2014년 7월 25일
Dear harini , im also working on AIA research, can u please share details of your work done with me at nouman.ali@live.com hope that we can help each other
Nomi khan
Nomi khan 2014년 7월 25일
편집: Nomi khan 2014년 7월 25일
u need to create a codebook for this , the technical names are codebook, bag of words, bag of images or visual dictionary

댓글을 달려면 로그인하십시오.

답변 (1개)

Dima Lisin
Dima Lisin 2014년 5월 1일
You would need a separate detector for each object category.

카테고리

Help CenterFile Exchange에서 Computer Vision Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by