Flexible Vision Software Setup
Flexible Vision Software Setup
Prerequisites:
Ubuntu
Docker (Ubuntu):
https://docs.docker.com/v17.12/install/linux/docker-ce/ubuntu/#set-up-the-repository
(ZIP INSTALL) Download zip file > Extract > Move visionbackend software to directory of your choosing
This will initialize the Docker containers and cloud components needed to setup the backend environment.
A Google Cloud SDK portal window should open prompting us to sign in. This will allow Flexible Vision to
access your Google Cloud account and create an instance of Flexible Vision within your GCP profile.
Following the Google Cloud SDK auth portal we will be prompted to also allow the Google Auth Library.
Now we see a confirmation page showing that we have been authenticated. We can return back to the
terminal to continue setup. Following our auth access we will address a few deployment questions.
1. Setup a cloud instance of Flexible Vision ? [Y/n]
Input: Y
At this point we let the software take over and run the environment setup.
Select Authorize
Select Authorize
Now we can verify our authentication by scrolling down to the GET /auth/verify expandable cell
Select Execute
A successful login should return an object containing “logged_in_as: admin” within the response body.
If you are unsure if the Nvidia drivers are installed and running, run the following command ->
In Terminal >
Input: nvidia-smi
If you have an output displaying information about your Nvidia graphics card you are good to go.
If not, you will need to install the drivers for your Nvidia graphics card or use a device that meets this
requirement.
In Terminal >
Input: sudo docker run –it flexiblevision/setup
Input: 1
Input: y
At this point we let the software take over and run the environment setup once again.
Step 6: Finished
We now have our environment setup and ready to run. Our last step is just to access the application
frontend and login.
Let’s login
In application menu >
Select Live Video
For this error we will need to edit the deploy.py file to lower the instance provision settings
Repeat Step
KeyError: ‘TERRAFORM_PATH’
Repeat Step 3
In Terminal >
Input: export TERRAFORM_PATH=/home/<user profile>/Downloads/terraform