Detect Human Height, Ping))) sensor?
Hello all, this is my first post! I have experience with the basic stamp and I'm just getting my feet wet with the propeller. My background is more in software programming than hardware. (Just thought I would introduce myself)
Anyway- I'm working on a project right now that involves estimating human height (amongst other things) and having some issues. I ordered a Ping))) sensor with some reservations (the manual mentioned possible errors with soft material (hair) and·irregularly shaped objects (head, hair, shoulders)). It works great for measing things that are flat or reflective, but it can't measure from ceiling to carpet or if someone is standing underneath it (I have it ceiling mounted).
I'm using the sample code for the propeller that came with the Ping sensor. Firstly, is there anything I can do to increase the accuracy of this sensor for my purposes (measuring human height)? I've tried averaging over 20 samples or so and that doesn't effect it at all for these soft objects.
If not, can anyone recommend another sensor or type of sensor that can get the job done? Will·ultrasound sensors·in general simply not work? I was looking at this one:·http://www.trossenrobotics.com/maxbotix-lv-maxsonar-ez1.aspx
It specifically mentions that "The MaxSonar®-EZ1™ or the LV-MaxSonar-EZ1 will detect a person (an acoustically soft target) to 8 to 10 feet or more." but I'm still a little skeptical.
Maybe an IR sensor would work better? http://www.trossenrobotics.com/sharp-ir-distance-sensor-gp2y0a02yk.aspx
Serial communication or analog pulse width would work, hopefully I can get it running with the propeller without example code.
I appreciate any insights, and thanks for reading!
Anyway- I'm working on a project right now that involves estimating human height (amongst other things) and having some issues. I ordered a Ping))) sensor with some reservations (the manual mentioned possible errors with soft material (hair) and·irregularly shaped objects (head, hair, shoulders)). It works great for measing things that are flat or reflective, but it can't measure from ceiling to carpet or if someone is standing underneath it (I have it ceiling mounted).
I'm using the sample code for the propeller that came with the Ping sensor. Firstly, is there anything I can do to increase the accuracy of this sensor for my purposes (measuring human height)? I've tried averaging over 20 samples or so and that doesn't effect it at all for these soft objects.
If not, can anyone recommend another sensor or type of sensor that can get the job done? Will·ultrasound sensors·in general simply not work? I was looking at this one:·http://www.trossenrobotics.com/maxbotix-lv-maxsonar-ez1.aspx
It specifically mentions that "The MaxSonar®-EZ1™ or the LV-MaxSonar-EZ1 will detect a person (an acoustically soft target) to 8 to 10 feet or more." but I'm still a little skeptical.
Maybe an IR sensor would work better? http://www.trossenrobotics.com/sharp-ir-distance-sensor-gp2y0a02yk.aspx
Serial communication or analog pulse width would work, hopefully I can get it running with the propeller without example code.
I appreciate any insights, and thanks for reading!
Comments
I think that, to get any kind of accurate height estimate, you'll need some kind of side mounted sensor, even a mirror, so you can pass a moving narrow light beam (like IR) through the space occupied by the head and detect the height where the head stops and open space begins.
Duffer
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST
1uffakind.com/robots/povBitMapBuilder.php
1uffakind.com/robots/resistorLadder.php
Consider that all primates like to look at themselves in a mirror. At each entrance, you set up a camera that faces the person as he/she walks in. They instantly see themselves on a large TV screen (which happens to be where the camera is positioned) and for a second or two they will gaze toward the camera. From right beside the camera an invisible infrared beam shines into their eyes, which reflects off their retinae. (Yes, like the red eye effect you see in some photographs.) Using the right filtration, you could isolate these reflections and measure their height. I'm sure you can find a formula that relates eye position to actual height of a person. In fact, I think the eyes are pretty much in the center of the head on most people. Most people will produce two such dots so you'll get some idea of how tilted they are. If you need to get them to look away so the next person coming up gets measured without interference from the first, use two TVs and switch their pictures so each moving primate stays interested in only his/her own visage.
Well, it's just a thought.
Mark
It could be done purely in software with two video cameras (a group at MIT has done a lot of work in this area) but it isn't easy.
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
Post Edited (Leon) : 9/25/2008 2:51:39 PM GMT
He thinks it works because of the high output of the device, but it goes right through your hair and apparently bounces off your head from what I can tell. I have to say it is pretty dang accurate. I'm not sure if it will be as good at pinpointing small objects as the Ping))) but at least it works for my needs (so far).
Thanks for all the suggestions!
Also, the transducer, that you found at Acroname is the same transducer from Senscomp. The Senscomp transducer I am using, I ordered from the same, but they are alittle pricy at about $80 each, but they work for my application...golfing is not a cheap sport.
If you use that sensor, you will have to devote 2 I/O's to run it, unlike the PING))).· PULSOUT a trigger to the device, then the VERY next line of code, PULSIN to measure the pulse.· The time between the exacution of those two commands with the BS2 doesn't seem to matter very much in the accuracy of distance measurement.· Pretty close to the inch with a tape measure....
Having said the above, the Senscomp transducer does have an internal trigger, but the stamp won't know when to start measuring the pulse....
Deno
But then one might ask, "Why bother with the electronics?"
It really is difficult to replace a tape measurer with an electronic tape measurer. The ultrasonic device is much handier to open doors, automate production lines, and auto-focus camera lenses.
Of course it is still fun to use on a roving BOEbot.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
It's sunny and warm here. It is always sunny and warm here.... (unless a typhoon blows through).
Tropically, G. Herzog [noparse][[/noparse] 黃鶴 ] in Taiwan
A scanning mirror... up and down. an IR LED set to a convenient frequency pointed into a projection lens(a lens from an old projector[noparse]:)[/noparse] ... and a bunch of IR Sensors on the opposite wall... all hooked up to one or more Propellers (depending upon how accurate and how fast you want to be)
At the time we designed for a company, this line of kiosk type vending devices, that measured the height of a person (and weight and other things which MaxBotix had no part of). The company found them to be reliable, and could detect and measure the height of a child or an adult with ease. We developed the EZ2, EZ3 and EZ4 for this user as they were doing this in the presence of nearby clutter. All detected a person's (child to adult) head from above. Even so, I would recommend the EZ1 as best all around, but if you have clutter, select one with a narrower beam.
Bob Gross
CEO MaxBotix Inc.