Skip to content

标签:Edge AI

Deploying RKNN in C++: From Sample Code to Product

Official demos answer “does it run”. Products must run 7×24 stably. The gap lives in engineering details. What separates demo from product Memory: pool RKNN tensor allocations; per-frame malloc/free fragments memory over days; Threading: capture / inference / post-process threads with a lock-free queue so slow inference never blocks capture; Failure handling: an inference watchdog […]

阅读全文 →

Edge Vision Model Selection: The YOLOv5n-to-v8s Speed/Accuracy Ledger

Model selection isn’t “newest is best” — it’s finding the accuracy knee within your compute budget. RK3588’s 6 TOPS defines the range. Compute both speed and accuracy 640 input: YOLOv5s/v8s at roughly 25-35 fps on the NPU — the default for general detection; 416/320 input: doubles frame rate for fixed views with large targets (gates, […]

阅读全文 →

Frame Differencing vs Deep Models: Choosing Motion Detection Correctly

“Something moved” and “that is a person” are very different problems. Choose by difficulty, not by fashion. Ask how hard the question is Frame diff/background subtraction fits fixed cameras that only care about change: under 5% CPU, zero training; Deep models fit when semantics matter (person/car/pet), at the cost of compute and labeling; Hybrid: cheap […]

阅读全文 →

Highway Toll Lane Terminals: Plate Recognition and Throughput

Lane terminals must recognize a plate and drive the barrier in the moment a car passes — every extra 100ms visibly lengthens the queue. Accuracy determines the experience Recognition chain: capture, detect and OCR within 150ms end to end, which makes NPU acceleration mandatory; Triggering: loop coils or radar trigger the capture, which is more […]

阅读全文 →

Conveyor Counting and Dimensioning: Reaching Production-Grade Accuracy

A miscount costs by the batch. Consumer-grade setups need three additions to reach industrial precision. Three prerequisites for industrial accuracy Triggered capture: a photoelectric sensor triggers frames, eliminating motion blur and dropped ones; Calibration: pixel-to-mm calibration enables dimensioning; recheck the chessboard monthly; Dedup logic: merge tracks across frames so one object never counts twice. Lighting […]

阅读全文 →

BESS BMS Gateways: Battery Telemetry and Safety Policy

BMS and PCS talk over CAN; the gateway must collect cluster voltage, temperature and SOC, then enforce protection policy. CAN is the backbone, the gateway translates CAN access: socketcan with custom parsing — mind bus load and arbitration priority with multiple clusters; Data modeling: model cluster, module and cell in three tiers; with a thousand […]

阅读全文 →

Exercise Rep Counting: The Standard Skeleton-Keypoint Approach

A pose model outputs per-frame skeletons; turning poses into “one completed rep” takes state-machine logic. Counting is a state machine Define joint angles: squats watch the knee angle (160° standing) with hysteresis to avoid flicker; State machine: standing → down → standing counts one rep, with minimum-phase durations filtering jitter; Side view required: place the […]

阅读全文 →

Solar Inverter Monitoring: Multi-Vendor Protocols and Yield Accounting

Real solar sites mix vendors with different Modbus register maps, so the gateway needs a driver per model, not hardcoded reads. Protocol fragmentation is the hard part Register maps: keep a point table per brand and model, loaded by pluggable drivers instead of compiled in; Yield accounting: integrate power on 5-minute buckets, handling missing samples […]

阅读全文 →

Video Smoke and Fire Detection: Early Signs vs False Alarms

Flame detection is intuitive but late; smoke appears in volume at ignition. The key is making smoke recognition solid. Smoke is the better signal Smoke’s visual traits: translucent, fuzzy edges, slow rise — hybrid classic features + deep models work best; Multi-frame confirmation: alarm only after a plume grows for 10-15 frames to filter exhaust […]

阅读全文 →