Supported TasksObject Detection

Object Detection

Detect common objects in satellite imagery

Quick Start

import { geoai } from "@geobase-js/geoai";
 
// Initialize pipeline
const pipeline = await geoai.pipeline(
  [{ task: "object-detection" }],
  providerParams
);
 
// Run detection
const result = await pipeline.inference({
  inputs: { polygon: myPolygon },
});
 
console.log(`Found ${result.detections.features.length} objects`);
🎯

Detects 12+ object classes including vehicles, buildings, boats, and infrastructure in aerial imagery

Parameters

Post-Processing

postProcessingParams: {
  confidence: 0.8; // confidence range (0.0-1.0)
}

Map Source

mapSourceParams: {
  zoomLevel: 18; // Image resolution (16-20)
}

See Map Source Parameters for more details.

Detected Objects

ObjectUse Cases
LightVehicleTraffic analysis, parking assessment
PersonCrowd monitoring, activity analysis
BuildingUrban planning, damage assessment
TruckCommercial traffic analysis
BoatMarine traffic, port activity
SolarPanelsRenewable energy assessment
ContainerLogistics, port operations
BusPublic transit analysis
BikeTransportation analysis
UPoleInfrastructure inventory
GastankIndustrial monitoring
DiggerConstruction monitoring

Output

Returns GeoJSON with detected objects and their confidence scores:

{
  detections: {
    type: "FeatureCollection",
    features: [
      {
        geometry: { /* polygon coordinates */ },
        properties: {
          class: "LightVehicle",
          confidence: 0.92
        }
      }
    ]
  }
}