Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposed fix for object detection config file. #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all 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
12 changes: 6 additions & 6 deletions config/markers_configuration_sample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
# by the object detector. The size of the marker is 20x20 (the unit does not
# matter, but must be consistent with the calibration unit. We recommend to use
# millimeters).
# This simple declaration allows to define name aliases for markers. 'marker'
# This simple declaration allows to define name aliases for markers. 'tag'
# and 'size' are the only two mandatory fields.
myobject1:
- marker: 0
- tag: 0
size: 20

# The second object also has a single marker, but translated and rotated. The
Expand All @@ -24,7 +24,7 @@ myobject1:
# on the X axis followed by a rotation on the Y axis, followed by a rotation on
# the Z axis.
myobject2:
- marker: 1
- tag: 1
size: 30
translation: [10., 0., 0.]
rotation: [0., 0., 90.]
Expand All @@ -34,14 +34,14 @@ myobject2:
# If a marker sets the option 'keep' to 'true', the marker 3D position is
# returned besides the object.
myobject3:
- marker: 2
- tag: 2
size: 20
translation: [-50., -100., 0.0]
keep: true
- marker: 3
- tag: 3
size: 30
translation: [50., -100., 0.0]
- marker: 4
- tag: 4
size: 30
translation: [50., 100., 0.0]