Info
この質問は閉じられています。 編集または回答するには再度開いてください。
does face detection is used for animal also?
1 回表示 (過去 30 日間)
古いコメントを表示
clear all clc %Detect objects using Viola-Jones Algorithm
%To detect Face FDetect = vision.CascadeObjectDetector;
%Read the input image I = imread('C:\Users\EIE52\Desktop\download (1).jpg');
%Returns Bounding Box values based on number of objects BB = step(FDetect,I);
figure, imshow(I); hold on for i = 1:size(BB,1) rectangle('Position',BB(i,:),'LineWidth',5,'LineStyle','-','EdgeColor','r'); end title('Face Detection'); hold off;
1 件のコメント
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!