people mapping issue

Hello people I am trying to map the buddies in a room in a php page using Ajax and JQuery
I've created a way to do that but it is not very effective
I put a camera on the ceiling and I detected the moving buddies and I mapped them as points in the php page but the errors was fatal since the anything van move a certain a char anything and it will be mapped , and also if a person was asleep he will not be mapped
can you help me improve this or help me with a new idea

can you help me improve this

Without seeing any code? No.

Hello people I am trying to map the buddies in a room in a php page using Ajax and JQuery

So what does this have to do with an arduino?

you don't have to see the code , because I need the idea and I can write the code whatever it is
the problem is that I am looking for a technique that I can do this with arduino
I want to know if there is a way to use PIR or EPIR to do this ?? or the Ultra Sonic Range Finder ???
Is there an extension that does the job
I want the idea only and then I will publish the code so you can use it

Knowing that there are people in a room, whether those people are moving, and where the people are are three different requirements, with three different solutions.

You need to count the number of people that go into and out of the room, to know whether there are people in the room.

You can use a PIR to detect warm-bodied motion in the room. People, cats, dogs, moose, etc. moving will trigger the sensor.

For tracking where people are in a room, there is no easy solution. Each method of tracking an individual has its pros and cons. Mostly, the person being tracked has to know it, because they are wearing some kind of device that participates in the tracking process. That device needs to face the tracker, too.

If that is not practical, then computer vision becomes the only viable solution, and that leaves the Arduino out.

but the errors was fatal since the anything van move a certain a char anything and it will be mapped ,

Translation?

the accuracy, and error range is wide also when the lights are off the camera can't detect the motion and when somebody still without moving he will not be detected

you don't have to see the code , because I need the idea and I can write the code whatever it is the problem is that I am looking for a technique that I can do this with arduino I want to know if there is a way to use PIR or EPIR to do this ?? or the Ultra Sonic Range Finder ???
Is there an extension that does the job I want the idea only and then I will publish the code so you can use it

Well, the arduino can take input from sensors (some but probably not all) and do some simple stuff based on that input. What you want to do is very complex and based on what you have said so far, I doubt you have grasped the level of complexity involved. If you have specific detailed questions concerning interfacing gizmos to the arduino, you will probably get a lot of help. I doubt that the forum members have the time or inclination to do your whole project for you. You should start with google to see what others have already done with "people detection" and the issues involved.

Thats quite a complex project for the arduino hardware, image processing isnt one of the arduino's strong point which by your description is what your doing. There is software algorithms out there for face recognition and Im sure a little tinker these could be modified for a top down view to mark where everyone is in the room, Same idea as a planetary auto lander, where the landscape is scanned in before take off, when the lander gets there it can "see" the landscape below and change course during decent based on preprogrammed maps and desirable and avoidable locations marked in.

I doubt that the forum members have the time or inclination to do your whole project for you

:slight_smile: buddy I am a software developer ( an experience of 5 years ) , I just want you to help me with names of sensor or a brief idea I can do the rest , and my experience in arduino is quit long

Have you thought of a thermal camera?

buddy I am a software developer ( an experience of 5 years ) , I just want you to help me with names of sensor or a brief idea I can do the rest , and my experience in arduino is quit long

Well, Woohoo!!! You really need to focus on finding a "people sensor" to hook to the arduino. :slight_smile: Shouldn't be that hard should it? As to sensors to connect to an arduino, sites like sparkfun have a selection to start with. As previously mentioned, image processing would probably be the most reliable method. there is a program called roborealm that might be of interest to you (below link to another forum roborealm section). There is also a similar open source application available which you could port to your needs.

http://www.lynxmotion.net/viewforum.php?f=29

Thank you buddies
the idea of thermal camera is interesting
thank you all when I apply this section I will publish the whole project online