Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Overview

Data Image collection is done on any computer running Linux on the drone. Data Image collection accesses sensors the camera in the same manner as the airside system.

...

https://github.com/UWARG/model-training

Software

...

Usage

Collection:

  1. Connect all sensors

  2. Power on the computer:

    1. If sensors are not connected, data collection fails to start and the computer needs to be restarted

    2. Data collection is automatically run on startup through the /etc/rc.local file

Access:

...

Disconnect all sensors and power on the computer

...

Move or copy the data to be saved

...

Setup

Code

Open the terminal and navigate to the home directory:

...

  • Do not use the other requirements files

...

Usage

Prerequisites: The username of the computer used is warg .

Update the repository by running:

Code Block
git checkout main
git pull
git submodule update --remote

Copy the contents of imaging/rc.local.copyme assume the username is warg /copyme to /etc/rc.local .

  • Modifying /etc/rc.local requires superuser access (e.g. sudo )

...

Use 1 of the following:

  • OpenCV Python:

    Copy the OpenCV Python section of imaging/rc.local.copyme to

Collecting images:

  1. Connect the camera to the computer

  2. Power on the computer:

    1. If camera is not connected, image collection fails to start. Power off the computer and go to step 1

    2. Image collection is automatically run on startup through the /etc/rc.local

...

FFmpeg video:

  • Install FFmpeg: sudo apt-get install ffmpeg

  • Copy the FFmpeg video section of imaging/rc.local.copyme to /etc/rc.local

...

    1. file

  1. Collect images by pointing the camera towards the object(s) of interest

  2. Power off the computer

Accessing images:

  1. Disconnect all sensors

  2. Power on the computer

  3. Move or copy the images to be saved

  4. Delete the images to free space for future collection