Hello, i am working on a personal project where i need to get the location of a person in the area of a circle and was wondering what would be the best way to approach this. My idea was using sensors above the person, but i am very new to this stuff so i would like to know the best approach i should take to get the location of the person i the circle (Look image).
Ty
Please define as clearly as possible what you mean by "location". Does it matter if arms and legs stick out?
Best way? Find any way You would manage to do it!
You could go for 2 sensing devices “looking” at the person. Use ultra sonic sensors and lots of math.
The very, very, first thing you need to do is tell us how you want the location to be described to you. Do you have the area marked out in a grid with a 1,000 locations and you want to know the numbers of the locations being covered? Or some other scheme?
Do you need to know where the feet are ? A camera on the ceiling looking straight down centered on the circle would probably be a good way to see which pixels of the disk are obstructed by the person, esp. if you can have a good contrast between the person and the ground.
Why the 2M height?
I think it's not the height, it's the circle on the floor that fits in 2m x 2m (1m radius disk)
@len002
Use a scanning LIDAR.

I need to know when the person gets close to the edge of the circle or if they are not in the circle.
My idea was to make a grid of the circle with xy coordinates and then give the person some coords inside the grid.
Assuming lighting conditions don’t change - With a fixed camera above you get a picture as grayscale
You take a reference picture with nonone - you identify which pixels correspond to the circle
Then you compare the pixels of any new picture with the reference picture for the circle zone and if you see a large difference then that’s someone standing there . It won’t be just one pixel it will be the full blocked area.
Ideally the camera is quite high above the circle
Thank you, the camera will be positioned fairly high above the circle so i think this would be a good idea <3
Does it have to be overhead?
No, not nesciserily any other ideas are also welcome.
Already suggested LIDAR
Have you heard of squaring a circle? Pretty difficult programming to make a square grid from a circle. Can you expand on your idea? have you tried to program such a grid?
The obvious choice is to use 2D polar coordinates, with the origin at the center of the circle.

