@geobase-js/geoai.js

@geobase-js/geoai.js

JavaScript library for AI inference on satellite imagery with React and MapLibre. Use it to add detection and segmentation to maps in minutes.

Start with the hosted quickstart and live demo below.

What it does

  • Building/Object detection and segmentation
  • Works with Geobase, Mapbox, Esri providers
  • Simple pipeline API and optional Web Worker support

Install

npm install @geobase-js/geoai maplibre-gl maplibre-gl-draw

Quick example

See the React example in the Quickstart. Configure your provider, draw a polygon, run geoai.pipeline([...]).inference(...) and render detections on the map.