task = oil-storage-tank-detection

🛠 Model Purpose

This model is part of the GeoAi javascript library.

GeoAi enables geospatial AI inference directly in the browser or Node.js without requiring a heavy backend.

GeoAi pipeline accepts geospatial polygons as input (in GeoJSON format) and outputs results as a GeoJSON FeatureCollection, ready for use with libraries like Leaflet and Mapbox GL.


🚀 Demo

Explore the model in action with the interactive Demo.

📦 Model Information

  • Architecture: YOLOX
  • Source Model: See the python notebook file in the repository or at kaggle
  • Quantization: Yes

💡 Example Usage

import { geoai } from "geoai";

// Example polygon (GeoJSON)
const polygon = {
  type: "Feature",
  properties: {},
  geometry: {
    coordinates: [
      [
        [54.68328454841432, 24.762795008216074],
        [54.684149555501506, 24.756239186864462],
        [54.69506195259541, 24.755710476520136],
        [54.694196945508224, 24.76320284742259],
        [54.68328454841432, 24.762795008216074],
      ],
    ],
    type: "Polygon",
  },
} as GeoJSON.Feature;

// Initialize pipeline
const pipeline = await geoai.pipeline(
  [{ task: "oil-storage-tank-detection" }],
  providerParams
);
 
// Run detection
const result = await pipeline.inference({
  inputs: { polygon }
});
 
// Sample output format
// {
//     "detections": {
//         "type": "FeatureCollection",
//         "features": [
//             {
//                 "type": "Feature",
//                 "properties": {
//                     "confidence": 0.8438083529472351
//                 },
//                 "geometry": {
//                     "type": "Polygon",
//                     "coordinates": [
//                         [
//                             [54.69479163045772, 24.766579711184693],
//                             [54.69521093930892, 24.766579711184693],
//                             [54.69521093930892, 24.766203991224682],
//                             [54.69479163045772, 24.766203991224682],
//                             [54.69479163045772, 24.766579711184693],
//                         ]
//                     ]
//                 }
//             },
//             {"type": 'Feature', "properties": {…}, "geometry": {…}}, 
//             {"type": 'Feature', "properties": {…}, "geometry": {…}},
//         ]
//     },
//     "geoRawImage": GeoRawImage {data: Uint8ClampedArray(1048576), width: 512, height: 512, channels: 4, bounds: {…}, …}
// }

📖 Documentation & Demo

Downloads last month
206
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support