Upload
others
View
5
Download
0
Embed Size (px)
Citation preview
IMAGE PROCESSING BASED PARKING LOT MONITORING
INTERN PROJECT REPORT
Submitted by
S.JAYAPRAKASH 2016115034
S.JAYA PRAKASH 2016115033
B.ABINASH 2016115002
S.SUSIL 2016115102
To
DEAN OFFICE, ANNA UNIVERSITY
For completion of summer
Internship for Second Years
MAY 2018
ANNA UNIVERSITY CHENNAI
CHENNAI – 600 025
BONAFIDE CERTIFICATE
This is to certify that this project “IMAGE PROCESSING BASED PARKING LOT
MONITORING”, is a bonafide work of “S.JAYAPRAKASH (2016115034), S.SUSIL
(2016115102), S.JAYA PRAKASH (2016115033) and B.ABINASH (2016115002)” who
carried out this project under my supervision.
SIGNATURE SIGANTURE
Dr. SASWATI MUKHERJEE DR. P. SHUNMUGA PERUMALHEAD OF THE DEPARTMENT PROJECT GUIDEDEPARTMENT OF INFORMATION DEPARTMENT OF INFORMATION SCIENCE AND TECHNOLOGY SCIENCE AND TECHNOLOGYCOLLEGE OF ENGINEERING GUINDY COLLEGE OF ENGINEERING GUINDYANNA UNIVERSITY ANNA UNIVERSITYCHENNAI – 600 025 CHENAI – 600 025
Abstract:
The main objective of this project is to monitor parked vehicles in the
parking lot. This helps the authority to identify the authenticated and
unauthenticated vehicles parked in the parking lots.
Working principle:
Image capturing & Image processing (authenticated /
unauthenticated vehicles)-Camera
Remote Monitoring station (cloud DB based monitoring system)
Hardware Components: (describe the following in detail)Raspberry Pi3 (Model B+):
Raspberry Pi is a low-cost, basic computer that was originally
intended to help spur interest in computing among school-aged children.
All the hardware components of our project is mostly connected through
the Raspberry Pi board and the connection becomes closed connection
using a breadboard The Raspberry Pi is contained on a single circuit
board and features ports for:
HDMI
USB 2.0
Composite video
Analog audio
Power
Internet
SD Card
The computer runs entirely on open-source software and gives students
the ability to mix and match software according to the work they wish to
do.
Pi camera module:
The Pi camera module v2 replaced the original camera module. The
Raspi camera will act as like the inbuilt camera as like in laptops. It helps
in capturing pictures, recording videos as per our wish and save those
images and videos in the specified path.
Desktop computer (HDMI) - Pi console monitoring:
The desktop computer act as the monitor which monitors the
complete usage of our Raspberry Pi board.
Breadboard:
Most of our projects are tested using a small piece of plastic
known as a breadboard. Officially, it’s known as a ‘solderless breadboard’
because it enables you to use circuit parts without soldering them
together.This board helps to make the connection between the hardware
and the board closed.
Firebase - cloud (real-time database):
Firebase is a real time database used for storing and retrieving
the data when needed. In this database the vehicle number, Vehicle
parked time and the vehicles owners roll numbers are stored. It will be
referred and authenticated later.
Software components: (describe the following in
detail)
Raspbian OS:
Raspbian is a free operating system based on Debian optimized
for the Raspberry Pi hardware. An operating system is the set of basic
programs and utilities that make your Raspberry Pi run
Python (2.7):
The python version used here is 2.7. Some of the improvements
comparing with the previous version is
A much faster i/o module
New syntax for nested with statements
Automatic numbering of fields in the str.format() method
New unittest features including test skipping, test discovery
etc.
PIP:
PIP stands for Preferred Installer Program. PIP is used to install and
manage the software packages written in python.PIP also means that PIP
Install Packages.
OpenCV:
Opencv-Python is a library of python that we mainly used for
image processing in machine learning.OpenCV supports a wide variety of
programming languages such as C++, Python, Java, etc., and is available
on different platforms including Windows, Linux, OS X, Android, and
iOS.OpenCV-Python is the Python API for OpenCV, combining the best
qualities of the OpenCV C++ API and the Python language.
Tesseract OCR (Pi):
Python-tesseract is an optical character recognition (OCR) tool
for python. That is, it will recognize and "read" the text embedded in
images. ... The images we give as input will be processed and the
tesseract will return the text in the image as string.Here no code is
required, just we need the tesseract and should know its command
Matplotlib:
Matplotlib is a plotting library for the Python programming
language and its numerical mathematics extension NumPy. It provides an
object-oriented API for embedding plots into applications using general-
purpose GUI toolkits like Tkinter, wxPython, Qt, or GTK+.
pyplot is matplotlib’s plotting framework. That specific import line merely
imports the module "matplotlib.pyplot" and binds that to the name "plt".
The following are equivalent (assuming x and y are already
defined). The first two are the most directly relevant to your question.
import matplotlib.pyplot as plt
plt.plot(x, y)
Numpy:
NumPy is the fundamental package for scientific computing with
Python. It contains among other things: a powerful N-dimensional array
object.
Pillow:
Pillow is also called PIL. It is used for opening, saving and
manipulating many different image file formats.
Datasets:
Datasets is the source for all programs, that is without datasets
no programs will run. Datasets include .csv file, xml file, images, videos
etc.
Screenshots (outcomes of the project):
Testing and matching of number plates
Detection and tracking of vehicle
Testing of number plates in database
Use of Space bar to take picture
How to enable raspi-camera
Connect raspberry pi camera to raspberry pi board
Enable camera module in raspberry pi
Identification and Seperation of number plate
\
We can also test the cars by feeding the video as input not only image.