Set up Environment
Linux machine setup
Set up your Linux environment by installing a virtual machine as described below. For completeness, we illustrate all the steps to follow to set up your own environment.
With Virtual Machine
Note: Installation with Virtual Machine is the recommended option. Installation with Linux will take longer.
- Install Virtual Box from this link.
- Download the Virtual Box image from this link
- Import image. Follow this guide.
- Log into machine.
- Username: Embedded
- Password: embedded
or
Linux
If required, follow the steps here.
OpenMV setup
In the host OS (not the Linux virtual machine):
- Install the OpenmMV IDE. View the full guide here.
- Connect OpenMV to laptop with USB.
- Update firmware if necessary (make sure to do this here, it is not possible to do in the virtual machine).
In the VirtualBox, start the OpenMV IDE from the terminal:
./openmvide/bin/openmvide.sh &
Note: If not preinstalled, do the following
-
Install the OpenmMV IDE on the guest OS (the Linux virtual machine). View the full guide here.
Connect board:
- Connect OpenMV to laptop with USB.
- To setup the USB connection to the OpenMV board on the virtual machine follow this USB VM Setup Guide.
Test:
- Click on the connection icon on the bottom left of the IDE or CTRL+E.
- Start the program by selecting the play icon on the bottom left of the IDE or CTRL+R.
- The program should run and display images on the top right without any errors.
Now that the setup is done, we will deploy the chosen model on the Arm Cortex-M7 OpenMV board.
Read the following document for a full OpenMV guide.