Solar Panel Detection
Detect solar installations in satellite imagery
Quick Start
import { geoai } from "@geobase-js/geoai";
// Initialize pipeline
const pipeline = await geoai.pipeline(
[{ task: "solar-panel-detection" }],
providerParams
);
// Run detection
const result = await pipeline.inference({
inputs: { polygon: myPolygon },
});
console.log(`Found ${result.detections.features.length} solar installations`);
Parameters
Map Source
mapSourceParams: {
zoomLevel: 19; // 18-20 recommended for solar detection
}
Output
Returns GeoJSON with detected solar installations:
{
detections: {
type: "FeatureCollection",
features: [
{
geometry: { /* solar panel location */ },
properties: {}
}
]
}
}