CN110610141A - A logistics warehousing regular shape cargo identification system - Google Patents
A logistics warehousing regular shape cargo identification system Download PDFInfo
- Publication number
- CN110610141A CN110610141A CN201910787103.XA CN201910787103A CN110610141A CN 110610141 A CN110610141 A CN 110610141A CN 201910787103 A CN201910787103 A CN 201910787103A CN 110610141 A CN110610141 A CN 110610141A
- Authority
- CN
- China
- Prior art keywords
- cargo
- module
- image
- goods
- identification system
- 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.)
- Withdrawn
Links
- 238000007781 pre-processing Methods 0.000 claims abstract description 23
- 238000012545 processing Methods 0.000 claims abstract description 14
- 238000000034 method Methods 0.000 claims description 33
- 238000001514 detection method Methods 0.000 claims description 12
- 238000001914 filtration Methods 0.000 claims description 10
- 238000003708 edge detection Methods 0.000 claims description 9
- 230000003628 erosive effect Effects 0.000 claims description 8
- 230000005540 biological transmission Effects 0.000 claims description 7
- 239000000284 extract Substances 0.000 claims description 7
- 238000000605 extraction Methods 0.000 claims description 4
- 230000010339 dilation Effects 0.000 claims description 3
- 238000004040 coloring Methods 0.000 claims 1
- 238000005516 engineering process Methods 0.000 abstract description 18
- 238000003860 storage Methods 0.000 abstract description 11
- 238000010586 diagram Methods 0.000 description 5
- 238000012360 testing method Methods 0.000 description 5
- 238000002372 labelling Methods 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000011109 contamination Methods 0.000 description 2
- 230000007797 corrosion Effects 0.000 description 2
- 238000005260 corrosion Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 239000000428 dust Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/087—Inventory or stock management, e.g. order filling, procurement or balancing against orders
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/10—Terrestrial scenes
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Human Resources & Organizations (AREA)
- Entrepreneurship & Innovation (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- Development Economics (AREA)
- General Business, Economics & Management (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- Multimedia (AREA)
- Image Analysis (AREA)
Abstract
本发明公开了一种物流仓储规则形状货物识别系统,该系统由货物信息统计模块、图像采集模块、图像预处理模块、货物识别模块和货物调整入库模块组成。本发明用机器识别货物的类别以及货物摆放方式,对货物进行分类、调整,以便入库,解决了人工搬运货物费时费力的问题,实现了自动化仓储货物管理,本发明通过传送带上货物俯视图的形状与颜色特征,利用图像处理技术,判断货物的类别、摆放方式和角度,通过机械臂进行调整入库。
The invention discloses a logistics warehousing regular shape cargo identification system, which is composed of a cargo information statistics module, an image acquisition module, an image preprocessing module, a cargo identification module and a cargo adjustment and storage module. The invention uses a machine to identify the type of goods and the way they are placed, and classifies and adjusts the goods for storage, solves the problem of time-consuming and laborious manual handling of goods, and realizes automatic storage and goods management. Shape and color features, using image processing technology, determine the category, placement and angle of the goods, and adjust the storage through the robotic arm.
Description
技术领域technical field
本发明涉及物流分拣检测技术领域,具体涉及一种物流仓储规则形状货物识别系统。The invention relates to the technical field of logistics sorting and detection, in particular to a logistics warehousing regular shape cargo identification system.
背景技术Background technique
物流仓储是先进制造领域、计算机集成制造系统和现代物流技术的重要组成部分,对制造业的发展起着举足轻重的作用。目前的仓库仍然停留在自动化阶段,这种自动化仓库主要存在的一个问题是拣选作业时,大部分码头或港口还需人工进行货物的识别和出入库作业,费时费力。Logistics warehousing is an important part of advanced manufacturing field, computer integrated manufacturing system and modern logistics technology, and plays an important role in the development of manufacturing industry. The current warehouse is still in the automation stage. One of the main problems of this type of automated warehouse is that during the picking operation, most docks or ports still need to manually identify and store goods, which is time-consuming and labor-intensive.
目前自动化出入库物体识别操作主要采用三种方式:At present, there are three main ways to automatically identify objects in and out of the warehouse:
一、条形码扫描。条码识别技术出现较早,是目前应用最为成熟的一种识别技术,通过将包含货物信息的一组固定格式的编码贴于货物表面来标识相关信息,并通过识别设备与识别技术在货箱流转过程中进行识别。在非自动化物流仓储系统中,这一类货物识别系统应用广泛,在自动化立体仓库中也有应用。1. Barcode scanning. Barcode identification technology appeared earlier and is the most mature identification technology at present. It identifies relevant information by sticking a set of fixed-format codes containing cargo information on the surface of the cargo, and circulates it in the cargo box through identification equipment and identification technology. identification during the process. In non-automated logistics warehousing systems, this type of cargo identification system is widely used, and it is also used in automated three-dimensional warehouses.
但是条码在使用过程中会有损坏,自动识别时会有较高的误码率,其可靠性受到影响。另外,受识别技术本身的条件限制,条码包含的信息单一,随着立体仓库自动化水平与工作效率的不断提高,这一类识别系统已经不能满足应用要求。However, the barcode will be damaged during use, and there will be a high bit error rate during automatic identification, and its reliability will be affected. In addition, limited by the conditions of the identification technology itself, the information contained in the barcode is single. With the continuous improvement of the automation level and work efficiency of the three-dimensional warehouse, this type of identification system can no longer meet the application requirements.
二、RFID技术。采用非接触IC卡技术的射频识别技术(RFID)是目前应用在自动化立体仓库中的一个技术发展方向。其利用射频识别(Radio Frequency Identification,RFID)技术,又称为电子标签(E-Tag)技术,通过射频通信实现的非接触式自动识别技术。射频识别系统一般由两个部分组成,即电子标签(应答器,E-Tag)和阅读器(读头,Reader)。在RFID的实际应用中,电子标签附着在被识别的物品上(表面或内部),当带有电予标签的被识别物体通过阅读器的可识读范围时,阅读器自动以不接触的方式将电子标签中的识别信息读取出来,从而实现自动识别物品或自动收集物品标志信息的功能。这种方式最大的优点就在于非接触式工作方式,整个识别过程无须人工干预,适用于实现自动化且不易损坏,可识别高速运动物体并对同时识别多个射频标签,操作快捷方便。对于油渍、灰尘污染等恶劣的环境有较好的适应性。Second, RFID technology. Radio frequency identification technology (RFID) using non-contact IC card technology is a technical development direction currently applied in automated three-dimensional warehouses. It uses radio frequency identification (Radio Frequency Identification, RFID) technology, also known as electronic tag (E-Tag) technology, non-contact automatic identification technology realized by radio frequency communication. A radio frequency identification system is generally composed of two parts, namely an electronic tag (transponder, E-Tag) and a reader (reader, Reader). In the practical application of RFID, the electronic tag is attached to the identified item (surface or interior). When the identified object with the electronic tag passes through the readable range of the reader, the reader automatically does not touch The identification information in the electronic tag is read out, so as to realize the function of automatic identification of items or automatic collection of item identification information. The biggest advantage of this method lies in the non-contact working method. The whole identification process does not require manual intervention. It is suitable for automation and is not easy to damage. It can identify high-speed moving objects and identify multiple radio frequency tags at the same time. The operation is fast and convenient. It has good adaptability to harsh environments such as oil stains and dust pollution.
经对现有技术的检索发现,中国专利申请号:201220505565.1,专利名称:一种智能化仓库管理系统,该申请方案提供了一种本实用新型提供一种智能化仓库管理系统,包括视频采集设备、视频传输设备、服务器组、RFID读写器、报警装置、LED显示屏、存储设备,服务器组包括数据处理服务器、图像处理服务器、流媒体传送服务器,中央控制服务器是服务器组的核心,用于统一控制并发送指令给图像处理服务器、数据处理服务器、流媒体传送服务器,从而实现不同的功能,并对各服务器反馈回来的信息进行处理。其中并未涉及对图像的操作,而且具有以下缺陷:RFID标签加上RFID发射器,读取机,编码器及天线等设备成本高;人为贴上标签,增加了劳动量;含有金属和水分的物件或是环境,会对RFID产生影响。虽然条形码技术和RFID技术已经日趋成熟,但是它们并不是货物的固有属性,与人类认识事物的方法大相径庭。因此,如何利用货物本身的特征高效率地实现货物的自动识别,是物流技术领域里一个亟待解决的问题。After searching the prior art, it is found that the Chinese patent application number: 201220505565.1, the patent name: an intelligent warehouse management system, the application scheme provides an intelligent warehouse management system provided by the present utility model, including video capture equipment , video transmission equipment, server group, RFID reader, alarm device, LED display, storage equipment, the server group includes data processing server, image processing server, streaming media transmission server, the central control server is the core of the server group, used for Unified control and sending instructions to image processing server, data processing server, streaming media transmission server, so as to realize different functions, and process the information fed back by each server. It does not involve the operation of the image, and has the following defects: RFID tags plus RFID transmitters, readers, encoders and antennas are expensive; manual labeling increases labor; Objects or the environment can have an impact on RFID. Although barcode technology and RFID technology have matured, they are not inherent properties of goods, and are very different from the way humans perceive things. Therefore, how to use the characteristics of the goods to realize the automatic identification of the goods efficiently is an urgent problem to be solved in the field of logistics technology.
三、物品图像识别方法。图像识别,是指利用计算机对图像进行处理、分析和理解,以识别各种不同模式的目标和对象的技术。一般工业使用中,采用工业相机拍摄图片,然后再利用软件根据图片灰阶差做进一步识别处理。中国专利申请号201810642072.4,专利申请名称一种基于目标识别与KNN算法的超市仓库货物识别分类方法,该申请方案提供了一种基于目标识别与KNN算法的超市仓库货物识别分类方法,包括:获取货物图像样本数据;对样本数据进行预处理;提取出目标轮廓;选取出目标的最小外接矩形;算出整个区域的平均RGB值与直方图分布;通过KNN算法进行待测样本与训练样本之间的匹配。此方法只对物品类别进行分类,并不能判断出物体的摆放,不适用于物流仓储系统。中国申请号201711467294.9,专利申请名称提供了了一种基于货物图像识别技术的仓库货物智能识别系统,包括数据输入模块、数据储存模块、分析对比模块、采相模块、输出模块和异常报警模块。通过图像识别技术将良品样本的图像与实际货物的图像进行对比,来判断被检测的货物是否为正确的良品。同样,此方法只对物品类别进行分类,并不能判断出物体的摆放,不适用于物流仓储系统。3. Object image recognition method. Image recognition refers to the technology that uses computers to process, analyze and understand images to identify targets and objects in various patterns. In general industrial use, an industrial camera is used to take pictures, and then software is used for further identification and processing according to the grayscale difference of the pictures. Chinese Patent Application No. 201810642072.4, the name of the patent application is a method for identifying and classifying goods in supermarket warehouses based on target recognition and KNN algorithm. The application scheme provides a method for identifying and classifying goods in supermarket warehouses based on target recognition and KNN algorithm, including: obtaining goods Image sample data; preprocess the sample data; extract the target contour; select the minimum circumscribed rectangle of the target; calculate the average RGB value and histogram distribution of the entire area; match between the test sample and the training sample through the KNN algorithm . This method only classifies the category of items, and cannot determine the placement of objects, so it is not suitable for logistics warehousing systems. The Chinese application number 201711467294.9, the title of the patent application provides a warehouse cargo intelligent identification system based on cargo image recognition technology, including a data input module, a data storage module, an analysis and comparison module, a phase acquisition module, an output module and an abnormal alarm module. Through image recognition technology, the image of the good sample is compared with the image of the actual goods to judge whether the detected goods are correct good products. Similarly, this method only classifies the category of items, and cannot determine the placement of objects, so it is not suitable for logistics warehousing systems.
发明内容SUMMARY OF THE INVENTION
本发明的目的在于提供一种物流仓储规则形状货物识别系统,可识别货物类型,判断货物位置和摆放方式,从而货物进行分拣入库。The purpose of the present invention is to provide a logistics warehousing regular shape cargo identification system, which can identify the type of the cargo, judge the position and arrangement of the cargo, so that the cargo can be sorted and put into the warehouse.
实现本发明目的的技术方案为:一种物流仓储规则形状货物识别系统,包括货物信息统计模块,图像采集模块,图像预处理模块,货物识别模块和货物调整入库模块;The technical scheme for realizing the object of the present invention is: a logistics warehousing regular shape cargo identification system, comprising a cargo information statistics module, an image acquisition module, an image preprocessing module, a cargo identification module and a cargo adjustment and storage module;
货物信息统计模块用于获取所有样本货物的长、宽、高、半径、边长,根据平均颜色信息建立货物信息数据库;The cargo information statistics module is used to obtain the length, width, height, radius and side length of all sample cargoes, and build a cargo information database according to the average color information;
图像采集模块用于采集视频信息,传输至图像预处理模块;The image acquisition module is used to collect video information and transmit it to the image preprocessing module;
图像预处理模块用于将获取的每一帧图片与背景作差,经图像滤波、灰度化、二值化、腐蚀、膨胀、边缘检测、轮廓提取和图像填充处理;The image preprocessing module is used to make the difference between each frame of the obtained picture and the background, and process it through image filtering, grayscale, binarization, erosion, expansion, edge detection, contour extraction and image filling;
货物识别模块用于根据特征判断货物形状,提取ROI区域内颜色,最终确定货物类型和摆放方式;The cargo identification module is used to judge the shape of the cargo according to the features, extract the color in the ROI area, and finally determine the type and placement of the cargo;
货物调整入库模块根据识别结果,控制机械臂移动距离和旋转角度,将货物分类入库并堆叠整齐。The goods adjustment and warehousing module controls the moving distance and rotation angle of the robotic arm according to the recognition results, and sorts the goods into the warehouse and stacks them neatly.
本发明与现有技术相比,其显著优点为:(1)与传统人工分拣和搬运入库相比,采用机器进行图像处理的方法,极大程度上解放了人力,提高了运行效率;(2)与条形码识别相比,利用货物本身的特征高效率地实现货物的自动识别,不用担心条形码污损;(3)与RFID标签识别相比,不需要人为贴标签,简化了流程,而且使用单摄像头降低了成本。Compared with the prior art, the present invention has the following significant advantages: (1) compared with the traditional manual sorting and transporting into storage, the method of image processing by a machine greatly liberates manpower and improves the operation efficiency; (2) Compared with barcode identification, the automatic identification of goods can be efficiently realized by using the characteristics of the goods themselves, without worrying about barcode contamination; (3) Compared with RFID tag identification, no manual labeling is required, which simplifies the process and uses Single camera reduces cost.
附图说明Description of drawings
图1是本发明物流仓储规则形状货物识别系统框图。Fig. 1 is a block diagram of the logistics warehousing rule-shaped cargo identification system of the present invention.
图2是本发明系统硬件部分系统框图。Fig. 2 is a system block diagram of the hardware part of the system of the present invention.
图3是本发明图像采集模块机械结构图。Fig. 3 is the mechanical structure diagram of the image acquisition module of the present invention.
图4是本发明图像预处理模块原理图。FIG. 4 is a schematic diagram of the image preprocessing module of the present invention.
图5是本发明货物识别模块的原理图。FIG. 5 is a schematic diagram of the cargo identification module of the present invention.
具体实施方式Detailed ways
自动化仓储货物管理能够解决码头、港口等地人工分拣搬运费时费力的问题,让入库更加高效。而图像识别方法弥补了现有条形码扫描,RFID、图像识别方法的缺陷。Automated warehousing cargo management can solve the time-consuming and laborious problem of manual sorting and handling in docks, ports and other places, and make warehousing more efficient. The image recognition method makes up for the shortcomings of the existing barcode scanning, RFID, and image recognition methods.
如图1所示,本发明提出一种物流仓储规则形状货物识别系统,包括货物信息统计模块,图像采集模块,图像预处理模块,货物识别模块和货物调整入库模块;As shown in FIG. 1 , the present invention proposes a logistics warehousing regular shape cargo identification system, including a cargo information statistics module, an image acquisition module, an image preprocessing module, a cargo identification module and a cargo adjustment warehousing module;
货物信息统计模块用于获取所有样本货物的长、宽、高、半径、边长,根据平均颜色信息建立货物信息数据库;以便跟处理过后的测试货物特征对比,从而获得测试货物种类和摆放方式。The cargo information statistics module is used to obtain the length, width, height, radius, and side length of all sample cargoes, and establish a cargo information database based on the average color information; in order to compare with the characteristics of the processed test cargo, so as to obtain the type and arrangement of the test cargo .
图像采集模块用于采集视频信息,传输至图像预处理模块;图像采集就是从工作现场获取场景图像的过程。使用具有灵敏度高、抗强光、畸变小、体积小、寿命长、抗震动等优点的CCD摄像机,采集连续的现场图像,将模拟图像信号数字化后送给图像处理模块。The image acquisition module is used to collect video information and transmit it to the image preprocessing module; image acquisition is the process of acquiring scene images from the work site. Use a CCD camera with the advantages of high sensitivity, strong light resistance, small distortion, small size, long life, and anti-vibration to collect continuous on-site images, and digitize the analog image signals to the image processing module.
图像预处理模块用于将获取的每一帧图片与背景做差,经图像滤波、灰度化、二值化、腐蚀、膨胀、边缘检测、轮廓提取和图像填充处理;The image preprocessing module is used to make the difference between each frame of the obtained picture and the background, and undergo image filtering, grayscale, binarization, erosion, expansion, edge detection, contour extraction and image filling processing;
货物识别模块用于根据特征判断货物形状,再提取ROI区域内颜色,最终确定货物类型和摆放方式;The cargo identification module is used to judge the shape of the cargo according to the features, then extract the color in the ROI area, and finally determine the type and placement of the cargo;
货物调整入库模块根据识别结果,控制机械臂移动距离和旋转角度,将货物分类入库并堆叠整齐。The goods adjustment and warehousing module controls the moving distance and rotation angle of the robotic arm according to the recognition results, and sorts the goods into the warehouse and stacks them neatly.
平均颜色信息获取方法为:拍摄多张货物的照片,转换至LAB颜色空间,选择货物所在区域,进行三通道颜色直方图统计,求取货物平均颜色。The method of obtaining the average color information is: take multiple photos of the goods, convert them to the LAB color space, select the area where the goods are located, perform three-channel color histogram statistics, and obtain the average color of the goods.
所述图像采集模块包括前端摄像机、传输线路和存储器,前端摄像机通过传输线路与工控机相连,用于采集视频信号,工控机与图像预处理模块相连,用于将获取的模拟视频信号转换为数字视频序列并将其传输到图像预处理模块;图像采集模块机械结构图如图3所示,摄像头固定安装在传送带正上方,使用补光灯降低光线影响。The image acquisition module includes a front-end camera, a transmission line and a memory. The front-end camera is connected to the industrial computer through the transmission line for collecting video signals, and the industrial computer is connected to the image preprocessing module for converting the acquired analog video signal into digital. The video sequence is transmitted to the image preprocessing module; the mechanical structure of the image acquisition module is shown in Figure 3. The camera is fixedly installed directly above the conveyor belt, and the fill light is used to reduce the influence of light.
所述图像预处理包括灰度化,图像滤波,背景减法,二值化,腐蚀,膨胀,图像填充;其中:从存储器中获取背景图像和当前图像,依次进行灰度化,图像滤波,背景减法,二值化,腐蚀,膨胀,图像填充处理,图像预处理模块与货物识别模块相连,处理过程如图4所示。The image preprocessing includes grayscale, image filtering, background subtraction, binarization, erosion, expansion, and image filling; wherein: acquiring the background image and the current image from the memory, and performing grayscale, image filtering, and background subtraction in sequence , binarization, erosion, expansion, image filling processing, the image preprocessing module is connected with the cargo identification module, and the processing process is shown in Figure 4.
所述货物识别模块包括边缘检测、形状检测、轮廓绘制、感兴趣区域颜色分析模块和对比数据库货物信息模块。其中:形状检测用的是Laplace边缘检测算法计算图形周长和顶点个数。先判断几何图形是否为圆形,即判断这个图形周长的平方与面积的比是否在规定的范围内,否则,判断顶点的个数,等于3即为三角形,等于4即为矩形。若为矩形,根据长与宽的比值,可以继续细分货物种类,并且可以根据这个比值判断货物是正放还是侧放。在识别几何图形形状的同时输出此图形的周长和面积。形状检测后绘制轮廓,内部设置为感兴趣区域,分析颜色。最终通过形状检测和颜色检测判断出货物类别和摆放方式,具体流程如图5所示。The goods identification module includes edge detection, shape detection, outline drawing, color analysis module of interest area and goods information module of comparison database. Among them: the shape detection uses the Laplace edge detection algorithm to calculate the perimeter of the graph and the number of vertices. First determine whether the geometric figure is a circle, that is, determine whether the ratio of the square of the perimeter of the figure to the area is within the specified range, otherwise, determine the number of vertices, equal to 3 is a triangle, and equal to 4 is a rectangle. If it is a rectangle, according to the ratio of length to width, you can continue to subdivide the types of goods, and you can judge whether the goods are placed on the front or side according to this ratio. Outputs the perimeter and area of a geometric figure while identifying the shape of the figure. After the shape is detected, the outline is drawn, the interior is set as the region of interest, and the color is analyzed. Finally, the type and placement of the goods are determined through shape detection and color detection. The specific process is shown in Figure 5.
所述货物调整入库货物调整入库是根据识别结果,控制机械臂移动距离和旋转角度,将货物分类入库并堆叠整齐。其中:货物调整入库整个系统硬件部分主要由人机界面、PLC控制系统、摄像机、驱动单元、伺服系统、货架仓位和机械部件组成。通过人机界面对可编程控制器进行数据的监控和数据的写入,来实现对仓库进行监控、货物识别和提取货物。The adjustment of goods into storage The adjustment of goods into storage is to control the moving distance and rotation angle of the robotic arm according to the recognition result, and classify the goods into storage and stack them neatly. Among them: the hardware part of the whole system of goods adjustment and storage is mainly composed of man-machine interface, PLC control system, camera, drive unit, servo system, shelf position and mechanical parts. Through the man-machine interface, the programmable controller can monitor and write data to monitor the warehouse, identify the goods and extract the goods.
下面结合附图对本发明的系统进一步描述。The system of the present invention will be further described below with reference to the accompanying drawings.
实施例Example
一种物流仓储规则货物识别系统,包括货物信息统计模块,图像采集模块,图像预处理模块,货物识别模块和货物调整入库模块五个部分;A logistics warehousing rule cargo identification system, comprising five parts: a cargo information statistics module, an image acquisition module, an image preprocessing module, a cargo identification module and a cargo adjustment and warehousing module;
货物信息统计模块用于获取所有样本货物长、宽、高,半径、边长,以及平均颜色信息建立货物信息数据库。以便跟处理过后的测试货物特征对比,从而获得测试货物种类和摆放方式。平均颜色信息获取需要拍多张货物的照片,转换至LAB颜色空间,选择货物所在区域,进行三通道颜色直方图统计,求取货物平均颜色。The cargo information statistics module is used to obtain the length, width, height, radius, side length, and average color information of all sample cargoes to build a cargo information database. In order to compare with the characteristics of the processed test goods, so as to obtain the type and arrangement of the test goods. To obtain the average color information, you need to take multiple photos of the goods, convert them to the LAB color space, select the area where the goods are located, and perform three-channel color histogram statistics to obtain the average color of the goods.
图像采集模块接收模拟视频信号通过A/D将其数字化,或者是直接接收摄像机数字化后的数字视频数据。图像采集部分将数字图像存放在工控机的内存中。图像采集模块按照事先设定的程序和延时,每30ms读取当前帧,从而获得连续的视频信号。拍摄5张传送带上没有货物时的背景照片,取平均值得到平均背景图。The image acquisition module receives the analog video signal and digitizes it through A/D, or directly receives the digital video data after the digitization of the camera. The image acquisition part stores the digital image in the memory of the industrial computer. The image acquisition module reads the current frame every 30ms according to the preset program and delay, thereby obtaining continuous video signals. Take 5 background photos with no goods on the conveyor belt and take the average to get the average background image.
图像预处理模块:对于采集到的数字图像,由于受到设备和环境因素的影响,往往会受到不同程度的干扰,如噪声、几何形变、彩色失调等,都会影响准确度。为此,必须对采集图像进行预处理。预处理过程包括灰度化,图像滤波,背景减法,二值化,腐蚀,膨胀,图像填充。Image preprocessing module: For the collected digital images, due to the influence of equipment and environmental factors, they are often subject to different degrees of interference, such as noise, geometric deformation, color misalignment, etc., which will affect the accuracy. For this purpose, the acquired images must be preprocessed. The preprocessing process includes grayscale, image filtering, background subtraction, binarization, erosion, dilation, and image filling.
灰度化是RGB彩色图片经过加权平均法得单通道的灰度图像的处理过程。将平均背景图片与当前帧经灰度化后进行高斯滤波,利用背景减法将处理过后的平均背景图片与当前帧相减得到差值图。设置合适的阈值,对差值图二值化后进行腐蚀和膨胀处理,消除噪声,让边缘更加清晰,得到了封闭的边界,但是内部还存在大大小小的孔洞,通过孔洞填充方法的到较为完整的货物图片。Grayscale is the process of obtaining a single-channel grayscale image of an RGB color image through a weighted average method. The average background picture and the current frame are grayed and then Gaussian filtering is performed, and the difference map is obtained by subtracting the processed average background picture and the current frame by background subtraction. Set an appropriate threshold, perform corrosion and expansion processing on the difference image after binarization, eliminate noise, make the edge clearer, and obtain a closed boundary, but there are still large and small holes inside, and the hole filling method is more effective. Complete picture of goods.
所述货物识别模块是边缘检测,根据特征判断货物形状,轮廓绘制后,再提取ROI区域内颜色,最终确定货物类型和摆放方式。The cargo identification module is edge detection, judges the shape of the cargo according to the features, and then extracts the color in the ROI area after the outline is drawn, and finally determines the type and arrangement of the cargo.
形状检测:Shape detection:
(1)圆形:圆形是所有规则几何图形中最特殊的一种图形,周长的平方与面积的比在4π周围幅动,半径对比值没有任何影响,所以只要所识别的图形满足这个条件即为圆形。(1) Circle: Circle is the most special kind of all regular geometric figures. The ratio of the square of the perimeter to the area fluctuates around 4π, and the ratio of the radius has no effect, so as long as the identified figure satisfies this The condition is a circle.
(2)矩形:有4个顶点,只要对所检测的图形的边界点进行判断并计算顶点的个数,如果个数等于4,则为矩形;否则就为其他几何图形。与圆形的识别相类似,在对矩形的实际检测过程中也可能会出现顶点个数不为4的现象,需要对已经检测出来的顶点再进行一次“同邻域”判断,看其中是否有些顶点属于同一个邻域范围,本实施例为8邻域,如果有,只留下一个而将其他的去除,这样就可以对结果进行很好的修正,从而可避免错误检测的出现。利用这种方法就可以很好地识别出所检测的图形为矩形。(2) Rectangle: There are 4 vertices, as long as the boundary points of the detected figure are judged and the number of vertices is calculated, if the number is equal to 4, it is a rectangle; otherwise, it is other geometric figures. Similar to the recognition of circles, the phenomenon that the number of vertices is not 4 may also occur in the actual detection process of the rectangle. It is necessary to perform a "same neighborhood" judgment on the detected vertices to see if some of them are in the same neighborhood. The vertices belong to the same neighborhood range. In this embodiment, there are 8 neighborhoods. If there are, only one is left and the others are removed, so that the result can be well corrected and the occurrence of false detection can be avoided. Using this method, the detected graphics can be well identified as rectangles.
(3)三角形:三角形的识别与矩形的识别方法相类似,也是利用顶点的个数来判断图形所属的几何形状。(3) Triangle: The identification method of triangle is similar to that of rectangle, and the number of vertices is also used to determine the geometric shape to which the figure belongs.
计算图形周长和顶点个数时用的是Laplace边缘检测算法。用Laplace边缘检测算法对几何图形进行检测完成后,累加边界点的个数即为几何图形的周长。然后再对这些边界点进行进一步区分,找出顶点。在完成图像的预处理和特征提取之后,便可以开始根据特征信息对几何图形的形状进行判断。在这个过程中首先判断几何图形是否为圆形,即判断这个图形周长的平方与面积的比是否在规定的范围内。如果在,则为圆形;否则,再判断顶点的个数,等于3即为三角形,等于4即为矩形。在识别几何图形形状的同时还可输出这个图形的周长和面积。因为规则几何图形的周长、面积和顶点坐标已知,故可计算出边长、形心等参数。The Laplace edge detection algorithm is used to calculate the perimeter of the graph and the number of vertices. After the geometric figure is detected by the Laplace edge detection algorithm, the cumulative number of boundary points is the perimeter of the geometric figure. These boundary points are then further distinguished to find vertices. After the image preprocessing and feature extraction are completed, the shape of the geometric figure can be judged according to the feature information. In this process, first determine whether the geometric figure is a circle, that is, determine whether the ratio of the square of the perimeter of the figure to the area is within the specified range. If it is, it is a circle; otherwise, the number of vertices is judged, equal to 3 is a triangle, and equal to 4 is a rectangle. While recognizing the shape of the geometric figure, it can also output the perimeter and area of the figure. Because the perimeter, area and vertex coordinates of regular geometric figures are known, parameters such as side length and centroid can be calculated.
颜色检测:Color detection:
将轮廓序列输出,对应到当前帧,形成ROI区域,对区域内RGB图像求三通道平均值(x,y,z),与样本货物信息库做比较,找出最可能的货物种类,做辅助判断。Output the contour sequence, correspond to the current frame, form the ROI area, calculate the three-channel average (x, y, z) of the RGB images in the area, compare with the sample cargo information database, find the most likely cargo type, and use it as an auxiliary judge.
摆放方式:Placement:
针对矩形货物,根据长与宽的比值,判断货物是正放还是侧放。For rectangular goods, according to the ratio of length to width, determine whether the goods are placed on the front or side.
所述货物调整入库是根据识别结果,控制机械臂移动距离和旋转角度,将货物分类入库并堆叠整齐。The adjustment of the goods into the warehouse is to control the moving distance and rotation angle of the robotic arm according to the recognition result, and classify the goods into the warehouse and stack them neatly.
如图2所示,整个系统硬件部分主要由人机界面、PLC控制系统、摄像机、驱动单元、伺服系统、货架仓位和机械部件组成。通过人机界面对可编程控制器进行数据的监控和数据的写入,来实现对仓库进行监控、货物识别和提取货物。点击相应画面即可显示相应的界面,同时在货单输入样本货物长、宽、高,半径、边长,以及平均颜色信息也方便些。As shown in Figure 2, the hardware part of the whole system is mainly composed of man-machine interface, PLC control system, camera, drive unit, servo system, shelf position and mechanical parts. Through the man-machine interface, the programmable controller can monitor and write data to monitor the warehouse, identify the goods and extract the goods. Click the corresponding screen to display the corresponding interface, and it is also more convenient to enter the length, width, height, radius, side length, and average color information of the sample cargo in the manifest.
图像采集部分如图3所示,传送带上方固定有摄像头,摄像头上方周围有一圈补光灯。当传送至摄像头下方,摄像机拍摄的画面中出现会出现货物图像,识别模块就会识别出货物类型和摆放方式。The image acquisition part is shown in Figure 3. A camera is fixed above the conveyor belt, and there is a circle of fill lights around the camera. When it is sent to the bottom of the camera, the image of the goods will appear in the picture captured by the camera, and the recognition module will identify the type and placement of the goods.
图像预处理部分如图4所示,包括灰度化,背景减法,图像滤波,二值化,腐蚀,膨胀,图像填充。获取当前帧和平均背景图,分别灰度化、高斯滤波后,相减后得差值图,进行二值化化处理后进行腐蚀和膨胀处理,消除噪声,让边缘更加清晰,得到了封闭的边界,但是内部还存在大大小小的孔洞,使用孔洞填充法填补内部孔洞。The image preprocessing part is shown in Figure 4, including grayscale, background subtraction, image filtering, binarization, erosion, dilation, and image filling. Obtain the current frame and the average background image, grayscale and Gaussian filtering, respectively, and then subtract the difference image. After binarization, corrosion and expansion processing are performed to eliminate noise, make the edge clearer, and obtain a closed image. Boundary, but there are still large and small holes inside, use the hole filling method to fill the internal holes.
货物识别部分如图5所示,首先检测预处理过的图像边缘,提取轮廓,根据形状和颜色两种途径判断货物的种类,根据轮廓信息判断货物摆放方式。The cargo identification part is shown in Figure 5. First, the edge of the preprocessed image is detected, the contour is extracted, the type of the cargo is judged according to the shape and color, and the placement of the cargo is judged according to the contour information.
本发明通过设计一种物流仓储规则形状货物识别系统,该系统能够很好的判断传送带上货物的种类和摆放方式。该系统极大程度上解放了人力,提高了效率;与条形码识别相比,利用货物本身的特征高效率地实现货物的自动识别,不用担心条形码污损;与RFID标签识别相比,不需要人为贴标签,简化了流程,而且使用单摄像头降低了成本,具有良好的市场前景。The invention designs a logistics warehousing regular shape cargo identification system, which can well judge the type and arrangement of the cargo on the conveyor belt. The system greatly liberates manpower and improves efficiency; compared with barcode recognition, the automatic identification of goods is efficiently realized by using the characteristics of the goods themselves, without worrying about barcode contamination; compared with RFID tag identification, no manual Labeling simplifies the process, and the use of a single camera reduces costs and has good market prospects.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910787103.XA CN110610141A (en) | 2019-08-25 | 2019-08-25 | A logistics warehousing regular shape cargo identification system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910787103.XA CN110610141A (en) | 2019-08-25 | 2019-08-25 | A logistics warehousing regular shape cargo identification system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110610141A true CN110610141A (en) | 2019-12-24 |
Family
ID=68890798
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910787103.XA Withdrawn CN110610141A (en) | 2019-08-25 | 2019-08-25 | A logistics warehousing regular shape cargo identification system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110610141A (en) |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111146728A (en) * | 2020-01-10 | 2020-05-12 | 北京电子工程总体研究所 | Efficient closed-loop focusing system and method for power grid laser foreign matter removing device |
CN111476524A (en) * | 2020-04-09 | 2020-07-31 | 广州创显科教股份有限公司 | Goods picking method, system and device for finished product delivery based on artificial intelligence and readable storage medium |
CN111957592A (en) * | 2020-08-06 | 2020-11-20 | 姜斌 | Railway wagon bogie sleeper spring sorting system and sorting method thereof |
CN112124957A (en) * | 2020-08-31 | 2020-12-25 | 苏州吉成智能科技有限公司 | Automatic medicine warehousing method and system |
CN112464707A (en) * | 2020-10-14 | 2021-03-09 | 浙江科技学院 | Conveying device with image acquisition function and data processing method thereof |
CN112733985A (en) * | 2021-01-27 | 2021-04-30 | 昆山善思光电科技有限公司 | Method for automatically identifying large and small material trays |
CN113780935A (en) * | 2021-08-09 | 2021-12-10 | 北京国电光宇机电设备有限公司 | A kind of intelligent logistics sending and receiving system and method |
CN114755989A (en) * | 2022-04-25 | 2022-07-15 | 武汉理工大学 | Intelligent control system for warehousing logistics transportation trolley |
CN114781982A (en) * | 2022-06-17 | 2022-07-22 | 广州朗通科技有限公司 | Cold chain warehouse management method and system |
CN114866764A (en) * | 2022-05-10 | 2022-08-05 | 安徽睿极智能科技有限公司 | Universal video terminal large-batch whole machine testing method and system |
CN114971466A (en) * | 2022-05-23 | 2022-08-30 | 杭州精逸创新跨境电商服务有限公司 | Warehouse management system for overseas warehouse based on data acquisition |
CN114970777A (en) * | 2021-02-24 | 2022-08-30 | 上海宝信软件股份有限公司 | Zinc ingot auxiliary material automatic warehousing identification system, method, device and medium |
CN115035129A (en) * | 2021-03-03 | 2022-09-09 | 京东科技信息技术有限公司 | Goods identification method and device, electronic equipment and storage medium |
CN115376242A (en) * | 2022-08-22 | 2022-11-22 | 广东便捷神科技股份有限公司 | Automatic goods distribution method for intelligent storage rack of vending machine |
CN115410390A (en) * | 2022-08-19 | 2022-11-29 | 河南泽阳实业有限公司 | Intelligent scheduling method for intelligent port |
CN115507746A (en) * | 2022-09-21 | 2022-12-23 | 莫可瑞(厦门)信息科技有限公司 | An adjustable cargo volume measuring device and method |
CN116187908A (en) * | 2023-03-21 | 2023-05-30 | 江陵县百顺通达物流有限公司 | Warehouse logistics intelligent management method and system based on image recognition |
CN116611773A (en) * | 2023-05-26 | 2023-08-18 | 网赢如意仓供应链有限公司 | Warehouse inventory checking system and method based on offline checking |
-
2019
- 2019-08-25 CN CN201910787103.XA patent/CN110610141A/en not_active Withdrawn
Cited By (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111146728B (en) * | 2020-01-10 | 2021-04-02 | 北京电子工程总体研究所 | Efficient closed-loop focusing system and method for power grid laser foreign matter removing device |
CN111146728A (en) * | 2020-01-10 | 2020-05-12 | 北京电子工程总体研究所 | Efficient closed-loop focusing system and method for power grid laser foreign matter removing device |
CN111476524A (en) * | 2020-04-09 | 2020-07-31 | 广州创显科教股份有限公司 | Goods picking method, system and device for finished product delivery based on artificial intelligence and readable storage medium |
CN111476524B (en) * | 2020-04-09 | 2023-11-24 | 广州创显科教股份有限公司 | Goods picking method, system, device and readable storage medium for finished product delivery based on artificial intelligence |
CN111957592A (en) * | 2020-08-06 | 2020-11-20 | 姜斌 | Railway wagon bogie sleeper spring sorting system and sorting method thereof |
CN112124957B (en) * | 2020-08-31 | 2022-04-15 | 苏州吉成智能科技有限公司 | Automatic medicine warehousing method and system |
CN112124957A (en) * | 2020-08-31 | 2020-12-25 | 苏州吉成智能科技有限公司 | Automatic medicine warehousing method and system |
CN112464707A (en) * | 2020-10-14 | 2021-03-09 | 浙江科技学院 | Conveying device with image acquisition function and data processing method thereof |
CN112733985A (en) * | 2021-01-27 | 2021-04-30 | 昆山善思光电科技有限公司 | Method for automatically identifying large and small material trays |
CN114970777A (en) * | 2021-02-24 | 2022-08-30 | 上海宝信软件股份有限公司 | Zinc ingot auxiliary material automatic warehousing identification system, method, device and medium |
CN115035129A (en) * | 2021-03-03 | 2022-09-09 | 京东科技信息技术有限公司 | Goods identification method and device, electronic equipment and storage medium |
CN113780935A (en) * | 2021-08-09 | 2021-12-10 | 北京国电光宇机电设备有限公司 | A kind of intelligent logistics sending and receiving system and method |
CN114755989A (en) * | 2022-04-25 | 2022-07-15 | 武汉理工大学 | Intelligent control system for warehousing logistics transportation trolley |
CN114866764B (en) * | 2022-05-10 | 2024-08-23 | 安徽睿极智能科技有限公司 | Universal method and system for testing large-scale complete machines of video terminals |
CN114866764A (en) * | 2022-05-10 | 2022-08-05 | 安徽睿极智能科技有限公司 | Universal video terminal large-batch whole machine testing method and system |
CN114971466A (en) * | 2022-05-23 | 2022-08-30 | 杭州精逸创新跨境电商服务有限公司 | Warehouse management system for overseas warehouse based on data acquisition |
CN114781982A (en) * | 2022-06-17 | 2022-07-22 | 广州朗通科技有限公司 | Cold chain warehouse management method and system |
CN115410390A (en) * | 2022-08-19 | 2022-11-29 | 河南泽阳实业有限公司 | Intelligent scheduling method for intelligent port |
CN115376242B (en) * | 2022-08-22 | 2023-08-08 | 广东便捷神科技股份有限公司 | Automatic goods distribution method for intelligent storage rack of vending machine |
CN115376242A (en) * | 2022-08-22 | 2022-11-22 | 广东便捷神科技股份有限公司 | Automatic goods distribution method for intelligent storage rack of vending machine |
CN115507746A (en) * | 2022-09-21 | 2022-12-23 | 莫可瑞(厦门)信息科技有限公司 | An adjustable cargo volume measuring device and method |
CN116187908A (en) * | 2023-03-21 | 2023-05-30 | 江陵县百顺通达物流有限公司 | Warehouse logistics intelligent management method and system based on image recognition |
CN116187908B (en) * | 2023-03-21 | 2023-12-22 | 岳阳礼一科技股份有限公司 | Warehouse logistics intelligent management method and system based on image recognition |
CN116611773A (en) * | 2023-05-26 | 2023-08-18 | 网赢如意仓供应链有限公司 | Warehouse inventory checking system and method based on offline checking |
CN116611773B (en) * | 2023-05-26 | 2024-02-23 | 网赢如意仓供应链有限公司 | Warehouse inventory checking system and method based on offline checking |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110610141A (en) | A logistics warehousing regular shape cargo identification system | |
KR102579783B1 (en) | Vision inspection system by using remote learning of product defects image | |
CN111461107B (en) | Material handling method, apparatus and system for identifying a region of interest | |
CN109785317B (en) | Automatic pile up neatly truss robot's vision system | |
CN108345912A (en) | Commodity rapid settlement system based on RGBD information and deep learning | |
CN107945192A (en) | A kind of pallet carton pile type real-time detection method | |
CN207238542U (en) | A kind of thin bamboo strip defect on-line detecting system based on machine vision | |
CN108171098B (en) | Bar code detection method and equipment | |
CN111161214B (en) | A system and method for pig weight measurement and drinking behavior recognition based on binocular vision | |
CN102073846A (en) | Method for acquiring traffic information based on aerial images | |
CN109335964B (en) | Container twist lock detection system and detection method | |
WO2021249406A1 (en) | Cargo box extraction and device, system, robot, and storage medium | |
CN111487192A (en) | Machine vision surface defect detection device and method based on artificial intelligence | |
CN116245882A (en) | Circuit board electronic element detection method and device and computer equipment | |
CN114332622A (en) | Label detection method based on machine vision | |
CN113688965B (en) | Automatic storage code scanning detection method and cargo management system | |
CN114549493A (en) | A deep learning-based magnetic core defect detection system and method | |
CN108426527A (en) | A kind of RFID tag three-dimensional coordinate automatic testing method based on DLT | |
CN116309882A (en) | Tray detection and positioning method and system for unmanned forklift application | |
CN114299282A (en) | A box type identification system and method for an automated terminal container | |
CN111507177B (en) | Identification method and device for metering turnover cabinet | |
CN111932617B (en) | Method and system for realizing real-time detection and positioning of regular objects | |
CN113724322A (en) | Cargo pallet positioning method and system for unmanned forklift | |
CN117381793A (en) | A vision system for intelligent material detection based on deep learning | |
US20230152781A1 (en) | Manufacturing intelligence service system connected to mes in smart factory |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20191224 |
|
WW01 | Invention patent application withdrawn after publication |