Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 1.6 KB

File metadata and controls

32 lines (18 loc) · 1.6 KB

Detection-and-Tracking

This repository has code to connect with drone, YOLO object detector and Siamese Tracker.

While streaming, we are transmitting both frames and their associated metadata. Each frame undergoes processing by the Yolo detector, which then generates bounding boxes as metadata. When a user decides to track a Point of Interest (POI), we input the bounding box coordinates into the Siamese tracker. This tracker continuously monitors the POI until the average confidence across ten consecutive frames falls below a set threshold.

Setup:

  1. Clone the repository

  2. Install Parrot Olympe pip3 install parrot-olympe

  3. Setup requirements for GeoLocation.

    pip install requirements.txt

    This package(droneresponse_mathtools) requires an external package(geoids).link

    Add path in __init__.py

  4. Install YOLO for object detection. link

  5. Install requirements for Siamese Tracker. pip install requirements_tracker.txt

  6. We are using Siamese Network to track objects/people.reference

  7. We used SiamAPN++. Pretrained model can be downloaded from link

    Download the Pretrained model and rename it as SiamAPNPlusModel.pth.

Connectivity

To stream data to a different laptop/ or when connected to a real drone.refer this link