|
36 | 36 | # ================================================================== |
37 | 37 | # LZA selection arrow |
38 | 38 | # add_infer_box_to_image(raw_image, 0.654308, 0.481553, 0.295529, 0.312621, image) # restaurant farmer |
39 | | -add_infer_box_to_image(raw_image, 0.543, 0.508, 0.365, 0.253, image) # Jacinthe farmer |
| 39 | +# add_infer_box_to_image(raw_image, 0.543, 0.508, 0.365, 0.253, image) # Jacinthe farmer |
40 | 40 |
|
41 | 41 | # ================================================================== |
42 | 42 | # LZA main menu detector |
43 | | -add_infer_box_to_image(raw_image, 0.87, 0.940, 0.077, 0.044, image) # detect button B |
| 43 | +# add_infer_box_to_image(raw_image, 0.87, 0.940, 0.077, 0.044, image) # detect button B |
44 | 44 |
|
45 | 45 |
|
46 | 46 | # ================================================================== |
|
51 | 51 | # ================================================================== |
52 | 52 | # LZA box system cursor detection |
53 | 53 | # triangle_upper_edge_width = 0.008 |
54 | | -# traingle_full_height = 0.03 |
| 54 | +# traingle_full_height = 0.026 |
55 | 55 | # for row in range(6): |
56 | | -# y = 0.120 if row == 0 else 0.331 + (0.797 - 0.331)/ 4.0 * (row-1) |
| 56 | +# y = 0.122 if row == 0 else 0.333 + (0.797 - 0.331)/ 4.0 * (row-1) |
57 | 57 | # for col in range(6): |
58 | 58 | # x = 0.058 + col*(0.386 - 0.059)/5.0 |
59 | | -# add_infer_box_to_image(raw_image, x, y, 0.020, traingle_full_height, image) |
| 59 | +# add_infer_box_to_image(raw_image, x, y, 0.018, traingle_full_height, image) |
60 | 60 | # Pixel (x,y) = (775, 136), (0.404, 0.126), rgb=[255,188,245,71] hsv=[ 80 181 245] |
61 | 61 | # Pixel (x,y) = (759, 135), (0.395, 0.125), rgb=[255,182,233,70] hsv=[ 81 178 233] |
62 | 62 | # Pixel (x,y) = (796, 135), (0.415, 0.125), rgb=[255,181,239,63] hsv=[ 80 188 239] |
|
0 commit comments