You are on page 1of 30

Project Report

On
SEA BORDER DETECTION APPLICATION
Submitted By
Deepak Ramachandran (EPANECS025)
Krishnakumar K (EPANECS034)
Sajith V (EPANECS049)
Vijayagopal M (EPANECS057)

Under the guidance of


Mr.Binu R
Asst. Professor, Dept. of CSE

Department Of Computer Science And Engineering


Government Engineering College Sreekrishnapuram
June 2016
1

CERTIFICATE
GOVERNMENT ENGINEERING COLLEGE
SREEKRISHNAPURAM
PALAKKAD 679513

CS09 608(P) Mini Project


PROJECT REPORT
This is to certify that the report entitled SEA BORDER DETECTION
APPLICATION submitted by Deepak Ramachandran, Krishnakumar K, Sajith V
and Vijayagopal M to the Department of Computer Science and Engineering,
Government Engineering College, Sreekrishnapuram, Palakkad-679517, in partial
fulllment of the requirement for the award of B-Tech Degree in Computer
Science and Engineering, is a bonade record of the work carried out by them.

Mr. Ali Akbar

Mr. Binu R

Dr. Rafeeq P C

Coordinator

Guide

Head of Department

Place: Sreekrishnapuram
Date: 02/06/2016

ACKNOWLEDGEMENT
First we are most graceful with one voice to our parents for their unbreakable
moral support and encouragement, which are inexpensive through words.
We also express our gratitude towards the Principal Professor Dr.S Radhakrishnan
and to the Head of the Computer Science Department Dr.Rafeeq P C to grant
us the liberty to work on this project.
It stands to reason that doing a project that have potential application in our
Surroundings need the support of many people. we wish to express our profound gratitude
to our Project Co-ordinator Assi.Prof.Ali Akbar M, for the incite and encouragement given
by him, and our guide Assi.Prof.Binu R for his amenable guidance which became the
backbone for our project to make it a success.
We extend our sincere gratitude to Assi. Prof. Irshad M , our group tutor for his
support in the development of this project. We are also thankful to all teaching and non
teaching staff members in the Department of Computer Science and Engineering.
Last but not the least ,the once who stood us right from the beginning , for the encouragement,
support and help, we thank God and all our friends.

ABSTRACT
The Tamil Nadu fishermen even today invoke the historical rights and routinely stray into
the International Maritime Boundary Line (IMBL) for fishing. This has led to apprehension by
the Sri Lankan Navy and in some cases even to shooting or arrest the particular Fishermen. This
leads to loss in the both humans as well as their economic incomes. So this project is going to
develop an android application to protect the Fishermen.
The main aim of this project is to help the fishermen to navigate safely within the
countrys border. This project is to Securing the Fishermen in Maritime Border by Using
Android Application. It is to secure the fishermen by using this Android mobile application.
The fishermen mainly cross the border accidently. So, its helpful to understand their current
position in maritime. This application has action to give the alert to fishermen when they cross
the maritime border.

CONTENTS
1.Introduction

1.1 Motivation

1.2 Organization of report

2.Problem Definition

2.1 Advanced GPS system

2.2 Sea Border Detection Application

3.Literature Survey

4.Requirement Analysis

10

4.1 Functional requirements

10

4.2 Non-functional requirements

10

5.System Analysis And Design

12

5.1 System analysis

12

6.Platform Reqirements

16

6.1 Software selection

16

6.2 Software specification

17

7.Testing and Evaluation

21

7.1 Testing

21

7.2 Maintenance

21

8.Limitations and Extensions

22

9.References

23

Appendix-A

24

Chapter 1
Introduction
During sea navigation fishermen accidently crosses International Maritime Boundary
Line and end up in prison as they are treated as intruders. To avoid such situations we have
developed an android application. This project report is for providing information about the
phases that we have undergone during making of our android app BDA (Border detection
application).
App produces an alert in form of alarm and vibration so that user is informed that they
are approaching the IMBL. Current coordinate position is also shown. It only requires a GPS
supported android device. It works without internet. Thus secure navigation is provided by the
app with simple user interface.

1.1 Motivation
The Tamil Nadu factor in India-Sri Lanka relations that had been quiet for long has
come to the fore in the form of the fishermen issue. Frequent incidents of fishermen from Tamil
Nadu getting shot in the Sri Lankans maritime boundary have enraged all citizen of the state.
Similar incidents have reported in Gujarat costal areal. Fishermen who accidently cross the
border are treated as intruders and are imprisoned. As negotiations takes time, family of those
people, who are poor suffers a lot.
The main aim of the project is to help the fishermen not to navigate beyond other
countrys border. Keeping in mind about lives of Indian fishermen, this project has been created
to help them to navigate safely within Indian border. It is an attempt to build a suitable project to
avoid frequent death of the fisherman and the conflicts between the countries.

1.2 Organization of report


Each chapter begins with a brief introduction to its content. Chapter 2 provides
a study and review of relevant literature materials in relation to the topic. Chapter
3 includes the problem definition and chapter 4 provides the specications related to
proposed system. Chapter 5 discuss about system modeling and design. Detailed implementation
of the system is described in Chapter 6. Chapter 7 contains description on
testing. The report on the proposed system is concluded in chapter 8.

Chapter 2
PROBLEM DEFENITION
Systems are available for safe navigation in bigger ships and boats. These equipments are very
much costly. Victims are usually poor fishermen who earns on daily basis. So an economic
solution would be an android app as android devices gaining popularity among all sections of
society. Moreover cost of android devices is steeply decreasing. Implementation is possible in
hardware using raspberry pi.

2.1 Advanced GPS system


Currently safe navigation systems are available only in huge ships and costly boats. In boats used
by common fishermen there is no such system by standard. Devices display coordinates, but
fishermen may not understand the terms and standards. In ships, trained professionals handle
such devices. Few devices which could be fitted in boats cause the problem of lack of
understandability due to lack of knowledge and awareness of fishermen.

2.2 Border Detection Application


Sea Border Detection Application abbreviated as SBDA is an android application. It works on
the most popular android platform. Simplicity and ease of use makes it different from existing
system. Like any android applications a simple tap on icon does the job. User is alerted through
alarm if subjects location is in proximity of IMBL. It also begins to display coordinate values if
user is in proximity of the IMBL.

Chapter 3
LITERATURE SURVEY
We are comparing GPS coordinates with the actual maritime boundary line coordinates of a
country to check whether the fishing boat is approaching the boundary ,so it is necessary to learn
about the working of GPS.
International Archives of the Photogrammetric, Remote Sensing and Spatial Information Science, Volume XXXVI,
Part 6, Tokyo Japan 2006

POSITIONING AND NAVIGATION SYSTEM USING GPS


J.Parthasarathy
Member Technical Staff, Sun Microsystems Pvt. ltd, India, Divyasree chambers, off-Langford
road, Bangalore-560027, India.
Parthasarathy.Jagannathan@sun.com
In this paper, some of the ideas of positioning and navigation using GPS (Global Positioning
System) where explored, GPS is a Satellite-based navigation system made up of a network of 24
satellites placed into orbit by the U.S. Department of Defence. Thispaper provides the use of a
handheld GPS receiver in the areas of precise positioning, mapping locations, navigating across
the mapped locations very easily. The purpose of this paper is to showcase the experiences that
incurred in designing a positioning and navigation system (with the aid of a 12 parallel channel
handheld GPS), which can be used as a moving compass, steering to any mapped destination,
providing the information about nearby places, tourist attractions, petrol bunks etc. The Magellan
310 handheld GPS which is being used for developing the proposed system allows users to
connect to a personal computer through RS-232 Serial Interface and the protocol used by the
device for communication is NMEA 0183, (National Marine Electronics Association). It is an
American national regulatory body, which, among other things, sets standards pertaining to the
interfacing of marine electronic devices. This NMEA 0183 Protocol transmits data to the
connected PC every 1 second, this data has to be interpreted and filtered accordingly to get the
needed information from the GPS device. This paper provides a case study in the process of
designing such a system and its limitations in the era where through distance measurements from
a few more satellites, the receiver can determine the user's position and display it on the unit's
electronic map. It also portrays the implementation details and their results obtained
and along their pros and cons when compared with the other existing positioning and navigation
system designed for basic handheld GPS (without having advance features like provision for
electronic map etc. in the device), It also addresses some of the enhancements that can be
accomplished in the designed system.

Chapter 4
REQUIREMENT ANALYSIS
This chapter describes functional and non functional requirements of the system

4.1 Functional Requirements

This section includes functional requirements of the system.


Once the icon is tapped application should run until it is manually removed from RAM
by the user. It shows coordinate values of current location of the user. If GPS is not enabled
while launching the application user is redirected to settings to switch on GPS. Otherwise user
could minimize the application window and engage in fishing. Once user is in proximity to
selected IMBL, application triggers an alarm along with vibration. It continues the alert until user
is outside the proximity of the IMBL coordinate values.

4.2 Non functional Requirements

This section includes non-functional requirements like performance, security,


availability, software quality, reusability and maintainability.

4.2.1 Performance
Response time should be less as coordinate values keep on changing.
This is because during fishing, boat is moving faster resultantly changing location quickly. So
values acquired by GPS hardware should be compared with stored values in database efficiently
by application.

10

4.2.2 Reliability
Reliability specifies the capability of the software to maintain its performance over
long time. Our app works well even with low end devices. As size of app is very less and RAM
support required is also less crashing never happens. As GPS is a built in module accuracy is also
fair. So application is highly reliable.

4.2.3 Availability
The application can be made available in android play store. In future it can be made
available in IOS and Windows platform.

4.2.4 Maintainability
New countrys costal coordinates can be included and update database accordingly.
As a result more users could be addressed. Moreover local language

11

Chapter 5
SYSTEM ANALYSIS AND DESIGN
This chapter includes the system analysis and analysis of subsystems. System
analysis is the detailed study of the various operations performed by the system and their
relationships within and outside the system. Analysis is the process of breaking something into
parts so that the whole may be understood

5.1 SYSTEM ANALYSIS


People associated with the system are end users and administrators.

5.1.1 End users

Once application is opened they can press start button to activate application

They can view the latitude and longitude of their current location or run the
application in background

They can press stop button to stop application after their use

5.1.2 Administrators

They can add additional coordinate values to the database

Also they could change the alarm sound

5.1.3 Data flow diagram


Data flow diagrams is shown by figure 5.1,figure 5.2 ,figure 5.3 ,figure 5.4

12

Figure 5.1: Dataflow Diagram

Figure 5.2: ER Diagram of Database


13

Figure 5.3: Activity Diagram

14

Figure 5.4: User Diagram

15

CHAPTER 6
PLATFORM REQUIREMENTS

6.1 Software selection

6.1.1 Operating System

Windows 8(system)

Android (4.1)

6.1.2Software Tools

Eclipse IDE

Android Software development Kit(SDK)

Android Development tools(ADT) plug in

Java JDK

Eclipse IDE with ADT plug in

Android 4.1 Jelly Bean Emulator

16

6.2Software specification

6.2.1 Android
Android is a software stack for mobile devices that includes an operating system,
middleware and key applications. Google Inc. purchased the initial developer of the
software, Android Inc., in 2005.
Android's mobile operating system is based on the Linux kernel. Google and other
members of the Open Handset Alliance collaborated on Android's development and
release.
The Android Open Source Project (AOSP) is tasked with the maintenance and
further development of Android. The Android operating system is the world's bestselling Smartphone platform.
The Android SDK provides the tools and APIs necessary to begin developing
applications Android platform using the Java programming language. Android has a large
community of developers writing applications ("apps") that extend the functionality of
the devices. There are currently over 250,000 apps available for Android. Major features:

Application framework enabling reuse and replacement of components

Dalvik virtual machine optimized for mobile devices

Optimized graphics powered by a custom 2D graphics library; 3D graphics based


on the OpenGL ES 1.0 specification (hardware acceleration optional)

SQLite for structured data storage

Media support for common audio, video, and still image formats (MPEG4, H.264,
MP3, AAC, AMR, JPG, PNG, GIF)

GSM Telephony (hardware dependent)

Bluetooth, EDGE, 3G, and WiFi (hardware dependent)

Camera, GPS, compass, and accelerometer (hardware dependent)

Rich development environment including a device emulator, tools for debugging,


memory and performance profiling, and a plugin for the Eclipse IDE

17

6.2.2Android operating system


Android is an operating system based on Linux with a Java programming interface. It
provides tools, e.g. a compiler, debugger and a device emulator as well as its own Java
Virtual Machine (Dalvik Virtual Machine DVM). Android is created by the Open
Handset Alliance which is led by Google.
Android uses a special virtual machine, e.g. the Dalvik Virtual Machine. Dalvik
uses special byte-code. Therefore you cannot run standard Java byte-code on Android.
Android provides a tool dx which allows to convert Java Class files into dex (Dalvik
Executable) files. Android applications are packed into an .apk (Android Package) file by
the program aapt (Android Asset Packaging Tool). To simplify development Google
provides the Android Development Tool (ADT) for Eclipse. The ADT performs
automatically the conversion from class to dex files and creates the apk during
deployment. Android supports 2D and 3D graphics using the OpenGL libraries and
supports data storage in a SQLite database.
Every Android applications runs in its own process and under its own user id which is
generated automatically by the Android system during development. Therefore the
application is isolated from other running applications and a misbehaving application
cannot easily harm other Android applications.

6.2.3 Eclipse (SDK)

Eclipse Software Development Kit (SDK) is a Java based open-source integrated


development environment (IDE) which combines a number of different Eclipse projects
including Platform, Java Development Tools (JDT) and the Plug-in Development
Environment (PDE).
Eclipse can be used to create a large array of software applications using languages
ranging from PHP, C++ programs, to Java. It is one of the most popular development
tools in both the open-source and commercial worlds.
It provides Java editing with validation, incremental compilation, cross-referencing, code
assist; an XML Editor; Mylyn; and much more.
18

Eclipse is released under the Eclipse Foundation, a commercially friendly license that
allows organizations to include Eclipse software in their commercial products, while at
the same time asking those who create derivative works of EPL code to contribute back
to the community.

6.2.4 Eclipse platform

The Eclipse Platform provides the core frameworks and services upon which all plug-in
extensions are created. It also provides the runtime in which plug-ins are loaded,
integrated, and executed. The primary purpose of the Platform is to enable other tool
developers to easily build and deliver integrated tools.
Features include:

Supports the construction of a variety of tools for application development

Supports an unrestricted set of tool providers, including independent software


vendors (ISVs)

Supports tools to manipulate arbitrary content types (e.g., HTML, Java, C, JSP,
EJB, XML, And GIF)

Facilitates seamless integration of tools within and across different content types
and tool providers

Supports both GUI and non-GUI-based application development environments

6.2.5 Java Development Tools (JDT)

The JDT project provides the tool plug-ins that implement a Java IDE supporting the
development of any Java application, including Eclipse plug-ins. It adds a Java project
nature and Java perspective to the Eclipse Workbench as well as a number of views,
editors, wizards, builders, and code merging and refactoring tools. The JDT project
allows Eclipse to be a development environment for itself.

19

Features include:

Java projects with source files arranged in package directories

Editing with keyword and syntax coloring, outline showing declaration structure

Code formatter

Refactoring

Search

Compare

Compile - JCK-compliant Java compiler

Run Java programs in a separate target Java virtual machine

20

Chapter 7
TESTING AND EVALUATION
Testing and validation is the stage where the designed system is tested against sample data. This
phase helps the programmer to detect unnoticed errors and correct them. During this phase we
enter sample data and compare output produced by the existing system or expected output. In the
case of any difference we may have to find out and eliminate the problem if any, or have to
modify the system so that we get the expected result. System testing is a critical element of
software quality assurance and represents the ultimate review of specification design and coding.
It is one of element of border topic and often referred to as all the activities that ensure the
system build in traceable to user requirement. The designed system is tested in the following
way.

7.1 Testing

The testing of application was done in simple and easy manner. The tester manually found the
coordinate values of a selected location using a standard application in the play store. After
noting down the values, coordinate values of same location was found using our application and
was precisely matching. Before creating database, we manually stored the values in the program
using an array. Tester then walked towards the selected location to see whether application was
producing alert. Later database was included and tested again.

7.2 Maintenance
The updates for the application are user friendly and when available in the Google play store can
be downloaded and installed in the smart phone by the users already using the application. The
users should update the application so that they could get the new features added according to
time.

21

Chapter 8
LIMITATIONS AND EXTENSIONS
The initial accessing of GPS system to find the exact coordinates is having some delay ; but the
Indias own IRNSS is launched ,so the delay will be reduced in future.

Maps are not supported


As fishermen is not much familiar with English ;an option to choose local language
would make application more user friendly
An alert message could be send to cost guard or other officials once IMBL is crossed so
that they could take necessary action immediately
We only implement this application to use in India;
We can also add other countrys boundary as well, so this application can be used
worldwide.

22

REFERENCES
IEEE Software Engineering Standards Committee, \2010 2nd
International Conference on Education Technology and Computer
(ICETC)"
A GPS Navigation System with QR Code Decoding and Friend
Positioning SmartPhones,"2010 2nd International Conference on
Education technology and Computer(ICETC)"
Intelligent Networks and Intelligent Systems Research on
Development of Android Applications,"2011 fourth International
Conferences"
High Performance Computing and Communications, The Android
Application Development College Development College
Challenge ,"2012 IEEE 14th
International Conference" 5. Indoor Positioning and Indoor
Navigation, 13-15th November 2012,Investigation of Location
Capabilities of
Four Deferent Smart phones for LBS Navigation
Applications,"2012International Conference"
Computer Science and Information Systems, Mobile Applications
Aiding the visually Impaired in Travelling with Public Transport,"
2013Federated Conference"
Advanced Computer Science Applications and Technologies 3D
Mobile Map Visualization Concept for Remote Rendered Dataset,
\2013International conference"

23

APPENDIX

A.1 Snapshot

Figure 5.5 Opening Window

24

25

Figure 5.6 Instruction Window

26

Figure 5.7 Working Window1

27

Figure 5.8 Alert Dialogue Box

28

Figure 5.9 Working Window2

29

A.2 Installation And Working Procedure

Install the SBDA android application on User's Smartphone.


Keep GPS always ON while using the application.
After the purpose please exit from the application and turn OFF the GPS to save your
battery.
An alarm will play while device is approaching the boundary .

30

You might also like