Record Skin Tone RGB values
조회 수: 5 (최근 30일)
이전 댓글 표시
Hey student here need some general guidance. I was looking into the image processing toolbox (and other toolboxes like the Computer Vision toolbox) and was wondering if there is a way to find the RGB value of a user's skin tone.
The more advanced way of doing I was thinking would be detecting a user's outline face similar to this: Face Detection Using Skin Tone Threshold(RGB-YCrCb): Python Implementation. | by Mahmoud Harmouch | The Startup | Medium (except this is in Python). From there, find a way to omit facial features like eyebrows, eyes, lips etc. Then take the average of the RGB values to find the average skin tone color.
That seems a bit advanced, so I was thinking of creating a white card with an arrow pointing to the side. The goal is for the user to point the arrow at the area of his/her face, and the goal is to detect the arrow, then identify the color of skin that is being pointed by the arrow, then record the RGB values.
I would appreciate any general guidance on where to start, and what functions are the most applicable.
댓글 수: 0
답변 (1개)
yanqi liu
2021년 10월 18일
sir,may be use haar-like to detec face
clc; clear all; close all;
faceDetector = vision.CascadeObjectDetector;
[im,map] = imread('kids.tif');
im = ind2rgb(im,map);
faces = faceDetector(im);
im2 = insertShape(im,'FilledRectangle',faces);
figure; imshow(im2, []);
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
