In support of World Bank Group

Labeling overview

Labeling guide

Building labeling

When drawing a bounding box (bbox) around buildings:

  • Make sure the bbox includes the entire building.
  • Only draw the bbox around the front face (or façade) of the building. (This is helps when linking the streetview properties to the building footprint map). Include the roof eave only if the material of construction is concrete, on other cases not include the roof eave in the bbox.
  • After drawing the bbox, check all building properties.
  • If you start labeling buildings in an image, be sure to complete labeling the other buildings in the image.

Note:

The bounding box covers only the building facade since it contains all the information needed to label the building features, which is why the ML team decided to focus on labeling and detecting the building facade.

For this reason, the annotation team looks for buildings that meet the following criteria:

  1. Prominent buildings that occupy 60-70% of the imagery and have their facade visible.
  2. Buildings that are at an angle of approximately 75 to 105 degrees (perpendicular) to the camera's capture angle.

This approach is helpful when matching building properties to building polygons in the post-processing step.

cvat_building_labeling

Repetitive or difficult labels

If there are multiple images in a row that are the same or very similar, it's okay to skip images. This may happen if the car was moving slowly when taking pictures or driving past a very similar scene (e.g., a field, forest, or very long building).

If a building property is hard to label or you are not sure how to label it, open a ticket in housing-passports-labeling and follow the pre-filled issue template. Be sure to tag a building expert in your ticket.

Special cases

1. Far away buildings

If the buildings are too far away, skip them because it will be hard to figure out all the properties. The cutoff distance should be about 10-15 meters, but use your judgement.

Here is an example where the buildings are too far away across a double highway:

2. Building corners

When the car drove around corners, the images will stop showing one face of a building and start showing another. In these cases, we should label only the images where the image contains a single face or façade, as you can see in the gif below:

corner

3. Images in which the building base is not seen

When in the images the building base is not seen, only skip labeling the buildings. Example: There are barrier, wall or other objects in front of the building that covers the building base and you can't know where start to draw the bbox.

image

Exceptional case:

  1. For DOMINICA City: Given that the majority of street view images collected in Dominica lack visibility of the base of buildings, a decision was made to incorporate into the annotation process those buildings whose bases are not directly observable. In such cases, annotations were made by estimating the bases through a careful examination of surrounding buildings or, when necessary, by relying on the annotator's best judgment to determine the likely location of the building bases.

4. Images object block line of sight to a building

Note: The occluded property within the CVAT labeling program was used only on the first projects for these cities: Bogota, Cartagena, Lima, Neiva, St. Maarten and Mexico cities, but in Padang we didn't use this property.

When a car, tree, or other object is in front of a building, we should still label it if you can still see where a building starts or ends. Do your best to draw a good bbox, and then mark the building or building part with the “occluded” property within the CVAT labeling program. But if the car or other objects covers almost the entire building, it is better to skip this image.

image

Some examples about consider occluded or not

Consider like occluded

When a fence or other objects cover 30% or all the building or building part. e.g 👇

Consider like not occluded

When the fence or other objects does not cover all the building or building part and it allows us to see the building. e.g 👇

Skip labeling:

When the car or other objects covers almost the entire building or building part and it is difficult to recognize where the building starts or ends. e.g 👇

5. Building openings

Only label building openings (windows, doors, garages) when those openings are part of a building. Openings that are part of a stand-alone wall should be skipped.