Tuesday, June 12, 2012

Position Tracking

I have now finished the position tracking with minimal testing. The spacing I am using is at a size that I find reasonable for only two cameras. I ended up just having a x and a y camera. This turned out to be the easiest way as I knew it would become a simple grid. The biggest problem I had from this was the distortion of view a camera has the further the distance of the object is. This means the distance to travel across the x value when close to the camera will appear to be the same value as traveling along the x value when further away. This would have ruined the experience for our virtual user as their walking would take longer in some places and shorter in others for the same distance.
The distortion of x value in a camera
Fortunately from my college days in math, I was able to come up with an equation using the shortest and longest physical lengths of the x value:

Xvalue * (maxXvalue/(maxXvalue + maxYvalue - Yvalue)) = Xvalue

This is not at all the right solution but it will serve its purpose for our simulation. It was good to see that my math from college have been put to use. This has allowed me to progress onto other important and urgent matters for our group which is followed by a daunting deadline.

References

“Educate Yourself on Security Cameras & Surveillance Equipment”, n.d. http://www.wecusurveillance.com/cctveducate.

No comments:

Post a Comment