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

Add colored shape page #127

Merged
merged 3 commits into from
Dec 15, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
jasondaming marked this conversation as resolved.
Show resolved Hide resolved
* 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, corresponding to the larger accumulator values, will be returned first.
jasondaming marked this conversation as resolved.
Show resolved Hide resolved

* 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