Skip to content

timshine/EagleEye

Repository files navigation

EagleEye Drone Surveillance System

Central Base Station Specs for Running GPU Accelerated OpenCV

Current Configuration

  • AMD Ryzen 5 2600 Processor
  • GeForce GTX 1660 oc 6G Graphics Card, 6GB 192-bit GDDR5
  • 16 GB DDR4 DRAM 3000MHz
  • 240 GB SATA 2.5 inch SSD
  • 1 TB HDD SATA 6Gb/s

Minimum Computer Requirements

  • A computer with a Nvidia Graphics Card

Configuring the Central Base Station

Downloading Software

  • Download Ubuntu 18.04 LTS Operating System onto PC
  • Download Python 3 and set the default configuration to the most recent Python 3 that is downloaded
  • Download VSCode and download Python backage in extensions. Extensions is the last tab on the right side of the IDE.
  • Download Nvidia Drivers and make sure that CUDA and the Nvidia Drivers are added to your bin. Follow these instructions exactly!

Downloading Libraries

  • All pip commands can be downloaded using the command line in Ubuntu (or Windows/Mac) using the command sudo pip install. An example of using pip to install packages is shown in the link.

  • IMPORTANT - all pip packages must be downloaded to the most recent Python installation. Ensure that pip is download to Python 3 rather than Python 2. The current version of pip can be determined by using the command pip --version in the terminal. If if is pointing to the wrong version, one possible fix is shown here.

  • Build OpenCV from source. This will give OpenCV with CUDA support.

  • Download imutils package from pip. This is used to detecting edges and contours when using OpenCV

  • Download numpy package from pip

  • Download Flask package from pip

  • Download psutil package from pip

Running the program with a GoPro

  • Connect your computer to the Wifi of the GoPro.
  • Pull master from this repository to a local folder on your computer.
  • Make sure you are in the virutal environment where OpenCV with CUDA support was set up. If the above tutorial was followed this should be done by typing workon opencv_cuda
  • Navigate to the EagleEye folder in a terminal and run python3 yolo_object_detection.py
  • To access the webpage, go to a web browser, type in localhost:8000 to the URL and hit enter. The output video after processing will be shown on the screen.
  • To close the host, close out of the terminal to stop the Python program. The webpage at localhost:8000 should not be outputting video after closing the terminal.

About

Back end for Multi-drone Surveillance System

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published