In smart retail and warehouse management, real-time visibility of inventory levels inside refrigerators and on shelves is critical for operational efficiency. CamThink's NE301 edge AI camera, powered by the STM32N6 microcontroller, brings on-device beverage detection and counting directly to the point of need. This eliminates cloud dependency, slashes communication costs by over 99%, and keeps visual data private at the edge.

 

Application domains:

  • Smart appliances (refrigerators)
  • Smart retail (vending machines)
  • Warehouse management

Approach

Traditional inventory monitoring in refrigerators and retail shelves relies on manual inspection, weight-sensor systems, or cloud-based image recognition. Each approach carries significant limitations: manual checks are labor-intensive and prone to delayed restocking, weight sensors require costly hardware modifications and are sensitive to product placement, and cloud-based solutions demand high bandwidth, introduce latency, and raise privacy concerns. Conventional MCUs also lack the computing power to run accurate detection models locally, leading to high false alarm rates.

 

CamThink addressed these challenges by deploying the NE301, built on ST's STM32N6, to perform AI-based product recognition entirely on-device. When inventory changes occur, only minimal structured data (e.g., "Coke: 3 cans") is transmitted instead of images. This fundamentally changes the economics and privacy profile of smart inventory systems.

Camthink smart can detection Camthink smart can detection Camthink smart can detection

Key benefits of this edge AI approach:

  • Dramatic traffic reduction: Over 99% less data transmitted compared to image-upload solutions, reducing cloud costs by up to 90%
  • Flexible power options: Supports battery, PoE, and Type-C power, enabling deployment in diverse environments
  • Privacy by design: Visual data never leaves the device; only structured results are shared
  • Lower operational costs: Eliminates manual inspections and reduces restocking delays
  • Real-time awareness: Sub-50 ms inference delivers instant inventory visibility without cloud round-trips

 

By harnessing edge AI on the STM32N6, CamThink demonstrates how intelligent, scalable, and cost-effective inventory monitoring can be achieved in modern retail and appliance environments.

Application overview

The NE301 runs a complete detection pipeline locally, from image capture to structured result output, with no cloud processing required.

1. Image acquisition

The NE301 is periodically awakened on schedule and captures images of the refrigerator interior through its wide-angle CMOS sensor. The integrated ISP performs noise reduction and automatic exposure adjustment to ensure clear input even under complex lighting conditions such as reflections and low-light environments.

2. Edge inference

The built-in Neural-ART NPU runs a YOLOv8 Nano model to detect and count beverages directly on the device. Inference completes in under 50 ms, enabling real-time inventory awareness without uploading any images.

3. Decision and reporting

Only the recognition results, in JSON format, are transmitted to the backend system via MQTT (e.g., Home Assistant or a custom server). This keeps bandwidth usage minimal and ensures immediate actionability for restocking or alerts.

Technical details

CamThink's solution fully leverages the heterogeneous architecture of the STM32N6:

  • Neural-ART NPU — Accelerates YOLO model inference to under 50 ms, enabling real-time inventory detection without uploading images to any server.
  • CamThink AI Toolstack — Provides a complete end-to-end toolchain from data collection and labeling to training and quantized deployment (.bin). Developers can build customized product recognition models within hours, even without deep AI expertise.
  • Ultra-low power architecture — Combines the STM32N6 edge AI capability with an STM32U0 co-processor for power management and sleep control. The device wakes only when needed, dramatically reducing power consumption and deployment costs.

Sensor

CMOS Image Sensor: OS04C10, HFOV 137°

 

The NE301 performs image preprocessing through its ISP (including noise reduction and automatic exposure), ensuring that the AI model receives clear and reliable input even under complex lighting conditions inside refrigerators, such as reflections and low-light environments.

Dataset and model

Model:

  • YOLOv8 Nano (object detection)
  • Input size: 320 x 320
  • Optimized for beverage product recognition
  • Quantized for on-device deployment via CamThink AI Toolstack

Results

  • Inference time: ~50 ms
  • Model accuracy: >90% for beverage products (further optimization possible)
  • Memory usage: Runs entirely in on-chip SRAM, no external RAM required
  • Communication traffic: >99% reduction compared to image-upload-based solutions
results results results

Get started now!

Easily recreate this use-case with the following resources:

Additional resources:

Optimized with

STM32Cube AI Studio

STM32Cube AI Studio

Most suitable for

STM32N6 Series

Most suitable for

Resources

Optimized with STM32Cube AI Studio

STM32Cube AI Studio is a desktop tool designed to evaluate, optimize and compile neural network models for STM32 microcontrollers. It fully supports compilation for the Neural-ART Accelerator neural processing unit (NPU). It replaces the X-CUBE-AI in the ST AI product offering to cover new STM32 devices.

Optimized with STM32Cube.AI Optimized with STM32Cube.AI Optimized with STM32Cube.AI

Most suitable for STM32N6 Series

The STM32 family of 32-bit microcontrollers based on the Arm Cortex®-M processor is designed to offer new degrees of freedom to MCU users. It offers products combining very high performance, real-time capabilities, digital signal processing, low-power / low-voltage operation, and connectivity, while maintaining full integration and ease of development.

Most suitable for STM32N6 Series Most suitable for STM32N6 Series Most suitable for STM32N6 Series
You might also be interested by

Vision | STM32Cube.AI | STM32 AI MCU | Partner | Video | Smart home | Smart building

How to personalize smart home with familiar face identification

embedUR's on-device face authentication embedded on STM32N6 with easy mobile enrollment

Vision | STM32Cube.AI | STM32 AI MCU | Partner | Smart home | Wearables | Microphone | Accelerometer | Tutorial

Handheld development platform for real-time vision, motion, and voice at the edge

All‑in‑one STM32N6‑based platform for on‑device edge AI with NPU acceleration

Industrial | Smart city | Vision | STM32Cube.AI | STM32 AI MCU | Partner | Video | Smart home

Secure entry systems using id3 face recognition with liveness detection

Edge processing with RGB camera and ToF sensor ensures rapid and secure anti-spoofing for access control using the STM32N6 MCU.