필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How can I classify faces for their geographical background? My code is below, but I don't think it'll work for classification.

조회 수: 1 (최근 30일)
cartman=imread('5.jpg');
l=size(cartman);
counter = 0;
for i=1:l(1)
for j=1:l(2)
for k=1:3
if (cartman(i,j,k) > 100)
cartman(i,j,k) = 255;
counter = counter+1;
else
cartman(i,j,k) = 0;
end
end
end
end
fprintf('i:%d\nj:%d\nk:%d\ncounter:%d\n',i,j,k,counter);
image(cartman);
imshow(cartman);

답변 (1개)

Image Analyst
Image Analyst 2014년 9월 18일
Do you mean like you want to identify the name of the person based on where you think the background is (desert, boat, football stadium, etc.)? Please attach a sample image. Classify the face into what categories? Race, gender, what???
  댓글 수: 2
Adil Mukhtar
Adil Mukhtar 2014년 12월 29일
Classification for the geographical background. Like from which region person belongs (country, province etc).
Image Analyst
Image Analyst 2014년 12월 29일
Do you think a 20 line program can do that? Not even a human observer can do that. A few have tried to classify a face's race:
Fu, S., He, H., Hou, Z., Learning Race from Face: A Survey, PAMI(36), No. 12, December 2014, pp. 2483-2509.
Roomi, S.M.M., Virasundarii, S.L., Selvamegala, S., Jeevanandham, S., Hariharasudhan, D., Race Classification Based on Facial Features, NCVPRIPG11(54-57).

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by