How to determine the size of a face in pixels from an image

5 ビュー (過去 30 日間)
Justin Goh
Justin Goh 2022 年 9 月 30 日
回答済み: Image Analyst 2022 年 9 月 30 日
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
  1 件のコメント
KSSV
KSSV 2022 年 9 月 30 日
You have to attach one image to help you on.

サインインしてコメントする。

回答 (1 件)

Image Analyst
Image Analyst 2022 年 9 月 30 日
Maybe try drawpolygon to trace the face. Then get the x,y coordinates of what you drew and call polyarea.

カテゴリ

Help Center および File ExchangeModify Image Colors についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by