Just a T.A.D. (Traffic Analysis Drone)

Similar documents
MotionPro. Team 2. Delphine Mweze, Elizabeth Cole, Jinbang Fu, May Oo. Advisor: Professor Bardin. Midway Design Review

Automate Pulse Set-Up Instructions

BuddyCam Joseph Cao, CSE, Steven Gurney, CSE, Saswati Swain, EE, and Kyle Wright, CSE

PYROPTIX TM IMAGE PROCESSING SOFTWARE

BuddyCam Joseph Cao, CSE, Steven Gurney, CSE, Saswati Swain, EE, and Kyle Wright, CSE

Introduction. Edge Enhancement (SEE( Advantages of Scalable SEE) Lijun Yin. Scalable Enhancement and Optimization. Case Study:

Smart Traffic Control System Using Image Processing

Basic Pattern Recognition with NI Vision

2-/4-Channel Cam Viewer E- series for Automatic License Plate Recognition CV7-LP

IoT Software Platforms

Introduction to GRIP. The GRIP user interface consists of 4 parts:

Table of Contents. 2 Select camera-lens configuration Select camera and lens type Listbox: Select source image... 8

WiPry 5x User Manual. 2.4 & 5 GHz Wireless Troubleshooting Dual Band Spectrum Analyzer

JAMAR TRAX RD Detector Package Power Requirements Installation Setting Up The Unit

Matrox PowerStream Plus

Release Notes for LAS AF version 1.8.0

Music Radar: A Web-based Query by Humming System

Oculomatic Pro. Setup and User Guide. 4/19/ rev

ACUSCREEN NDT Joaquín González -

Schematic Analysis of P10 16x32 RGB LED Panel 3 in 1 DIP Type Dual (Dual In-Line Package) on Trafficlight Revolution

mmwave Radar Sensor Auto Radar Apps Webinar: Vehicle Occupancy Detection

2.13inch e-paper HAT (D) User Manual

TRAFFIC SURVEILLANCE VIDEO MANAGEMENT SYSTEM

UniVision Engineering Limited Modpark Parking System Technical Description. Automatic Vehicle Access Control by Video Identification/

AXIS M30 Network Camera Series. AXIS M3046-V Network Camera. AXIS M3045 V Network Camera. User Manual

Quick Guide Book of Sending and receiving card

PYTHON AND IOT: From Chips and Bits to Data Science. Jeff Fischer Data-Ken Research Sunnyvale, California, USA

J6 User Manual. User Manual. Multi-Screen Splicing Processor J6. Xi an NovaStar Tech Co., Ltd. Rev1.0.1 NS

Getting started with Spike Recorder on PC/Mac/Linux

Table of content. Table of content Introduction Concepts Hardware setup...4

for the Epson Stylus Pro 4000 User s Guide

WiPry 5x User Manual. 2.4 & 5 GHz Wireless Troubleshooting Dual Band Spectrum Analyzer

NEW APPROACHES IN TRAFFIC SURVEILLANCE USING VIDEO DETECTION

USB Mini Spectrum Analyzer User Manual TSA Program for PC TSA4G1 TSA6G1 TSA8G1

User Manual. Multi-Screen Splicing Processor J6

MotionPro. Team 2. Delphine Mweze, Elizabeth Cole, Jinbang Fu, May Oo. Advisor: Professor Bardin. Preliminary Design Review

ISSN (PRINT): , (ONLINE): , VOLUME-5, ISSUE-4,

2-/4-Channel Cam Viewer E-series for Automatic License Plate Recognition CV7-LP

Operating Procedures for RECO1 & RECO2

Precautions and Disclaimers What You Can Do with Geometry Manager Pro Check Your Computer System requirements...

A comprehensive guide to control room visualization solutions!

Quick Reference Manual

Network Camera Operating Manual

SEM- EDS Instruction Manual

Figure 1: Feature Vector Sequence Generator block diagram.

Capstone screen shows live video with sync to force and velocity data. Try it! Download a FREE 60-day trial at pasco.com/capstone

Matrox PowerStream Plus

ECE Real Time Embedded Systems Final Project. Speeding Detecting System

CONTENT Product Introduction... 2 Packing Configuration...3 Hardware Orientation... 4 Front Panel... 4 Back Panel... 6 Using Your Product... 7 Content

WiPry User Manual. 2.4 GHz Wireless Troubleshooting

VIDEO GRABBER. DisplayPort. User Manual

FIRMWARE RELEASE NOTE

UC San Diego UC San Diego Previously Published Works

Understanding PQR, DMOS, and PSNR Measurements

Part 1: Introduction to Computer Graphics

16 Universe LED Matrix Panels Instructions

4125 system setup and deployment quick start guide

E X P E R I M E N T 1

High Performance Raster Scan Displays

WV-NP1004. Network Operating Instructions. Network camera. Model No. (Lens is option.)

TechNote: MuraTool CA: 1 2/9/00. Figure 1: High contrast fringe ring mura on a microdisplay

USB Mini Spectrum Analyzer User Manual PC program TSA For TSA5G35 TSA4G1 TSA6G1 TSA12G5

AXIS M30 Series AXIS M3015 AXIS M3016. User Manual

Module 3: Video Sampling Lecture 16: Sampling of video in two dimensions: Progressive vs Interlaced scans. The Lecture Contains:

IMIDTM. In Motion Identification. White Paper

The ADAPTS function has been enhanced to support the new scan table mode as well as supporting the existing super stimulus mode.

Video Surveillance *

Plug & Play Mobile Frontend For Your IoT Solution

Mmw radar solution for terrain awareness in UAVs ("1+2" solution)

Getting Started. Connect green audio output of SpikerBox/SpikerShield using green cable to your headphones input on iphone/ipad.

OptoFidelity Video Multimeter User Manual Version 2017Q1.0

TROUBLESHOOTING DIGITALLY MODULATED SIGNALS, PART 2 By RON HRANAC

Y10 LED lamp screen wireless group control solution

Event Guidelines. The Qt Company

Designing and Implementing an Affordable and Accessible Smart Home Based on Internet of Things

AXIS M30 Network Camera Series. AXIS M3046-V Network Camera. AXIS M3045 V Network Camera. User Manual

KRAMER ELECTRONICS LTD. USER MANUAL

INTRODUCTION OF INTERNET OF THING TECHNOLOGY BASED ON PROTOTYPE

PLASMA MONITOR (PT20 UVVis) USER GUIDE

USB Mini Spectrum Analyzer User s Guide TSA5G35

Session 1 Introduction to Data Acquisition and Real-Time Control

Acquisition Control System Design Requirement Document

Implementation of A Low Cost Motion Detection System Based On Embedded Linux

Using enhancement data to deinterlace 1080i HDTV

Motion Video Compression

Bar Codes to the Rescue!

HEAD. HEAD VISOR (Code 7500ff) Overview. Features. System for online localization of sound sources in real time

TV Character Generator

EECS150 - Digital Design Lecture 12 Project Description, Part 2

Integrating Device Connectivity in IoT & Embedded devices

VSP 516S Quick Start

Wipe Scene Change Detection in Video Sequences

Beethoven Bot. Oliver Chang. University of Florida. Department of Electrical and Computer Engineering. EEL 4665-IMDL-Final Report

Video VBOX Lite RLVBVD10LT2. Powerful VBOX data logging and video technology in a user-friendly, affordable product. What can Video VBOX Lite do?

FS3. Quick Start Guide. Overview. FS3 Control

Ultra 4K Tool Box. Version Release Note

An Empirical Analysis of Macroscopic Fundamental Diagrams for Sendai Road Networks

FOSS PLATFORM FOR CLOUD BASED IOT SOLUTIONS

APPLICATION NOTE. Fiber Alignment Now Achievable with Commercial Software

EDITION NOTES. Document Revision

Transcription:

Just a T.A.D. (Traffic Analysis Drone) Senior Design Project 2017: Cumulative Design Review 1

Meet the Team Cyril Caparanga (CSE) Alex Dunyak (CSE) Christopher Barbeau (CSE) Matthew Shin (CSE) 2

System Requirements 3

Recap Traffic data needs to be more comprehensive as more and more cars are on the roads Current traffic data collection methods are expensive and/or insufficient An Unmanned Aerial Vehicle (UAV) can be used to provide aerial image and video Image processing will analyze the image/video for car density and spacing on the drone This data is sent to a server in the cloud for display 4

Block Diagram - CDR 5

Demonstration of Deliverables 6

CDR Deliverables Alex/Cyril: Image processing Identifies visible cars in own test images Calculates density of cars as cars per distance or as car to road ratio Integrate server Integrate camera Matt: Data Server Automatically update web app to display most recent database content Assemble and test the 3DR Iris+ Chris: Raspberry Pi Camera interfaces with image processing software Send image data to server via 3G 7

Image Processing Requirements Detecting Cars from a top down view Counting the amount of cars in the picture Distinguishing between different lanes of a highway Determining spacing between cars in each lane 8

Eliminating Noise The dimensions of the camera s view are both proportional to the height of the camera. At a height of 2m, the camera has a 2m x 1.33 m viewing window, so at 1m it has a 1m x.665m viewing window. We can then approximate the number of pixels occupied by one square meter with the following equation: 9

Eliminating Noise (continued) The average area of a car is about 5mx10m, or 50 square meters. Given this approximation, we can threshold the detected contours by removing contours that are much smaller than cars should be. Currently, we prune contours if they are less than 70% of our calculated approximation. 10

Eliminating Noise (demonstration) No pruning: After pruning: 11

Our motion detection algorithm - High level Background subtraction is very sensitive to camera motion Overcome this by considering the fact that the drone moves relatively slowly We can find a mapping from each frame to another frame a set amount of time (⅓ or ⅙ of a second) later. By making this mapping, we can find the homography matrix that shifts the earlier frame onto the new frame. The shifted image does not account for movement outside of drone movement, so we can feed it into a standard background subtraction algorithm. 12

Our motion detection algorithm - Cont. Background subtracted image can be passed to contour detection, which gives point descriptions of the motion found. Using a few more assumptions about the heading of the drone and the compass orientation of the road, we can find the distance between contours 13

Road Cropping (original) Assume we know the heading of the drone and the road 14

Road Cropping (revised) Similar to original method, but instead of cropping the road by rotating the mask, we rotate the drone so that the camera is oriented along the road lengthwise. 15

Interval detection (previous) By assuming we know the heading of the drone from the internal compass and the compass direction of the road to a reasonably accurate degree before takeoff, we can find the vector between detected contours, and compare that angle to the expected road angle. If the angles are in a cone nearby and within two boundaries at a distance, then consider the number of pixels between the two the interval. 16

Interval Detection Diagram (previous) 17

Interval detection and density After pruning the roads, we can use similar methods to detect density and interval between cars Since the Massachusetts department of transportation lists the width of a lane of a road as between ten and fifteen feet, by assuming the drone is over the road, simply scan across a horizontal line a half-lane width from the center of the screen. 18

Density and interval Density: Per lane, density is Interval spacing: Interval spacing can be described by 19

Database Client For any flight, a single pair of density and interval will be generated The image processing will have access to a client that will send this data to the database Formats the data into a JSON-style document and inserts timestamp Allows Python scripts on the Raspberry Pi to write to the database when internet connection exists 20

Internet Connection Take video at 30 frames per second Transmit processed data over 3G to data server 21

Data Server Server receives processed data (Density, Interval) Displays data on web page 22

Data Server Implementation Remove as much load from Raspberry Pi as possible for image processing Database hosted on cloud (mongolab) Deployed on AWS (Reliable, free up to 500 MB) Database visualization mongodb JSON documents allow for varying structure Flexible (dynamic schemas) 23

Web App UI MEAN (MongoDB, Express, Angular, NodeJS) Stack web application to query database New features: Search for specified density/interval Sort by increasing/decreasing order by clicking density, interval, or time headers Export data as CSV Automatically update (poll every X seconds, currently 5) 24

Raspberry Pi- Initial Setup Unpacked and Assembled Acquired a micro SD card and downloaded raspbian Installed Raspbian Endured many hours of troubleshooting for a default keyboard layout issue 25

Raspberry Pi- Camera Setup Unpacked and Installed Enabled Camera in System Config Endured many hours of troubleshooting Took test photos in the terminal Used picamera to code and automate picture taking Understood what this camera is capable of 26

3G Dongle Must Acquire 3G subscription Install Drivers Hot Plugging Device Switching Sending HTTP Packets Dealing with Firewalls Test Saving Video over Network(Streaming) 27

Current Pricing - 3DR Iris+ Drone Camera Raspberry Pi 3G Dongle 3G Subscription FAA Registration Raspberry Pi Battery USB Cord $598 $15 $50 $34 $25 $5 $20 $5 Total (with drone) $752 Total (without drone) $154 28

Team Responsibilities and Schedule 29

FDR Deliverables Alex/Cyril Alex: Completion and debugging of software Cyril: Finalize integration of software with camera and sending to server Matt Become proficient in piloting the drone for demo Test and develop web application Chris DroneKit integration 3G integration (or WiFi) All Assist with final report 30

Team Schedule 31

Demo Image processing on own test images provided by test flight Sending of data to server via WiFi Server refreshing to display new data within 10 seconds 32

Thank You! Questions? 33