A computer vision pipeline for live video search on drone video feeds leveraging edge servers.
Project description
Overview
This repo contains a python package dronesearch for running live video analytics on drone video feeds leveraging edge servers. It also contains our experiment code for SEC'18 paper Bandwidth-efficient Live Video Analytics for Drones via Edge Computing.
dronesearch Package
The decreasing costs of drones have made them suitable for search and rescue tasks. Analyzing drone video feeds in real-time can greatly improve the efficiency of search tasks. However, typical drone platforms do not have enough computation power to do real-time video analysis onboard, especially semantic-level vision processing, such as human survivor detection, car detection, and animal detection. Video feeds need to be streamed to an edge server for computer vision processing. When streaming video feeds from a swarm of drones at the same time, judicious use of bandwidth becomes important.
This dronesearch package provides a computer vision pipeline that selectively finds interesting frames and transmit them to edge servers for analysis in order to save bandwidth.
Installation
First, install zeromq. Then,
pip install dronesearch
Demo
We provide a demo that considers computer monitors as objects of interests. Only video frames that are classified as computer monitors will be sent to an edge server for further analysis.
To run the demo, first clone this directory. Then, issue the following commands at the root dir of this repo.
# on drone or your drone emulation platform, by default connecting to tcp://localhost:9000
# --input-source: the uri for OpenCV's VideoCapture().
# It should be a number for cameras or a file path for videos.
# --filter-config-file: a file path whose content specifies filters to run on the drone.
# This demo uses Tensorflow's MobileNet.
# --server-host, and --server-port specifies the edge server.
python -m dronesearch.onboard --input-source 0 --filter-config-file data/cfg/filter_config.ini
# on edge server
# --server-port specifies the listening port.
python -m dronesearch.onserver
Experiments for SEC'18 paper
See experiment-README.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dronesearch-1.0.0.1.tar.gz
.
File metadata
- Download URL: dronesearch-1.0.0.1.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77795078a159cce4e3f73df5541b0a3697658586e6a2f888a46d4b91990a73af |
|
MD5 | 4f975ea1ace9123f568f2e8f6b46e55d |
|
BLAKE2b-256 | 3ac3b5130df7b3a23737fac71e4c909d0f2d2acf43c213a6fd3fafe04d01e121 |
File details
Details for the file dronesearch-1.0.0.1-py3-none-any.whl
.
File metadata
- Download URL: dronesearch-1.0.0.1-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9b5b4a51cdf87458c8d8725db673693da81dfc0093f854d15119490b0033edf |
|
MD5 | 4caf2bca9258c1e8b24375e865bf657d |
|
BLAKE2b-256 | 09467479673e46e2f132fddf0c3775c2f5021558ef7341f663dabc8498a066d3 |