Skip to content
  • By Deployment
    Offroad AutonomyLogistics AutomationSmart Infrastructure
    Integrations
    Partner Ecosystem
  • ZED X One
    LearnOrder
    ZED X Series
    LearnOrder
    ZED Series
    LearnOrder
    ZED Box
    LearnOrder
  • Software
  • Get Started
    OverviewSDK DownloadsZED X Drivers
    Resources
    DocumentationAPI ReferenceCode SamplesIntegrationsSupportCommunityGitHub
  • Company
    About UsOur TechnologyNewsCareersResources
  • Store
  • StoreBar_ZEDX_family_front
    Cameras
    Embedded PC
    Accessories
    Kits
    Shop All
    • There are currently no items in your bag.
      San Francisco | USA New York | USA Paris | France

        Products

      1. ZED X One
      2. ZED X Family
      3. ZED 2 Family
      4. ZED Box
      5. Terra AI
      6. ZED SDK

        Store

      1. ZED X
      2. ZED X Mini
      3. ZED X One
      4. ZED 2i
      5. ZED Mini
      6. ZED Box
      7. Bundles
      8. Accessories

        Solutions

      1. Offroad Autonomy
      2. Logistics Automation
      3. Smart Infrastructure

        Company

      1. About
      2. News
      3. Careers
      4. Partner Ecosystem

        Developers

      1. ZED SDK
      2. ZED X Drivers
      3. Documentation
      4. API Reference
      5. Community
      6. Tutorials
      7. Support
      8. GitHub

        Contact

      1. Email
      2. Tracking
      3. YouTube
      4. LinkedIn
      support@stereolabs.com
      © 2025 Stereolabs Inc. All Rights Reserved.
      News
      Sep 17, 2020.

      Using 3D Cameras to Monitor Social Distancing

      By combining ZED stereo cameras with Echo Dot speakers, you can build a cost-effective AI alarm system to help you maintain social distancing.

      As economies gradually reopen globally, we all share a responsibility to keep up the fight against COVID-19. The concept of social distancing is one strategy to maintain safety on-site as we return to work.

      Building a Social Distancing Alarm System

      For this purpose, we created at Stereolabs a new real time alarm system that combines 3D cameras and artificial intelligence to detect whether or not people are staying far enough apart.

      The system works in any type of environment, from small scale office spaces to industrial environments, factories and public spaces. It can send multiple types of alerts such as sound signals, SMS, emails and even Slack notifications.

      An alarm is triggered when people pass too close to one another.

      Real-Time AI Processing at the Edge

      One of the challenges in using regular AI cameras for social distancing is that they are not able to infer distances between people in a reliable way. We solve this issue by using a 3D camera with long-range depth perception, and run a neural network on the video and depth stream to detect people in 3D space.

      ZED 2 displays visual alerts when people are too close.

      We use a ZED 2 wide-angle stereo camera that we connect to a Jetson Nano AI gateway. Processing is done in real-time at the edge, ensuring low latency alerts and data privacy. We add an Amazon Echo Dot speaker to serve as alarm.

      The camera detects people and distances using the 3D Object Detection module from the ZED API. Real-world spatial positions (x,y,z) are determined automatically by the 3D camera making the set-up process very easy as it doesn’t require any calibration step contrary to 2D video analytics systems.

      The 3D Object Detection application generates an event when the measured distance between two persons fall below 6 feets (2 meters). This event is transmitted to another application running on the Jetson Nano and built with Node-RED which triggers a sound alert on the Echo Dot.

      The Node-RED open-source rules engine is a perfect companion for 3D cameras at the edge as it allows to quickly add other types of conditions to limit the amount of voice messages, and has an extensive nodes library that can be used to send alerts such as SMS, email and Slack notifications.

      How to Build Your Own Smart Alarm

      These DIY alarm systems have been set-up in every Stereolabs office where team members are present. To ensure that wherever you are around the world you’re able to build your own smart alarm, we’re sharing the hardware and software used for this project. Here are the hardware and software components used for the alarm:

      • 3D Camera: Stereolabs ZED 2.
      • Mount: SmallRig camera 1/4″ ceiling mount.
      • AI Processor: NVIDIA Jetson Nano, on a PoE carrier board.
      • Speaker: Amazon Echo Dot, powered by a PoE splitter.
      • Switch: Netgear 5-Port Gigabit PoE switch.
      • Application: Open source repository available on GitHub.