Adding new target for working at MVHS. Cleanup of old models
Removed a bunch of old models and definitions from the Bellarmine practice
field. LEaving in Chezy Champs and other info for now, for
running from logs, etc.
Change-Id: I374983dc03f48845bd5fdfbd8381a8e0abd3af62
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 8d1c601..0266997 100644
--- a/y2020/vision/tools/python_code/target_definition.py
+++ b/y2020/vision/tools/python_code/target_definition.py
@@ -136,8 +136,7 @@
"target_definitions/ideal_power_port_red.json",
"target_definitions/ideal_power_port_blue.json")
training_target_list = TargetData.from_jsons(
- "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")
+ "target_definitions/mvhs_power_port_red_base_2021-11-06_14-18-22.json")
return ideal_target_list, training_target_list
diff --git a/y2020/vision/tools/python_code/target_definitions/ideal_power_port_taped_night.json b/y2020/vision/tools/python_code/target_definitions/ideal_power_port_taped_night.json
deleted file mode 100644
index 303838a..0000000
--- a/y2020/vision/tools/python_code/target_definitions/ideal_power_port_taped_night.json
+++ /dev/null
@@ -1 +0,0 @@
-{"image_filename": "test_images/partial_971_power_port_red_nighttime.png", "polygon_list": [[[217, 425], [215, 187], [78, 189], [212, 80], [344, 74], [347, 180], [370, 421]]], "polygon_list_3d": [[[-7.9915, 1.089, 0.0], [-7.9915, 1.089, 2.0193], [-7.9915, -0.11749999999999994, 2.0193], [-7.9915, 1.089, 3.0225999999999997], [-7.9915, 2.3082, 3.0225999999999997], [-7.9915, 2.3082, 2.0193], [-7.9915, 2.3082, 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.6985999999999999, 2.464], "target_point_2d": [[[282.0, 132.0]]], "target_radius": 12.0}
\ No newline at end of file
diff --git a/y2020/vision/tools/python_code/target_definitions/mvhs_power_port_red_base.json b/y2020/vision/tools/python_code/target_definitions/mvhs_power_port_red_base.json
new file mode 100644
index 0000000..d951e13
--- /dev/null
+++ b/y2020/vision/tools/python_code/target_definitions/mvhs_power_port_red_base.json
@@ -0,0 +1 @@
+{"image_filename": "test_images/partial_971_power_port_red_daytime.png", "polygon_list": [[[198, 473], [203, 154], [23, 156], [204, 19], [374, 16], [381, 152], [397, 467]]], "polygon_list_3d": [[[-7.9915, 1.089, 0.0], [-7.9915, 1.089, 2.0193], [-7.9915, -0.11749999999999994, 2.0193], [-7.9915, 1.089, 3.0225999999999997], [-7.9915, 2.3082, 3.0225999999999997], [-7.9915, 2.3082, 2.0193], [-7.9915, 2.3082, 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.6985999999999999, 2.464], "target_point_2d": [[[290.0, 87.0]]], "target_radius": 12.0}
\ No newline at end of file
diff --git a/y2020/vision/tools/python_code/target_definitions/mvhs_power_port_red_base_2021-11-06_14-18-22.json b/y2020/vision/tools/python_code/target_definitions/mvhs_power_port_red_base_2021-11-06_14-18-22.json
new file mode 100644
index 0000000..82fdd9b
--- /dev/null
+++ b/y2020/vision/tools/python_code/target_definitions/mvhs_power_port_red_base_2021-11-06_14-18-22.json
@@ -0,0 +1 @@
+{"image_filename": "test_images/mvhs_power_port_red-2021-11-06.png", "polygon_list": [[[196, 435], [197, 178], [43, 178], [200, 74], [331, 68], [338, 173], [353, 428]]], "polygon_list_3d": [[[-7.9915, 1.089, 0.0], [-7.9915, 1.089, 2.0193], [-7.9915, -0.11749999999999994, 2.0193], [-7.9915, 1.089, 3.0225999999999997], [-7.9915, 2.3082, 3.0225999999999997], [-7.9915, 2.3082, 2.0193], [-7.9915, 2.3082, 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.6985999999999999, 2.464], "target_point_2d": [[[265.0, 123.0]]], "target_radius": 12.0}
\ No newline at end of file
diff --git a/y2020/vision/tools/python_code/target_definitions/training_target_power_port_taped_night.json b/y2020/vision/tools/python_code/target_definitions/training_target_power_port_taped_night.json
deleted file mode 100644
index 303838a..0000000
--- a/y2020/vision/tools/python_code/target_definitions/training_target_power_port_taped_night.json
+++ /dev/null
@@ -1 +0,0 @@
-{"image_filename": "test_images/partial_971_power_port_red_nighttime.png", "polygon_list": [[[217, 425], [215, 187], [78, 189], [212, 80], [344, 74], [347, 180], [370, 421]]], "polygon_list_3d": [[[-7.9915, 1.089, 0.0], [-7.9915, 1.089, 2.0193], [-7.9915, -0.11749999999999994, 2.0193], [-7.9915, 1.089, 3.0225999999999997], [-7.9915, 2.3082, 3.0225999999999997], [-7.9915, 2.3082, 2.0193], [-7.9915, 2.3082, 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.6985999999999999, 2.464], "target_point_2d": [[[282.0, 132.0]]], "target_radius": 12.0}
\ No newline at end of file
diff --git a/y2020/vision/tools/python_code/test_images/mvhs_power_port_red-2021-11-06.png b/y2020/vision/tools/python_code/test_images/mvhs_power_port_red-2021-11-06.png
new file mode 100644
index 0000000..918c9cf
--- /dev/null
+++ b/y2020/vision/tools/python_code/test_images/mvhs_power_port_red-2021-11-06.png
Binary files differ
diff --git a/y2020/vision/tools/python_code/test_images/partial_971_power_port_red.png b/y2020/vision/tools/python_code/test_images/partial_971_power_port_red.png
deleted file mode 100644
index ec402c0..0000000
--- a/y2020/vision/tools/python_code/test_images/partial_971_power_port_red.png
+++ /dev/null
Binary files differ
diff --git a/y2020/vision/tools/python_code/test_images/partial_971_power_port_red_nighttime.png b/y2020/vision/tools/python_code/test_images/partial_971_power_port_red_nighttime.png
deleted file mode 100644
index 6f4a54c..0000000
--- a/y2020/vision/tools/python_code/test_images/partial_971_power_port_red_nighttime.png
+++ /dev/null
Binary files differ
diff --git a/y2020/vision/tools/python_code/test_images/test_VR_sample1.png b/y2020/vision/tools/python_code/test_images/test_VR_sample1.png
deleted file mode 100644
index 86495b2..0000000
--- a/y2020/vision/tools/python_code/test_images/test_VR_sample1.png
+++ /dev/null
Binary files differ
diff --git a/y2020/vision/tools/python_code/test_images/test_raspi3_sample.jpg b/y2020/vision/tools/python_code/test_images/test_raspi3_sample.jpg
deleted file mode 100644
index 376149c..0000000
--- a/y2020/vision/tools/python_code/test_images/test_raspi3_sample.jpg
+++ /dev/null
Binary files differ
diff --git a/y2020/vision/tools/python_code/test_images/test_taped_dusk-2021-04-03-19-30-00.png b/y2020/vision/tools/python_code/test_images/test_taped_dusk-2021-04-03-19-30-00.png
deleted file mode 100644
index fb4952e..0000000
--- a/y2020/vision/tools/python_code/test_images/test_taped_dusk-2021-04-03-19-30-00.png
+++ /dev/null
Binary files differ
diff --git a/y2020/vision/tools/python_code/test_images/train_cafeteria-2020-02-13-16-27-25.png b/y2020/vision/tools/python_code/test_images/train_cafeteria-2020-02-13-16-27-25.png
deleted file mode 100644
index be67176..0000000
--- a/y2020/vision/tools/python_code/test_images/train_cafeteria-2020-02-13-16-27-25.png
+++ /dev/null
Binary files differ
diff --git a/y2020/vision/tools/python_code/test_images/train_loading_bay.xcf b/y2020/vision/tools/python_code/test_images/train_loading_bay.xcf
deleted file mode 100644
index 6bc62f5..0000000
--- a/y2020/vision/tools/python_code/test_images/train_loading_bay.xcf
+++ /dev/null
Binary files differ
diff --git a/y2020/vision/tools/python_code/test_images/train_power_port_red.xcf b/y2020/vision/tools/python_code/test_images/train_power_port_red.xcf
deleted file mode 100644
index ad6bed1..0000000
--- a/y2020/vision/tools/python_code/test_images/train_power_port_red.xcf
+++ /dev/null
Binary files differ
diff --git a/y2020/vision/tools/python_code/test_images/train_power_port_taped-2020-08-20-13-27-50.png b/y2020/vision/tools/python_code/test_images/train_power_port_taped-2020-08-20-13-27-50.png
deleted file mode 100644
index b635a12..0000000
--- a/y2020/vision/tools/python_code/test_images/train_power_port_taped-2020-08-20-13-27-50.png
+++ /dev/null
Binary files differ