File size: 5,875 Bytes
6a6918c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
import numpy as np
pose = np.array(
    [[[2.6978e+02, 5.4799e+01, 9.9702e-01],
         [2.7735e+02, 8.0360e+01, 9.9991e-01],
         [2.7792e+02, 1.0644e+02, 9.9998e-01],
         [2.7866e+02, 1.3190e+02, 9.9988e-01],
         [2.8056e+02, 1.5711e+02, 8.7975e-01]],

        [[2.7160e+02, 1.8630e+02, 9.9943e-01],
         [2.7907e+02, 2.1047e+02, 9.9792e-01],
         [2.7965e+02, 2.3873e+02, 9.4452e-01],
         [2.8155e+02, 2.6565e+02, 9.4245e-02],
         [2.8508e+02, 2.8900e+02, 4.7978e-05]],

        [[2.7191e+02, 1.8308e+02, 9.7766e-01],
         [2.7931e+02, 2.0942e+02, 9.9106e-01],
         [2.8075e+02, 2.3690e+02, 9.9677e-01],
         [2.8196e+02, 2.6651e+02, 8.2379e-01],
         [2.8113e+02, 2.8766e+02, 6.3545e-05]]]
)
segment = np.array(
    [[     81.934,      247.37],
        [     81.934,      248.93],
        [     80.369,       250.5],
        [     79.847,       250.5],
        [     79.325,      251.02],
        [     78.803,      251.02],
        [     78.281,      251.54],
        [     77.759,      251.54],
        [     77.238,      252.07],
        [     76.194,      252.07],
        [     75.672,      252.59],
        [     74.106,      252.59],
        [     73.584,      253.11],
        [     72.541,      253.11],
        [     72.019,      253.63],
        [     70.975,      253.63],
        [     70.453,      254.15],
        [     69.409,      254.15],
        [     68.888,      254.68],
        [     68.366,      254.68],
        [     67.844,       255.2],
        [     65.756,       255.2],
        [     65.234,      255.72],
        [     64.191,      255.72],
        [     63.669,      256.24],
        [     61.581,      256.24],
        [     61.059,      256.76],
        [      58.45,      256.76],
        [     57.928,      257.28],
        [     55.319,      257.28],
        [     54.797,      257.81],
        [     52.188,      257.81],
        [     51.666,      258.33],
        [     48.534,      258.33],
        [     48.013,      258.85],
        [     44.881,      258.85],
        [     44.359,      259.37],
        [     38.097,      259.37],
        [     37.575,      259.89],
        [     1.0438,      259.89],
        [     1.0438,      333.48],
        [     333.48,      333.48],
        [     333.48,      269.29],
        [     332.43,      269.29],
        [     331.91,      268.77],
        [     322.52,      268.77],
        [        322,      268.24],
        [     315.21,      268.24],
        [     314.69,      267.72],
        [     311.04,      267.72],
        [     310.52,      268.24],
        [     302.69,      268.24],
        [     302.17,      268.77],
        [      288.6,      268.77],
        [     288.08,      268.24],
        [     284.42,      268.24],
        [      283.9,      267.72],
        [     280.77,      267.72],
        [     280.25,       267.2],
        [     278.16,       267.2],
        [     277.64,      266.68],
        [     276.07,      266.68],
        [     275.55,      266.16],
        [     274.51,      266.16],
        [     273.98,      265.63],
        [     270.85,      265.63],
        [     270.33,      265.11],
        [     264.59,      265.11],
        [     264.07,      264.59],
        [     258.33,      264.59],
        [     257.81,      264.07],
        [     254.68,      264.07],
        [     254.15,      263.55],
        [     251.54,      263.55],
        [     251.02,      263.02],
        [     249.46,      263.02],
        [     248.93,       262.5],
        [     246.85,       262.5],
        [     246.33,      261.98],
        [     244.76,      261.98],
        [     244.24,      261.46],
        [     237.45,      261.46],
        [     236.93,      260.94],
        [     236.41,      261.46],
        [     231.71,      261.46],
        [     231.19,      261.98],
        [     228.06,      261.98],
        [     227.54,       262.5],
        [     223.36,       262.5],
        [     222.84,      263.02],
        [      217.1,      263.02],
        [     216.58,       262.5],
        [      212.4,       262.5],
        [     211.88,      261.98],
        [     210.84,      261.98],
        [     210.32,      261.46],
        [     208.75,      261.46],
        [     208.23,      260.94],
        [     206.66,      260.94],
        [     206.14,      260.42],
        [     203.53,      260.42],
        [     203.01,      259.89],
        [     198.31,      259.89],
        [     197.79,      259.37],
        [     192.05,      259.37],
        [     191.53,      258.85],
        [     187.88,      258.85],
        [     187.35,      258.33],
        [     185.79,      258.33],
        [     185.27,      257.81],
        [      183.7,      257.81],
        [     183.18,      257.28],
        [     180.57,      257.28],
        [     180.05,      256.76],
        [     174.83,      256.76],
        [     174.31,      256.24],
        [     165.96,      256.24],
        [     165.43,      255.72],
        [     158.13,      255.72],
        [     157.61,       255.2],
        [     152.39,       255.2],
        [     151.87,      254.68],
        [     130.99,      254.68],
        [     130.47,       255.2],
        [     129.95,      254.68],
        [     125.25,      254.68],
        [     124.73,      254.15],
        [     123.16,      254.15],
        [     122.64,      253.63],
        [     122.12,      253.63],
        [      121.6,      253.11],
        [     120.55,      253.11],
        [     120.03,      252.59],
        [     119.51,      252.59],
        [     118.99,      252.07],
        [     118.47,      252.07],
        [     117.94,      251.54],
        [     117.42,      251.54],
        [     115.86,      249.98],
        [     115.33,      249.98],
        [     114.81,      249.46],
        [     114.81,      247.37]]
)