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
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
回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Computer Vision Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!