Analisi video e audio

rust-detector

@vionvision/rust-detectorv0.0.13

Native Rust motion/object detector of VION

Versione
0.0.13
Aggiornato
11 novembre 2026
Richiede
Da verificare per la Sua versione
Licenza
MIT
Gruppo
Analisi video e audio

Descrizione tecnicaEN

Native Rust motion/object detector of VION.

Built with napi-rs — ships prebuilt binaries for Linux x64 and arm64 (glibc) and Windows x64, the platforms of VION, so there is no compile step on install.

Installation

npm install @vionvision/rust-detector --registry https://npm.vionvision.tech

Usage

import { ImageProcessor } from '@vionvision/rust-detector';

const processor = new ImageProcessor(width, height);

// frame: grayscale Uint8Array of length width * height
const boxes = processor.processImage(frame, threshold, kernelSize, dilateSize, minArea);
// boxes: Array<[x, y, w, h]>

reconfigure(width, height) resizes the processor and resetState() clears the internal frame state between streams.

Development

npm install
npm run build        # release build (napi build --platform --release)
npm run build:debug  # debug build
npm run lint         # cargo clippy + eslint

---

Built and published by VION from atva0408-create/Vion-platform (packaging/napi/build.sh), from the code of the camera.ui author.

Altre estensioni del gruppo