Skip to content

Plumerai People Detection for Cortex-M library

This document describes how to use the C and C++ library for Plumerai’s people detection software for videos on Arm Cortex-M microcontrollers. For documentation about the API and an example, please look here. Go here for more information about Plumerai’s people detection solution and to try it out yourself.

Overview

Plumerai's people detection software expects a video feed and computes bounding boxes with a confidence value, for each person that is detected. For the best results we recommend mounting the camera to a fixed position. The software works with a fixed input resolution of 256x192 in 3-channel RGB signed 8-bit format. If your camera produces images at a higher-resolution or in a different format, Plumerai can provide an optimized resize/convert function specific for your use-case.

Contents of the package

The library package consists of the following files inside a plumerai_people_detection_micro.zip archive:

plumerai_people_detection_micro/include/plumerai/people_detection_micro.h
plumerai_people_detection_micro/lib/{target}/libplumerai_people_detection_micro.a
where {target} can be arm-cortex-m7-fpv5-d16-hard or arm-cortex-m4-fpv4-sp-d16-hard for example, indicating the target micro-controller family, the FPU type, and the float-abi.

Building

To build, make sure the header file can be found on the compiler include path, and link with the libplumerai_people_detection_micro.a suited for your target device. An example (device-agnostic) application can be found at the bottom of this page. You’ll have to add your own device-specific start-up code and other boilerplate code to actually run it on device.