필터 지우기
필터 지우기

How can i detect the forehead of human face

조회 수: 1 (최근 30일)
djamaleddine djeldjli
djamaleddine djeldjli 2017년 2월 10일
편집: djamaleddine djeldjli 2017년 2월 11일
i detect human face but i need only the forehead may someone help me please thank you

답변 (1개)

Image Analyst
Image Analyst 2017년 2월 11일
Try running stdfilt() to look for smooth regions. limit the region(s) it finds to the area within some reasonable sized region right above the eyes. Why do you need the forehead?
  댓글 수: 2
djamaleddine djeldjli
djamaleddine djeldjli 2017년 2월 11일
i am using it to measure body temperature, but how can i use stdfilt() to detecte forehead from a face detectef by vision.CascadeObjectDetector
djamaleddine djeldjli
djamaleddine djeldjli 2017년 2월 11일
편집: djamaleddine djeldjli 2017년 2월 11일
this is the code
rgbImage =imread('6.jpg');
% imshow(rgbImage);
faceDetector = vision.CascadeObjectDetector;
faceDetector.MergeThreshold=16;
bboxes = step(faceDetector, rgbImage);
IFaces = insertObjectAnnotation(rgbImage, 'rectangle', bboxes, 'Face');
figure, imshow(IFaces), title('Detected faces');
faceimage = imcrop(rgbImage,bboxes);
imshow(faceimage);
so to how can i do to detecte the forehead

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

Community Treasure Hunt

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

Start Hunting!

Translated by