• Documentation
  • NEED HELP?
  • Documentation
  • NEED HELP?

Dragonfly

home/Documentation/Dragonfly
Expand All Collapse All
  • Introduction
  • Architectures
  • Requirements
    • Dragonfly Kit
    • Enviroment
  • Create your account
  • Install Dragonfly
    • Install on Ubuntu
    • Install on Windows 10
    • Install on Windows 10 Pro (inside WSL)
  • Launch Dragonfly
    • Launch on Ubuntu
    • Launch on Windows 10
    • Launch on Windows 10 Pro (inside WSL)
  • Configure Dragonfly
    • Configuration parameters
    • Connect the camera
      • USB camera
      • Remote USB camera
      • Raspberry Pi camera
      • Drone's camera
      • Smartphone/tablet camera
      • IP cameras
      • Other video streams
    • Calibrate the camera
      • Monocular cameras
      • Stereoscopic cameras
    • Configure the Camera field Of View (FOV)
  • Use Dragonfly
    • Mount the camera
    • Perform the mapping
    • Perform the geo-referencing
    • Retrieve the positions
    • Display the positions
  • Heatmaps and analytics
  • Maps management
  • API
  • Update Dragonfly
  • Licenses
  • Knowledge Base / FAQs

Install on Windows 10 Pro (inside WSL)

1119 views 6

IMPORTANT:

  • You need very basic knowledge about Ubuntu.
  • During the installation of Ubuntu, if possible, please choose ENGLISH as main language so that it will be easier for us to provide you support if needed.
  • When the Dragonfly Java App is installed on Ubuntu inside WSL it is NOT possible to directly access the USB cameras connected to the Windows machine using the camera index provided by Windows. Anyway your USB cameras can be accessed following the instructions inside this page.

Are you upgrading your Dragonfly Java App from an old version to a new version?

Please read the important instructions inside this page!

Why Dragonfly inside WSL

The Windows Subsystem for Linux, commonly known as WSL, is an optional feature available on Windows 10 that allows Linux programs to natively run on Windows (inside a Windows 10 version of the Bash shell). WSL was designed by Microsoft in partnership with Canonical, the creators of Ubuntu. Together, they have created a kernel compatibility layer based on Ubuntu. To run WSL you need:

 

Windows 10 64-bit version 1607 or above
CLICK HERE TO CHECK YOUR WINDOWS VERSION

 

Using WSL is different from installing a virtual machine (with VMware or Virtual Box), as with WSL the Linux system runs natively on Windows. There is no third party involved and this means that the level of performances is much higher than when using a virtual machine. Despite this, consider that with WSL the performances are still about 20% slower than with a native Ubuntu installation.

Installation steps

1 – Enable WSL in Windows 10

  1. Open PowerShell as Administrator and run:
    ​Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
  2. Restart your computer when prompted (mandatory).

2 – Install Ubuntu inside WSL

Click the following link to automatically install the current Ubuntu LTS release from the Microsoft store:

  • Ubuntu 18.04 LTS
  • Ubuntu 20.04 LTS

3 – Install Dragonfly inside Ubuntu 20.04 or 18.04.6

  1. Open the Ubuntu Terminal via one of the following methods:
    • search for UBUNTU inside the Windows Start menu;
    • or from the Windows command line using the wsl command;
    • or from the Windows command line:
      • launching the command: ubuntu1804
      • or launching the command: ubuntu2004
  2. Launch these commands inside the terminal:
    sudo apt install unzip
  3. Now it is important to close the Ubuntu Terminal and re-open it again.
  4. Download the Ubuntu 20.04 LTS archive or the Ubuntu 18.04.6 archive with one of these 2 commands:
    wget https://dragonflyupdate.s3.eu-central-1.amazonaws.com/dragonfly-deployment-2.4/dragonfly-installation-linux-2.4.0.21-Ubuntu20.zip
    wget https://dragonflyupdate.s3.eu-central-1.amazonaws.com/dragonfly-deployment-2.4/dragonfly-installation-linux-2.4.0.21-Ubuntu18.zip
  5. Extract the Ubuntu 20.04 LTS archive or the Ubuntu 18.04.6 archive with one of these 2 commands:
    unzip dragonfly-installation-linux-2.4.0.21-Ubuntu20.zip
    unzip dragonfly-installation-linux-2.4.0.21-Ubuntu18.zip
  6. The launch these commands:
    cd dragonfly-linux
    chmod +x install.sh
    ./install.sh
At some point you will be asked for superuser credentials for installation. The installation of the Dragonfly Java App, Dragonfly Web User Interface and all the dependencies could take a while. Be patient.
During the installation you will be asked if you intend to install the dependencies needed to use our experimental depth prediction algorithm that makes use of the NVIDIA GPU with CUDA. Please answer NO!

Do you have problems with the automatic installation?

A manual installation might be required to avoid conflicts with an already existing installation of some of the Dragonfly Java App dependencies. You can find the manual installation steps at this link.

Was this helpful?

6 Yes  No

Onit Group srl
Sede Legale (Register Office):
Via dell’Arrigoni n° 308, 47522 – Cesena (FC) – Italy
Tel: +39 0547 313110

P.IVA: 03240560403 – C.F.: 04057301006 FC
REA: 292006 – SDI: T04ZHR3
Privacy/cookies

© Onit Group srl – All Rights Reserved