How to determine the size of a face in pixels from an image
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I am given an image to load onto matlab. I have to determine the size of each face in the image in terms of pixels (i.e 48x48 pixels). Without using any matlab toolboxs, how could I find the size of the face?
Sample image
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1141485/image.jpeg)
Risposte (1)
Image Analyst
il 30 Set 2022
Maybe try drawpolygon to trace the face. Then get the x,y coordinates of what you drew and call polyarea.
0 Commenti
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!