Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
22 views

Vcode Decoder

This document outlines the steps to decode a QR code from a video file. It involves: 1) Extracting video frames from the file. 2) Processing each frame to determine the QR code version and format, read the data section which includes an encoding type and length, then extract and save the encoded data into blocks. 3) Once all frames are processed, concatenate the data blocks into a single block of decoded data and display the results.

Uploaded by

VivekBurungale
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views

Vcode Decoder

This document outlines the steps to decode a QR code from a video file. It involves: 1) Extracting video frames from the file. 2) Processing each frame to determine the QR code version and format, read the data section which includes an encoding type and length, then extract and save the encoded data into blocks. 3) Once all frames are processed, concatenate the data blocks into a single block of decoded data and display the results.

Uploaded by

VivekBurungale
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

QRCode Decoder

1) Extract the Video Frames from the Video File.


2) Loop – Till All Frames are Processed
2.1) Find the QRCode Version The version basically just represents the
physical size of the QR code. Count the number of pixels (or modules) across
the QR code, subtract 17, and divide by 4.
2.2) QRCode Format - very QR code stores two identical copies of the
format marker, but we only need one of them. The format marker is 15 bits
long: 5 bits of format information, and 10 bits for error correction. The first 5
bits of the format marker hold the error correction level (2 bits) and the data
mask (3 bits).
2.3) The data section consists of header data chunks. Technically QR
codes are allowed to have several of these chunks, but most QR codes just
have one big chunk that holds all the data, so it won’t matter. The header has
an encoding type and a length (the number of data bytes). The encoding type
is always 4 bits, but the length is stored in 8-10 bits depending on the encoding
type.
2.4) Read the data section. Read the entire section od data bits which
we encode in Hex Code words.
2.5) Loop the Data
a) Extract the file name (delimited as $ symbol)
b) Extract Data length
c) Extract data into 8 blocks
d) Save the extracted data 8 Block data into the file
e) Continue till all the data blocks are processed and Saved
2.6) Concate the data as one single block of data (As we are reading from
a series of Video Frames)
2.7) Continue to Step 2
6) Stop the Scanner
7) Validate the Data
8) Diplay the decoded data
9) Stop

You might also like