Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
315 views

Design Document For An Object Detection Application Using OpenCV

The document is a design document for an object detection system using OpenCV. It contains chapters on functional modeling using data flow diagrams, object-oriented design including class diagrams and data dictionaries, behavioral modeling with state transition, sequence and collaboration diagrams, and a deployment view. The document was submitted by students Syed Faraz Ali Jaffri, Areej Shamsi and Ameema Arif of the Computer Science department at NED University of Engineering and Technology.

Uploaded by

AMEEMA ARIF
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
315 views

Design Document For An Object Detection Application Using OpenCV

The document is a design document for an object detection system using OpenCV. It contains chapters on functional modeling using data flow diagrams, object-oriented design including class diagrams and data dictionaries, behavioral modeling with state transition, sequence and collaboration diagrams, and a deployment view. The document was submitted by students Syed Faraz Ali Jaffri, Areej Shamsi and Ameema Arif of the Computer Science department at NED University of Engineering and Technology.

Uploaded by

AMEEMA ARIF
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

DESIGN DOCUMENT

OBJECT DETECTION
USING OPENCV

Syed Faraz Ali Jaffri


(CS-17091)

Areej Shamsi (CS-17096)

Ameema Arif (CS-17122)

Department of Computer and Information Systems


NED University of Engineering and Technology

Submitted to
Ms. Fakhra Aftab

December 26, 2019


Contents

1 Introduction 3
1.1 Document Purpose . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2 Product Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3 Definitions, Acronyms and Abbreviations . . . . . . . . . . . . 4
1.4 Remainder of the Documnent . . . . . . . . . . . . . . . . . . 4

2 Functional Modelling 6
2.1 Data Flow Diagram Level 0 . . . . . . . . . . . . . . . . . . . 6
2.2 Data Flow Diagram Level 1 . . . . . . . . . . . . . . . . . . . 7
2.3 Data Flow Diagram Level 2 . . . . . . . . . . . . . . . . . . . 8

3 Object Oriented Design 9


3.1 Class Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.2 Data Dictionary . . . . . . . . . . . . . . . . . . . . . . . . . . 10

4 Behavioral Modelling 11
4.1 State Transition Diagram . . . . . . . . . . . . . . . . . . . . 11
4.2 Sequence Diagram . . . . . . . . . . . . . . . . . . . . . . . . 12
4.3 Collaboration Diagram . . . . . . . . . . . . . . . . . . . . . . 13

5 Deployment View 14
5.1 Components in Deployment Diagram . . . . . . . . . . . . . . 14

2
Chapter 1

Introduction

1.1 Document Purpose


The main purpose of this document is to present a detailed description
about the design of the Object Detection System. The System Design Doc-
ument describes the system requirements, operating environment, system
and subsystem architecture, files and database design, input formats, out-
put layouts, human-machine interfaces, detailed design, processing logic, and
external interfaces. The main purpose of this software is to detect different
types of objects using modern computer vision technology. This detection
will be done with the help of images stored in the database. This software
will detect an object and give relevant information about that object’s class.
This information then can be used for several purposes. This system is stable
and applicable as an stand alone system or one that could easily be embedded
into an even larger system.

1.2 Product Scope


Object recognition is an important task in image processing and computer
vision. It is concerned with determining the identity of an object being
observed in an image. This Object Detection System would make a com-
puter able to recognize different objects in an image using Computer Vision
technology. This system has a really wide scope as object detection is a
key feature of Computer Vision based systems. So many other systems for
various purposes, can be developed using this core system.

Facial recognition is one of the most popular application of object detec-


tion. Since this system is able to detect multiple objects in an image, so

3
it can be used for counting the number of objects in an image. Using this
system various kind of security systems can also be developed. We can also
use this system for object tracking. By recognizing the objects in the images,
combining each object in the image and passing detected object labels in the
URL we can use the object detection system for image search.

1.3 Definitions, Acronyms and Abbreviations

Term Definition
Admin The person who is in charge of the system and has the
authority to add images to database.
Bounding Box A rectangular border that encloses an object.
Class It represents the set of properties or methods that are
common to all objects of one type.
Database Collection of all the information monitored by this sys-
tem.
Dataset Data on which the object detection is done .
Directory A location for storing files on your computer.
Environment Vicinity in which the system is used.
Frame A set of data with information about a particular object.
Interface An interface an abstract type that is used to specify a
behavior that classes must implement.
Object Anything that has to be detected by the system.
Samples Images which are added into the dataset for the match-
ing process.
User Any person who is giving an image input for object de-
tection.
UI User Interface.
User Interface the means by which the user and a system interact.

1.4 Remainder of the Documnent


Next chapters of this document are organized as follows:

• Chapter 2 showcases the data flow between the various users, processes
and database of the software.

4
• Chapter 3 contains the Object-oriented design of the system, which
is the discipline of defining the objects and their interactions to solve
a problem that was identified and documented during object-oriented
analysis.

• Chapter 4 shows the internal logic of the processes through different


diagrams. They help in identifying the risks which can occur during
the software development.

All chapters of the document describes the design of the same software prod-
uct in its entirety.

5
Chapter 2

Functional Modelling

2.1 Data Flow Diagram Level 0

This Diagram shows the general relationship between the External Enti-
ties, Object Detection System and Data Store.

6
2.2 Data Flow Diagram Level 1

This diagram shows the data flow between internal processes, external
entities and image data set.

7
2.3 Data Flow Diagram Level 2

This Diagram shows the internal processes of the Image Processing pro-
cess.

8
Chapter 3

Object Oriented Design

3.1 Class Diagram

The class diagram provides the static view of the object detection system.

9
3.2 Data Dictionary

Field Field Cosntraint Range Size Example


Name Type
Image CLOB Not Null - max Xyz.PNG
500KB
Sample1 CLOB - - max Abc.JPEG
500KB
Sample2 CLOB - - max sample.PNG
500KB

Note that a number of samples can be added by the system admin that
will have the same attributes.

10
Chapter 4

Behavioral Modelling

4.1 State Transition Diagram

11
This Diagram shows the discrete behavior of the designed system through
finite state transitions.

4.2 Sequence Diagram

This diagram describes the sequence of messages that are exchanged, along
with their corresponding occurrence specifications on the lifelines.

12
4.3 Collaboration Diagram

This Diagram shows that how the objects interact to perform the required
behavior, along with the sequence of messages.

13
Chapter 5

Deployment View

5.1 Components in Deployment Diagram

This Diagram shows models the physical deployment of the software com-
ponents.

14

You might also like