Target definition for Chezy Champs Friday night
Change-Id: I8ddd8d6da65111c1d5073d0ae06ebb5d0e08d32d
Signed-off-by: Jim Ostrowski <yimmy13@gmail.com>
diff --git a/y2020/vision/tools/python_code/target_definition.py b/y2020/vision/tools/python_code/target_definition.py
index 2b403d6..e518c8c 100644
--- a/y2020/vision/tools/python_code/target_definition.py
+++ b/y2020/vision/tools/python_code/target_definition.py
@@ -135,9 +135,8 @@
"target_definitions/ideal_power_port_red.json",
"target_definitions/ideal_power_port_blue.json")
training_target_list = TargetData.from_jsons(
- "target_definitions/training_target_power_port_taped.json",
- "target_definitions/training_target_power_port_red.json",
- "target_definitions/training_target_power_port_blue.json")
+ "target_definitions/cc_power_port_red_base_2021-10-29_15-08-50.json",
+ "target_definitions/cc_power_port_blue_base_2021-10-29_15-14-21.json")
return ideal_target_list, training_target_list
diff --git a/y2020/vision/tools/python_code/target_definitions/cc_power_port_blue_base.json b/y2020/vision/tools/python_code/target_definitions/cc_power_port_blue_base.json
new file mode 100644
index 0000000..5c44063
--- /dev/null
+++ b/y2020/vision/tools/python_code/target_definitions/cc_power_port_blue_base.json
@@ -0,0 +1 @@
+{"image_filename": "test_images/train_power_port_red.png", "polygon_list": [[[451, 679], [451, 304], [100, 302], [451, 74], [689, 74], [689, 302], [689, 679]]], "polygon_list_3d": [[[7.9915, -1.0795, 0.0], [7.9915, -1.0795, 1.93548], [7.9915, 0.127, 1.93548], [7.9915, -1.0795, 3.1038799999999998], [7.9915, -2.2986999999999997, 3.1038799999999998], [7.9915, -2.2986999999999997, 1.93548], [7.9915, -2.2986999999999997, 0.0]]], "target_rotation": [[-1.0, -0.0, -0.0], [-0.0, -1.0, -0.0], [-0.0, -0.0, 1.0]], "target_position": [7.9915, -1.759, 2.494], "target_point_2d": [[[570.0, 192.0]]], "target_radius": 12.0}
diff --git a/y2020/vision/tools/python_code/target_definitions/cc_power_port_blue_base_2021-10-29_15-14-21.json b/y2020/vision/tools/python_code/target_definitions/cc_power_port_blue_base_2021-10-29_15-14-21.json
new file mode 100644
index 0000000..b001e80
--- /dev/null
+++ b/y2020/vision/tools/python_code/target_definitions/cc_power_port_blue_base_2021-10-29_15-14-21.json
@@ -0,0 +1 @@
+{"image_filename": "test_images/cc_power_port_blue-2021-10-29.png", "polygon_list": [[[256, 393], [258, 210], [156, 209], [266, 111], [374, 110], [376, 209], [380, 397]]], "polygon_list_3d": [[[7.9915, -1.0795, 0.0], [7.9915, -1.0795, 1.93548], [7.9915, 0.127, 1.93548], [7.9915, -1.0795, 3.1038799999999998], [7.9915, -2.2986999999999997, 3.1038799999999998], [7.9915, -2.2986999999999997, 1.93548], [7.9915, -2.2986999999999997, 0.0]]], "target_rotation": [[-1.0, -0.0, -0.0], [-0.0, -1.0, -0.0], [-0.0, -0.0, 1.0]], "target_position": [7.9915, -1.759, 2.494], "target_point_2d": [[[318.0, 162.0]]], "target_radius": 12.0}
\ No newline at end of file
diff --git a/y2020/vision/tools/python_code/target_definitions/cc_power_port_red_base.json b/y2020/vision/tools/python_code/target_definitions/cc_power_port_red_base.json
new file mode 100644
index 0000000..1967533
--- /dev/null
+++ b/y2020/vision/tools/python_code/target_definitions/cc_power_port_red_base.json
@@ -0,0 +1 @@
+{"image_filename": "test_images/train_power_port_red.png", "polygon_list": [[[451, 679], [451, 304], [100, 302], [451, 74], [689, 74], [689, 302], [689, 679]]], "polygon_list_3d": [[[-7.9915, 1.0795, 0.0], [-7.9915, 1.0795, 1.93548], [-7.9915, -0.127, 1.93548], [-7.9915, 1.0795, 3.1038799999999998], [-7.9915, 2.2986999999999997, 3.1038799999999998], [-7.9915, 2.2986999999999997, 1.93548], [-7.9915, 2.2986999999999997, 0.0]]], "target_rotation": [[-1.0, -0.0, -0.0], [-0.0, -1.0, -0.0], [-0.0, -0.0, 1.0]], "target_position": [-7.9915, 1.759, 2.494], "target_point_2d": [[[570.0, 192.0]]], "target_radius": 12.0}
diff --git a/y2020/vision/tools/python_code/target_definitions/cc_power_port_red_base_2021-10-29_15-08-50.json b/y2020/vision/tools/python_code/target_definitions/cc_power_port_red_base_2021-10-29_15-08-50.json
new file mode 100644
index 0000000..90c42ba
--- /dev/null
+++ b/y2020/vision/tools/python_code/target_definitions/cc_power_port_red_base_2021-10-29_15-08-50.json
@@ -0,0 +1 @@
+{"image_filename": "test_images/cc_power_port_red-2021-10-29.png", "polygon_list": [[[247, 377], [242, 168], [112, 168], [245, 45], [372, 41], [381, 162], [386, 374]]], "polygon_list_3d": [[[-7.9915, 1.0795, 0.0], [-7.9915, 1.0795, 1.93548], [-7.9915, -0.127, 1.93548], [-7.9915, 1.0795, 3.1038799999999998], [-7.9915, 2.2986999999999997, 3.1038799999999998], [-7.9915, 2.2986999999999997, 1.93548], [-7.9915, 2.2986999999999997, 0.0]]], "target_rotation": [[-1.0, -0.0, -0.0], [-0.0, -1.0, -0.0], [-0.0, -0.0, 1.0]], "target_position": [-7.9915, 1.759, 2.494], "target_point_2d": [[[308.0, 107.0]]], "target_radius": 12.0}
\ No newline at end of file
diff --git a/y2020/vision/tools/python_code/test_images/cc_loading_bay_blue-2021-10-29.png b/y2020/vision/tools/python_code/test_images/cc_loading_bay_blue-2021-10-29.png
new file mode 100644
index 0000000..7331ef0
--- /dev/null
+++ b/y2020/vision/tools/python_code/test_images/cc_loading_bay_blue-2021-10-29.png
Binary files differ
diff --git a/y2020/vision/tools/python_code/test_images/cc_loading_bay_red-2021-10-29.png b/y2020/vision/tools/python_code/test_images/cc_loading_bay_red-2021-10-29.png
new file mode 100644
index 0000000..4f9dc55
--- /dev/null
+++ b/y2020/vision/tools/python_code/test_images/cc_loading_bay_red-2021-10-29.png
Binary files differ
diff --git a/y2020/vision/tools/python_code/test_images/cc_power_port_blue-2021-10-29.png b/y2020/vision/tools/python_code/test_images/cc_power_port_blue-2021-10-29.png
new file mode 100644
index 0000000..d60867d
--- /dev/null
+++ b/y2020/vision/tools/python_code/test_images/cc_power_port_blue-2021-10-29.png
Binary files differ
diff --git a/y2020/vision/tools/python_code/test_images/cc_power_port_red-2021-10-29.png b/y2020/vision/tools/python_code/test_images/cc_power_port_red-2021-10-29.png
new file mode 100644
index 0000000..9b44b31
--- /dev/null
+++ b/y2020/vision/tools/python_code/test_images/cc_power_port_red-2021-10-29.png
Binary files differ