Credit Card Fraud Detection Using Machine Learning: A Seminar Report

Download as pdf or txt
Download as pdf or txt
You are on page 1of 22

Credit Card Fraud Detection Using

Machine Learning
A SEMINAR REPORT

Submitted by

MUHAMMED SHADIL KC

in partial fulfillment for the award of the requirement of

DIPLOMA

in

COMPUTER SCIENCE & ENGINEERING

JDT ISLAM POLYTECHNIC COLLEGE

KOZHIKODE - 673012

NOVEMBER 2021
JDT ISLAM POLYTECHNIC COLLEGE
VELLIMADUKUNNU, KOZHIKODE – 673012

DEPARTMENT OF COMPUTER ENGINEERING

CERTIFICATE

Certified that this is a Bonafide record of the seminar work entitled

Credit Card Fraud Detection Using Machine Learning


Done by

MUHAMMED SHADIL KC

of V semester Computer Science & Engineering, Reg no:2101131461, in partial


fulfillment of the requirements for the award of Diploma in Computer Science &
Engineering under the directorate of technical education, Kerala state during
the year 2021-2022

Mr. VIPIN RAJ N Mrs. NINUMOL CP.


Head of the Department Staff In-Charge

SUBMITTED FOR THE PUBLIC EXAMINATION HELD ON……………….

INTERNAL EXAMINER EXTERNAL EXAMINER


ACKNOWLEDGEMENT

I thank my seminar guide Ninumol CP, Lecturer, JDT POLYTECHNIC


COLLEGE, for her proper guidance, and valuable suggestions. I am indebted
to Vipin Raj, the HOS, Computer Engineering & other faculty members for
giving me such a wonderful opportunity to expand my knowledge for my
own branch and giving me guidelines to present a seminar report. It helped
me a lot to realize of what we study for.

Secondly, I would like to thank my parents who patiently helped me as I


went through my work and helped to modify and eliminate some of the
irrelevant or un-necessary stuffs.

Thirdly, I would like to thank my friends who helped me to make my work


more organized and well-stacked till the end.

Last but clearly not the least, I would thank The Almighty for giving me
strength to complete my report on time.

If not for the above-mentioned people my seminar would never have been
completed successfully. I once again extend my sincere thanks to all of them.

MUHAMMED SHADIL KC
ABSTRACT

In this fast-running world where time has become the major constraint, each and every minute
becomes important to the busy individuals. Hence, Smart Mirror could be an added advantage for
the busy individuals who believe in multitasking and feel a need to get the daily updates while on
the hustle. Instead of repeatedly checking the devices for information, one could be informed while
grooming oneself. This paper gives the details of the hardware and the software requirements and
the techniques which are used to display the various information such as weather, time, date, and
news updates, music, email notifications in the form of widgets, along with voice control and
therefore controlling the mirror updates using voice for news feeds, e-mail notification and other
information using the Raspberry Pi. Embedding a computer screen in mirror appears very
futuristic. The raspberry Pi, at the backend controls and manages the data displayed on mirror.
When one looks in the mirror, one can view various notifications from date, time and news to
weather forecast and more things.
CONTENTS

CHAPTER 1 INTRODUCTION 1
CHAPTER 2 EASE OF USE A MAGIC MIRROR 2

CHAPTER 3 RELATED WORK 8


CHAPTER 4 SYSTEM ARCHITECTURE 12

CHAPTER 5 ADVANTAGES, DISADVANTAGES, 9


APPLICATION, FUTURE
CHAPTER 7 CONCLUSION 16

REFERENCE 17

i
SPACE MOUSE

CHAPTER 1
INTRODUCTION

We are creating few interface and modules that we are going to use in the
smart mirror to make it more user friendly. Efficiency and productivity are two
qualities that are increasingly establishing their dominance as keywords companies
are using to market their products. The fact that their product can multitask or
increase productivity better than the competition has become a real selling point
.This is due to the fact that effective time management is an essential factor in
increasing production of day-today life. The best time management strategies
involve being able to find time where there was no time before .Integration of
technology into people’s daily lives has made that time management possible .The
use of products such as tablets, PCs, and smartphones have given people access to
the tools needed to be productive. However, though successful technological
products have been used to increase productivity, it has done its fair share to stifle
it as well. The use of technology has become another task on everyone’s daily to-
do list. Technology should m old to our schedule ,not the other way around .That
is where the smart mirror idea originated .The smart mirror idea aimed to integrate
technology seamlessly into people’s lives by putting it where everyone’s routine
eventually collides, the bathroom. The goal of the smart mirror is to increase a
user’s productivity by saving them time. The smart mirror provides anear
effortless experience that allows the user to just walk up and be greeted with
information.

Department of Computer Engineering, Page 1


JDT Islam Polytechnic College, Kozhikode-673012
RASPBERRY PI

CHAPTER 2

EASE OF USE A MAGIC MIRROR


Magic Mirror aims at augmenting the basic reflective mirror with embedded
intelligence to combine daily routine tasks like reading newspaper, getting
stock updates, weather updates etc. and providing all that data to the user while
he/she gets ready. The world around is constantly changing. Interactive
computing with wirelessly connected device that are being used in various day
to day Activities that are changing and Improving the standard of the Quality
Life. Based on this Interactive computing and communication technologies,
Many Devices/ Products are now emerging and with this Multimedia
Intelligence it is providing comfortable, secure And convenient personal
services and making a lot of users comfortable. We have Smart cities, Smart
phones, Smart cars and more. This fast way of Life requires the developments
of home automation projects. Smart home designs to improve the comfort,
convenience, and security of homes are becoming increasingly important in
information communication technology (ICT) to enable new user-friendly
services. Smart Mirror is developed to provide convenience for users in
managing things and control the usage of electrical appliances in the house with
network connection between the lamp and the device. The Smart Mirror would
help in developing smart houses. The Artificially Intelligent Smart Mirror is
designed to perform several functionalities that can be explained, it will mimic
a natural mirror interface through a flat LED monitor used for the mirror
display A one-way mirror is used in front of the LED monitor thereby
mimicking the function of a regular mirror. For personalized information
services the users will be able to obtain minute updates of latest news and
public headlines, weather reports as well as get reports of our interests.
DEPARTMENT OF COMPUTER ENGINEERING, Page 2
JDT ISLAM POLYTECHNIC COLLEGE, KOZHIKODE
RASPBERRY PI

CHAPTER 3

RELATED WORK

We have referred many reference papers, journals and lab works of other colleges
and of other countries for our project. Those which were proposed for publishing
purposes and also implemented for projects and DIYs. Developed countries have
successfully accomplished this project and it’s readily available in the market.
Whereas, Developing countries have their best attempts to get revolutionized by
making their best efforts to compete with the Technology. Indian Technology isn’t
lagging behind in this field. It’s encouraging every individual to be creative in their
ideas. 1) In the laboratory of Tianjin University Of China they have proposed a
paper on Smart Mirror Using Raspberry Pi where they have concluded well: They
used Raspberry pi as host controller and used over internet and obtained many
widgets like weather information, time and date using API interface designated by
the extra net. They have implemented it with face and voice recognition system and
home automation. Its advantage is its portable, user friendly and cost efficient. They
have Mimic a natural mirror interface. They used A flat monitor for the mirror
display. A one-way mirror is used to provide real time display of what is located in
front of the Smart Mirror using Raspberry Pi thereby mimicking the function of a
regular mirror profiles and store them in the system. According to this profile,
customized services are provided to the user. 2) We also went through a Review
Paper of International Journal Of Engineering Science Invention (IJESI) proposed
by SITRC of Pune: They designed their Smart Mirror which provides a Picture-In-
Picture sub display to facilitate the display of services such as Maps and Videos via
YouTube. They have displayed their model idea on LED display monitor which
displays all necessary information. They attempted to contribute the model of Smart

DEPARTMENT OF COMPUTER ENGINEERING, Page 3


JDT ISLAM POLYTECHNIC COLLEGE, KOZHIKODE
RASPBERRY PI
mirror like interface as well as smart environment to use for interaction. They have
tried to promote the use of Ontology to personalize the services. They have used
open Standard like Web services to communicate with devices and have customized
various personal devices for users need. 3)Another Journal Paper that demonstrates
our Project is of International Journal Of Computer Application proposed by BRAC
University of Dhaka, Bangladesh :Their Smart Mirror supported IoT and Home
Automation which is used to optimize time of doing work and that helps one to
increase daily productivity.AI was their main domain to overcome the tasks
performed by human resources. They preferred to Personalize Information services:
By which Users will be able to obtain minute updates of latest news and public
headlines, weather reports as well as get reports of our interests .Mirror applications
of theirs are based on face recognition which provides data feed of various websites
and services. Their Mirror has the feature of providing news and weather reports as
well as providing music and video playbacks. This was done with a MacOS and the
music files were fetched from the hard drive of the Mac. Excellent feature of this
project was the addition of a medicine box scanner, which allowed the user to buy
medicines recognizing their prescriptions. Medical Mirror combines computer vision
and signal processing technique for measuring the heart rate from the optical signal
reflected of the face Their prototype consists of LCD display with built-in camera
and a two way mirror fitted onto the frame. The smart mirror recognizes the
presence of a user when he or she stands in front of it and, after about 15 seconds, it
displays the heart rate below the user’s reflected image. The mirror application
within a smart home environment, in 2004 Philips Research incorporated the
concept of health care developing an Intelligent Bathroom. This paper presents the
design and implementation of a multi-user smart mirror system conceived to
promote wellness and healthier lifestyles in the work environment through
persuasive strategies.

DEPARTMENT OF COMPUTER ENGINEERING, Page 4


JDT ISLAM POLYTECHNIC COLLEGE, KOZHIKODE
RASPBERRY PI

CHAPTER 4
SYSTEM ARCHITECTURE

Raspberry Pi 3

Fig 1 Raspberry Pi 3

The Raspberry Pi is a series of small singleboard computers developed in the United


Kingdom by the Raspberry Pi Foundation to promote the teaching of basic computer
science in developing countries. It does multiple tasks. It act as main centre for our
proposed model. It is Tiny and affordable The Raspberry Pi is a small, credit
cardsized computer that powers the whole thing, displaying the Magic Mirror
interface an dunning Alexa, the voicecontrol system .The Raspberry Pi 3 is a single
board computer which features a quad core ARM cortex A-5 processor, with the
capability to run Linux based operating systems. The Raspberry Pi 3 has an
integrated LAN port which can be used to connect to the internet .It also comes with
double row GPIO (General Purpose Input Output) pins which can be used for
interfacing it with a variety of I/O devices. We will be installing debian-based
Raspbian OS Jesse on the Raspberry Pi and download and install node.js for the
packages.

DEPARTMENT OF COMPUTER ENGINEERING, Page 5


JDT ISLAM POLYTECHNIC COLLEGE, KOZHIKODE
RASPBERRY PI

The two-way mirror

Fig 2 The two-way mirror

The two-way mirror is made of acrylic and sits flush over the monitor, allowing the
graphics on the monitor to come through while maintaining a mirror effect. I ordered
my mirror through Among Aluminium. The thicker mirror option (3/16") to prevent
a "funhouse mirror" effect.

An LED monitor for minimal power consumption, maximum crispness, and to


prevent mirror glow at night .The required information for the user will be displayed
on the LED monitor

DEPARTMENT OF COMPUTER ENGINEERING, Page 6


JDT ISLAM POLYTECHNIC COLLEGE, KOZHIKODE
RASPBERRY PI

Fig 3 The way mirror

The box/frame

The box/frame houses all the components, including the microphone, and looks pretty

Fig 4 box frame

DEPARTMENT OF COMPUTER ENGINEERING, Page 7


JDT ISLAM POLYTECHNIC COLLEGE, KOZHIKODE
RASPBERRY PI

Frame Build Process

We started by removing the bezel on the monitor and replacing it with black
electrical tape that ensured that we couldn't see the outline of the monitor through
the glass. We then pulled out the little circuit board for the buttons to adjust
brightness, turn monitor on, etc. We taped this to the back of the monitor for
occasional future use if necessary. Next we broke the old glass that was included in
the frame housing and replaced it with the new two way glass that we purchased. We
then cut out several pieces of wood that were used to surround the monitor and keep
it in place. After doing so, we glued these pieces to the frame housing/monitor and
put it in place. Next we painted the outside of the frame to clean up any blemishes
done in the process. We grabbed some bolts and placed them on top and bottom of
the wood pieces and put flexible metal strips running across the back of the monitor
to ensure it doesn’t move too much. Lastly we cut a piece of plexiglass and screwed
it onto the back of the monitor and screwed our raspberry pi into it. After hooking all
the cables, we completed the construction of the monitor.

Fig 5 Frame Build Process

DEPARTMENT OF COMPUTER ENGINEERING, Page 8


JDT ISLAM POLYTECHNIC COLLEGE, KOZHIKODE
RASPBERRY PI

CHAPTER 5

ADVANTAGES, DISADVANTAGES, APPLICATION, FUTURE

5.1 ADVANTAGES

Creating a smart mirror using a Raspberry Pi has several advantages:

1. Customization: You can design the smart mirror to display a variety of


information, such as time, date, weather, calendar events, news, and more, tailored to
your preferences.

2. Cost-effective: Raspberry Pi is an affordable and energy-efficient option for


building a smart mirror compared to buying a commercial smart mirror.

3. DIY Project: Building a smart mirror with a Raspberry Pi can be a fun and
educational do-it-yourself (DIY) project, allowing you to learn about programming,
electronics, and design.

4. Open Source: There are open-source software solutions available for smart
mirrors, providing flexibility to customize and add features as needed.

5. Connectivity: You can integrate the Raspberry Pi with other IoT devices and
services to control smart home devices, display real-time data, or even use voice
commands.

DEPARTMENT OF COMPUTER ENGINEERING, Page 9


JDT ISLAM POLYTECHNIC COLLEGE, KOZHIKODE
RASPBERRY PI

6. Learning Opportunity: Developing a smart mirror with a Raspberry Pi can be a


great way to gain hands-on experience with hardware and software development.

7. Energy Efficiency: Raspberry Pi is energy-efficient, making your smart mirror


consume less power compared to some commercial alternatives.

8. Community Support: The Raspberry Pi community is vast, providing access to


tutorials, forums, and resources for assistance with your project.

5.2 DISADVANTAGES

creating a smart mirror using a Raspberry Pi can be a fun and innovative project,
there are some potential disadvantages to consider:

1. *Cost:* Building a smart mirror with Raspberry Pi components can add up in


terms of cost. You'll need a two-way mirror, a Raspberry Pi, a display, and various
other components, which might not be budget-friendly for some.

2. *Complexity:* Setting up a smart mirror can be technically challenging,


especially if you're not experienced with electronics and programming. It may
require a good understanding of software development and hardware integration.

3. *Limited Processing Power:* Raspberry Pi's processing power is limited


compared to traditional desktop computers. This limitation can affect the mirror's
performance, especially if you're running resource-intensive applications or services.
DEPARTMENT OF COMPUTER ENGINEERING, Page 10
JDT ISLAM POLYTECHNIC COLLEGE, KOZHIKODE
RASPBERRY PI

4. *Maintenance:* Smart mirrors can require regular maintenance. Software updates,


hardware adjustments, and troubleshooting may be necessary to keep it running
smoothly.

5. *Power Consumption:* Depending on the components you use, a smart mirror


can consume a fair amount of power, which may increase your energy costs over
time.

6. *Reflectivity and Clarity:* Achieving the right level of reflectivity in the two-way
mirror can be challenging. Sometimes, the mirror may not provide perfect clarity,
and the display might be slightly visible behind the reflective surface.

7. *Privacy Concerns:* Depending on where you install the smart mirror, there may
be privacy concerns if it can inadvertently display personal or sensitive information
to others.

8. *Limited Display Size:* The size of your smart mirror is limited by the size of the
display you choose and the dimensions of your two-way mirror. This may restrict
the amount of information or the user interface you can display.

DEPARTMENT OF COMPUTER ENGINEERING, Page 11


JDT ISLAM POLYTECHNIC COLLEGE, KOZHIKODE
RASPBERRY PI
5.3 APPLICATION

Raspberry Pi is a versatile single-board computer that can be used for various applications. Here
are some common applications:

1. *Home Automation:* You can use Raspberry Pi to control smart home devices, such as lights,
thermostats, and security cameras.

2. *Media Center:* Install media center software like Kodi or Plex to turn your Raspberry Pi into a
home theater system.

3. *Web Server:* Raspberry Pi can host a website or web application using a web server like
Apache or Nginx.

4. *Game Console:* Retro gaming enthusiasts often use Raspberry Pi to build retro game consoles
using emulation software like RetroPie.

5. *IoT Projects:* Raspberry Pi is popular for Internet of Things (IoT) projects, such as
environmental monitoring, smart agriculture, and more.

6. *Robotics:* You can build robots and autonomous vehicles using Raspberry Pi as the control
unit.

7. *Educational Tools:* Raspberry Pi is a fantastic platform for learning programming, electronics,


and hardware interfacing.

8. *Network Attached Storage (NAS):* You can create your own personal cloud storage server
using software like Nextcloud.

9. *Security Camera:* Turn your Raspberry Pi into a security camera system using a USB camera
and motion detection software.

DEPARTMENT OF COMPUTER ENGINEERING, Page 12


JDT ISLAM POLYTECHNIC COLLEGE, KOZHIKODE
RASPBERRY PI

10. *Artificial Intelligence:* Raspberry Pi can be used for AI projects, including image
recognition, voice assistants, and more.

5.4 FUTURE

A smart mirror created using a Raspberry Pi can offer a variety of features and
functionalities. Here are some common features you can implement in a smart
mirror project:

1. *Time and Date:* Display the current time and date on the mirror's surface.

2. *Weather Information:* Show current weather conditions, forecasts, and


temperature.

3. *Calendar and Events:* Display upcoming appointments, meetings, or events


from your calendar.

4. *News Headlines:* Show the latest news headlines or RSS feeds.

5. *To-Do Lists:* Display to-do lists or reminders.

6. *Voice Assistant Integration:* Implement voice recognition and a voice assistant


(e.g., Alexa, Google Assistant) for voice commands and control.

7. *Health and Fitness Data:* Display fitness metrics like step count, heart rate, or

DEPARTMENT OF COMPUTER ENGINEERING, Page 13


JDT ISLAM POLYTECHNIC COLLEGE, KOZHIKODE
RASPBERRY PI
exercise goals.

8. *Traffic Updates:* Show real-time traffic information and commute times.

9. *Social Media Feeds:* Display social media updates and notifications.

10. *Custom Widgets:* Create custom widgets or modules for specific information
like stocks, sports scores, or personal notes.

11. *Mirror Camera:* Add a camera for features like facial recognition, gesture
control, or simply for taking selfies.

12. *Entertainment:* Play music, videos, or stream content from online services.

13. *Customization:* Allow users to customize the layout, widgets, and appearance
of the mirror to their preferences.

14. *Home Automation Control:* Integrate with smart home devices to control
lighting, thermostat, or other connected appliances.

15. *Information Display:* Showcase helpful information like quotes of the day,
motivational messages, or daily affirmations.

16. *Security and Surveillance:* Use a camera and motion detection to provide
security and surveillance features.

17. *Gesture Control:* Implement gesture recognition for hands-free control of the
mirror's features.
DEPARTMENT OF COMPUTER ENGINEERING, Page 14
JDT ISLAM POLYTECHNIC COLLEGE, KOZHIKODE
RASPBERRY PI

18. *Ambient Lighting:* Add LED strips or other lighting effects for a more
aesthetic look and to adjust lighting based on time of day or activities.

19. *Multi-User Profiles:* Support multiple user profiles with personalized


information.

20. *Updates and Notifications:* Receive and display notifications for emails,
messages, and other apps.

DEPARTMENT OF COMPUTER ENGINEERING, Page 15


JDT ISLAM POLYTECHNIC COLLEGE, KOZHIKODE
RASPBERRY PI

CHAPTER 6

CONCLUSION

This project started as an attempt to contribute in bringing smart homes and devices
to Bosnia and Herzegovina. Although the features this device offers are bare
minimum of what it could offer, there is room for improvement and further
development. At this time, the purpose of the displayed information on the mirror is
to save the time spent in the mornings in search for such information. In the future,
additional features will be added to the mirror, allowing it to be more customizable
and user friendly. Users will be more in control in terms of selecting which type of
information they wish to be presented with. They will also be able to interact with
the mirror by using their smart phones. Smart Mirror is currently a hot topic. The
purpose of this paper was to provide an overview of currently available solutions
and detailed instructions on how to build your own. With enough time and effort,
this project could turn into a great opportunity for further development and
integration with other smart home components.

DEPARTMENT OF COMPUTER ENGINEERING, Page 16


JDT ISLAM POLYTECHNIC COLLEGE, KOZHIKODE
RASPBERRY PI

REFERENCE

1.P. Ridden, ”Cybertecture’ s magical mirror is bursting with augmented


information”,Newatlas.com, 2017. [Online]. Available: http://newatlas.com/ cybertecture-
smartmirror/20227/

2.A. Chan, ”Samsung Wins CES Innovation Award For Smart Window Display - PSFK”, PSFK,
2012. [Online]. Available: https://www.psfk.com/2012/01/ samsung-smart-windowces.html

3. D. Zax, ”Samsung’s Smart Window”, MIT Technology Review, 2017. [Online]. Available:
https://www.technologyreview.com/s/426662/ samsungs-smart-window/

4. ”SERAKU Corporation, Ltd.”, Smart Washbasin, 2017. [Online]. Available: http: //smart-
washbasin.seraku.co.jp/english/about/index.html

5.”Memomi Memory Mirror”,Memomi Memory Mirror, 2017. [Online]. Available:


http://memorymirror.com/

DEPARTMENT OF COMPUTER ENGINEERING, Page 17


JDT ISLAM POLYTECHNIC COLLEGE, KOZHIKODE

You might also like