How to detect faces without using vision.CascadeObjectDetector
7 ビュー (過去 30 日間)
古いコメントを表示
I am new in matlab I am trying to detect faces without using built in functions but I not able to do this any help.
0 件のコメント
回答 (1 件)
yanqi liu
2022 年 3 月 28 日
yes,sir,may be use ycbcr color segment to identify face as simple method
if possible,can you upload your image to analysis?
4 件のコメント
yanqi liu
2022 年 3 月 29 日
yes,sir,if use different image,may be check
such as
im = imresize(I, 0.3, 'bilinear');
detector = mtcnn.Detector("MinSize", 15, "MaxSize", 308, "PyramidScale", 5);
[bboxes, scores, landmarks] = detector.detect(im);
displayIm = insertObjectAnnotation(im, "rectangle", bboxes, scores, "LineWidth", 2);
imshow(displayIm)
hold on
for iFace = 1:numel(scores)
scatter(landmarks(iFace, :, 1), landmarks(iFace, :, 2), 'filled');
end
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!