CrazyEngineers
  • first, sorry for my bad english 😛

    i have an idea for my project, i want to detect human height from photo (digital).
    if the distance from my camera to the object is "X"
    i want the X is random, or we can take a pic from anywhere. even it is not full body, but the head must be taken.

    anyone can help me to have the method?
    thank you so much

    for the next step i already have the concept, 😁
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • simplycoder

    MemberOct 15, 2011

    I am unable to understand what you want. I am assuming that you have choice to fix the distance "X".
    |\
    H| \
    | \
    | \
    -----
    X

    Fix up at an angle theta, I would do it at 45 degrees, thus making distance "X", height of the object.
    This may not be feasible.

    So you need to calculate your angle somehow, use angle=arctan(h/x).
    You will get the height.
    Are you sure? This action cannot be undone.
    Cancel
  • KenJackson

    MemberOct 17, 2011

    dastoy
    i have an idea for my project, i want to detect human height from photo (digital).
    I'm very skeptical that this can be done.

    But if you have enough data, maybe you can find a ratio that is consistent across most people.
    That is, if you have 10000 pictures of various people and you know their heights, you could measure
    their facial height and width and distance between the eyes, etc. Then divide each measurement
    by their body height and see how consistent the answers are.

    If you can find such a constant ratio, you have only to make the same measurement on the unknown
    person's picture and multiply by your average constant ratio to get the height.

    As I say, I doubt you'll find a correlation, but that's the only potential solution I can think of.
    Are you sure? This action cannot be undone.
    Cancel
  • Rupam Das

    MemberOct 18, 2011

    I'm very skeptical that this can be done.
    Actually its pretty simple and accurate.

    All you need to know is focal length of the camera you are using and the distance of the person from camera. The best way is to take the camera to a distance such that the image of the person is from head to Leg. i.e. Head touches the top part of the image.

    Then it is a simple formulae
    Are you sure? This action cannot be undone.
    Cancel
  • KenJackson

    MemberOct 18, 2011

    Rupam Das
    Actually its pretty simple and accurate. ...such that the image of the person is from head to Leg... Then it is a simple formulae
    dastoy
    ... even it is not full body, but the head must be taken. ...
    My understanding is that the OP needs to estimate height from just a head photo, with no legs visible.
    That's the part that I'm skeptical about--not the trigonometry of calculating the size of something visible in a photo.
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register