CN109583535B - Vision-based logistics barcode detection method and readable storage medium - Google Patents
Vision-based logistics barcode detection method and readable storage medium Download PDFInfo
- Publication number
- CN109583535B CN109583535B CN201811443403.8A CN201811443403A CN109583535B CN 109583535 B CN109583535 B CN 109583535B CN 201811443403 A CN201811443403 A CN 201811443403A CN 109583535 B CN109583535 B CN 109583535B
- Authority
- CN
- China
- Prior art keywords
- barcode
- goods
- image
- label
- logistics
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K17/00—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
- G06K17/0022—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
- Warehouses Or Storage Devices (AREA)
Abstract
本发明属于物流检测技术领域,公开了一种基于视觉的物流条形码检测方法、计算机程序;包括图片捕捉;识别及定位货物位置;识别及定位条形码位置;读取条形码;纠错报警。本发明使用计算机视觉库,加入除噪手段,定位出在复杂背景下的一维码位置及其旋转角度,截取出水平的一维码图片;确保每个货物仅对应一个标签,并加入发现货物无标签时报警的机制;避免图片中无关像素数据的运算,提高运算速度。本发明实现流水线运送包裹的同时,在固定位置安装高清相机,识别相机视野范围内物流包裹位置,获取货物上粘贴的一维码信息并进行解码,进而完全取代传统的流水线人工扫描。
The invention belongs to the technical field of logistics detection, and discloses a visual-based logistics barcode detection method and a computer program; including image capture; identifying and locating cargo positions; identifying and locating barcode positions; reading barcodes; and error correction and alarming. The invention uses a computer vision library, adds noise removal means, locates the position and rotation angle of the one-dimensional code in a complex background, and intercepts the horizontal one-dimensional code picture; ensures that each product only corresponds to one label, and adds the found goods The mechanism of alarm when there is no label; avoid the calculation of irrelevant pixel data in the picture, and improve the calculation speed. The invention realizes the delivery of parcels on the assembly line, installs a high-definition camera at a fixed position, identifies the location of the logistics parcel within the field of view of the camera, obtains and decodes the one-dimensional code information pasted on the goods, and then completely replaces the manual scanning of the traditional assembly line.
Description
技术领域Technical Field
本发明属于物流检测技术领域,尤其涉及一种基于视觉的物流条形码检测方法、可读存储介质。The present invention belongs to the technical field of logistics detection, and in particular relates to a vision-based logistics barcode detection method and a readable storage medium.
背景技术Background Art
目前,业内常用的现有技术是这样的:At present, the commonly used existing technologies in the industry are as follows:
随着互联网的大量普及,物流行业也随之迅速发展崛起,追求物流速度的提升,提高信息化、智能化在物流中的比重,并取代一部分人力成为物流行业的一个必然发展趋势。在物流行业的流水线作业中,使用一维条形码对物流包裹编号、标记已经成为行业的通用做法,而绝大物流公司仍需人工手持扫码枪对包裹条码进行扫描。这种做法不仅增加人力成本,而且由于扫描枪扫描方向需水平对准一维条形码且扫描距离有限,使操作者必须寻找人为寻找并对准条形码位置和角度,当物流量增大时,这种方式将难以满足速度需求。With the widespread popularization of the Internet, the logistics industry has also developed rapidly. The pursuit of improving logistics speed, increasing the proportion of information and intelligence in logistics, and replacing part of the manpower have become an inevitable development trend in the logistics industry. In the assembly line operation of the logistics industry, the use of one-dimensional barcodes to number and mark logistics packages has become a common practice in the industry, and most logistics companies still need to manually scan the barcodes of packages with handheld barcode scanners. This practice not only increases labor costs, but also because the scanning direction of the scanner needs to be horizontally aligned with the one-dimensional barcode and the scanning distance is limited, the operator must find and align the barcode position and angle manually. When the logistics volume increases, this method will be difficult to meet the speed requirements.
目前,移动照相设备的广泛普及,获取数字图片正变得越来越容易。同时,人工智能技术今年来迅猛发展,视觉应用技术不断研发,已经有充足的基础条件开发基于视觉识别技术的工业化一维条形码信息读取算法。At present, with the widespread popularity of mobile camera equipment, it is becoming easier and easier to obtain digital images. At the same time, artificial intelligence technology has developed rapidly this year, and visual application technology has been continuously developed. There are sufficient basic conditions for developing industrialized one-dimensional barcode information reading algorithms based on visual recognition technology.
现有技术中已存在一维条形码识别算法,一些手机APP应用也可以在对准水平一维码的前提下识别一维条形码。但在物流货物上一维码粘贴角度随机且非水平,而且还需要满足单个货物仅识别唯一条形码的条件,单纯地识别条形码没有起到检验对应的作用。目前仍缺少判断单个货物对应唯一条形码编号的方法,已有的视觉识别条形码功能的完整性、实用性不符合物流行业要求。There are already one-dimensional barcode recognition algorithms in the prior art, and some mobile phone APP applications can also recognize one-dimensional barcodes under the premise of aligning with horizontal one-dimensional codes. However, the one-dimensional codes on logistics goods are pasted at random and non-horizontally, and the condition that only a single barcode is recognized for a single item must be met. Simply recognizing the barcode does not play a role in verifying the correspondence. At present, there is still a lack of methods to determine whether a single item corresponds to a unique barcode number. The integrity and practicality of the existing visual recognition barcode function do not meet the requirements of the logistics industry.
综上所述,现有技术存在的问题是:In summary, the problems existing in the prior art are:
(1)现有的物流还需要满足单个货物仅识别唯一条形码的条件,如果有货物遗漏张贴条形码标签,即发生流水线上货物发现无法对应一个唯一条形码的情况,而系统没有检查出该种情况发出警告,最终会致使一个无信息包裹进入分拣流水线。如果能能够进行预判及报警,可及时报警遗漏张贴标签的情况并提醒操作人员处理。(1) Existing logistics also needs to meet the condition that only a unique barcode can be identified for a single item. If a barcode label is missing for an item, that is, the item on the assembly line cannot be matched with a unique barcode, and the system does not detect this situation and issue a warning, it will eventually cause a package without information to enter the sorting assembly line. If it is possible to predict and alarm, the situation of missing labels can be reported in time and the operator can be reminded to handle it.
(2)现有物流货物中上条形码粘贴角度随机且非水平,而目前识别程序如ZBar,需要被识别的条形码处于水平位置才能进行正确识别。当条形码在图像中有较大的水平角度偏差时,会导致无法读出条形码的正确编码。而且摄像机的视野中会同时出现多个条形码,当出现多个条形码共同存在的情况时,难以找到一个固定的旋转方向将所有的条形码回水平角度进行读取。所以本技术中必须做到将视野中的所有条形码旋转至可读取角度并进行读取,以确保能正确读取条形码编号且不发生遗漏。(2) The barcodes on existing logistics goods are pasted at random and non-horizontal angles, and current recognition programs such as ZBar require the barcode to be in a horizontal position for correct recognition. When the barcode has a large horizontal angle deviation in the image, it will lead to the inability to read the correct barcode code. In addition, multiple barcodes will appear in the camera's field of view at the same time. When multiple barcodes coexist, it is difficult to find a fixed rotation direction to turn all barcodes back to a horizontal angle for reading. Therefore, this technology must rotate all barcodes in the field of view to a readable angle and read them to ensure that the barcode number can be read correctly and no barcodes are missed.
解决上述技术问题的难度和意义:The difficulty and significance of solving the above technical problems:
(1)如何判断相机视野中有多少个货物和条形码,以及在何种情况下才能判断货物上没有张贴条形码标签。解决该问题可以发现货物上没有粘贴条形码标签的情况。(1) How to determine how many goods and barcodes are in the camera's field of view, and under what circumstances can it be determined that there are no barcode labels affixed to the goods. Solving this problem can detect situations where there are no barcode labels affixed to the goods.
(2)如何解码出货物上粘贴的条形码标签所表示的数字,且该条形码标签解码出的数字长度必须符合实际的条形码数字格式。解决该问题可以防止误读不符合正确编码方式的条形码。(2) How to decode the numbers represented by the barcode label attached to the goods, and the length of the numbers decoded from the barcode label must conform to the actual barcode number format. Solving this problem can prevent misreading of barcodes that do not conform to the correct encoding method.
(3)需设计一定的容错机制,如噪声干扰会导致某一帧或几帧图像中发生识别箱子或者读取标签在短时发生数量和精度错误,但不会发出误报。由于图像拍摄噪声干扰等原因,程序不能保证每帧图片中物体的正确率和分辨率、条形码的读取正确率达到100%,解决该问题可以防止发生敏感性报错。(3) A certain fault tolerance mechanism needs to be designed. For example, noise interference may cause errors in the number and accuracy of identifying boxes or reading labels in a certain frame or several frames of images, but no false alarms will be issued. Due to image shooting noise interference and other reasons, the program cannot guarantee the accuracy and resolution of objects in each frame of the picture, and the accuracy of barcode reading can reach 100%. Solving this problem can prevent sensitivity errors.
发明内容Summary of the invention
针对现有技术存在的问题,本发明提供了一种基于视觉的物流条形码检测方法、可读存储介质。In view of the problems existing in the prior art, the present invention provides a vision-based logistics barcode detection method and a readable storage medium.
本发明是这样实现的,一种基于视觉的物流条形码检测方法,具体包括以下步骤:The present invention is implemented as follows: a visual-based logistics barcode detection method specifically includes the following steps:
步骤一:图片捕捉:将高清高速相机固定于传送带正上方某一高度位置,确保视野内包含一定长度的传送带且在货物运动的前提下可拍摄到清晰的货物轮廓和标签图片。设置好拍照模式后,照相机开始拍摄高清图片,同时程序将图片转换成从cv::Mat格式;Step 1: Image capture: Fix the high-definition high-speed camera at a certain height above the conveyor belt, ensure that the field of view includes a certain length of the conveyor belt and that clear images of the cargo outline and labels can be captured under the premise of cargo movement. After setting the camera mode, the camera starts to take high-definition images, and the program converts the images into cv::Mat format;
步骤二:识别及定位货物位置:预布置好一个YOLO目标检测模型,对步骤一中的图片进行计算,得出所拍摄图片中的所有的物体种类(货物、标签)以及它们的坐标位置(物体在图片中的xy坐标值)、边界框大小(所占图片像素的长度);在本步骤中,将检测到的各类物体保存成不同的数据类型,在其中保存各物体的坐标位置、边界框大小,以及用边界框在原图中截取出的图片;Step 2: Identify and locate the cargo: pre-arrange a YOLO target detection model, calculate the image in step 1, and obtain all the object types (cargo, labels) in the captured image and their coordinate positions (xy coordinate values of the object in the image), bounding box size (length of the image pixels occupied); in this step, save the detected objects into different data types, in which the coordinate position of each object, the bounding box size, and the image captured by the bounding box in the original image are saved;
步骤三:识别及定位条形码位置:在接收步骤二中将各类物体识别保存后,程序首先对“标签”类物体进行处理。“标签”类物体保存的截取图片经过条形码处理程序进行区域的筛选与回正,可以得到水平方向上的条形码图片。Step 3: Identify and locate the barcode position: After the various objects are identified and saved in step 2, the program first processes the "label" type of objects. The intercepted images saved by the "label" type of objects are screened and corrected by the barcode processing program to obtain the horizontal barcode image.
步骤四:读取条形码:使用Zbar方法识别条形码,经过以上步骤处理,得到水平的条形码区域图片,对该图片使用Zbar程序中识别,即可得出条形码的数字;Step 4: Read the barcode: Use the Zbar method to identify the barcode. After the above steps, a horizontal barcode area image is obtained. Use the Zbar program to identify the image and get the barcode number.
步骤五:纠错报警:将相机视野中识别出的“货物”类物体与“标签”类图片解码出的数字进行对应。如果在连续多帧图片中,发现有“货物类”物缺少对应标签编号时,发出报警并通知操作人员处理。Step 5: Error correction alarm: Match the "goods" objects identified in the camera's field of view with the numbers decoded from the "label" images. If a "goods" object is found to be missing the corresponding label number in multiple consecutive frames of images, an alarm will be issued and the operator will be notified to handle it.
进一步,步骤一中,设置高清高速相机的拍摄模式,可在相机视野位置前安装光栅,将拍摄模式可设置触发模式,当有货物即将进入拍摄范围,触发光栅,命令相机连续拍照一段时间;也可将拍摄模式设置为连续拍照,无论传送带上有无货物,都按照一定时间间隔连续拍照。Furthermore, in step one, the shooting mode of the high-definition high-speed camera is set. A grating can be installed in front of the camera's field of view, and the shooting mode can be set to a trigger mode. When goods are about to enter the shooting range, the grating is triggered, commanding the camera to take pictures continuously for a period of time; the shooting mode can also be set to continuous photography, regardless of whether there are goods on the conveyor belt, continuous photography is taken at a certain time interval.
进一步,步骤二中,需检测识别的物体种类分为“货物类”(六面体形箱子或袋装包裹)、“标签类”(条形码标签),定位出物体在照片中的所在中心位置(坐标)及边界框大小(图片坐标系下的宽、高);所采用的方法为深度学习中的YOLO目标检测算法,其运算速度能够达到实时检测的效果,符合目标要求;具体步骤如下:Furthermore, in step 2, the types of objects to be detected and identified are divided into "goods" (hexahedral boxes or bagged packages) and "labels" (barcode labels), and the center position (coordinates) and bounding box size (width and height in the image coordinate system) of the object in the photo are located; the method used is the YOLO target detection algorithm in deep learning, and its computing speed can achieve the effect of real-time detection, which meets the target requirements; the specific steps are as follows:
(1)本发明将预训练好一个可靠的物体检测模型,并将模型算法部署在程序内,该模型是采集大量实际图片数据,并进行训练运算后形成的成熟模型;当相机拍摄完一张图片后,该模型将会对图片中的货物进行目标检测;(1) The present invention pre-trains a reliable object detection model and deploys the model algorithm in the program. The model is a mature model formed by collecting a large amount of actual image data and performing training operations. When the camera takes a picture, the model will perform target detection on the goods in the picture.
(2)目标检测模型将逐张处理拍摄图片,得出所拍摄图片中存在的物体种类、个数,及其边界框信息;由于同一视野中预计会出现多个物体,检测模型需检测出所有“货物”类和“标签”类物体,并给它们设计特定数据格式,在其中保存物体种类(箱子、袋装包裹、标签)、坐标位置(物体在图片中的xy坐标值)、边界框大小(所占图片像素的长度)等信息,同时将他们所占据的矩形框从原图中切割成子图像保存进数据格式中,将其送入下一步一维条形码检测的程序中进行计算;视野中如没有出现货物,则不进行图像切割并继续执行本步骤。设计数据格式为如下所示。(2) The object detection model will process the captured images one by one to obtain the type, number, and bounding box information of the objects in the captured images. Since multiple objects are expected to appear in the same field of view, the detection model needs to detect all "goods" and "label" objects and design a specific data format for them, in which the object type (box, bagged package, label), coordinate position (xy coordinate value of the object in the image), bounding box size (length of the image pixels occupied) and other information are saved. At the same time, the rectangular boxes they occupy are cut from the original image into sub-images and saved in the data format, which are sent to the next step of the one-dimensional barcode detection program for calculation. If there are no goods in the field of view, the image is not cut and this step is continued. The designed data format is as follows.
货物类:Cargo type:
name变量记录是为盒子或是包裹,center_position变量记录物体坐标,bounding变量记录矩形框范围,arean矩阵存储从原图截取的矩形框子图像,link_code变量表示该小块是否与一个条形码编号对应。The name variable records whether it is a box or a package, the center_position variable records the object coordinates, the bounding variable records the range of the rectangular box, the area matrix stores the rectangular box sub-image captured from the original image, and the link_code variable indicates whether the small block corresponds to a barcode number.
标签类:Tag class:
center_position变量记录标签坐标,arean存储从原图截取的矩形框子图像,num_type代表其解码出的条形码类型,num_code代表数字内容。link_packegebox_num表示该该标签所粘贴的“货物”类物体编号。The center_position variable records the label coordinates, area stores the rectangular sub-image captured from the original image, num_type represents the decoded barcode type, num_code represents the digital content, and link_packegebox_num represents the number of the "goods" object to which the label is attached.
进一步,步骤三中,由于一维码图片在水平方向且像素较清晰、无关像素较少时才容易被读码程序读取,本发明中的识别条形码算法利用了一维条形码图像轮廓明显、图像梯度一致的特点,在识别出的“标签”类物体的截取图片中寻找梯度变化方向一致的区域作为一维码可能存在的区域,具体实现过程为:Furthermore, in step 3, since the one-dimensional code image is easy to be read by the code reading program only when it is in the horizontal direction and the pixels are clear and the irrelevant pixels are few, the barcode recognition algorithm in the present invention utilizes the characteristics of the one-dimensional barcode image with obvious outline and consistent image gradient, and searches for the area with consistent gradient change direction in the intercepted image of the identified "label" type object as the area where the one-dimensional code may exist. The specific implementation process is:
(1)将步骤二中截取出的“标签”类物体的图片P0(从原图截取子图片)进行灰度化处理转化为灰度图像,并经过高斯模糊去除图像中的噪声,得到灰度图像P1;(1) The image P0 of the “label” object captured in step 2 (a sub-image captured from the original image) is converted into a grayscale image by grayscale processing, and the noise in the image is removed by Gaussian blur to obtain a grayscale image P1;
(2)使用Cany算子计算出图像P1中各像素点两个方向的梯度值,即两个图像矩阵Gx和Gy;将图像矩阵Gx和Gy相加,可以得到一个视觉上轮廓特征明显的图像矩阵P2;在P2中条形码的轮廓能够清晰辨认,可以根据XY两个方向上的梯度值计算出每个轮廓点的主梯度值及方向,计算公式为:(2) Use the Cany operator to calculate the gradient values of each pixel in the image P1 in two directions, that is, two image matrices Gx and Gy. Add the image matrices Gx and Gy to obtain an image matrix P2 with obvious visual contour features. In P2, the contour of the barcode can be clearly identified. The main gradient value and direction of each contour point can be calculated based on the gradient values in the XY directions. The calculation formula is:
d=sqrt(x(I)^2+y(I)^2)d=sqrt(x(I)^2+y(I)^2)
(3)将用m*m大小的矩形将图像P2划分为M个小块,每个小块的数据结构为:(3) Use a rectangle of size m*m to divide the image P2 into M small blocks. The data structure of each small block is:
该数据结构类可保存小块在图像中的像素范围、所有轮廓图像P2中落入该小块的区域的点的数量以及点的主要梯度方向。This data structure class can save the pixel range of the small block in the image, the number of points in all contour images P2 that fall into the area of the small block, and the main gradient direction of the points.
(4)做筛选处理,剔除不包含轮廓点和包含轮廓点过少的图像小块,只保留轮廓点数目在m/2以上的小块(anchor_block);(4) Perform screening to remove small blocks of images that do not contain contour points or contain too few contour points, and only retain small blocks with more than m/2 contour points (anchor_block);
(5)计算剩下的图像小块的主要梯度方向。从0度开始每增加20度划分为一类,有1-9共9个角度范围,并且根据各轮廓点梯度方向的θ值确定所属编号类别编号,即anchor_block数据结构类中的belong_angle值。当有某一角度范围中轮廓点的数量占所有的轮廓点数量的60%以上时,则确定该角度范围为这个小块的主要角度方向。如果没有,表示这个小块中梯度比较混乱,将该小块删除。(5) Calculate the main gradient direction of the remaining image blocks. Starting from 0 degrees, each 20 degrees is divided into a category, with a total of 9 angle ranges from 1 to 9, and the category number is determined according to the θ value of the gradient direction of each contour point, that is, the belong_angle value in the anchor_block data structure class. When the number of contour points in a certain angle range accounts for more than 60% of the total number of contour points, the angle range is determined as the main angle direction of this small block. If not, it means that the gradient in this small block is relatively chaotic, and the small block is deleted.
(6)对各个梯度方向相同的小块做联通处理。像素距离在d之内且主要梯度方向一致的小块聚类合并成一个区域,并把该梯度方向的作为合并后“区域”的梯度方向;该步骤中会剔除掉距离较远、数目稀少无法聚类的小块。(6) Connect the small blocks with the same gradient direction. Cluster the small blocks with pixel distance within d and the same main gradient direction into one region, and use the gradient direction as the gradient direction of the merged "region". In this step, small blocks that are far away and too few to be clustered will be eliminated.
(7)判断所有合并后区域面积是否在阈值S以上,如果是,则保留,否则剔除该块区域;(7) Determine whether the area of all merged regions is above the threshold S. If so, keep it; otherwise, remove it.
(8)经过以上步骤可得出所剩区域即为条形码所在位置,且该区域在(6)中所得的梯度方向θ即为条形码水平角度偏差,经顺时针旋转θ度即得出可识别的一维条形码图片。(8) After the above steps, it can be concluded that the remaining area is the location of the barcode, and the gradient direction θ of the area obtained in (6) is the horizontal angle deviation of the barcode. After rotating θ degrees clockwise, a recognizable one-dimensional barcode image is obtained.
进一步,步骤四中,该识别方式为开源程序,容易读出水平一维条形码的信息,其输出结果为某一长度数字串。条形码一般为UPCUPC码、EANEAN码、Code39码、Code128码中的一种,如果识别成功,会将目标条形码的类型一同输出。Furthermore, in step 4, the recognition method is an open source program that can easily read the information of the horizontal one-dimensional barcode, and the output result is a digital string of a certain length. The barcode is generally one of the UPC, EANEAN, Code39, and Code128 codes. If the recognition is successful, the type of the target barcode will be output together.
进一步,步骤五中,该步骤逻辑设计为:经过步骤一至步骤四后,将每一个能被正确识读出编码的“标签类”物体,其对应坐标轴位置如果位于一个“货物”类物体的矩形框范围内,则判断其能够该“货物”类物体已被标记编码。当发现存在有“货物”物体没有被标记时,说明检测模型没有检测出所对应的“标签类”物体,程序记录一次未对应次数。如连续多帧图片发生未对应情况,则未对应次数会持续增加,高于某一定数值则会发出报警,提醒操作人员发生了货物上未张贴条形码的情况。如果期间某帧图片中所有检测出的“货物”类物体都能对应一个编号,则未对应次数清零。同时,考虑到在物体刚进入视野时会发生已辨识出“货物”而标签未能进入视野的情况,当“货物”类物体处于视野边界位置且未对应编码时,不会增加未对应次数。以上过程可以避免个别不确定因素干扰导致敏感报警情况的发生,只有确定有物体在多帧图片中都无法读取标签数字的情况下才会发生报警。Further, in step 5, the logic design of this step is as follows: after steps 1 to 4, if the corresponding coordinate axis position of each "label type" object that can be correctly read and coded is located within the rectangular frame of a "goods" type object, it is determined that the "goods" type object has been marked and coded. When it is found that there are "goods" objects that are not marked, it means that the detection model has not detected the corresponding "label type" object, and the program records the number of non-correspondences. If there are multiple consecutive frames of pictures that do not correspond, the number of non-correspondences will continue to increase. If it is higher than a certain value, an alarm will be issued to remind the operator that the barcode has not been posted on the goods. If all the "goods" type objects detected in a certain frame of the picture can correspond to a number, the number of non-correspondences will be cleared. At the same time, considering that when the object just enters the field of view, the "goods" has been identified but the label has not entered the field of view, when the "goods" type object is at the boundary of the field of view and does not correspond to the code, the number of non-correspondences will not increase. The above process can avoid the occurrence of sensitive alarms caused by interference from individual uncertain factors. An alarm will only occur when it is determined that there is an object whose label number cannot be read in multiple frames of images.
物流选择识读的条形码一般为UPCUPC码、EANEAN码、Code39码、Code128码中的一种,如果在步骤四中可能检测出条形码的数字类型并非选择类型,则不能用这个数字去对应“货物”物体。The barcode selected for reading in logistics is generally one of the following codes: UPCUPC, EANEAN, Code39, and Code128. If the digital type of the barcode detected in step 4 is not the selected type, this number cannot be used to correspond to the "goods" object.
综上所述,本发明的优点及积极效果为:In summary, the advantages and positive effects of the present invention are:
本发明货物检测的检测网络结构源码由C/C++语言编写,原型为YOLO目标检测网络结构,在本发明中改变了其输入层、输出层结构,并自行采集数据进行网络模型的训练,已形成稳定的算法结构;保护本发明中的源码、网络配置及网络参数。经过测试543张图片中包含的853个货物和标签,能够正确识别其中827个物体类型,分类识别正确率达到96.96%,面积测算的正确率达到90.42%;The source code of the cargo detection network structure of the present invention is written in C/C++ language. The prototype is the YOLO target detection network structure. In the present invention, the input layer and output layer structures are changed, and data is collected by itself to train the network model, and a stable algorithm structure has been formed; the source code, network configuration and network parameters in the present invention are protected. After testing 853 cargoes and labels contained in 543 pictures, 827 object types can be correctly identified, the classification recognition accuracy rate reaches 96.96%, and the area measurement accuracy rate reaches 90.42%;
本发明利用梯度寻找一维条形码的方法,源码使用C++语言自主编写,其原理在于检测出轮廓点及轮廓点的梯度方向,从而筛选出梯度反向最一致的区域作为一维码所在区域;使用了计算机视觉库(OPENCV),加入除噪手段,定位出在复杂背景下的一维码位置及其旋转角度,并可截取出水平的一维码图片。The present invention uses a method for finding a one-dimensional barcode by using a gradient. The source code is independently written in C++ language. The principle is to detect contour points and the gradient directions of the contour points, thereby screening out the area with the most consistent gradient reverse direction as the area where the one-dimensional code is located. The computer vision library (OPENCV) is used, and noise removal means are added to locate the position of the one-dimensional code and its rotation angle in a complex background, and a horizontal one-dimensional code image can be captured.
本发明货物与标签的对照检验方法及源码,能确保每个货物仅对应一个标签,并加入了发现货物无标签时报警的机制,同时考虑到在在货物未完全进入视野时,可能条形码未进入视野而读取有误的情况,避免错误报警。在流水线上测试319个货物中混杂有38个未粘贴标签的货物除,除2个货物经过未报警外,其余均能够检测未粘贴条码信息并报警。The goods and labels comparison inspection method and source code of the present invention can ensure that each goods corresponds to only one label, and add an alarm mechanism when the goods are found to be without labels. At the same time, it takes into account that when the goods are not completely in the field of view, the barcode may not enter the field of view and the reading may be incorrect, so as to avoid false alarms. In the test on the assembly line, 38 goods without labels were mixed in 319 goods. Except for 2 goods that passed without alarm, the rest were able to detect the unpasted barcode information and alarm.
本发明深度学习与几何图像处理相结合的方法,使用深度学习的办法提取出每个货物的分割图像,然后利用几何办法处理分割图像,避免了图片中无关像素数据的运算,提高了运算速度,能够实现实时检测。测试单张图片目标识别耗时平均0.04s,条形码识别平均耗时0.05,每帧图片计算平均用时0.09s,FPS为11。The method of combining deep learning with geometric image processing in the present invention uses deep learning to extract the segmented image of each cargo, and then uses geometric methods to process the segmented image, avoiding the calculation of irrelevant pixel data in the image, improving the calculation speed, and realizing real-time detection. The average time for testing single-image target recognition is 0.04s, the average time for barcode recognition is 0.05, the average time for calculating each frame of the image is 0.09s, and the FPS is 11.
本发明实现在流水线运送包裹的同时,在流水线上方固定高度安装高清相机,识别相机视野范围内物流包裹位置,定位货物上粘贴的一维码图片并进行解码读取,进而完全取代传统的流水线人工扫描;具有以下优势:The present invention realizes that while the package is being transported on the assembly line, a high-definition camera is installed at a fixed height above the assembly line to identify the location of the logistics package within the camera's field of view, locate the one-dimensional code image attached to the goods and decode and read it, thereby completely replacing the traditional manual scanning of the assembly line; it has the following advantages:
(1)识别速度精度能够满足快递行业要求,在传送带速度范围内基本不遗漏检测条形码;(1) The recognition speed accuracy can meet the requirements of the express delivery industry, and the barcode is basically not missed within the conveyor belt speed range;
(2)在相机视野范围内,能识别且仅能识别粘贴在物流包裹上的一维条形码标签(通常位于快递包装袋、快递盒表面),当发现物流包裹未粘贴条形码时会主动报警;(2) Within the camera’s field of view, it can recognize and only recognize the one-dimensional barcode label affixed to the logistics package (usually located on the surface of the express packaging bag or express box). If it is found that the logistics package does not have a barcode affixed, it will actively alarm;
(3)可以准确定位一维码标签所在位置,如一维码有水平偏差角度,可通过算法求解出其角度大小,并自动将其旋转至对正;(3) It can accurately locate the position of the one-dimensional code label. If the one-dimensional code has a horizontal deviation angle, the angle can be solved through an algorithm and the code can be automatically rotated to align.
(4)可读取、解码一维码编码信息并转换为数字编号,且可检查数字格式是否正确,并摈弃读取出的无效数字。(4) It can read and decode one-dimensional code information and convert it into digital numbers. It can also check whether the digital format is correct and discard invalid numbers read out.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本发明实施例提供的基于视觉的物流条形码检测方法流程图。FIG1 is a flow chart of a vision-based logistics barcode detection method provided in an embodiment of the present invention.
图2是本发明实施例提供的基于视觉的物流条形码检测方法技术路线图。FIG. 2 is a technical roadmap of a vision-based logistics barcode detection method provided in an embodiment of the present invention.
图3是本发明实施例提供的货物检测流程图。FIG. 3 is a flow chart of cargo detection provided by an embodiment of the present invention.
图4是本发明实施例提供的条形码检测读取流程图。FIG. 4 is a flow chart of barcode detection and reading provided by an embodiment of the present invention.
具体实施方式DETAILED DESCRIPTION
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
下面结合附图对本发明的应用原理进行进一步详细说明;The application principle of the present invention is further described in detail below with reference to the accompanying drawings;
如图1所示,本发明实施例提供的基于视觉的物流条形码检测方法,具体包括以下步骤:As shown in FIG1 , the visual-based logistics barcode detection method provided by an embodiment of the present invention specifically includes the following steps:
S101:图片捕捉:将高清高速相机固定于传送带正上方某一高度位置,确保视野内包含一定长度的传送带且在货物运动的前提下可拍摄到清晰的货物轮廓和标签图片;S101: Image capture: Fix a high-definition high-speed camera at a certain height directly above the conveyor belt, ensuring that a certain length of the conveyor belt is included in the field of view and that clear cargo outlines and label images can be captured while the cargo is moving;
S102:采用深度学习中的YOLO目标检测算法,判断出所拍摄图片中所有货物种类、标签位置、边界框大小;保存形成各类货物和标签的数据类型;S102: Using the YOLO target detection algorithm in deep learning, determine the types of goods, label positions, and bounding box sizes of all goods in the captured images; and save the data types of various goods and labels;
S103:处理步骤S102中标签类数据中保存的截取图片,经降噪并旋转至水平,得出易于读取的一维条形码图片,且使货物类数据在空间上能够对应一个标签类数据;S103: Processing the captured image saved in the label data in step S102, reducing noise and rotating it to a horizontal position, obtaining an easily readable one-dimensional barcode image, and making the goods data correspond to one label data in space;
S104:读取条形码:使用Zbar方法识别条形码,经过以上步骤处理,得出一维码图片的水平图片,使用Zbar程序中识别,得出条形码的数据;S104: Read the barcode: Use the Zbar method to identify the barcode. After the above steps, a horizontal image of the one-dimensional code image is obtained, and the barcode data is obtained by using the Zbar program for identification.
S105:纠错报警:发生错误情况时会提醒报警,必要时人工纠错。S105: Error correction alarm: When an error occurs, an alarm will be prompted and manual correction will be performed if necessary.
步骤S101中,本发明实施例提供的高清高速相机,可在相机视野位置前安装光栅,将拍摄模式可设置触发模式,当有货物即将进入拍摄范围,触发光栅,命令相机连续拍照一段时间;也可将拍摄模式设置为连续拍照,无论传送带上有无货物,都按照一定时间间隔连续拍照。In step S101, the high-definition high-speed camera provided by the embodiment of the present invention can install a grating in front of the camera's field of view, and the shooting mode can be set to a trigger mode. When goods are about to enter the shooting range, the grating is triggered, and the camera is commanded to take pictures continuously for a period of time; the shooting mode can also be set to continuous photography, regardless of whether there are goods on the conveyor belt, continuous photography is performed at a certain time interval.
步骤S102中,本发明实施例提供的物流货物种类分为六面体形箱子和袋装包裹,定位出货物在照片中的所在中心位置(坐标)及边界框大小(图片坐标系下的宽、高);同时也识别出标签所在中心位置及边界框大小,截取出标签和货物的子图像用于下步分析;所采用的方法为深度学习中的YOLO目标检测算法,其运算速度能够达到实时检测的效果,符合目标要求;具体步骤如下:In step S102, the types of logistics goods provided by the embodiment of the present invention are divided into hexahedral boxes and bagged packages, and the center position (coordinates) of the goods in the photo and the size of the bounding box (width and height in the image coordinate system) are located; at the same time, the center position of the label and the size of the bounding box are also identified, and the sub-image of the label and the goods is cut out for the next analysis; the method used is the YOLO target detection algorithm in deep learning, and its computing speed can achieve the effect of real-time detection, which meets the target requirements; the specific steps are as follows:
(1)本发明将预训练好一个可靠的物体检测模型,并将模型算法部署在程序内;当相机拍摄完一张图片后,程序将会对图片中的货物和标签进行目标检测;(1) The present invention will pre-train a reliable object detection model and deploy the model algorithm in the program; when the camera takes a picture, the program will perform target detection on the goods and labels in the picture;
(2)目标检测模型将逐张处理拍摄图片,得出拍摄图片中货物和标签的中心位置及其边界框信息;由于同一视野中预计会出现多个物体,检测模型需检测出所有物体并依次切割成子图像,将其送入下一步一维条形码检测的程序中进行计算;视野中如没有出现标签或货物,则不进行图像切割并继续执行本步骤。(2) The object detection model will process the captured images one by one to obtain the center position of the goods and labels in the captured images and their bounding box information; since multiple objects are expected to appear in the same field of view, the detection model needs to detect all objects and cut them into sub-images in turn, which will be sent to the next step of the one-dimensional barcode detection program for calculation; if no labels or goods appear in the field of view, no image cutting will be performed and this step will continue.
步骤S103中,本发明实施例提供的一维码图片在水平方向且像素较清晰时才容易被读码程序读取,识别条形码算法利用了一维条形码图像轮廓明显、图像梯度一致的特点,将判断图像中符合该特性且区域集中的像素区域为一维码,而且将这些区域的梯度方向作为一维码的旋转角度;具体实现过程为:In step S103, the one-dimensional code image provided by the embodiment of the present invention is easy to be read by the code reading program only when it is in the horizontal direction and the pixels are clear. The barcode recognition algorithm uses the characteristics of the one-dimensional barcode image with obvious contour and consistent image gradient, and judges that the pixel areas in the image that meet the characteristics and are concentrated in the area are one-dimensional codes, and the gradient directions of these areas are used as the rotation angles of the one-dimensional codes. The specific implementation process is:
(1)将各标签子图像灰度化,并进行高斯模糊、降噪处理;(1) Grayscale each label sub-image and perform Gaussian blur and noise reduction processing;
(2)使用Cany算子计算图像中的轮廓点及轮廓点的梯度方向;(2) Use the Cany operator to calculate the contour points and gradient directions of the contour points in the image;
(3)将用m*m(m的数值根据实际效果调整,一般取5-10)大小的矩形将货物子图划分为若干的小块,记录在每个小块中包含的轮廓点与轮廓点的梯度方向;(3) Use a rectangle of size m*m (the value of m is adjusted according to the actual effect, generally 5-10) to divide the cargo sub-image into several small blocks, and record the contour points and gradient directions of the contour points contained in each small block;
(4)做筛选处理,剔除不包含轮廓点和包含轮廓点过少的图像小块;(4) Perform screening to remove small image blocks that do not contain contour points or contain too few contour points;
(5)计算剩下的图像小块的主要梯度方向,即以小块中轮廓点的梯度方向最集中的方向为主梯度方向;如果小块中梯度方向比较分散混乱,则剔除;(5) Calculate the main gradient direction of the remaining image blocks, that is, take the direction in which the gradient directions of the contour points in the block are most concentrated as the main gradient direction; if the gradient direction in the block is relatively scattered and chaotic, remove it;
(6)对各个梯度方向相同的小块做联通处理,距离相近、密度集中的小块聚类合并成一个区域,并把该梯度方向的作为合并后区域的梯度方向;剔除距离较远、数目稀少无法聚类的小块;(6) Connect the small blocks with the same gradient direction, cluster and merge the small blocks with similar distance and concentrated density into one area, and use the gradient direction as the gradient direction of the merged area; remove the small blocks with large distance and small number that cannot be clustered;
(7)判断合并后区域面积是否在某一阈值以上,如果是,则保留,否则剔除;(7) Determine whether the area of the merged region is above a certain threshold. If so, keep it; otherwise, remove it;
(8)经过以上步骤可得出所剩区域即为一维码所在位置,且可根据梯度方向得出该一维条形码的水平角度偏差,经旋转即得出可识别的一维条形码。(8) After the above steps, it can be concluded that the remaining area is the location of the one-dimensional code, and the horizontal angle deviation of the one-dimensional barcode can be obtained according to the gradient direction. After rotation, a recognizable one-dimensional barcode can be obtained.
步骤S104中,本发明实施例提供的该识别方式为开源程序,容易读出水平一维条形码的信息,其输出结果为某一长度数字串。In step S104, the recognition method provided by the embodiment of the present invention is an open source program, which can easily read the information of the horizontal one-dimensional barcode, and its output result is a digital string of a certain length.
步骤S105中,本发明实施例提供的发生以下错误情况时会提醒报警,必要时人工纠错:In step S105, the embodiment of the present invention provides an alarm when the following error occurs, and manual correction is performed when necessary:
(1)条形码未粘贴、粘贴在相机视野死角范围、条形码破损严重时而无法读取的情况;当发现货物已经完全进入视野中,并且经过步骤一至步骤四处理没有发现可读取的条码,发出报警;(1) The barcode is not pasted, pasted in the blind spot of the camera's field of view, or the barcode is severely damaged and cannot be read; when it is found that the goods have completely entered the field of view and no readable barcode is found after processing from step 1 to step 4, an alarm is issued;
(2)由于标签印刷问题,在步骤四中可能检测出两块以上的条形码区域;如果发现两块条形码解读数字不一致,或者解读出数字有长度不符标准问题,发出报警;(2) Due to label printing problems, more than two barcode areas may be detected in step 4; if it is found that the decoded numbers of the two barcodes are inconsistent, or the decoded numbers have lengths that do not meet the standard, an alarm is issued;
(3)由于拍照时间较短,可能出现同一货物出现在连续多张照片中,本发明将根据传送带速度,估计一个可容许重复出现同种序号的时间长度,在读出一个新的条形码后,允许这个相同序列号的条形码在之后某一段时间内重复被读出;如超出该时间,表示传送带未传送货物前进,发出报警。(3) Since the photo-taking time is short, the same goods may appear in multiple consecutive photos. The present invention will estimate a permissible length of time for the repeated appearance of the same serial number based on the conveyor belt speed. After reading a new barcode, the barcode with the same serial number is allowed to be read repeatedly within a certain period of time thereafter. If the time is exceeded, it indicates that the conveyor belt has not conveyed the goods forward and an alarm is issued.
如图2所示,本发明实施例提供的基于视觉的物流条形码检测方法技术路线图。As shown in FIG2 , a technical roadmap of a vision-based logistics barcode detection method is provided in an embodiment of the present invention.
如图3所示,本发明实施例提供的货物检测流程图。As shown in FIG3 , a flow chart of cargo detection provided by an embodiment of the present invention is shown.
如图4所示,本发明实施例提供的条形码检测读取流程图。As shown in FIG. 4 , a barcode detection and reading flow chart is provided in an embodiment of the present invention.
下面结合具体实施例对本发明的应用原理进行进一步详细说明;The application principle of the present invention is further described in detail below in conjunction with specific embodiments;
本发明首先将截取视野范围内属于货物的边界框,形成每个货物的子图像,然后在这些子图像中做轮廓及梯度方向的处理和归并,最终提取出属于一维条形的像素范围。将最终提取的一维码图片旋转至水平后,利用解码程序读取出一维码序列。The present invention first intercepts the boundary box of the goods within the field of view to form a sub-image of each product, then processes and merges the contours and gradient directions in these sub-images, and finally extracts the pixel range belonging to the one-dimensional bar. After the finally extracted one-dimensional code image is rotated to horizontal, the one-dimensional code sequence is read out using a decoding program.
本发明具体流程如下:The specific process of the present invention is as follows:
(1)启动处理流程,设置拍照模式,确保每一个货物及其标签图像能被清晰拍摄;(1) Start the processing flow and set the camera mode to ensure that every product and its label image can be clearly captured;
(2)识别各个货物和标签的位置及矩形大小,并截取出所有货物及标签子图像;(2) Identify the location and rectangular size of each item and label, and extract all item and label sub-images;
(3)寻找各个标签子图像中的一维码位置,提取一维码图片;(3) Find the position of the one-dimensional code in each label sub-image and extract the one-dimensional code image;
(4)读取识别一维码的数字编码;(4) Read the digital code of the one-dimensional code;
(5)若发生错误,报警;否则从(2)开始继续处理下一张图片。(5) If an error occurs, an alarm is issued; otherwise, the process continues from (2) to the next image.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用全部或部分地以计算机程序产品的形式实现,所述计算机程序产品包括一个或多个计算机指令。在计算机上加载或执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输)。所述计算机可读取存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘SolidStateDisk(SSD))等。In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When the use is implemented in whole or in part in the form of a computer program product, the computer program product includes one or more computer instructions. When the computer program instructions are loaded or executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL) or wireless (e.g., infrared, wireless, microwave, etc.) mode) to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims (5)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811443403.8A CN109583535B (en) | 2018-11-29 | 2018-11-29 | Vision-based logistics barcode detection method and readable storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811443403.8A CN109583535B (en) | 2018-11-29 | 2018-11-29 | Vision-based logistics barcode detection method and readable storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN109583535A CN109583535A (en) | 2019-04-05 |
| CN109583535B true CN109583535B (en) | 2023-04-18 |
Family
ID=65925299
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201811443403.8A Active CN109583535B (en) | 2018-11-29 | 2018-11-29 | Vision-based logistics barcode detection method and readable storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN109583535B (en) |
Families Citing this family (19)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110322199B (en) * | 2019-06-28 | 2024-05-14 | 四川省烟草公司成都市公司 | Safe ex-warehouse equipment system and method for image recognition |
| CN110659706A (en) * | 2019-10-15 | 2020-01-07 | 广东燕塘乳业股份有限公司 | Two-dimensional code identification method based on stacking |
| CN112800796B (en) * | 2019-11-14 | 2023-05-26 | 杭州海康机器人股份有限公司 | Code reading method, code reading device and logistics system |
| CN113449532B (en) * | 2020-03-25 | 2022-04-19 | 杭州海康机器人技术有限公司 | Method, device, computing equipment, logistics system and storage medium for detecting packages |
| CN111553914B (en) * | 2020-05-08 | 2021-11-12 | 深圳前海微众银行股份有限公司 | Vision-based goods detection method and device, terminal and readable storage medium |
| CN111770263A (en) * | 2020-05-22 | 2020-10-13 | 盟立自动化(昆山)有限公司 | Visual method for accurately capturing image of flowing product at specific visual angle |
| CN111914579B (en) * | 2020-07-01 | 2021-03-12 | 上海视界纵横智能科技有限公司 | Industrial scanning device and method for self-learning beat recognition |
| CN112329676A (en) * | 2020-11-12 | 2021-02-05 | 上海东普信息科技有限公司 | Reflow piece identification method, device, equipment and storage medium |
| CN112507747B (en) * | 2020-12-10 | 2024-04-19 | 北京爱创科技股份有限公司 | Device and method for scanning traceability codes |
| CN112818720A (en) * | 2021-01-26 | 2021-05-18 | 深圳市微目腾科技术有限公司 | Two-dimensional code detection method, detection device and storage medium |
| CN113114877B (en) * | 2021-02-23 | 2023-06-06 | 广州弥特智能科技有限公司 | Multi-bottle rotation acquisition and recognition method and equipment |
| CN113191469A (en) | 2021-04-30 | 2021-07-30 | 南方科技大学 | Logistics management method, system, server and storage medium based on two-dimension code |
| CN114330407A (en) * | 2021-12-30 | 2022-04-12 | 深圳创维-Rgb电子有限公司 | Method, device, equipment and storage medium for detecting and identifying bar code |
| CN115081467B (en) * | 2022-07-22 | 2023-02-03 | 深圳市成为信息股份有限公司 | Method for collecting original image by handset, handset and storage medium |
| CN116029318A (en) * | 2023-02-20 | 2023-04-28 | 深圳市湘凡科技有限公司 | Automatic code scanning method, device, equipment and storage medium |
| CN116882432B (en) * | 2023-07-11 | 2024-03-22 | 深圳市裕源欣电子科技有限公司 | Method and system for scanning multiple materials, readable storage medium and computer equipment |
| CN117875344B (en) * | 2023-12-25 | 2025-09-23 | 南通腾峰光学仪器有限公司 | Auxiliary reading method and system |
| CN117764094B (en) * | 2024-02-21 | 2024-05-10 | 博诚经纬软件科技有限公司 | Intelligent warehouse management system and method for customs |
| CN119540709B (en) * | 2024-10-11 | 2025-10-28 | 浙江理工大学 | A barcode detection method and system based on improved YOLOv8 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103810454A (en) * | 2012-11-14 | 2014-05-21 | 苏州工业园区高泰电子有限公司 | Automatic scanner |
| CN104281931A (en) * | 2014-10-22 | 2015-01-14 | 天津慧博科技发展有限公司 | Goods checking and classifying system |
| CN204399926U (en) * | 2015-01-01 | 2015-06-17 | 广州市嘉诚国际物流股份有限公司 | Intelligent cargo cabinet enters goods system |
| CN107633192A (en) * | 2017-08-22 | 2018-01-26 | 电子科技大学 | Bar code segmentation and reading method under a kind of complex background based on machine vision |
| CN108647553A (en) * | 2018-05-10 | 2018-10-12 | 上海扩博智能技术有限公司 | Rapid expansion method, system, equipment and the storage medium of model training image |
-
2018
- 2018-11-29 CN CN201811443403.8A patent/CN109583535B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103810454A (en) * | 2012-11-14 | 2014-05-21 | 苏州工业园区高泰电子有限公司 | Automatic scanner |
| CN104281931A (en) * | 2014-10-22 | 2015-01-14 | 天津慧博科技发展有限公司 | Goods checking and classifying system |
| CN204399926U (en) * | 2015-01-01 | 2015-06-17 | 广州市嘉诚国际物流股份有限公司 | Intelligent cargo cabinet enters goods system |
| CN107633192A (en) * | 2017-08-22 | 2018-01-26 | 电子科技大学 | Bar code segmentation and reading method under a kind of complex background based on machine vision |
| CN108647553A (en) * | 2018-05-10 | 2018-10-12 | 上海扩博智能技术有限公司 | Rapid expansion method, system, equipment and the storage medium of model training image |
Also Published As
| Publication number | Publication date |
|---|---|
| CN109583535A (en) | 2019-04-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109583535B (en) | Vision-based logistics barcode detection method and readable storage medium | |
| US8295583B2 (en) | System and method for automatic recognition of undetected assets | |
| CN110008956B (en) | Invoice key information positioning method, invoice key information positioning device, computer equipment and storage medium | |
| CN110276295B (en) | Vehicle identification number detection and identification method and device | |
| CN104463067B (en) | Method for extracting macro blocks of Grid Matrix two-dimensional bar code | |
| CN101281597A (en) | A device and method for online real-time collection and recognition of product packaging graphic identification information | |
| CN111597857B (en) | Logistics package detection method, device, equipment and readable storage medium | |
| CN110210488A (en) | The recognition methods of bar code and cell-phone number and device on a kind of express waybill | |
| KR102371446B1 (en) | Method and apparatus for recognizing the delivery address printed on mailings | |
| CN116309573A (en) | Defect detection method for printed characters of milk packaging box | |
| CN106355174A (en) | A method and system for dynamically extracting key information of express orders | |
| CN112001200A (en) | Identification code identification method, device, equipment, storage medium and system | |
| CN107403179B (en) | Registration method and device for article packaging information | |
| CN118365699A (en) | Label position deviation detection method, device and detection equipment | |
| CN117195928A (en) | A barcode positioning detection method based on deep learning | |
| CN114202041A (en) | Packaging material detection method and device | |
| CN112307944A (en) | Dish inventory information processing method, dish delivery method and related device | |
| CN114299282A (en) | A box type identification system and method for an automated terminal container | |
| CN120125248A (en) | A visual tracking system and visual tracking method for agricultural products | |
| CN110969612B (en) | Two-dimensional code printing defect detection method | |
| CN114169352A (en) | Bar code information identification method and electronic equipment | |
| CN114758259B (en) | A package detection method and system based on X-ray object image recognition | |
| US12131224B1 (en) | Deep learning based image enhancement for barcode decoding | |
| CN115689994B (en) | Nameplate and bar code defect detection method, equipment and storage medium | |
| CN118396006A (en) | Parcel detection system, method, device, electronic equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| TA01 | Transfer of patent application right | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20220704 Address after: 410073 Hunan province Changsha Kaifu District, Deya Road No. 109 Applicant after: National University of Defense Technology Address before: Room 1505, building 2, Xincheng Science Park, 588 Yuelu West Avenue, Changsha hi tech Development Zone, Hunan 410000 Applicant before: HUNAN SPEEDBOT ROBOT Co.,Ltd. |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant |