From 34b42754b79754a0538311322cbb61d7cda17191 Mon Sep 17 00:00:00 2001 From: RonaldsonBellande Date: Mon, 22 Jul 2024 16:44:06 -0400 Subject: [PATCH] cv --- .../yaml/object_detection_params.yaml | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 ros_web_api_bellande_2d_computer_vision/yaml/object_detection_params.yaml diff --git a/ros_web_api_bellande_2d_computer_vision/yaml/object_detection_params.yaml b/ros_web_api_bellande_2d_computer_vision/yaml/object_detection_params.yaml new file mode 100644 index 0000000..303fe4b --- /dev/null +++ b/ros_web_api_bellande_2d_computer_vision/yaml/object_detection_params.yaml @@ -0,0 +1,56 @@ +# Copyright (C) 2024 Bellande Robotics Sensors Research Innovation Center, Ronaldson Bellande +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# Object Detection Parameters + +# Debug mode (true/false) +debug: false + +# Image processing parameters +gaussian_blur_size: 7 +gaussian_blur_sigma: 2.0 +canny_edge_th: 130.0 +hough_accum_resolution: 2.0 +min_circle_dist: 10.0 +hough_accum_th: 15.0 + +# Object detection thresholds +min_radius: 10 +max_radius: 200 + +# HSV color filtering thresholds +filter_h_min: 0 +filter_h_max: 360 +filter_s_min: 0 +filter_s_max: 255 +filter_v_min: 0 +filter_v_max: 255 + +# Second filter (if used) +use_second_filter: false +filter2_h_min: 0 +filter2_h_max: 360 +filter2_s_min: 0 +filter2_s_max: 255 +filter2_v_min: 0 +filter2_v_max: 255 + +# Morphological operation parameters +ellipse_size: 2 + +# Visualization parameters +draw_circles: true +circle_color: [0, 255, 0] # Green in BGR +circle_thickness: 2