Record Skin Tone RGB values
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
yanqi liu
il 18 Ott 2021
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 Commenti
Vedere anche
Categorie
Scopri di più su Call Python from MATLAB in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
