1. HinoPak Vehicle Tracking &
Monitoring System (VTMS)
Institute of Business Administration
(IBA - Karachi)
–
Final Year Project Presentation
June 16, 2013
4. Android Application Building Blocks
Android OS
VTMS Application
GPS
GPRS/WIFISMS (As Fallback)
Local Storage
(As Fallback)
Functional Android Application For
Geographic Tracking
5. FEATURES:
Real-time vehicle
tracking via
Geographic Co-
ordinates
Selecting
customized travel
routes
Estimated time of
arrival to
destination, Speed
& Journey lapse
time
Google Local
Integration
Android Application Features
6. Real-Time Vehicle Tracking
• Real-Time tracking
• Separate mapping for each
trip travelled
• Last Known Coordinate
• All Coordinates
8. Estimated Time to Arrival
• Anticipate the journey
duration
• Displayed on an smartphone
placed within the vehicle
• 84.4% accuracy for speed
calculated*
• GPS location accurate
within ~30ft radius
* Test statistics from best performing test device
10. Visual Surveillance Building Blocks
Raspberry Pi Model B
Debian OS
MOTION
Python Program
WIFI connectivity
Local Storage (As
Fallback)
Video Surveillance Unit
12. Raspberry Pi?
The Raspberry Pi is a credit-card-sized single-board mini computer
Contains 512MB memory with 700MHz Processer and ability to clock up to 1
GHz, and a Video core 4 GPU. The GPU is capable of Blu-Ray quality
playback. It has a fast 3D core accessed using the supplied OpenGL ES2.0 and
OpenVG libraries
The GPU provides Open GL ES 2.0, hardware-accelerated OpenVG, and
1080p30 H.264 high-profile decode
The GPU is capable of 1Gpixel/s, 1.5Gtexel/s or 24 GFLOPs of general
purpose compute and features a bunch of texture filtering and DMA
infrastructure
That is, graphics capabilities are roughly equivalent to Xbox 1 level of
performance. Overall real world performance is something like a 300MHz
Pentium 2, only with much, much swankier graphics
13. Visual Data Stats
Size per image ~ 500 KB (rough average)
Duration of transmission 18 hours daily (assuming intercity travel)
Image frequency 3 images/minute*
Number of images transmitted each day 3240
Daily data transmission ~ 1.55 GB (rough approximation of core
transmission)
Local storage in Raspberry Pi 16 GB (current SD card size, expandable
to 64 GB)
Data Storage Capacity ~ 10.5 days worth data
15. Web Panel Building Blocks
UBUNTU
APACHE
MySQL
PHP
HTML5 + Java Script
Google Maps
WEB PANEL
16. FEATURES:
Location
specific
information
• Last known
co-ordinate
• -All co-
ordinates
Visual
information
• Real time
visuals
• Visual
Archives
• Integrated
view of
visuals with
Geographic
locations
Route
Management
• Save route
• Load route
• Ignition
notifications
Reporting
• User report
• Trip report
Web Panel
Administrati
on
• Add user
• Remove
user
Web Panel Features
18. Maps
• Displayed using Google Maps
• Each map will correspond to a specific trip
• Various zoom levels
• Route direction and location accuracy are offered
• All data is exportable in csv format for offline manipulations
& analysis
19. Maps – Contd..
• Portable to other map
services – one instance of
Leaflet JS is implemented to
showcase the feature
• Custom route deviation is
implemented which
generates an SMS alert using
sendsms.pk API to the admin
to inform about deviation
from the pre-set route
20. Archived Visual Data
• Archived to be used for
future references.
• All data is exportable
• Visual evidence
• Monitor their services and
customer experience as well
21. Integrated View
• An integrated view has been
incorporated in the system to
view the visual data
corresponding to the trip
location tracking for better
vigilance
22. Route Creation/View
• Customized routes
• Can be modified at any time
• The saved routes can then be
viewed for verification
purposes
24. Types of Reports
User Report
Summary of user related information
Trip Report
Summary of trip related information
Ignition Reporting
Charts unscheduled stops indicated by ignition
status
25. Three Tier Contingency Plan
Level 3:Cellular Network/Wi-Fi Failure
Android Application will locally store data in the
device, which can be later extracted and pushed onto
the web server via customized C# application
Images will be stored in Raspberry Pi Micro SD
card and can be extracted manually to be pushed on
to the web server
LEVEL 2: GPRS/Wi-Fi Failure
Android Application will switch to secondary
mode, SMS, to send information in a pre-set format
to be pushed on to the web server via SMS server.
Images will be stored in Raspberry Pi Micro SD
card.
LEVEL 1: Temporary Connection Loss
Android Application will wait and resend once
connectivity is restored.
Images will be stored in Raspberry Pi Micro SD
card and transmission will resume when connection
restores.
27. VTMS Cost Estimations
Total 12,200
Recurring Expenses (Monthly) Cost (PKR)
Internet Subscription for Wi-Fi 3,000
GPRS Package**** 90
Components Estimated Cost (PKR)
Android Phone* 12,000
Wi-Fi Connection** 12000 (including three months subscription)
Raspberry Pi 6000
Web-Cam*** 3000
Total 33,200
Total 3090
*Samsung Galaxy Y **PTCL EVO Nitro ***Infotech ****Zong Internet Package
28. Data Security
• Secure password protected My SQL database hosted on a
dedicated server
• User dashboard has clearly defined user roles, eliminating
unauthorized usage
• Authorized users can access relevant information only
• Passwords of all the registered users are protected using
ONE-WAY HASH function
29. Data Security – Contd..
• All data is viewable only once logged in
• End-to-end image transmission to remote server is encrypted
using AES 256
30. Data Security – Contd..
• AES 256 Encryption:
– Image converted to HEX String.
– Hex String is encrypted using AES encryption
– Image is transmitted via web service to VTMS Server
– Cipher text is decrypted to plain text.
– Hex String is converted to binary data.
– Stored as LONGBlob in MYSQL DB
31. System Limitations
• Since Integration of visual surveillance is the latest addition,
it has greater room for improvements
• Constant power supply for the Video Surveillance unit
• Wi-Fi connectivity for visual data transmission
• Limited number of location update requests, Google allows
10,000 requests per month, exceeding limit results in
incurring additional costs
32. System Limitations – Contd..
• The system is semi-automated. There is some, though
minimal, interaction required from the user
• Hardware compatibility may be an issue
• Improved crisis response time doesn’t necessarily means
timely crisis response
• Deals with monitoring only, no direct response action
33. Challenges
• Rigorous testing required - creating a favorable environment
for controlled tests. Also Identifying plausible issues of
intercity travel
• Finding and acquiring compatible hardware for the system to
work optimally
• Crafting complete and comprehensive documentation
OpenVG™ is a royalty-free, cross-platform API that provides a low-level hardware acceleration interface for vector graphics libraries such as Flash and SVG. OpenVG is targeted primarily at handheld devices that require portable acceleration of high-quality vector graphics for compelling user interfaces and text on small screen devices - while enabling hardware acceleration to provide fluidly interactive performance at very low power levels.
Add screenshot. Write about trip and images relationship.