ניתוח וידאו ושמע

rust-detector

@vionvision/rust-detectorv0.0.13

Native Rust motion/object detector of VION

גרסה
0.0.13
עודכן
11 בנובמבר 2026
נדרש
בדקו עבור הגרסה שלכם
רישיון
MIT
קבוצה
ניתוח וידאו ושמע

תיאור טכניEN

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.

הרחבות נוספות בקבוצה