Professional Documents
Culture Documents
Spec Document
Polygonannotation| Updated 4/1/2021
Contents
Debris
Hole
Annotation Rules
General Rules Description Example
Minimum size There is NO minimum Do NOT annotate debris that is less than 20cm x 20cm
size.
Any
debri
s on
the
road
whic
h is
less
than
20cm
x
20cm
does
NOT
need
to be
annot
ated
as
“Deb
ris”
Occlusion/Trun Example 1: The lowest part of trailers shall be annotated as a straight line
cation where the wheels are included.
Example 2: The trucks shall be annotated the same way as other vehicles like
buses or trailers. In case some wheels are elevated, the truck shall be
annotated as if the wheels were touching the road.
Ego Vehicle If any part of the ego
vehicle is present in
the bottom or sides of
the image, it shall be
annotated as void.
If any reflection of the
car/camera is present
in the image, it shall be
ignored.
In the example image
we should note that
bus lanes shall be
annotated as “road”.
Sidewalk Do NOT annotate the
sidewalk, or any non-
drivable area
Do annotate sidewalks
that are designed as a
shared space between
cars and people (notice
how they are at surface
level)
Lack of If the visibility is not
visibility due to good due to snow or
snow/dirt other material
obstructing the road
side, and it is not
traversable, the
annotator shall follow
the snow or material
edge as illustrated on
the right side. →
Example 2:
Example 2:
Example 3:
Labels & Attributes Description/Examples
Label Description Example
s-
Nest
0
Road Ego road is In the example image, the road is shown in green color.
defined as the
road surface on
which the ego
vehicle is
traveling,
including roads
that are
connected by
splits, merges,
entrances and
exits to this road.
Roads of
oncoming traffic
separated by a
barrier and other
roads not
connected to the
ego vehicle’s
road
should NOT be
annotated.
Driveways and
surrounding areas
should not be
annotated as ego- Do NOT annotate driveways
road
!
Do annotate side roads and entries
Debri Debris is defined
s as objects on
road larger than
20x20x20 cm.
Smaller objects
than the measure
specified (like
plastic bags,
cups, paper, …)
should be
ignored and the
road should be
annotated as if
they were not
there.
Temporary
Barriers: If the
road is separated
by a temporary
barrier, such as
construction site
barriers, it is not
treated as a metal
railing barrier so
it should be
annotated
“Debris”as per
the image to the
right.
Common Errors
Error Description Error Example (incorrect label)
Right border of the road
should extend until the
barrier pillars
The asphalt continues to
the barrier pillars, so the
label needs to extend to
the pillars
Glossary
Ego Car - The vehicle that is collecting the data & images seen in the task
Ego Road
The road where the Ego Car is driving. Includes the shoulder, intersections, on/off-
ramps, and parking lot driveways.
If there is a divider between the Ego Car and the other direction of traffic (ie. fence,
curb, patch of grass) the Ego Road is the part of the road in the same direction as the
Ego Vehicle
If there is no divider, the Ego Road includes both directions of traffic`
TOOLING
The Polygon Auto Subtraction Tool is used so that polygons DO NOT overlap with each
other
Note: Always Disable the Auto Subtraction Tool when creating PolyLines!
o Click on the Icon to enable & disable the Polygon Auto Subtraction Tool when
necessary
Polygon Auto Subtraction Tool Disabled:
LABELS
roads that are connected by splits, merges, entrances and exits to this road
Roads of oncoming traffic separated by a barrier and other roads not connected to the
annotated as void
If any reflection of the car/camera is present in the image, it shall be ignored
The lowest part of vehicles, trailers, trucks, & buses shall be annotated as a straight line
Include any holes, manholes, small patches of snow, or other small/flat features of the
road
Ego Road - Road (cont.)
The edge of the road could be a barrier, curb or any other flat/raised/lowered border
In the example, in the left image, the edge of the road is a barrier, while in the right one,
Sometimes roads with barriers between the driving directions have emergency openings
In these cases, the edge of the ego road shall be extrapolated to the other side of the
opening
Highway entry and exit ramps are annotated as ego road
Ego Road - Debris
Debris is defined as objects on road larger than 20x20x20 cm & are shown in Yellow
Smaller objects than the measure specified (like plastic bags, cups, paper, …) should
be ignored and the road should be annotated as if they were not there
The most common type of debris we can find are construction barriers
Steps to label debris
1. Identify debris on the road (If the answer is yes for the next
questions we can be sure it should be annotated as debris )
- The object is temporary obstructing the road ? (can the ego car run over it ?)
- Is it larger than 20x20x20 cm?
- Is it a construction barrier ?
Step 1 example
Make sure to make the ego road polygon surround the debris on the places that overlap
Step 2 example
3. Make the polygon around the entire object and label it as debris
Step example 3
the road. In this case, just mark around them for the ego road.
This is how it should have been annotated!
o Only those that cannot be carved out from the ego road should have holes
Do NOT follow the bottom of the vehicle when annotating / Hole polygons should be
Hole polygons includes; Motorcycle and Bicycle with rider in the middle of the road.
Examples of misusing HOLE annotations
An incorrect use of Hole label:
Here we can see the top left edge of the car is not overlapping the Ego Road , that is why it
In the picture it can we can see that the four edges of the car (imagine it like a square)