ML-TN-002 - Real-time Social Distancing estimation

From DAVE Developer's Wiki
Revision as of 12:01, 27 January 2021 by U0001 (talk | contribs) (The hardware/software platform)

Jump to: navigation, search
Info Box
NeuralNetwork.png Applies to Machine Learning


History[edit | edit source]

Version Date Notes
1.0.0 February 2021 First public release

Introduction[edit | edit source]

Because of the Covid-19 pandemic, everyone has learned to deal with the so-called "Social Distancing" rules very well. When it comes to spaces shared by many people — such as squares, public or private offices, malls, etc. — it is not easy to monitor in real-time the compliance with these rules.

Automatic systems that are capable to do the job have been developed. Most of them are implemented as software running on camera-equipped PC's making use of visual techniques. Because of the nature of the problem, this is not a one-size-fits-all solution, however. In many cases, the use of a properly designed embedded platform is mandatory, for example, because of tight space constraints, harsh environment operability, or cost constraints — requirements that are typical for industrial-grade applications.

To date, though, the computing power required for algorithms that complex has represented a hurdle difficult to overcome, hindering the adoption of embedded platforms for these tasks. Recently, new system-on-chips (SoC's) integrating Neural Network hardware accelerators have appeared on the market, however. Thanks to such an improvement in terms of computational power, these devices allow the implementation of novel solutions satisfying all the above-mentioned requirements.

This Technical Note illustrates one of these implementations regarding the real-time social distancing estimation issue. This work started off the publicly-available open-source Social-Distancing project released by the Italiano di Tecnologia (IIT), which is illustrated in this [1]. The goal was to port the IIT code onto a DAVE Embedded Systems Single Board Computer (SBC) powered by the i.MX8M Plus SoC. This industrial/automotive-grade SoC has a rich set of peripherals and systems. It also integrates a 2.3 TOPS Neural Processing Unit (NPU) and native interfaces to connect image sensors making it very suited for this application.

The hardware/software platform[edit | edit source]

The hardware platform consists of:

  • SBC
  • TBD

Regarding the software platform, it is based on the NXP BSP TBD. In addition to the default packages, a number of libraries were added to satisfy the application's requirements.

The application were developed in

Testing and results[edit | edit source]

Conclusions[edit | edit source]

Future work[edit | edit source]