|
Algorithm 3 Pseudo code of the findBestPose function. |
-
1:
functionfindBestPose(poses , 3D corner points )
-
2:
calculate transformation from marker origin to each corner,
-
3:
for all poses(i) do
-
4:
for all 4 corners do
-
5:
-
6:
-
7:
-
8:
if
<score then
-
9:
score =
-
10:
index = i
-
11:
return index
|