版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
机器视觉与机器学习应用ApplicationsofMachineVisionandMachineLearning二维码识别应用ApplicationsofQRCode
Recognition购物支付Shoppingpayment信息获取Informationacquisition产品追溯Producttraceability课
程
导
入CourseIntroduction陈
雨ChenYU课
程
导
入CourseIntroduction二维码是如何被识别的呢?
How
isQRcode
recognized?二维码识别应用ApplicationsofQRCode
Recognition二维码识别应用Applications
of
QR
Code
Recognition*
二维码:生产日期、批次号等重要信息
QRcode:productiondate,batchnumberand
other
important
information.快速准确地识别,以确保产品质量和追
溯
效
率
。Fastandaccurate
identificationtoensure
productquality
andtraceability
efficiency.案例导入Case
introduction实际任务——利用视觉套件采集牛奶盒
图像并识别二维码Practical
task-using
the
vision
kit
to
capture
milk
carton
imagesandidentify
QR
code.*
二维码识别的原理和操作步骤Principlesandsteps
ofQR
code
recognition案例导入Case
introduction二维码概念ConceptofQR
Code*
二维码是特定几何图形按照一定规律在二维方
向上组合排列构成的黑白相间的能记录数字符
号等的信息图案。AQRcode
isa
black
and
white
pattern
composed
ofspecific
geometric
shapes
arranged
in
two
dimensions
according
to
a
certain
pattern,which
can
record
information
such
as
digital
symbols.在代码编制上巧妙地利用构成计算机内部逻辑
基础的“O”、“1”比特流的概念,使用若干个与二进制相对应的几何形体来表示文字数值信息,
通过图象输入设备或光电扫描设备自动识读以
实现信息自动处理。In
code
compilation,the
QR
code
cleverly
utilizes
the
conceptof
"O"and"1"bit
streams
that
constitute
the
internal
logic
basisof
the
computer,uses
several
geometric
shapes
corresponding
to
binary
to
represent
textual
numerical
information,and
isautomatically
read
by
image
input
devices
or
photoelectricscanning
devices
to
realize
automatic
information
processing.二
维
码QR
code打开手机微信/支付宝,扫描二维码Open
WeChat/Alipay
to
scan
the
QR
code二维码的种类和特点
TypesandCharacteristics
ofQR
Codes*
矩阵式二维码也即棋盘式二维码是指将深色小方块、浅色小方块分布在矩形中并通过方块
见的不同组合方式来表示符号信息的二维码,主要有QR
码、Data
Matrix、Maxi
Code、
Vericode码等码制。MatrixQR
code,also
known
as
a
checkerboard
QR
code,is
aQR
code
that
distributes
dark
and
light
small
squares
ina
rectangle
and
uses
different
combinations
of
squares
to
represent
symbolicinformation.The
main
code
systemsinclude
QR
code,Data
Matrix,Maxi
Code,Vericode,etc.根据结构进行划分,二维码可分为两种类型:矩阵式二维码和排列式二维码。
Basedonthestructure,QRcodescanbe
divided
intotwotypes:matrixQR
codes
and
array
QR
codes.二维码的种类和特点TypesandCharacteristicsofQR
Codes矩阵式二维码MariQBsodeQR
码QR
codeQR码是在一个矩形空间通过黑、白像素在矩阵中
的不同分布进行编码。在矩阵相应元素位置上,用
点(方点、圆点或其他形状)的出现表示二进制“7”,点的不出现表示二进制的“O”,
点的排列组
合确定了矩阵式二维条码所代表的意义。A
QR
code
is
encodedwithin
arectangularspacethroughthe
varying
distribution
of
black
and
white
pixels
within
amatrix.
The
presence
of
a
dot(square,round,or
other
shape)at
thecorresponding
element
in
the
matrix
represents
a
binary
"1,"while
the
absence
of
a
dot
represents
a
binary"O."Thearrangement
and
combination
of
the
dots
determines
the
meaning
of
the
matrix-like
two-dimensional
barcode.条形码的种类和特点TypesandCharacteristicsofBarcodesQR
码OR
code排列式二维码*
排列式二维码又称行排式二维码或堆积式二维码,是一种在一维码编码组成的基础上,按
需要将条码堆积成多行的二维码,因此其编码原理、校验方式以及适度原理都承继于一维
码,主要有PDF417、Code
16K码、CODE49等码制。The
array
QR
code
is
also
called
row-typeQR
code
orstacked
QR
code.It
is
atwo-dimensional
codethat
stacksbarcodes
into
multiple
rows
as
needed
based
on
the
one-dimensional
code
encoding
composition.Therefore,itsencoding
principle,verification
method
and
appropriate
principle
are
inherited
from
the
one-dimensional
code.Themain
code
systems
include
PDF417,Code
16K,CODE49,etc.PDF417码Code
16K码
Code49码PDF417code
Code
16K
Code49二维码识别系统QRCode
RecognitionSystem*二维码随传送带高速移动,经过工
业相机读取二维码信息后将数据存
入云端,系统将各个条码背景信息
与二维码信息一一对应,对二维码
进行分类与处理。The
QR
code
moves
at
high
speed
along
theconveyor
belt.After
the
industrial
camera
readsthe
QR
code
information,the
data
is
stored
inthe
cloud.The
system
matches
the
backgroundinformation
of
each
barcode
with
the
QR
codeinformation
one
by
one,and
classifies
andprocesses
the
QR
code.工业相机光源二维码分类及信息云存储
二维码
二维码
二维码传送带二维码的种类和特点TypesandCharacteristics
ofQR
Codes典型的二维码识别系统TypicalQRcoderecognitionsystem*
针对二维码背景复杂、背景动态变
化快、噪声多等特点,利用高速CCD
工业相机在条码高速运动时,
迅速捕捉条码图像,并同时进行条
码背景信息采集与信息云存储。The
systemtargetsthe
characteristics
of
QR
codessuchascomplex
background,Fastdynamic
changes
and
high
noise.and
uses
ahigh-speed
CCD
industrialcameratoquickly
capture
barcode
imageswhenthe
barcode
is
moving
at
high
speed,and
simultaneouslycollects
barcode
background
information
andstores
it
in
the
cloud.工业相机光源二维码分类及信息云存储
二维码
二维码
二维码传送带二维码的种类和特点TypesandCharacteristics
ofQR
Codes典型的二维码识别系统TypicalQRcoderecognitionsystem条形码识别流程Barcode
Recognition
Process图像预处理Imagepreprocessing二维码识别的图像预处理一般采取的
操作有:灰度变换、
二值化
、
滤波去噪
、
几
何
变
换
等
。QRcoderecognitioninclude:grayscaletransformation,binarization,Filteringand二维码识别QR
coderecognition二维码经图像处理后得到的图像,便可以对图像中信息进行译码,即二维码识别。Theimage
obtained
aftertheQRcode
is
processedcanbe
usedto
decode
the获取图像Imageacquisition工业相机采集包含
待检测外观信息的图
像
。Industrial
camerascontaining
appearanceinformation
tobedetected.图像分析Imageanalysis图像分析主要是进
行ROI分割。Imageanalysismainly
involves
ROIsegmentation.information
inthe
image,whichis
called
QR
codedenoising,geometrictransformation,etc.captureimagesrecognition.操作演示Qperation
Demonstration步骤1Step1打开DobotVisionStudio1.4.2,选择通用方案。
Open
DobotVisionStudio1.4.2andselecttheGeneralOption.在工具箱的“采集”模块选择“相机图像”,拖拽
到流程编辑区。Select"Camera
Image"inthe"Acquisition"moduleof
thetoolboxanddragitto
the
process
editing
area.本地图像相机图像
存储图像0相机图像相机图像Camera
image任务实施Task
Implementation步骤2Step
2任务实施Task
Implementation双击“相机图像”模块,进行参数设置。Double-clickthe"CameraImage"moduletosettheparameters.相机图像基本参数设置Camera
image
basic
parameter
settings相机图像触发参数设置Camera
imagetriggerparametersettings相机采集到的图形Graphics
captured
by
the
camera触发字符串字符触发过滤IO
控制IO
选择项IO模式触发设置相机连接选择相机断线重连时间0图像参数图像宽度图像高度像素格式帧率实际帧率25921944MONO831.00012.156触发设置触发延迟LINEOInput0.000任务实施Task
Implementation0相机图像1二维码识别方案流程Program
process在工具栏的识别模块,将“二维码识别”拖拽到
流程编辑区,并与“相机图像”相连。In
the
Identification
Module
on
the
toolbar,drag
"QR
CodeRecognition"totheprocesseditingarea,and
connect
it
with
"Camera
Image".步骤3Step3任务实施TaskImplementation*
双击“1二维码识别”进行参数设置。Double-click"1QRcoderecognition"toset
parameters.执行
确定运行参数Operating
parameters运行参数QR
码DataMatrix码二维码个数极
性边缘类型任意连续型高级参数任务实施Task
Implementation*
点击“执行”按钮,得到二维码识别结果。Click
the“Execute”to
get
the
QR
code
recognition
result.二维码识别结果QRcode
recognition
results二维码的应用ApplicationofQRCode读取数据模式Datareading
mode是指通过手机或二维码识别设备,扫描二维码,解码软件解码后显示数据信息,以较少用户的输入,
直接可以存入。最常见的应用有电子名片、信息溯源
追踪等。ItmeansscanningtheQRcodethroughamobile
phone
or
a
QR
coderecognitiondevice.Thedecodingsoftwarewilldisplaythedatainformationafterdecoding,whichcanbedirectlystoredwith
less
user
input.Themostcommonapplicationsincludeelectronic
business
cardsand
information
traceability.解码验证模式Decodingverificationmode*
是指手机或二维码识别设备扫面二维码,将数据提交与验证服务器,服务器将反馈结果发送回手机,核实产品或服务的有效性。ItmeansthatamobilephoneorQRcode
recognition
device
scans
theQRcodeandsubmitsthedatatotheverificationserver.Theserverwilloftheproductor
service.解码上网模式Decoding
Internet
access
mode是指手机或条码识读设备扫面二维码,显示相关的URL
的链接,用户可以访问这一链接,进行数据浏览或数据下载的活动。Itmeansthatamobilephoneor
barcode
readingdevice
scans
the
QR
codeanddisplaystherelevant
URLlink.Userscan
access
this
link
tobrowseordownloaddata.3解码通信模式Decoding
communication
mode近两年由于媒体的宣传,消费者日趋理性,选择做某项目的人越来越多。Inthepasttwoyears,duetomedia
publicity,consumers
have
become
morerational,andmoreand
more
peoplechooseto
do
a
certainproject.2二维码的应用Applicati
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 广东医科大学附属医院2026年专业技术人员招聘132人备考题库及参考答案详解一套
- 广东电信规划设计院2026届校招备考题库及一套参考答案详解
- 广东省旅游控股集团有限公司2026年校园招聘备考题库参考答案详解
- 广州市花都区第二人民医院2026年第一季度招聘备考题库(本科及以上可报)及完整答案详解一套
- 广西医科大学附属武鸣医院2025年公开招聘高层次人才备考题库完整答案详解
- 庆阳市合水县2026年医疗卫生事业单位引进高层次和急需紧缺人才16人备考题库及参考答案详解一套
- 2025恒丰银行济南分行社会招聘24人笔试历年典型考题及考点剖析附带答案详解
- 2025年四季度浙江浙银金融租赁股份有限公司社会招聘笔试历年典型考题及考点剖析附带答案详解
- 催化重整装置操作工岗前交接考核试卷含答案
- 玩具制作工班组考核知识考核试卷含答案
- 2026长治日报社工作人员招聘劳务派遣人员5人备考题库及答案1套
- 河道清淤作业安全组织施工方案
- 2026年1月1日起施行的《兵役登记工作规定》学习与解读
- GB/T 46831-2025塑料聚丙烯(PP)等规指数的测定低分辨率核磁共振波谱法
- 2021海湾消防 GST-LD-8318 紧急启停按钮使用说明书
- 2025侵袭性肺真菌病指南解读
- 烟花爆竹零售经营安全责任制度
- 苏州工业园区领军创业投资有限公司招聘备考题库新版
- 葡萄种植课件
- 2023年和田地区直遴选考试真题汇编含答案解析(夺冠)
- ICG荧光导航在肝癌腹腔镜解剖性肝切除中的应用2026
评论
0/150
提交评论