This sample shows how to quantify social distancing measures. It demonstrates how to:
- Detect and track objects in the scene using the ZED SDK API
- Show the image with 3D bounding box with OpenGL
- All processing are running on board.
Please refer to our blog post for more informations.
- First, download the latest version of the ZED SDK on stereolabs.com.
- For more information, read the ZED Documentation and API documentation or our Community page
NOTE: A ZED 2 is required to run use this module.
- Create a "build" folder in the source folder
- Open cmake-gui and select the source and build folders
- Generate the Visual Studio
Win64
solution - Open the resulting solution and change configuration to
Release
- Build solution
Open a terminal in the sample directory and execute the following command:
- mkdir build
- cd build
- cmake ..
- make
-
Navigate to the build directory and launch the executable
-
Or open a terminal in the build directory and run the sample :
./ZED_Object_Detection_Viewer <optional-parameters> * <optional-parameters> can be a resolution for example HD2K : `./ZED_Object_Detection_Viewer HD2K` * <optional-parameters> can be a SVO file for example : `./ZED_Object_Detection_Viewer path_to_svo.svo` * <optional-parameters> can be a IP stream input for example : `./ZED_Object_Detection_Viewer <ip>` where ip is the sender IP (Use Camera\ Streaming/Sender)
If you need assistance go to our Community site at https://community.stereolabs.com/