In the "Rectangular Tracking - 2013.lvproj", there is the "distance.vi". I believe either something is wired incorrectly there or this
post is incorrect on which camera axis resolution you should use.
As from the post, it states that if you are trying to compute distance based off of the height of the sides of the rectangle, then you should use the Y axis resolution which is 240.
However, in the distance.vi (Attached to this post), it is obviously using the X Axis resolution of 320. The code still looks like its comparing against the height of the rectangles so this causes me some confusion.
Is the post wrong, the code wrong or am I just reading this wrong?