GMU:Tutorials/Performance Platform/Custom People Tracking: Difference between revisions

From Medien Wiki
No edit summary
No edit summary
Line 70: Line 70:
(x0, y0) and (x1, y1) mean the position of left-top point and right-bottom point of the blob. Hence, the center point of the blob is (x1-x0)/2, (y1-y0)/2. And it is (205-131)/2, (151-79)/2= (37,36) in my case.
(x0, y0) and (x1, y1) mean the position of left-top point and right-bottom point of the blob. Hence, the center point of the blob is (x1-x0)/2, (y1-y0)/2. And it is (205-131)/2, (151-79)/2= (37,36) in my case.


Above explains how to get more accurate value of blob's position under the adjustment in reading images. You can download the complete code of MaxMsp here: <https://github.com/ConnorFk/MaxMspDBLPosition>
Above explains how to get more accurate value of blob's position under the adjustment in reading images.  
 
'''You can download the complete code of MaxMsp here:''' <https://github.com/ConnorFk/MaxMspDBLPosition>


[[Image:testing result position result.png|thumb|left|653px]]
[[Image:testing result position result.png|thumb|left|653px]]