This article outlines the usage of the DUO Dashboard application. Built with the DUO API and SDK the Dashboard allows for users to capture, configure and control their DUO devices. Before reading this tutorial you should make sure you have installed your DUO device and that your system properly recognizes your device. Only after you have successfully tested your device's functionality should you continue reading this article.
The Dashboard acts as a host for the following applications:
Settings > Apps
from the Main Menu. The Camera application is the default application which allows for display of image and sensor data. If the device has motion sensors then a graph with three views (Accelerometer/Gyroscope/Angle) will be displayed in the Dynamic Controls
area. The main output from the 2 CMOS sensors will be displayed in the Output Windows
area.
The following parameters are shared across any application that uses the Camera Interface
:
The Dense3D application runs algorithms for determining depth based from the image correspondence. You must first run the Calibration Utility
and verify you have a proper stereo alignment data. After this you will be able to tune the algorithm using the exposed parameters. Your results may vary dependent on the environment, object and optics configurations. For best results make sure you have a valid calibration data.
Refer to the Dense3D API article which is a guide for developers to integrate this depth map into their own applications.
The Dense3D application features the following options and parameters:
No calibration data found
will require you to calibrate.
You can view available applications, configure your device and get device information from the Settings
menu item.
There are 3 available tabs; Apps, Camera and Devices which are shown below:
Apps Tab
- Lists available applications and acts as main interface for switching between the active application.
Camera Tab
- Full control over your camera sensors with resolution and binning interfaces.
Devices Tab
- Lists available devices with related hardware, firmware and identification information.
Located in the Dashboard/Settings
folder you will find these automatically generated settings file. They are created by the Dashboard application but can be opened with any text editor. With the Dashboard closed, one can edit any setting in the file, which the can be loaded on application initialization. Here is each file with its associated data:
DashboardSettings.cfg - Used by the host application as default global settings.
AppConfig : { Application : { UseDarkSkin = true; CurrentApp = "Camera"; LicenseKey = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"; }; Duo : { Width = 336; Height = 32; Binning = 9; Fps = 1063.0; }; };
CameraSettings.cfg - Specific to the camera/sensor capturing display.
AppConfig : { Duo : { Gain = 5; Exposure = 32; Led = 17; Flip = 2; Swap = false; Undistort = false; }; };
Dense3DSettings.cfg - Default settings and parameters for stereo matching algorithm.
AppConfig : { Duo : { Gain = 34; Exposure = 45; Led = 30; Flip = 2; Swap = false; Undistort = true; }; Dense3D : { NumberOfDisparities = 2; SADWindowSize = 1; P1 = 0; P2 = 3200; PreFilterCap = 0; UniquenessRatio = 72; SpeckleWindowSize = 41; SpeckleRange = 16; OverlayInputImage = false; }; };
Problem - Dashboard does not initialize properly.
Solutions:
Calibration
and Settings
folders.Problem - Dashboard is sluggish and or crashes. (Due to the nature of image processing, algorithms could cause instability)
Solutions:
Settings > Camera Tab
and lower the FPS and retest.Calibration
and Settings
folders.Problem - Application crashes on startup.
Solutions: