Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
Add colored shape page (#127)
Browse files Browse the repository at this point in the history
* add colored shape page

* Addressed review comments

* Updated wording
  • Loading branch information
jasondaming authored Dec 15, 2021
1 parent e4f716e commit d3882c4
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 0 deletions.
41 changes: 41 additions & 0 deletions source/docs/getting-started/pipeline-tuning/colored-shape.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
Colored Shape
=============

``Shape`` is a seperate pipeline type that can be selected by using the dropdown in the upper right corner.

.. image:: images/pipelinetype.png
:width: 600
:alt: Dropdown to select the colored shape pipeline type.

Target Shape
------------

The contours tab has new options for specifying the properties of your colored shape. The target shape types are:

* Circle - No edges
* Triangle - 3 edges
* Quadrilateral - 4 edges
* Polygon - Any number of edges

.. image:: images/triangle.png
:width: 600
:alt: Dropdown to select the colored shape pipeline type.

Shape Settings
--------------

Only the settings used for the current target shape are available.

* Shape Simplification - This is the only setting available for polygon, triangle, and quadrilateral target shapes. This setting also needs to be fairly high (>75) if you are having any problems getting pefectly clean edges. This high setting helps prevent imperfections in the edge from being counted as a seperate edge.

* Circle Match Distance - How close the centroid of a contour must be to the center of the circle in order for them to be matched. This value is usually pretty small (<25) as you usually only want to identify circles that are nearly centered in the contour.

* Radius - Percentage of the frame that the radius of the circle represents.

* Max Canny Threshold - This sets the amount of change between pixels needed to be considered an edge. The smaller it is, the more false circles may be detected. Circles with more points along their ring having high contrast values will be returned first.

* Circle Accuracy - This determines how perfect the circle contour must be in order to be considered a circle. Low values (<40) are required to detect things that aren't perfect circles.

.. image:: images/pumpkin.png
:width: 600
:alt: Dropdown to select the colored shape pipeline type.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions source/docs/getting-started/pipeline-tuning/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Pipeline Tuning
input
thresholding
contour-filtering
colored-shape
output
calibration
3D

0 comments on commit d3882c4

Please sign in to comment.