SE Project
SE Project
FEROZEPUR
PROJECT TITLE
SUBMITTED BY –
ABHINAV SINGH(2007753)
AKASH KUMAR(2007755)
ANMOL SINGH(2007757)
(DATA SCIENCE )
( 3rd YEAR)
Batch 2020-2024
Table of Contents
Chapter 1. Introduction
1) Introduction to the System
2) Abstract
3) Aim
4) Objective
5) Goal
6) Limitation
Chapter 4.Implementation
1) Python
2) OpenCv(Cv2)
3) Glob
4) Numoy
Chapter 5. Output
Chapter 6. Conclusion
CHAPTER-1
Introduction:
In this chapter we mentioned the software and hardware requirements, which are
necessary for successfully running this system. The major element in building systems
is selecting compatible hardware and software. The system analyst has to determine
what software package is best for the “Vehicle Detection System” and, where
software is not an issue, the kind of hardware and peripherals needed for the final
conversion.
In this chapter we introduce the background of the thesis, and the focus area. Furthermore
the problem descriptions and research questions, research aim and limitations.
Vehicle detection is a computer vision technique that makes a system able to locate objects
in an image or video. This bounded box[23] from the segmentation can help a human or
driver to identify and locate the objects in a matter of seconds and quicker than
unprocessed images. Therefore, the goal of object detection is to implement this
intelligence to a computer.
There are different techniques to perform object detection. Popular deep learning–based
approaches using convolutional neural networks CNNs, such as YOLO and SSD, which
will automatically learn to detect objects within frames. To explain further on object
detection, more knowledge on machine learning is presented below. The Figure 1 below
shows the difference between image recognition and object detection.
Abstract
Object detection exist in many countries around the world after recent growing interest
for autonomous vehicles in the last decade. This paper focuses on a vision based approach
focusing on vehicles and pedestrians detection in real-time as a perception for autonomous
vehicles, using convolutional neural network for object detection. A developed YOLOv3-
tiny model is trained with the INRIA dataset to detect vehicles and pedestrians, and the
model also measures the distance to the detected objects. The machine learning process
is leveraged to describe each step of the training process, it also combats overfitting and
increases the speed and accuracy. The authors were able to increase the mean average
precision; a way to measure accuracy for object detectors; 31.3% to 62.14% based on the
result of the training that was done. Whilst maintaining a speed of 18 frames per second.
Research aim
The research aim of this thesis is to detect vehicles and pedestrians in a real-time environ-
ment with fast image processing of 20-25 frames per second (FPS)
Limitations
Some limitations in this type of area can occur if a low resolution camera is used which
may result in bad image quality or if a computer with low (GPU) graphics processing unit
is used which may lead to slower object detection process. To train a new dataset requires
a effective GPU, in our case we are using AMD RX 580 graphic card. In order to speed
up the process a better performing GPU is needed otherwise, the time required to train
our dataset will be longer than usual. Also to achieve better FPS (Frame per second), the
GPU plays a fundamental role.
When two people stand close to each other it can become difficult for the algorithm
to detect it correctly. Most commonly the algorithm generate a bigger bounding box and
interpret it as one person. However, there is still a notification of pedestrian detection to
the driver by the developed system in such circumstances.
CHAPTER-2
System Environment:
After analysis, some resources are required to convert the abstract system into the
real one.
The hardware and software selection begins with requirement analysis, followed by a
request for proposal and vendor evaluation.
Software and real system are identified. According to the provided functional
specification all the technologies and its capacities are identified. Basic functions and
procedures and methodologies are prepared to implement. Some of the Basic
requirements such as hardware and software are described as follows: -
Software Requirements:
• Technology: Python
• IDE :VsCode
• Client Side Technologies: command line interface
• Server side : python technologies
• Operating System: Microsoft Windows
Hardware Requirements:
System Analysis
Project Scope:
In the modern age. Many people have vehicles. Vehicle is now a basic need. Every place is
under the process of urbanization. There are many corporate offices and shopping centers
etc. There are many recreational places where people used to go for refreshment. So, all
these places need a parking space where people can park their vehicles safely and easily.
Every parking area needs a system that records the detail of vehicles to give the facility.
With the help of this system we can deliver a good service to customer who wants to park
their vehicle into the any organization’s premises.
The project has a wide scope, as it is not intended to a particular organization. This
project is going to develop generic software, which can be applied by any businesses
organization. More over it provides facility to its users. Also the software is going to
provide a huge amount of summary data.
Proposed System:
Vehicle Detection system is a web-based technology that will manage the records of
the incoming and outgoing vehicles in a parking house.
System Overview:
Dashboard: In these sections, admin can briefly view the number of vehicle entries in a
particular period.
Add Vehicle: In this section, admin add vehicle which is going tofast.
Manage Vehicle: In this section, admin can manage incoming and outgoing vehicle .
Reports: In this section admin can generate vehicle entries reports between two dates.
CHAPTER-4
Implementation issues
PYTHON
Python is a widely used general-purpose, high level programming language. It was initially
designed by Guido van Rossum in 1991 and developed by Python Software Foundation. It
was mainly developed for emphasis on code readability, and its syntax allows programmers
to express concepts in fewer lines of code.Python is a programming language that lets you
work quickly and integrate systems more efficiently.
CV2
Opencv is an open source library which is very useful for computer vision applications such
as video analysis, CCTV footage analysis and image analysis.
cv2 is the module import name for opencv-python, "Unofficial pre-built CPU-only OpenCV
packages for Python". The traditional OpenCV has many complicated steps involving
building the module from scratch, which is unnecessary. I would recommend remaining with
the opencv-python library.
GLOB
The glob module is a useful part of the Python standard library. glob (short for global) is
used to return all file paths that match a specific pattern.
We can use glob to search for a specific file pattern, or perhaps more usefully, search for
files where the filename matches a certain pattern by using wildcard characters.
According to Wikipedia, “glob patterns specify sets of filenames with wildcard characters”.
It also has functions for working in domain of linear algebra, fourier transform, and
matrices.
NumPy was created in 2005 by Travis Oliphant. It is an open source project and you can use
it freely.
In Python we have lists that serve the purpose of arrays, but they are slow to process.
NumPy aims to provide an array object that is up to 50x faster than traditional Python lists.
The array object in NumPy is called ndarray, it provides a lot of supporting functions that
make working with ndarray very easy.
S1ojeflamning& tstimahen C ponamly
Poject win co xtmghibm s nolernte=pon
intdiaddy olen ka tbulity 3-uoly
ad beer h
nfg
SHortvg
h uirCm&nt onalysis and rej ipbmwndotun
ph
ojeckanwing tvelus eimecion
Sauuro
chorat Heuties and
pa1ew o
o Frject
Cwd thow plowuwgt j
octiuiios bond
Hceyet extimates. Th
thot Mud to
ou bkevwt po-wdors
pohuwdons
be es-fimostol
intduolu
PSz EstimahoM
Cest Esthimaan
EFRort Estimotion
Dunuethon ITiwe Eshmin
(1) Pject wnolkorto Sing
Siz
s k wpevtend poamodn o Ony
projec cmo sou e ehmodrel
be-re
a.ctu implivmont otievn
Siu prejeet Con b
mujwd i n Lim Coel (LOc) by leldy
nUmben ws Co olu obnulo
th pojeet . ws Coebu dapend vpavw Geding
Pe ractites amd may vy OCCY di to
phythom Onol
duiSol in iooni ts hunu h
maximum is Cool opoximodey ktwun
fooSo u Cool. This IS
Omel Small
bojt Hime the Si
Siz
t pjeet s Small anol
s eCeo isJu viatl.
e)EHo Estima
Efft eimatien is
Hkeimsien {fris
n Atws peumo and mon - ho
by ermola E a CkLoc)b PM
b10S
KLOC
Ne.No. s ecda (Ku)
moyI mum Muwen
iny
Co = So0 LoC 5 KLoc
Twn
Efto4s = 240.5) PM
ov ryeet
Hen Coulculspion f si ounol efor sts.
Th Sum tHwe uvired to Cemhte oll
tospstn th torfol
. Sf rsolu
inwsfes Ho Cewplate projecf
Thisweb application involves almost all the basic features of the online vehicle parking system. The
future implementation will be online help for the users and chatting with website administrator.
CONCLUSION
The project entitled “ VehicleDetection System” is developed using Python, Cv2,Blob and as front
end and Python and vscodein back end to computerize the process of company visitor. This project
covers only the basic features required.
After research and compression, results showed that the You Only Look Once (YOLO)
algorithm is the most suitable for solving real-time object detection in traffic environment.
In this thesis a version of the YOLO entitled YOLOv3-tiny is developed and presented
with higher mean average precision on vehicles and pedestrians detection in real-time. The
developed YOLOv3-tiny object detection model is trained with distance measurement to
the detected objects, with the purpose to increase road safety