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

A REALTIME PROJECT REPORT ON

QR CODE GENERATOR USING PYTHON


Submitted in Partial Fulfillment of the Requirements for
The Award of
IN

COMPUTER SCIENCE &ENGINEERING

BY

B.LIKHITHA 22C31A0521

B.NAGASRI 22C31A0522

B.VISHWA 22C31A0532

D.SAHASRA 22C31A0547

G.VENNELA 22C31A0557

PAVANKUMAR 22C31A0558

RISHIVARDHAN 22C31A0501

UNDER THE GUIDANCE OF

Mr.D.SUMAN

Assistant Professor

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

BALAJI INSTITUTE OF TECHNOLOGY & SCIENCE


AUTONOMOUS
AccreditedbyNBA(UG-CE,ECE,ME,CSEPrograms)&NAACA+Grade

(AffiliatedtoJNTUHyderabadandApprovedbytheAICTE,NewDelhi)
BALAJI INSTITUTE OF TECHNOLOGY AND SCIENCE
AccreditedbyNBA(UG-CE,ECE,ME,CSEPrograms)&NAACA+Grade

(AffiliatedtoJNTUHyderabadandApprovedbytheAICTE,NewDelhi)

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

CERTIFICATE

This is to certify that RK.PAVANKUMAR of B.TechII–II Sem has satisfactorily completed


the REAL TIME Project entitled “Qr Code Generator”, in partial fulfillment of the requirements for the award of the
degree of bachelor of Technology in Computer Science and Engineering from Balaji Institute of Technology & Science
during academic year 2023-24.

Mr.D.SUMAN DR.B.KRISHNA

Assistant Professor Associate Professor & Head

Department of CSE Department of CSE

BITS,Narsampet-506331 BITS,Narsampet-506331

Internal Examiner External Examiner


ABSTRACT

In recent years, Quick Response (QR) codes have become a ubiquitous tool for sharing
information efficiently and interactively. This mini project focuses on developing a Python-
based QR code generator that allows users to create QR codes effortlessly.

Leveraging the power of the qrcode and PIL libraries, this project provides a simple, yet
versatile, interface for generating QR codes that can encode various types of data, including
URLs, text, contact information, and more.

The primary objective of this project is to demonstrate the practical application of Python in
developing a utility tool that can be integrated into larger systems or used as a standalone
application

• User-Friendly Interface: A command-line interface that allows users to input data and
customize QR code properties such as size, border, and color.

• Data Encoding: Support for encoding different types of data into QR codes, making it
versatile for various use cases.

• Error Handling: Implementation of error correction capabilities to ensure QR codes are


robust and scannable even if partially damaged.
INDEX

INTRODUCTION 1
PROJECT

LANGUAGE USED

UML DIAGRAMS(CLASS,USECASE,SEQUENTIAL)

DESIGN 6

IMPLEMENTATION 10
MODULES

CODE IMPLEMENTATION

TESTING 14

RESULTS

CONLUSION 17
1. INTRODUCTION

QR CODE GENERATOR:

A QR code maker or generator is a software that lets users create their own
static or dynamic QR codes.

With a QR code creator, users can choose what they want to share or store in
their QR code, whether a website link, social media link, or file.

At QR TIGER, users cannot only create a simple black-and-white QR code, but


they can also create a fully customized one.

QR TIGER is a trusted QR code maker that offers 20 advanced QR code


solutQions for personal and business use.

This mini project aims to develop a Python-based QR code generator that can create
QR codes encoding various types of data.

The goal is to provide a practical tool that demonstrates the capabilities and
applications of QR codes while offering an opportunity to explore Python
programming and library usage.
INTRODUCTION TO PYTHON

Python is an interpreted, object-oriented, high-level programming language with


dynamic semantics.

Its high-level built in data structures, combined with dynamic typing and dynamic
binding, make it very attractive for Rapid Application Development, as well as for use
as a scripting or glue language to connect existing components together.

Python's simple, easy to learn syntax emphasizes readability and therefore reduces
the cost of program maintenance. Python supports modules and packages, which
encourages program modularity and code reuse.

The Python interpreter and the extensive standard library are available in source or
binary form without charge for all major platforms, and can be freely distributed.
UML DIAGRAMS:
INTRODUCTION:

UML (Unified Modeling Language) is a general-purpose, graphical modeling


language in the field of Software Engineering. UML is used to specify, visualize,
construct, and document the artifacts (major elements) of the software system. It
was initially developed by Grady Booch, Ivar Jacobson, and James Rumbaugh in
1994-95 at Rational software, and its further development was carried out through
1996. In 1997, it got adopted as a standard by the Object Management Group.

UML (Unified Modeling Language) is a general-purpose, graphical modeling


language in the field of Software Engineering. UML is used to specify, visualize,
construct, and document the artifacts (major elements) of the software system. It
was initially developed by Grady Booch, Ivar Jacobson, and James Rumbaugh in
1994-95 at Rational software, and its further development was carried out through
1996. In 1997, it got adopted as a standard by the Object Management Group

TYPES OF UML DIAGRAMS USED IN OUR PROJECT:

• Class Diagram

• Use-Case Diagram

• Sequence Diagram

7
USE-CASE DIAGRAM:

A use case diagram in software engineering visually represents the interactions between users
(actors) and the system, showing the various use cases (functionalities) the system provides.
It highlights the system's functional requirements and the relationships between use cases and
actors.

8
CLASS DIAGRAM:

A class diagram in software engineering is a static structure diagram that describes the
system's classes, their attributes, methods, and the relationships among the classes. It is used
to model the system's logical structure and define the interactions between different classes

9
SEQUENCE DIAGRAM:

A sequence diagram in software engineering illustrates the order of interactions between


objects in a system over time, detailing how operations are carried out. It shows the sequence
of messages exchanged between objects to perform a specific function or process.

10
CODE IMPLEMENTATION :

import pyqrcode
import png
from pyqrcode import QRCode
# string represents the QR Code

S=”www.geeeksforgeeks.org”

#Generate Qr code Generator

url=pyqrcode.create(s)

#create and save the avg file naming “myqr.avg”

url.avg(“code.svg”,scale=0)

#create and save the png file naming “myqr.png”

url.png(“code.png”,scale=6)

11
SCREENSHOTS:

12
13
RESULTS:

14
Conclusion:

By the end of this mini project, users will not only have
a functional QR code generator but also a deeper
understanding of the underlying principles of QR code
technology.

This project serves as a hands-on introduction to


Python's capabilities in developing practical applications
and provides a foundation for further exploration and
innovation in the field of information encoding and
sharing.

15

You might also like