Hi I am trying to find the range of x and y values that is returned by the PIXY during tracking. With these values I would convert pixel displacement to actual distance. I just asked about this for the CMU4cam so if you could also tell me where to find this info in the documentation (what are these values referred to as?) perhaps I can read up on it to get a better understanding. Any help is appreciated.
Justin
Hi Justin,
This topic has been discussed a few times on the forums. Please see the last paragraph of my post “here”:http://cmucam.org/boards/8/topics/4105?r=4122#message-4122.
What values are you talking about exactly? I don’t believe we have any specific documentation regarding displacement-to-distance, although we will probably add some considering this is becoming a popular topic.
Scott
The values I’m referring to are the position values. For example, when tracking something towards the top of the screen, the serial output may give a y value of close to 255 (or some max value), while at the bottom of the screen it would output a value near zero. Same would go for x values when tracking something from left to right.
I saw a post where the person did some math to find some sort of range but it has me all confused as to what hes trying to figure out - http://cmucam.org/boards/8/topics/2915
Justin
Ah yes, I must not have read your post very carefully. The range of X and Y values are 320 and 200, respectively.
Scott
Perfect. Thank you.