MATLAB code for counting number of children and adult in a video

9 ビュー (過去 30 日間)
Irshad
Irshad 2023 年 1 月 26 日
編集済み: Deep 2025 年 1 月 14 日
This is my dsp mini project. I tried my level best but couldn't. Plz help me and provide me code which will run on matlab

回答 (1 件)

Deep
Deep 2025 年 1 月 14 日
編集済み: Deep 2025 年 1 月 14 日
Assuming there is no perspective distortion, a reliable method to differentiate between children and adults in an image is by using head-to-body proportions, a technique often learned in human sketching. If you perform a web image search for "children vs adult proportions," you will see that, relative to body size, a child's head is significantly larger than an adult's.
With this understanding, you can implement this logic in MATLAB. The following resources may provide guidance on calculating head and body lengths in an image-
  1. Head detection and bounding box: https://www.mathworks.com/matlabcentral/fileexchange/70426-persons-counting-by-head-detection-in-real-time.
  2. Human pose detection, for extracting skeleton keypoints data: https://www.mathworks.com/help/releases/R2021b/deeplearning/ug/estimate-body-pose-using-deep-learning.html.

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by