Skip to content

Commit

Permalink
Tune vision (#1407)
Browse files Browse the repository at this point in the history
* tune vision

* reformat
  • Loading branch information
schluis authored Jul 21, 2024
1 parent 5bffb7f commit 89ed237
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
8 changes: 4 additions & 4 deletions etc/parameters/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,21 +110,21 @@
"vision_top": {
"horizontal_edge_detection_source": "Luminance",
"horizontal_edge_threshold": 20,
"horizontal_median_mode": "ThreePixels",
"horizontal_median_mode": "FivePixels",
"horizontal_stride": 4,
"vertical_edge_detection_source": "Luminance",
"vertical_edge_threshold": 20,
"vertical_median_mode": "ThreePixels",
"vertical_median_mode": "FivePixels",
"vertical_stride": 2
},
"vision_bottom": {
"horizontal_edge_detection_source": "Luminance",
"horizontal_edge_threshold": 32,
"horizontal_median_mode": "ThreePixels",
"horizontal_median_mode": "FivePixels",
"horizontal_stride": 4,
"vertical_edge_detection_source": "Luminance",
"vertical_edge_threshold": 32,
"vertical_median_mode": "ThreePixels",
"vertical_median_mode": "FivePixels",
"vertical_stride": 8
}
},
Expand Down
20 changes: 13 additions & 7 deletions etc/parameters/rc24_indoor/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,29 @@
}
},
"image_segmenter": {
"vision_top": {
"vertical_edge_threshold": 13,
"horizontal_edge_threshold": 20
},
"vision_bottom": {
"vertical_edge_threshold": 15,
"vertical_median_mode": "FivePixels"
},
"vision_top": {
"vertical_edge_threshold": 10
"horizontal_edge_threshold": 20
}
},
"line_detection": {
"vision_bottom": {
"gradient_alignment": -0.8
},
"vision_top": {
"allowed_projected_segment_length": {
"start": 0.02
},
"gradient_alignment": -0.8
},
"vision_bottom": {
"gradient_alignment": -0.8
}
},
"feet_detection": {
"vision_top": {
"minimum_feet_width": 0.03
}
}
}

0 comments on commit 89ed237

Please sign in to comment.