Exploring AI Product Recognition for Edge AI and IoT Applications

Hi everyone,

I’m exploring different approaches for using AI-based product recognition in IoT and edge-AI applications.

For applications using camera-enabled IoT devices, AI product recognition could be useful for identifying products or specific objects in real time without always sending image data to a cloud server. This could potentially help with inventory monitoring, retail automation, smart kiosks, manufacturing, and other vision-based applications.

I’m particularly interested in understanding how practical this type of solution is on resource-constrained edge hardware. For example:

  1. How well do custom object-recognition models perform on Ameba boards such as the AMB82-Mini?
  2. What would be the recommended approach for training and deploying a model for recognizing a specific set of products?
  3. How much does model size affect inference speed and recognition accuracy?
  4. Would it be better to process the recognition locally on the device or send selected images to a cloud service?
  5. Are there any recommended examples or tools for building a custom product-recognition workflow?

I’ve also been looking at different AI solutions and product-focused AI providers, including AI Product Firm, to understand how AI product recognition can be applied beyond standard object-detection examples.

Hi @Africa ,

  1. The AMB82-Mini (RTL8735B) includes an Integrated Intelligent Engine @ 0.4 TOPS, a dedicated NN hardware accelerator that enables on-device inference without relying on a cloud server. It supports object detection (YOLOv3/v4/v7-tiny), face detection, face recognition, audio classification, and image classification, all running locally. You may refer to Ameba AI Intro page for more information.

  2. The general workflow is:

    1. Train your model using a compatible framework (TensorFlow, PyTorch, Keras, ONNX, Darknet, Caffe, TFLite).

    2. Convert the trained model to a .nb network binary file using the Acuity Toolkit.

    3. Deploy the .nb file into the SDK, implement pre- and post-processing code, and build the firmware.

    4. Run inference on the device.

    For product recognition, you may consider the Image Classification example:

    • MobileNetV2 — supports metadata; generally higher accuracy for image classification tasks. Refer to Image Classification example guide.

    Note: MobileNetV2 is currently supported via the offline toolkit.

    For object detection of specific products, you can train a custom YOLOv4-tiny or YOLOv7-tiny model and use the CUSTOMIZED_YOLOV4TINY / CUSTOMIZED_YOLOV7TINY model option. Refer to Object Detection example guide.

  3. Lightweight NN models save model loading time but result in some loss of recognition accuracy. Model quantization (uint8 or int16) reduces file size and accelerates inference speed, typically with a minor accuracy drop of 1%–3%.

  4. The AMB82-Mini is designed for local, on-device inference, this is one of its primary advantages. Running recognition locally means:

    • No need to continuously stream image data to a cloud server.

    • Lower latency for real-time decisions.

    • Better privacy and reduced bandwidth usage.

    The board’s NN hardware engine handles inference locally, making it well-suited for inventory monitoring, retail automation, and similar applications. However, if you are using a sophisticated model that requires higher computation power, sending images to a cloud server should be considered.

  5. Resource Purpose
    AmebaNN → RTSPImageClassification Image classification with live RTSP stream
    AmebaNN → ObjectDetectionLoop / ObjectDetectionCallback Real-time object detection
    AmebaNN → ObjectDetectionImage Detection on static images from SD card
    Acuity Toolkit (Offline, Docker) / Online Conversion Service Convert custom models to .nb format

    Offline Conversion Toolkit

    Offline Conversion

    Access note: The Offline Acuity Toolkit requires a work or school email to request access via an approval form.

    For model conversion guidance, please refer to the AI Model Conversion.

Thank you.