QR Integration - Creating a QR Service with MuleSoft | MuleSoft Mysore Meetup #8
-Introduction to QR
-How QR Works
-Structure of QR
-QR Version, Dynamic QR
-Uses of QR
Demo
-Generating QR from 3rd Party API
-QR Generation using Java API
Blog:- https://medium.com/@myid535/qr-integration-create-your-own-qr-api-service-with-mulesoft-7ad5548aeb7f
Speaker:- Shubham Chaurasia
Organizers:
Shubham Chaurasia - https://www.linkedin.com/in/shubhamchaurasia1/
Giridhar Meka - https://www.linkedin.com/in/giridharmeka
Join MuleSoft Mysore Meetup Group - https://meetups.mulesoft.com/mysore/
2. November 06, 2022 11:00 IST
Mysore MuleSoft Meetup
QR Integration with MuleSoft
3. Safe Harbour Statement
● Both the speaker and the host are organizing this meet-up in individual capacity only. We are
not representing our companies here.
● This presentation is strictly for learning purposes only. Organizer/Presenter do not hold any
responsibility that same solution will work for your business requirements.
● This presentation is not meant for any promotional activities.
3
4. A recording of this meetup will be uploaded to events page within 24 hours.
Questions can be submitted/asked at any time in the Chat/Questions & Answers Tab.
Make it more Interactive!!!
Give us feedback! Rate this meetup session by filling feedback form at the end of the day.
We Love Feedbacks!!! Its Bread & Butter for Meetup.
Housekeeping
4
5. 5
A SHOW OF HANDS:
New Members With Us.!!
CHEERS…!!!
We have prizes to give away!
3 lucky winners will receive a MuleSoft voucher!!!
6. Introduction
● About the Organizers
Giridhar Meka
HashedIn
Sr. Technical Architect
6
Shubham Chaurasia
Billennium India
Professional Integration Developer
A SHOW OF HANDS:
Who is new to this Meetup?
7. ●About the Speaker :
Introductions
Shubham Chaurasia
Professional Integration Developer
Billennium India
2.5+ years of Experience in Integrations
MCD L1, MCPA, MCIA Certified,
Salesforce, AWS, GCP, Azure, Workato Certified
Mulesoft Meetup Leader | Mentor | Blogger | Speaker
AWS Community Builder
https://www.linkedin.com/in/shubhamchaurasia1/
https://medium.com/@myid535
7
8. 8
● Introduction to QR
● QR
❑ How QR Works
❑ Structure of QR
❑ QR Version, Dynamic QR
❑ Uses
● Demo
❑ Generating QR from 3rd Party API
❑ QR Generation using Java API
● Trivia
Agenda
10. Introduction to QR
10
• QR Stands for Quick Response Code
• QR Code® is a two-dimensional barcode created by the Japanese corporation
Denso-Wave by Masahiro Hara in 1994
• It is a 2D code that is made of black cells arranged in a square grid on a white
background.
• It can store a maximum of 7089 digits or 4,296 alphanumeric characters including
punctuation marks and special character
• They can also store binary/bytes and kanji(kanji are Japanese symbols representing
entire words), but those are less frequently used. These numbers assume the lowest
error correction level.
• Note: A QR Code can't hold enough information to encode a complete image
11. 11
• Each QR code consists of black squares and
dots which represent different pieces of
information
• When scanned, the unique pattern on the QR
translates into human-readable data
• Data is encoded using binary coding. Each
tiny square represents 0 or 1
• There are 7 Different Parts of a QR Code
How QR Works
12. Parts of QR Code
● Quiet zone: An empty white border that makes it
possible to isolate the code from among other
printed information
● Finder patterns/ Positioning detection markers :
Large black and white squares in three of the
corners make it easy to confirm that this is a QR
code (and not, say, an Aztec code)
.
● Alignment pattern: This ensures the code can be
deciphered even if it's distorted (viewed at an angle,
printed on a curved surface, and so on).
● Timing pattern: (L)The timing pattern makes it easy
to identify the individual data cells within a QR code
and is especially useful when the code is damaged
or distorted 12
14. Parts of QR Code
● Version information: the version information
(positioned near two of the finder patterns) simply
identifies which one is being used in a particular
code.
● Data cells: Each individual black or white square
that's not part of one of the standard features (the
timing, alignment, and other patterns) contains some
of the actual data in the code.
● Format information: The format patterns contain
information about the error tolerance and the data
mask pattern and make it easier to scan the Code.
14
15. 15
Structure of QR
What Information Is in a QR Code?
There are three types of information that a QR code stores: size, error
correction level, and data type.
16. • A QR code can be made up of a maximum of 177 rows and 177 columns, which makes
for a possible 31,329 data modules. Most QR codes aren’t that big, though.
• The size of a QR code corresponds to its version. The smallest a QR code can be is 21
rows by 21 columns, which is version 1. 25x25 is version 2, and on and on.
• The aforementioned largest QR code possible, 177x177, is version 40.
• It's also worth noting that the QR code minimum size is usually based on scan distance
and not data size.
16
Size
19. QR Code has an error correction capability
to restore data if the code is dirty or
damaged. Encoded in a QR code is one of
four QR code error correction levels.
The higher the correction level, the more
damage a QR code can sustain while still
being scannable. It’s like a stored backup
of the QR code.
Raising this level improves error
correction capability but also increases the
amount of data QR Code size
The lower the error correction level, the
less dense the QR code image is, which
improves minimum printing size.
19
QR Code Error Correction Levels
Level L or Level M represent the best compromise between density and
ruggedness for general marketing use.
Level Q and Level H are generally recommended for industrial environments
where keeping the QR code clean or un-damaged will be a challenge.
20. A dynamic QR code is a QR code whose encoded information can be changed after
creation. That’s because the information encoded in a dynamic QR code is a short
redirection URL. That means a URL that redirects to another URL, or what’s called a
destination URL.
On the destination URL is the content. This can be a digital wine list, a syllabus,
contact information, an invitation, etc. That content can be changed entirely without
having to change the QR code. Additionally, the destination URL itself can be
changed entirely without having to change the QR code. Because what’s encoded in
the QR code is the redirection URL, not the destination URL.
This setup also allows dynamic QR code tracking of scanning and usage, which is
crucial for any form of QR code marketing.
20
How Do Dynamic QR Codes Work?
21. • Augmented reality
• Displaying multimedia contents
• Mobile operating systems
• Virtual stores
• QR code payment
• Website login
• Restaurant ordering
• Contact Less Menu
21
Use Cases of QR
• Joining a Wi-Fi network
• Funerary use
• Electronic authentication
• Video games
• Loyalty programs
• Counterfeit detection
• Product tracing
• Boost App Downloads
25. Become a Speaker for the next Meetup
25
● Public Recognition ● Improve Speaker Skills ● Gain Confidence
● MuleSoft Training Voucher ● Share Your Learnings
26. 26
● Share:
○ Tweet using the hashtag #MuleSoftMeetups
○ Join Mysore Group: https://meetups.mulesoft.com/mysore/
● Feedback:
○ Fill out the survey feedback and suggest topics for upcoming events
○ Contact MuleSoft at meetups@mulesoft.com for ways to improve the program
○ Reach out to Mysore Meetup Leaders (Shubham / Giridhar) to suggest
topics for the next Meetup
What’s next?
27. Get ready to WIN a MuleSoft Voucher from MuleSoft
Quiz Time