npu-detection

Deploy YOLO models to NPU hardware with quantization and accuracy validation.

1|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/limit5/OmniSight-Productizer --skill npu-detection
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: npu-detection
Source: https://github.com/limit5/OmniSight-Productizer/tree/main/configs/skills/npu-detection
Command: npx skills add https://github.com/limit5/OmniSight-Productizer --skill npu-detection

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Deploying YOLO-based object and defect detection models to NPU hardware often leads to significant accuracy loss from improper quantization and requires manual tuning of inference parameters to meet latency and throughput requirements for edge AI camera systems.

Core Features & Use Cases

  • End-to-End NPU Deployment Pipeline: Covers full workflow from ONNX model validation and input dimension checks to quantization, accuracy verification, and post-processing tuning for RKNN, TFLite, and TensorRT runtimes.
  • Built-In Accuracy Guardrails: Enforces a maximum 2% mAP drop after quantization, with fallback options including mixed-precision quantization and Quantization-Aware Training if accuracy thresholds are not met.
  • Use Case: Edge AI development teams can use this skill to deploy defect detection models for industrial or security cameras to NPU-powered devices, ensuring real-time inference performance with validated accuracy and configurable NMS parameters for edge cases like small or overlapping objects.

Quick Start

Use the npu-detection skill to deploy your trained YOLO object detection model to the target NPU hardware, run quantization with the provided calibration dataset, and verify it meets the required mAP and latency thresholds.

Frequently Asked Questions about npu-detection

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a YOLO model to an NPU without losing detection accuracy?

You can deploy YOLO object detection models to NPU hardware using an end-to-end pipeline that covers ONNX validation, quantization, and accuracy verification. This skill enforces a strict maximum 2% mAP drop after quantization with fallbacks like mixed-precision to preserve inference accuracy.

What is the best way to quantize YOLO defect detection models for edge AI cameras?

The best way to quantize YOLO defect detection models is using a calibration dataset to tune the inference parameters for edge AI cameras. This process includes configurable NMS parameters to handle edge cases like small or overlapping objects, ensuring real-time low-latency performance on embedded devices.

Does this NPU deployment workflow support RKNN, TFLite, and TensorRT runtimes?

Yes, this NPU deployment workflow fully supports RKNN, TFLite, and TensorRT runtimes. It covers the full pipeline from ONNX model validation and input dimension checks to quantization and post-processing tuning specifically for these embedded NPU runtime environments.

Why does my YOLO model lose so much mAP after NPU quantization and how do I fix it?

YOLO models often lose mAP after NPU quantization due to improper calibration and lack of accuracy guardrails. You can fix this by enforcing a maximum 2% mAP drop threshold and applying fallback options such as mixed-precision quantization or Quantization-Aware Training to prevent performance degradation.

When should I use Quantization-Aware Training instead of post-training quantization for NPU inference?

You should use Quantization-Aware Training instead of post-training quantization when your NPU inference accuracy delta exceeds the strict 2% mAP threshold. It serves as a fallback option to prevent performance degradation when standard calibration datasets and mixed-precision quantization fail to meet accuracy requirements.

Can I configure NMS parameters for small or overlapping objects during edge AI deployment?

Yes, you can configure NMS parameters for small or overlapping objects during edge AI deployment. This skill supports configurable NMS parameters during post-processing tuning to handle edge cases and ensure high-throughput NPU inference for industrial or security camera systems.