roof_shape#

Roof-shape classifier for satellite building imagery.

Classes#

RoofShapeClassifier

Classify roof shape from satellite imagery.

Module Contents#

class openplaces.io.enricher.detectors.roof_shape.RoofShapeClassifier(model_path: str | pathlib.Path | None = None)#

Classify roof shape from satellite imagery.

predict(images: openplaces.io.scrapers.types.ImageSet, **kwargs) dict#

Predict roof-shape classes for the provided image set.

Keyword arguments (e.g. batch_size, device, verbose) are passed through to predict_classes.