DeepPVMapper is an automated pipeline for large-scale rooftop photovoltaic detection in France, developed by Gabriel Kasmi during his PhD research at Mines Paris-PSL (2020–2024).
Purpose: to automatically process French IGN aerial imagery tiles, identify rooftop photovoltaic arrays, and extract their characteristics.
Main capabilities:
- Use InceptionV3 to classify imagery tiles and filter out positive samples containing photovoltaics.
- Use FCN/DeepLab to segment positive samples and locate photovoltaic panel regions.
- Extract panel features via pypvroof, including area, tilt, azimuth, and installed capacity.
- Retain only residential-scale installations located on buildings, sized 1.7–36.1 kWp.
- The detection registry is exposed as a public MCP (Model Context Protocol) server via Streamable HTTP; MCP-compatible clients (such as Claude) can query 1.14 million+ detections in natural language, supporting searching detections, aggregating installed capacity by department, exploring regions, tracking annual deployment, and checking data quality signals.
Usage:
- The pipeline requires GPU support (CUDA 11.8+, at least 8GB VRAM).
- GDAL must first be installed at the system level, then GDAL matching the Python version installed via pip.
- Download model weights and runtime data from Zenodo or Hugging Face; the training dataset BDAPPV is also available.
- After filling in source paths in config.yml, run main.py; the four steps execute in sequence; --count sets the number of tiles classified per batch (default 16, reduce on OOM), --config specifies an alternative configuration file, tiles_list allows processing a subset of tiles, and forcing a rerun clears progress. On success, temp/ is automatically deleted; on crash, temp/ is retained and rerunning resumes. Output is written to outputs_dir (default data/).
- The MCP server requires no installation; simply add the endpoint as a custom connector to use it.
Applicable scenarios: large-scale detection and statistics of French rooftop photovoltaics, photovoltaic deployment tracking, regional installed capacity analysis, and other research or data query scenarios.
Limitations: only targets French IGN aerial imagery; requires a GPU and GDAL environment; retains only residential-scale building photovoltaics; MCP servicequeries depend on a network endpoint.