How can i detect nose region in an image
조회 수: 5 (최근 30일)
이전 댓글 표시
I am working on face recognition. I want to know how can i localize nose region in an image. thanks in advance
댓글 수: 0
답변 (2개)
Image Analyst
2013년 6월 19일
I'm sure you'll find a paper on that here: http://iris.usc.edu/Vision-Notes/bibliography/contentspeople.html#Face%20Recognition,%20Detection,%20Tracking,%20Gesture%20Recognition,%20Fingerprints,%20Biometrics.
The Computer Vision System Toolbox also has a face detection algorithm so maybe that will help you to get an approximate location. As you know the nose does not have a precise location. Where the nose starts and stops (its boundaries) is a judgment call. You can't pin it down to the nearest pixel, not even the tip of the nose.
댓글 수: 2
Andile Gumede
2016년 9월 7일
편집: Andile Gumede
2016년 9월 7일
You can use the cascade object detector that uses the Viola-Jones algorithm to detect people's faces, noses, eyes, mouth, or upper body. Here is a sample code below.
if true
%%nose detector
mouthDetector = vision.CascadeObjectDetector('Nose')
bbNose = step(mouthDetector, I)
INose = I(bbNose(1, 2):bbNose(1,2) +...
bbNose(1, 4),bbNose(1, 1):bbNose(1, 1) + bbNose(1,3));
cropedNose = insertObjectAnnotation(INose,'rectangle',bbNose,'nose');
figure, imshow(cropedNose);
end
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!