This one has a lot of surface area and I kind of spiraled at first.
Start by framing the problem as an ill-posed inverse problem where absolute height is unidentifiable from a single image without additional cues. Propose a multi-stage ML system that first estimates relative scale using human body proportions and scene context, then calibrates to absolute height using learned priors or reference objects. Discuss how to handle ambiguity through probabilistic outputs and validation strategies.
Pro tip: Acknowledge the fundamental ambiguity upfront and propose a fallback to relative height ranking when absolute prediction is impossible—this shows you understand real-world constraints and avoids overpromising. Also, mention that you'd leverage anthropometric statistics (e.g., head-to-body ratio) as a strong prior, which is often overlooked.
Clarify that without focal length or distance, absolute height is not uniquely determined from a single image. Define the goal as predicting height up to a scale factor or using learned priors to resolve ambiguity.
Gather a dataset of images with multiple people, annotated with actual heights, camera parameters (if available), and distances. Include diverse scenes, poses, and camera setups to train robust models.
Use a pose estimation model to detect body keypoints and compute relative proportions (e.g., head size, limb lengths). Combine with scene cues like ground plane and vanishing points to estimate relative scale between people.
Train a model that takes relative features and outputs absolute height by learning anthropometric priors (e.g., average head-to-height ratio) and contextual cues (e.g., known object sizes). Use probabilistic regression to output a distribution.
Evaluate using metrics like mean absolute error and calibration of uncertainty. Implement fallback to relative height ranking when confidence is low, and discuss how to handle edge cases like children or unusual poses.
AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.