|
Re: Vision sample code
You need to setup Netconsole to view the Output of the printf commands. Example:
particle: 0 is a Vertical Target centerX: 219 centerY: 73
Scores rect: 71.474359 ARvert: 68.804771
ARhoriz: 1.463931
particle: 1 is a Horizontal Target centerX: 190 centerY: 45
Scores rect: 79.473684 ARvert: 0.000000
ARhoriz: 54.441782
Hot target located
Distance: 18.566375
particle: 0 is a Vertical Target centerX: 219 centerY: 73
Scores rect: 70.833333 ARvert: 67.708301
ARhoriz: 1.440602
particle: 1 is not a Target centerX: 190 centerY: 45
Scores rect: 79.459459 ARvert: 0.000000
ARhoriz: 44.115830
No hot target present
Distance: 18.500995
|