Commit afcb4011 authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Update README.md

parent a06a26ad
......@@ -3,6 +3,7 @@
This ROS node is intended to easily and dynamically obtain the color segmentation parameters needed by the
[iri_blob_detector](https://gitlab.iri.upc.edu/seat_adc/iri_blob_detector "IRI blob detector node"). It provides
the GUI interface shown next:
![GUI interface](https://gitlab.iri.upc.edu/seat_adc/iri_color_calibration/blob/master/doc/color_calibration.png "GUI interface")
The GUI provides the following features:
......@@ -68,16 +69,16 @@ This node provides two launch files:
* **blob_detector_sim.launch**: this file include the the simulation launch file for the iri_blob_detector node and launches the color calibration tool.
It expects the model car simulator to be already running.
Once the node is running, the image seen by the camera should appear on screen.
First select the desired maximum and minimum sizes of the blobs depending on the size of the desired region. By default both values are set to 0 and no blob will appear on screen if they are not changed.
Once the node is running, the image seen by the camera should appear on screen. Follow this steps to generate a new configuration file for the iri_blob_detector node.
Start clicking with the mouse on the desired region. The RGB information of each pixel should appear on the right table, and the HSV filter parameters should be updated to reflect the current selection. Also, all the current detected blobs will appear on screen. If no blobs appear try to lower the minimum size or increase the maximum size parameters.
* First select the desired maximum and minimum sizes of the blobs depending on the size of the desired region. By default both values are set to 0 and no blob will appear on screen if they are not changed.
You can delete a single pixel from the list by selecting it and clicking the *delete selected* button. You can also start over by clicking the *delete all* button.
* Start clicking with the mouse on the desired region. The RGB information of each pixel should appear on the right table, and the HSV filter parameters should be updated to reflect the current selection.
Also, all the current detected blobs will appear on screen. If no blobs appear try to lower the minimum size or increase the maximum size parameters.
Continue selecting and deleting pixels from the image and modifying the maximum and minimum sizes of the blobs until you get the desired result. Then introduce an identifier name for the current color parameters in the *color ID* filed, and click the *save params* button.
* You can delete a single pixel from the list by selecting it and clicking the *delete selected* button. You can also start over by clicking the *delete all* button.
* Continue selecting and deleting pixels from the image and modifying the maximum and minimum sizes of the blobs until you get the desired result. Then introduce an identifier name for the current color parameters in the *color ID* field, and click the *save params* button.
A new window will appear that allows you to select the path and the filename of the new YAML file. The filename must include the .yaml extension.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment