Análisis de vídeo y sonido

rust-detector

@vionvision/rust-detectorv0.0.13

Native Rust motion/object detector of VION

Versión
0.0.13
Actualizado
11 de noviembre de 2026
Requiere
Consúltelo para su versión
Licencia
MIT
Grupo
Análisis de vídeo y sonido

Descripción técnicaEN

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.

Otras extensiones del grupo