WO2021057879A1 - Data processing system and method, electronic device, and computer readable storage medium - Google Patents

Data processing system and method, electronic device, and computer readable storage medium Download PDF

Info

Publication number
WO2021057879A1
WO2021057879A1 PCT/CN2020/117621 CN2020117621W WO2021057879A1 WO 2021057879 A1 WO2021057879 A1 WO 2021057879A1 CN 2020117621 W CN2020117621 W CN 2020117621W WO 2021057879 A1 WO2021057879 A1 WO 2021057879A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
data processing
identification code
information
shooting
Prior art date
Application number
PCT/CN2020/117621
Other languages
French (fr)
Chinese (zh)
Inventor
应高选
张宇翔
蒋佳忆
Original Assignee
阿里巴巴集团控股有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2021057879A1 publication Critical patent/WO2021057879A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1439Methods for optical code recognition including a method step for retrieval of the optical code
    • G06K7/1456Methods for optical code recognition including a method step for retrieval of the optical code determining the orientation of the optical code with respect to the reader and correcting therefore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders

Definitions

  • the present invention relates to the field of electronic technology, and in particular to a data processing system and method, electronic equipment, and computer-readable storage media.
  • the commodity information of the commodity is obtained by taking a picture of the commodity displayed on the shelf and adopting the method of image feature recognition.
  • the efficiency of shelf digitization is very low; on the other hand, due to the variety of product categories and complex scenarios in the store, the shelf is digitized. The accuracy rate is low.
  • the embodiments of the present invention provide a data processing system and method, an electronic device, and a computer-readable storage medium to solve the defects of low data processing efficiency and low accuracy in the prior art.
  • an embodiment of the present invention provides a data processing system, including:
  • the image acquisition module is configured to shoot according to at least one shooting route set for the shelf, and collect an image containing the information identification code of the object placed on the shelf, wherein the shooting route is composed of a plurality of shooting points;
  • An image processing module configured to process the image collected by the image collection module to obtain the information identification code
  • the analysis module is configured to analyze the object information of the object according to the information identification code obtained by the image processing module.
  • the embodiment of the present invention also provides a data processing method, including:
  • the embodiment of the present invention also provides an electronic device, including:
  • Memory used to store programs
  • the processor is configured to run the program stored in the memory for:
  • the embodiment of the present invention also provides a computer-readable storage medium on which instructions are stored, and the instructions include:
  • the data processing system and method, electronic equipment, and computer-readable storage medium provided by the embodiments of the present invention can quickly and accurately analyze the object information by photographing the shelf and obtaining the information identification code of the object placed on the shelf.
  • the speed and accuracy of shelf digitization can quickly and accurately analyze the object information by photographing the shelf and obtaining the information identification code of the object placed on the shelf.
  • FIG. 1 is a schematic diagram of an application scenario of an embodiment of a data processing system provided by the present invention
  • FIG. 2 is a system block diagram of another embodiment of the data processing system provided by the present invention.
  • FIG. 3 is a flowchart of an embodiment of a data processing method provided by the present invention.
  • FIG. 5 is a schematic structural diagram of an embodiment of an electronic device provided by the present invention.
  • the commodity information of the commodities displayed on the shelf is obtained by taking pictures of the commodities displayed on the shelves, and using the method of image feature recognition to identify the photographed commodity pictures.
  • the sample training speed of the feature recognition algorithm model is much lower than the speed of new products, the data processing efficiency is very low; on the other hand, due to the variety of product categories and complex scenes in the store, data processing is The accuracy rate is low.
  • this application proposes a data processing system for the digital scene of shelves.
  • the main principle is: for the shelves arranged in the store, a fixed shooting route is set in advance, and the image acquisition module (for example, , Lidar-based navigation and positioning shop patrol robot) according to the shooting point in the shooting route to take fixed-point shooting to collect the image containing the information identification code of the object, and process the image through the image processing module to obtain the information identification code of the object, And analyze the object information identified by the information identification code through the analysis module.
  • the object information of the objects (commodities) placed on the shelves can be quickly and accurately obtained, so as to improve the speed and accuracy of the shelf digitization.
  • the image acquisition module can collect multiple frames of images for the same information identification code, for example, to form video data, and the image processing module can process the video data, and the obtained object identification code has higher accuracy.
  • FIG. 1 is a schematic diagram of an application scenario of an embodiment of a data processing system provided by the present invention.
  • the structure shown in FIG. 1 is only one example of a data processing system to which the technical solution of the present invention can be applied.
  • a shooting route composed of multiple shooting points is set for the shelf.
  • the shooting route can be one or more.
  • the shooting route can be selected for shooting according to the user's input, or the best shooting route can be calculated adaptively.
  • the data processing system is equipped with an image acquisition module, such as a shop-patrolling robot, to perform fixed-point shooting according to each shooting point in the shooting route to collect images.
  • the image contains the information identification code of the object placed on the shelf, such as the product identification code .
  • the information identification code can uniquely identify the object information of the object, for example, it may be a barcode, a two-dimensional code, or the like.
  • the patrol robot collects the image, it sends the image to the image processing module for processing to obtain the identification code of each information in the image.
  • the image processing module sends the obtained information identification codes to the analysis module to analyze the object information of the corresponding objects according to the information identification codes, and then send the object information to the database for storage to realize shelf digitization.
  • the data processing system provided by the embodiment of the present invention quickly and accurately analyzes the object information by taking pictures of the shelves and obtaining the information identification codes of the objects placed on the shelves, thereby improving the speed and accuracy of the shelf digitization.
  • Fig. 2 is a system block diagram of another embodiment of the data processing system provided by the present invention.
  • the data processing system provided in the embodiment of the present invention processes the two-dimensional code that uniquely identifies the object information.
  • the data processing system provided by the embodiment of the present invention includes: an image acquisition module 21, an image processing module 22, and an analysis module 23.
  • the image processing module 22 may include: a region cropping unit 221, a calculation unit 222, an image restoration unit 223, and a two-dimensional code correction unit 224.
  • the area cropping unit 221 can be used to detect the quadrilateral graphics in the image collected by the image collection module 21, and use each quadrilateral graphics as the upper left corner, the lower left corner, and the upper right corner in the image according to a preset length.
  • the corners and the lower right corner are expanded to form a target area for the quadrilateral figure;
  • the calculation unit 222 is used to calculate the number of similar quadrilaterals in each target area, where the similar quadrilaterals are those whose area difference is less than the first preset threshold.
  • the image restoration unit 223 is used to perform image restoration processing for a target area where the number of similar quadrilaterals is less than three, so that the number of similar quadrilaterals in the target area is three;
  • the two-dimensional code correction unit 224 is used for A target area with three similar quadrilaterals is detected, the vertices of the QR code are detected, and the target area is restored to a square area through an affine transformation operation, and a rotation operation is performed on the square area so that the three similar quadrilaterals are in the square respectively.
  • the upper left, lower left, and upper right corners of the area are used to perform image restoration processing for a target area where the number of similar quadrilaterals is less than three, so that the number of similar quadrilaterals in the target area is three;
  • the two-dimensional code correction unit 224 is used for A target area with three similar quadrilaterals is detected, the vertices of the QR code are detected, and the target area is restored to a square area through an affine
  • the image acquisition module 21 can photograph shelves and objects on the shelves according to a fixed step along the shooting route, and send the image containing the two-dimensional code of the object to the image processing module 22 for image processing operations.
  • the QR code in the image After the region cropping unit 221 in the image processing module 22 receives the image collected by the image acquisition module 21, it first detects the quadrilateral graphics in the image, and expands each quadrilateral graphics as the target area in the image according to a preset length, namely , The region of interest of the two-dimensional code (two-dimensional code ROI).
  • a quadrilateral graphic can be extended as the upper left corner to obtain a target area. Therefore, by taking a quadrilateral graph as the upper left corner, the lower left corner, the upper right corner and the lower right corner respectively, four target areas for the quadrilateral graph can be obtained.
  • the calculation unit 222 calculates the number of similar quadrilaterals in each target area.
  • the two-dimensional code correction unit 224 can correct the target area. Specifically, the two-dimensional code fixed-point detection operation can be performed in the target area, and the target area can be restored to a square through affine transformation, and the square can be rotated, so that three similar quadrilaterals are respectively in the upper left corner and the lower left corner of the square area. And the upper right corner. Thus, the two-dimensional code is obtained.
  • the image restoration unit 223 may perform image restoration processing on the target area. If the restored target area contains three similar quadrilaterals, the two-dimensional code correction unit 224 performs correction processing to obtain a two-dimensional code; if there are still less than three similar quadrilaterals after the restoration processing, it means that the target area cannot be restored. Discard the target area directly.
  • the target area graphic is not Two-dimensional code, also discard the target area.
  • the image acquisition module 21 can include overlapping areas in the two adjacent left and right images collected by the adjacent shooting points, so as to compensate for the missed detection of the QR code and increase the upturn rate of the shelf. That is, the ratio of the number of different two-dimensional codes identified by the detection to the total number of two-dimensional codes on the shelf.
  • At least two upper and lower acquisition sub-modules may be arranged in the image acquisition module 21, for example, two cameras are arranged vertically, so that two adjacent upper and lower images collected at the same shooting point include overlapping areas. In this way, it can also make up for the missed inspection of the two-dimensional code and increase the turnover rate of shelves.
  • a mixed processing mode can be set, that is, the image acquisition module 21 and the image processing module 22 can be used to obtain the information identification code for the scene of irregular shelves; for regular shelves (for example, smart shelves or In the scenario of a shelf with an electronic price tag, etc., a receiving module 24 can be set in the data processing system, and the receiving module 24 can be used to receive the object information of the object automatically sent by the shelf. Regular shelves can report object information by themselves, thereby improving data processing efficiency.
  • the data processing system provided by the embodiment of the present invention may further include a verification module 25.
  • the verification module 25 may be used to verify the object information parsed by the parsing module 23 according to the object information received by the receiving module 24.
  • the data processing system may further include: a feedback module 26, which can be used to verify the object information in the verification module 25 When the verification fails, the verification failure feedback message is sent.
  • the data processing system may further include: an object information obtaining module 27, which may be used to obtain an image of the object when the analysis module 23 fails to obtain the object information of the object, and recognize the image to obtain Object information of the object.
  • the data processing system may further include: a route adjustment module 28, which may be configured to generate a new shooting route according to the result obtained by the image processing module 22 with respect to the information identification code. Adjust the shooting route.
  • the image acquisition module 21 may be an automatic moving image acquisition device (for example, a robot with an image acquisition function), a handheld image acquisition device (the image acquisition device is held by the user), or a surveillance camera device (not During the peak shopping period, the cameras used to monitor the flow of people are reused) and so on.
  • an automatic moving image acquisition device for example, a robot with an image acquisition function
  • a handheld image acquisition device the image acquisition device is held by the user
  • a surveillance camera device not During the peak shopping period, the cameras used to monitor the flow of people are reused
  • the shelves are photographed in the store according to the preset shooting route through the image acquisition module, the images of all shelves are collected in batches, and the two-dimensional codes in the images are automatically obtained, which can quickly and accurately analyze Output the object information, increase the turnover rate of the shelf, and store the complete shelf information in a structured manner, thereby improving the speed and accuracy of the shelf digitization.
  • Fig. 3 is a flowchart of an embodiment of a data processing method provided by the present invention.
  • the execution subject of this method may be the above-mentioned data processing system, various terminal devices with functions such as image acquisition, image processing, and data processing, or may be devices or chips integrated on these devices.
  • the data processing method includes the following steps:
  • the shooting route is composed of a plurality of shooting points.
  • the shooting is carried out according to the preset shooting route to obtain the image containing the information identification code.
  • the information identification code can uniquely identify the object information of the object set on the shelf, for example, it may be a barcode, a two-dimensional code, or the like.
  • image processing is performed on it to obtain each information identification code in the image.
  • the object information of the corresponding object is parsed according to the information identification code, and the object information is sent to the database for storage, so as to realize the digitalization of the shelf.
  • the data processing method provided by the embodiment of the present invention quickly and accurately analyzes the object information by photographing the shelf and obtaining the information identification code of the object placed on the shelf, thereby improving the speed and accuracy of shelf digitization.
  • Fig. 4 is a flowchart of another embodiment of a data processing method provided by the present invention. As shown in FIG. 4, based on the embodiment shown in FIG. 3, the data processing method provided in this embodiment may further include the following steps:
  • the image acquisition module when setting the shooting point, can make the two adjacent left and right images collected by the adjacent shooting point include overlapping areas, so as to compensate for the missed detection of the two-dimensional code and improve the shelf life.
  • Turn-up rate that is, the ratio of the number of different two-dimensional codes detected and identified to the total number of two-dimensional codes on the shelf.
  • the quadrilateral graphics in the image are first detected, and each quadrilateral graphics is expanded into the target area according to the preset length in the image, that is, the region of interest of the two-dimensional code (two-dimensional code). Code ROI).
  • a quadrilateral graphic can be extended as the upper left corner to obtain a target area. Therefore, by using a quadrilateral graphic as the upper left corner, the lower left corner, the upper right corner, and the lower right corner, respectively, four target areas for the quadrilateral graphic can be obtained.
  • similar quadrilaterals are a plurality of quadrilateral graphs whose area difference is smaller than the first preset threshold.
  • step 404 Determine whether the two-dimensional code in the target area is complete according to the number of similar quadrilaterals. If the number of similar quadrilaterals is three, it means that the two-dimensional code in the target area is complete, and step 406 is executed for the target area. If the number of similar quadrilaterals is less than three, it means that the two-dimensional code in the target area is incomplete. Then, step 405 is executed for the target area.
  • step 406 If the restored target area contains three similar quadrilaterals, perform the following step 406 to obtain the QR code; if there are still less than three similar quadrilaterals after the restoration process, it means that the target area is unrecoverable, and the target area is discarded directly .
  • the graphic in the target area is a two-dimensional code. Therefore, a correction operation can be performed on the target area. Specifically, the two-dimensional code fixed-point detection operation can be performed in the target area, and the target area can be restored to a square area through affine transformation, and the square area can be rotated so that three similar quadrilaterals are respectively in the upper left corner of the square area, The lower left corner and the upper right corner. Thus, the two-dimensional code is obtained.
  • the target area graphic is not a two-dimensional code, and the target area is also discarded.
  • the target area is discarded.
  • a mixed processing mode can be set, that is, the information identification code can be obtained by adopting the above steps for the scene of irregular shelves; for regular shelves (for example, smart shelves or shelves with electronic price tags, etc.) In the scene, you can receive the object information of the object automatically sent by the shelf. Regular shelves can report object information by themselves, thereby improving data processing efficiency.
  • the object information obtained by analyzing the information identification code can also be verified according to the object information automatically sent by the shelf.
  • the verification of the object information fails, it can also provide feedback to the user, that is, send verification failure feedback information.
  • a "dual engine” mode can be set, that is, when the two-dimensional code cannot be identified, the collection of a product image is triggered to directly identify the product. That is, when the analysis of the information identification code fails, the image of the object is obtained, and the image is recognized to obtain the object information of the object.
  • a new shooting route may be generated according to the result of obtaining the information identification code, so as to adjust the shooting route.
  • the data processing method provided by the embodiment of the present invention can quickly and accurately analyze the object information by photographing shelves in a store according to a preset shooting route, collecting images of all shelves in batches, and automatically acquiring the two-dimensional codes in the images. , Improve the shelf turnover rate and store the complete shelf information in a structured manner, thereby improving the speed and accuracy of shelf digitization.
  • FIG. 5 is a schematic structural diagram of an embodiment of an electronic device provided by the present invention. As shown in FIG. 5, the electronic device includes a memory 51 and a processor 52.
  • the memory 51 is used to store programs. In addition to the aforementioned programs, the memory 51 can also be configured to store other various data to support operations on the electronic device. Examples of such data include instructions for any application or method operating on the electronic device, contact data, phone book data, messages, pictures, videos, etc.
  • the memory 51 can be implemented by any type of volatile or nonvolatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable and Programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read-only memory
  • EPROM erasable and Programmable read only memory
  • PROM programmable read only memory
  • ROM read only memory
  • magnetic memory magnetic memory
  • flash memory magnetic disk or optical disk.
  • the processor 52 is not only limited to the central processing unit (CPU), but may also be a graphics processing unit (GPU), field programmable gate array (FPGA), embedded neural network processor (NPU) or artificial intelligence (AI) chip Wait for the processing chip.
  • the processor 52 is coupled with the memory 51, and executes the program stored in the memory 51 for:
  • the information identification code is analyzed to obtain the object information of the above object.
  • the electronic device may further include: a communication component 53, a power supply component 54, an audio component 55, a display 56 and other components. Only some components are schematically shown in FIG. 5, which does not mean that the electronic device only includes the components shown in FIG. 5.
  • the communication component 53 is configured to facilitate wired or wireless communication between the electronic device and other devices.
  • Electronic devices can access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination of them.
  • the communication component 53 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel.
  • the communication component 53 further includes a near field communication (NFC) module to facilitate short-range communication.
  • NFC near field communication
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • the power supply component 54 provides power for various components of the electronic device.
  • the power supply component 54 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for electronic devices.
  • the audio component 55 is configured to output and/or input audio signals.
  • the audio component 55 includes a microphone (MIC), and the microphone is configured to receive external audio signals when the electronic device is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode.
  • the received audio signal may be further stored in the memory 51 or transmitted via the communication component 53.
  • the audio component 55 further includes a speaker for outputting audio signals.
  • the display 56 includes a screen, and the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touch, sliding, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure related to the touch or slide operation.
  • a person of ordinary skill in the art can understand that all or part of the steps in the foregoing method embodiments can be implemented by a program instructing relevant hardware.
  • the aforementioned program can be stored in a computer readable storage medium. When the program is executed, it executes the steps including the foregoing method embodiments; and the foregoing storage medium includes: ROM, RAM, magnetic disk, or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Operations Research (AREA)
  • Development Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Quality & Reliability (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Image Analysis (AREA)

Abstract

Embodiments of the present invention provide a data processing system and method, an electronic device, and a computer readable storage medium. The system comprises: an image acquisition module, used for photographing according to at least one photographing route set for a goods shelf, and acquiring an image comprising an information identification code of an object placed on the goods shelf, wherein the photographing route is composed of multiple photographing points; an image processing module, used for processing the image acquired by the image acquisition module to obtain the information identification code; and an analysis module, used for analyzing object information of the object according to the information identification code obtained by the image processing module. According to the embodiments of the present invention, the goods shelf is photographed, and the information identification code of the object placed on the goods shelf is obtained, so as to quickly and accurately analyze the object information, thereby improving the speed and accuracy of shelf digitization.

Description

数据处理系统和方法、电子设备以及计算机可读存储介质Data processing system and method, electronic equipment, and computer readable storage medium
本申请要求2019年09月29日递交的申请号为201910936976.2、发明名称为“数据处理系统和方法、电子设备以及计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed on September 29, 2019 with the application number 201910936976.2 and the title of the invention "data processing system and method, electronic equipment, and computer-readable storage medium", the entire content of which is incorporated by reference In this application.
技术领域Technical field
本发明涉及电子技术领域,尤其涉及一种数据处理系统和方法、电子设备以及计算机可读存储介质。The present invention relates to the field of electronic technology, and in particular to a data processing system and method, electronic equipment, and computer-readable storage media.
背景技术Background technique
在线下门店中,货架上陈列有各种各样的商品。如果对货架实施数字化操作,即,对货架及货架上陈列的商品的信息进行结构化存储,将能够及时提醒店员进行补货,或,告知店员商品陈列错误信息以使其及时更正,从而实现更好地经营和管理门店。In offline stores, various products are displayed on the shelves. If you implement digital operations on the shelves, that is, structured storage of the information on the shelves and the products displayed on the shelves, you will be able to promptly remind the clerk to replenish the goods, or notify the clerk of the incorrect information on the display of the product to correct it in time, so as to realize the change. Operate and manage stores well.
现有技术中,一般通过对货架上陈列的商品进行拍照,并采用图像特征识别的方式,来获取商品的商品信息。In the prior art, generally, the commodity information of the commodity is obtained by taking a picture of the commodity displayed on the shelf and adopting the method of image feature recognition.
但是,一方面,由于特征识别算法模型的样本训练速度远低于商品的上新速度,造成货架数字化效率很低;另一方面,由于门店中商品类目繁多、场景复杂多变,使得货架数字化准确率较低。However, on the one hand, because the sample training speed of the feature recognition algorithm model is much lower than the speed of new products, the efficiency of shelf digitization is very low; on the other hand, due to the variety of product categories and complex scenarios in the store, the shelf is digitized. The accuracy rate is low.
发明内容Summary of the invention
本发明实施例提供一种数据处理系统和方法、电子设备以及计算机可读存储介质,以解决现有技术中数据处理效率低、准确率低的缺陷。The embodiments of the present invention provide a data processing system and method, an electronic device, and a computer-readable storage medium to solve the defects of low data processing efficiency and low accuracy in the prior art.
为达到上述目的,本发明实施例提供了一种数据处理系统,包括:To achieve the foregoing objective, an embodiment of the present invention provides a data processing system, including:
图像采集模块,用于按照针对货架设置的至少一条拍摄路线进行拍摄,采集包含所述货架上放置的对象的信息标识码的图像,其中,所述拍摄路线由多个拍摄点构成;The image acquisition module is configured to shoot according to at least one shooting route set for the shelf, and collect an image containing the information identification code of the object placed on the shelf, wherein the shooting route is composed of a plurality of shooting points;
图像处理模块,用于对所述图像采集模块采集到的所述图像进行处理,获取所述信息标识码;An image processing module, configured to process the image collected by the image collection module to obtain the information identification code;
解析模块,用于根据所述图像处理模块获取到的所述信息标识码,解析出所述对象的对象信息。The analysis module is configured to analyze the object information of the object according to the information identification code obtained by the image processing module.
本发明实施例还提供了一种数据处理方法,包括:The embodiment of the present invention also provides a data processing method, including:
按照针对货架设置的至少一条拍摄路线进行拍摄,采集包含所述货架上放置的对象的信息标识码的图像,其中,所述拍摄路线由多个拍摄点构成;Shooting according to at least one shooting route set for the shelf, and collecting an image containing the information identification code of the object placed on the shelf, wherein the shooting route is composed of a plurality of shooting points;
对所述图像进行图像处理操作,获取所述信息标识码;Performing an image processing operation on the image to obtain the information identification code;
对所述信息标识码进行解析操作,获取所述对象的对象信息。Perform a parsing operation on the information identification code to obtain the object information of the object.
本发明实施例还提供了一种电子设备,包括:The embodiment of the present invention also provides an electronic device, including:
存储器,用于存储程序;Memory, used to store programs;
处理器,用于运行所述存储器中存储的所述程序,以用于:The processor is configured to run the program stored in the memory for:
按照针对货架设置的至少一条拍摄路线进行拍摄,采集包含所述货架上放置的对象的信息标识码的图像,其中,所述拍摄路线由多个拍摄点构成;Shooting according to at least one shooting route set for the shelf, and collecting an image containing the information identification code of the object placed on the shelf, wherein the shooting route is composed of a plurality of shooting points;
对所述图像进行图像处理操作,获取所述信息标识码;Performing an image processing operation on the image to obtain the information identification code;
对所述信息标识码进行解析操作,获取所述对象的对象信息。Perform a parsing operation on the information identification code to obtain the object information of the object.
本发明实施例还提供了一种计算机可读存储介质,在所述计算机可读存储介质上存储有指令,所述指令包括:The embodiment of the present invention also provides a computer-readable storage medium on which instructions are stored, and the instructions include:
按照针对货架设置的至少一条拍摄路线进行拍摄,采集包含所述货架上放置的对象的信息标识码的图像,其中,所述拍摄路线由多个拍摄点构成;Shooting according to at least one shooting route set for the shelf, and collecting an image containing the information identification code of the object placed on the shelf, wherein the shooting route is composed of a plurality of shooting points;
对所述图像进行图像处理操作,获取所述信息标识码;Performing an image processing operation on the image to obtain the information identification code;
对所述信息标识码进行解析操作,获取所述对象的对象信息。Perform a parsing operation on the information identification code to obtain the object information of the object.
本发明实施例提供的数据处理系统和方法、电子设备以及计算机可读存储介质,通过对货架进行拍摄,获取货架上放置的对象的信息标识码,来快速准确地解析出对象信息,从而提高了货架数字化的速度和准确率。The data processing system and method, electronic equipment, and computer-readable storage medium provided by the embodiments of the present invention can quickly and accurately analyze the object information by photographing the shelf and obtaining the information identification code of the object placed on the shelf. The speed and accuracy of shelf digitization.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to understand the technical means of the present invention more clearly, it can be implemented in accordance with the content of the specification, and in order to make the above and other objectives, features and advantages of the present invention more obvious and understandable. In the following, specific embodiments of the present invention will be cited.
附图说明Description of the drawings
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本申请的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:By reading the detailed description of the preferred embodiments below, various other advantages and benefits will become clear to those of ordinary skill in the art. The drawings are only used for the purpose of illustrating the preferred embodiments, and are not considered as a limitation to the application. Also, throughout the drawings, the same reference symbols are used to denote the same components. In the attached picture:
图1为本发明提供的数据处理系统一个实施例的应用场景示意图;FIG. 1 is a schematic diagram of an application scenario of an embodiment of a data processing system provided by the present invention;
图2为本发明提供的数据处理系统另一个实施例的系统框图;2 is a system block diagram of another embodiment of the data processing system provided by the present invention;
图3为本发明提供的数据处理方法一个实施例的流程图;Figure 3 is a flowchart of an embodiment of a data processing method provided by the present invention;
图4为本发明提供的数据处理方法另一个实施例的流程图;4 is a flowchart of another embodiment of the data processing method provided by the present invention;
图5为本发明提供的电子设备实施例的结构示意图。FIG. 5 is a schematic structural diagram of an embodiment of an electronic device provided by the present invention.
具体实施方式detailed description
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Hereinafter, exemplary embodiments of the present disclosure will be described in more detail with reference to the accompanying drawings. Although the drawings show exemplary embodiments of the present disclosure, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
在现有技术中,一般通过对货架上陈列的商品进行拍照,并采用图像特征识别的方式,对拍摄的商品图片进行识别,来获取货架上陈列的商品的商品信息。但是,一方面,由于特征识别算法模型的样本训练速度远低于商品的上新速度,造成数据处理效率很低;另一方面,由于门店中商品类目繁多、场景复杂多变,使得数据处理准确率较低。In the prior art, generally, the commodity information of the commodities displayed on the shelf is obtained by taking pictures of the commodities displayed on the shelves, and using the method of image feature recognition to identify the photographed commodity pictures. However, on the one hand, because the sample training speed of the feature recognition algorithm model is much lower than the speed of new products, the data processing efficiency is very low; on the other hand, due to the variety of product categories and complex scenes in the store, data processing is The accuracy rate is low.
因此,针对现有技术的缺陷,本申请提出了一种针对货架数字化场景的数据处理系统,其主要原理是:针对门店中摆设好的货架,预先设置固定的拍摄路线,通过图像采集模块(例如,基于激光雷达的导航定位巡店机器人)按照拍摄路线中的拍摄点进行定点拍摄,以采集包含对象的信息标识码的图像,通过图像处理模块对图像进行处理,以获取对象的信息标识码,并通过解析模块解析出信息标识码所标识的对象信息。能够快速准确地得到货架上放置的对象(商品)的对象信息,以提高货架数字化的速度和准确率。此外,图像采集模块针对同一信息标识码可以采集多帧图像,如,形成视频数据,图像处理模块则可以对视频数据进行处理,得到的对象标识码具有更高的精确度。Therefore, in view of the shortcomings of the prior art, this application proposes a data processing system for the digital scene of shelves. The main principle is: for the shelves arranged in the store, a fixed shooting route is set in advance, and the image acquisition module (for example, , Lidar-based navigation and positioning shop patrol robot) according to the shooting point in the shooting route to take fixed-point shooting to collect the image containing the information identification code of the object, and process the image through the image processing module to obtain the information identification code of the object, And analyze the object information identified by the information identification code through the analysis module. The object information of the objects (commodities) placed on the shelves can be quickly and accurately obtained, so as to improve the speed and accuracy of the shelf digitization. In addition, the image acquisition module can collect multiple frames of images for the same information identification code, for example, to form video data, and the image processing module can process the video data, and the obtained object identification code has higher accuracy.
上述实施例是对本发明实施例的技术原理的说明,下面通过多个实施例来进一步对本发明实施例具体技术方案进行详细描述。The above-mentioned embodiments are descriptions of the technical principles of the embodiments of the present invention, and the specific technical solutions of the embodiments of the present invention will be further described in detail below through a plurality of embodiments.
实施例一Example one
图1为本发明提供的数据处理系统一个实施例的应用场景示意图,图1所示的结构仅仅是本发明的技术方案可以应用的数据处理系统的示例之一。如图1所示,在货架数字化场景下,针对货架设置由多个拍摄点构成的拍摄路线。拍摄路线可以为一条或多条,当拍摄路线为多条时,可以根据用户的输入选择拍摄路线进行拍摄,也可以自适应地计算出最佳拍摄路线。数据处理系统中设置图像采集模块,如,巡店机器人,来按照拍摄 路线中的各个拍摄点进行定点拍摄,以采集图像,图像中包含货架上放置的对象的信息标识码,如,商品标识码。具体地,该信息识别码能够唯一标识对象的对象信息,例如,可以为条形码、二维码等。巡店机器人在采集到图像后,将图像发送至图像处理模块进行处理,以获取图像中的各个信息识别码。然后,图像处理模块将获取到的各信息识别码发送至解析模块,以根据信息标识码解析出相应的对象的对象信息,从而将对象信息发送至数据库存储,以实现货架数字化。FIG. 1 is a schematic diagram of an application scenario of an embodiment of a data processing system provided by the present invention. The structure shown in FIG. 1 is only one example of a data processing system to which the technical solution of the present invention can be applied. As shown in Figure 1, in the digitalized scenario of a shelf, a shooting route composed of multiple shooting points is set for the shelf. The shooting route can be one or more. When there are multiple shooting routes, the shooting route can be selected for shooting according to the user's input, or the best shooting route can be calculated adaptively. The data processing system is equipped with an image acquisition module, such as a shop-patrolling robot, to perform fixed-point shooting according to each shooting point in the shooting route to collect images. The image contains the information identification code of the object placed on the shelf, such as the product identification code . Specifically, the information identification code can uniquely identify the object information of the object, for example, it may be a barcode, a two-dimensional code, or the like. After the patrol robot collects the image, it sends the image to the image processing module for processing to obtain the identification code of each information in the image. Then, the image processing module sends the obtained information identification codes to the analysis module to analyze the object information of the corresponding objects according to the information identification codes, and then send the object information to the database for storage to realize shelf digitization.
本发明实施例提供的数据处理系统,通过对货架进行拍摄,获取货架上放置的对象的信息标识码,来快速准确地解析出对象信息,从而提高了货架数字化的速度和准确率。The data processing system provided by the embodiment of the present invention quickly and accurately analyzes the object information by taking pictures of the shelves and obtaining the information identification codes of the objects placed on the shelves, thereby improving the speed and accuracy of the shelf digitization.
实施例二Example two
图2为本发明提供的数据处理系统另一个实施例的系统框图。如图2所示,在上述图1所示实施例的基础上,本发明实施例提供的数据处理系统,针对唯一标识对象的对象信息的二维码进行处理。具体地,本发明实施例提供的数据处理系统包括:图像采集模块21、图像处理模块22和解析模块23。其中,图像处理模块22可以包括:区域裁剪单元221、计算单元222、图像恢复单元223和二维码矫正单元224。Fig. 2 is a system block diagram of another embodiment of the data processing system provided by the present invention. As shown in FIG. 2, on the basis of the embodiment shown in FIG. 1, the data processing system provided in the embodiment of the present invention processes the two-dimensional code that uniquely identifies the object information. Specifically, the data processing system provided by the embodiment of the present invention includes: an image acquisition module 21, an image processing module 22, and an analysis module 23. The image processing module 22 may include: a region cropping unit 221, a calculation unit 222, an image restoration unit 223, and a two-dimensional code correction unit 224.
其中,区域裁剪单元221可以用于针对图像采集模块21采集到的图像,检测该图像中的四边形图形,在该图像中按照预设长度,将每个四边形图形分别作为左上角、左下角、右上角和右下角进行扩展,形成针对该四边形图形的目标区域;计算单元222用于计算每个目标区域中的相似四边形的个数,其中,相似四边形为面积差小于第一预设阈值的多个四边形图形;图像恢复单元223用于针对相似四边形的个数不足三个的目标区域,进行图像恢复处理,使得该目标区域中的相似四边形的个数为三;二维码矫正单元224用于针对相似四边形的个数为三的目标区域,检测二维码顶点,并通过仿射变换操作将该目标区域还原为正方形区域,并针对该正方形区域进行旋转操作,使得三个相似四边形分别在该正方形区域的左上角、左下角和右上角。Among them, the area cropping unit 221 can be used to detect the quadrilateral graphics in the image collected by the image collection module 21, and use each quadrilateral graphics as the upper left corner, the lower left corner, and the upper right corner in the image according to a preset length. The corners and the lower right corner are expanded to form a target area for the quadrilateral figure; the calculation unit 222 is used to calculate the number of similar quadrilaterals in each target area, where the similar quadrilaterals are those whose area difference is less than the first preset threshold. Quadrilateral graphics; the image restoration unit 223 is used to perform image restoration processing for a target area where the number of similar quadrilaterals is less than three, so that the number of similar quadrilaterals in the target area is three; the two-dimensional code correction unit 224 is used for A target area with three similar quadrilaterals is detected, the vertices of the QR code are detected, and the target area is restored to a square area through an affine transformation operation, and a rotation operation is performed on the square area so that the three similar quadrilaterals are in the square respectively. The upper left, lower left, and upper right corners of the area.
在本发明实施例中,图像采集模块21可以在拍摄路线上按照固定步长对货架及货架上的对象进行拍摄,并将包含对象的二维码的图像发送至图像处理模块22进行图像处理操作,以获取图像中的二维码。图像处理模块22中的区域裁剪单元221在接收到图像采集模块21所采集的图像后,首先检测图像中的四边形图形,并在该图像中按照预设长度,扩展各四边形图形为目标区域,即,二维码感兴趣区域(二维码ROI)。具体地,可以将一个四边形图形作为左上角进行扩展,以获取一个目标区域。因此,将一个四边形图 形分别作为左上角、左下角、右上角和右下角,可以获取到针对该四边形图形的四个目标区域。In the embodiment of the present invention, the image acquisition module 21 can photograph shelves and objects on the shelves according to a fixed step along the shooting route, and send the image containing the two-dimensional code of the object to the image processing module 22 for image processing operations. To get the QR code in the image. After the region cropping unit 221 in the image processing module 22 receives the image collected by the image acquisition module 21, it first detects the quadrilateral graphics in the image, and expands each quadrilateral graphics as the target area in the image according to a preset length, namely , The region of interest of the two-dimensional code (two-dimensional code ROI). Specifically, a quadrilateral graphic can be extended as the upper left corner to obtain a target area. Therefore, by taking a quadrilateral graph as the upper left corner, the lower left corner, the upper right corner and the lower right corner respectively, four target areas for the quadrilateral graph can be obtained.
然后,由计算单元222计算每个目标区域中的相似四边形的个数。当一个目标区域中有三个相似四边形时,可以基本确定该目标区域中的图形为二维码,因此,可以由二维码矫正单元224对该目标区域进行矫正。具体地,可以在该目标区域中进行二维码定点检测操作,并通过仿射变换将该目标区域还原为正方形,并旋转该正方形,使得三个相似四边形分别在正方形区域的左上角、左下角和右上角。从而得到该二维码。Then, the calculation unit 222 calculates the number of similar quadrilaterals in each target area. When there are three similar quadrilaterals in a target area, it can be basically determined that the graphic in the target area is a two-dimensional code. Therefore, the two-dimensional code correction unit 224 can correct the target area. Specifically, the two-dimensional code fixed-point detection operation can be performed in the target area, and the target area can be restored to a square through affine transformation, and the square can be rotated, so that three similar quadrilaterals are respectively in the upper left corner and the lower left corner of the square area. And the upper right corner. Thus, the two-dimensional code is obtained.
当计算单元222计算出一个目标区域中的相似四边形不足三个时,可以由图像恢复单元223对该目标区域进行图像恢复处理。如果恢复后的目标区域中包含三个相似四边形,则由二维码矫正单元224进行矫正处理,以获取二维码;如果恢复处理后相似四边形仍不足三个,则说明该目标区域不可恢复,直接丢弃该目标区域。When the calculation unit 222 calculates that there are less than three similar quadrilaterals in a target area, the image restoration unit 223 may perform image restoration processing on the target area. If the restored target area contains three similar quadrilaterals, the two-dimensional code correction unit 224 performs correction processing to obtain a two-dimensional code; if there are still less than three similar quadrilaterals after the restoration processing, it means that the target area cannot be restored. Discard the target area directly.
如果计算单元222计算出的目标区域中相似四边形的个数多于三个,或者,由图像恢复单元223恢复后的目标区域中相似四边形的个数多于三个,则说明该目标区域图形不是二维码,同样丢弃该目标区域。If the number of similar quadrilaterals in the target area calculated by the calculation unit 222 is more than three, or the number of similar quadrilaterals in the target area restored by the image restoration unit 223 is more than three, it means that the target area graphic is not Two-dimensional code, also discard the target area.
另外,在设置拍摄点时,可以使图像采集模块21在相邻拍摄点采集到的左右相邻的两个图像中包含有重叠区域,从而弥补二维码漏检,提高货架的上翻率,即,检测识别到的不同二维码的数量与货架上总的二维码的数量之比。In addition, when setting the shooting point, the image acquisition module 21 can include overlapping areas in the two adjacent left and right images collected by the adjacent shooting points, so as to compensate for the missed detection of the QR code and increase the upturn rate of the shelf. That is, the ratio of the number of different two-dimensional codes identified by the detection to the total number of two-dimensional codes on the shelf.
进一步地,还可以在图像采集模块21中至少设置上下两个采集子模块,例如,垂直设置两个摄像头,使得在同一拍摄点采集到的上下相邻的两个图像中包含有重叠区域。这样,同样能够弥补二维码漏检,提高货架的上翻率。Further, at least two upper and lower acquisition sub-modules may be arranged in the image acquisition module 21, for example, two cameras are arranged vertically, so that two adjacent upper and lower images collected at the same shooting point include overlapping areas. In this way, it can also make up for the missed inspection of the two-dimensional code and increase the turnover rate of shelves.
此外,在本发明实施例中,可以设置混合处理模式,即,可以针对不规则货架的场景,采用上述图像采集模块21及图像处理模块22获取信息标识码;针对规则货架(例如,智能货架或具有电子价签的货架等)的场景,可以在数据处理系统中设置接收模块24,该接收模块24可以用于接收货架自动发送的对象的对象信息。规则的货架可以自行上报对象信息,从而提高数据处理效率。In addition, in the embodiment of the present invention, a mixed processing mode can be set, that is, the image acquisition module 21 and the image processing module 22 can be used to obtain the information identification code for the scene of irregular shelves; for regular shelves (for example, smart shelves or In the scenario of a shelf with an electronic price tag, etc., a receiving module 24 can be set in the data processing system, and the receiving module 24 can be used to receive the object information of the object automatically sent by the shelf. Regular shelves can report object information by themselves, thereby improving data processing efficiency.
在此基础上,本发明实施例提供的数据处理系统中,还可以包括:校验模块25。该校验模块25可以用于根据接收模块24接收到的对象信息对解析模块23解析出的对象信息进行校验。On this basis, the data processing system provided by the embodiment of the present invention may further include a verification module 25. The verification module 25 may be used to verify the object information parsed by the parsing module 23 according to the object information received by the receiving module 24.
在本发明实施例中,当货物错放时,可以向用户反馈校验失败信息,因此,数据处理系统还可以包括:反馈模块26,该反馈模块26可以用于在校验模块25对对象信息进 行校验失败时,发送校验失败反馈信息。In the embodiment of the present invention, when the goods are misplaced, the verification failure information can be fed back to the user. Therefore, the data processing system may further include: a feedback module 26, which can be used to verify the object information in the verification module 25 When the verification fails, the verification failure feedback message is sent.
更进一步地,本发明实施例中,可以设置“双引擎”模式,即,当二维码无法识别时,则触发采集一张商品图片,直接识别商品。因此,数据处理系统还可以包括:对象信息获取模块27,该对象信息获取模块27可以用于在解析模块23获取对象的对象信息失败时,获取对象的图像,并对该图像进行识别,以获取对象的对象信息。Furthermore, in the embodiment of the present invention, a "dual engine" mode can be set, that is, when the two-dimensional code cannot be identified, the collection of a product image is triggered to directly identify the product. Therefore, the data processing system may further include: an object information obtaining module 27, which may be used to obtain an image of the object when the analysis module 23 fails to obtain the object information of the object, and recognize the image to obtain Object information of the object.
再进一步地,本发明实施例中,数据处理系统还可以包括:路线调整模块28,该路线调整模块28可以用于根据图像处理模块22针对信息标识码的获取结果,生成新的拍摄路线,以对拍摄路线进行调整。Still further, in the embodiment of the present invention, the data processing system may further include: a route adjustment module 28, which may be configured to generate a new shooting route according to the result obtained by the image processing module 22 with respect to the information identification code. Adjust the shooting route.
另外,在本发明实施例中,图像采集模块21可以为自动移动图像采集设备(例如,具有图像采集功能的机器人)、手持式图像采集设备(由用户手持图像采集设备)或监控摄像设备(非购物高峰时期,复用监控人流的摄像头)等。In addition, in the embodiment of the present invention, the image acquisition module 21 may be an automatic moving image acquisition device (for example, a robot with an image acquisition function), a handheld image acquisition device (the image acquisition device is held by the user), or a surveillance camera device (not During the peak shopping period, the cameras used to monitor the flow of people are reused) and so on.
本发明实施例提供的数据处理系统,通过图像采集模块在门店中按照预设的拍摄路线对货架进行拍摄,批量采集所有货架的图像,并自动获取图像中的二维码,能够快速准确地解析出对象信息,提高货架上翻率,把完整的货架信息结构化地存储下来,从而提高了货架数字化的速度和准确率。In the data processing system provided by the embodiment of the present invention, the shelves are photographed in the store according to the preset shooting route through the image acquisition module, the images of all shelves are collected in batches, and the two-dimensional codes in the images are automatically obtained, which can quickly and accurately analyze Output the object information, increase the turnover rate of the shelf, and store the complete shelf information in a structured manner, thereby improving the speed and accuracy of the shelf digitization.
实施例三Example three
图3为本发明提供的数据处理方法一个实施例的流程图。该方法的执行主体可以为上述数据处理系统,也可以为具有图像采集、图像处理、数据处理等功能的各种终端设备,也可以为集成在这些设备上的装置或芯片。如图3所示,该数据处理方法包括如下步骤:Fig. 3 is a flowchart of an embodiment of a data processing method provided by the present invention. The execution subject of this method may be the above-mentioned data processing system, various terminal devices with functions such as image acquisition, image processing, and data processing, or may be devices or chips integrated on these devices. As shown in Figure 3, the data processing method includes the following steps:
301,按照针对货架设置的至少一条拍摄路线进行拍摄,采集包含货架上放置的对象的信息标识码的图像。301. Shoot according to at least one shooting route set for the shelf, and collect an image containing the information identification code of the object placed on the shelf.
在本发明实施例中,拍摄路线由多个拍摄点构成。针对货架设置由多个拍摄点构成的拍摄路线后,在进行货架数字化处理时,首先,按照预设的拍摄路线进行拍摄,以获取包含信息标识码的图像。具体地,该信息识别码能够唯一标识货架上设置的对象的对象信息,例如,可以为条形码、二维码等。In the embodiment of the present invention, the shooting route is composed of a plurality of shooting points. After setting up a shooting route composed of multiple shooting points for the shelf, during the shelf digitization process, firstly, the shooting is carried out according to the preset shooting route to obtain the image containing the information identification code. Specifically, the information identification code can uniquely identify the object information of the object set on the shelf, for example, it may be a barcode, a two-dimensional code, or the like.
302,对上述图像进行图像处理操作,获取信息标识码。302. Perform image processing operations on the foregoing image to obtain an information identification code.
在本发明实施例中,在采集到图像后,对其进行图像处理,以获取图像中的各个信息识别码。In the embodiment of the present invention, after the image is collected, image processing is performed on it to obtain each information identification code in the image.
303,对上述信息标识码进行解析操作,获取对象的对象信息。303. Perform a parsing operation on the above-mentioned information identification code to obtain object information of the object.
然后,根据信息标识码解析出相应的对象的对象信息,从而将对象信息发送至数据库存储,以实现货架数字化。Then, the object information of the corresponding object is parsed according to the information identification code, and the object information is sent to the database for storage, so as to realize the digitalization of the shelf.
本发明实施例提供的数据处理方法,通过对货架进行拍摄,获取货架上放置的对象的信息标识码,来快速准确地解析出对象信息,从而提高了货架数字化的速度和准确率。The data processing method provided by the embodiment of the present invention quickly and accurately analyzes the object information by photographing the shelf and obtaining the information identification code of the object placed on the shelf, thereby improving the speed and accuracy of shelf digitization.
实施例四Example four
图4为本发明提供的数据处理方法另一个实施例的流程图。如图4所示,在上述图3所示实施例的基础上,本实施例提供的数据处理方法还可以包括以下步骤:Fig. 4 is a flowchart of another embodiment of a data processing method provided by the present invention. As shown in FIG. 4, based on the embodiment shown in FIG. 3, the data processing method provided in this embodiment may further include the following steps:
401,按照针对货架设置的拍摄路线进行拍摄,采集包含货架上放置的对象的信息标识码的图像。401. Shoot according to a shooting route set for a shelf, and collect an image containing an information identification code of an object placed on the shelf.
在本发明实施例中,在设置拍摄点时,可以使图像采集模块在相邻拍摄点采集到的左右相邻的两个图像中包含有重叠区域,从而弥补二维码漏检,提高货架的上翻率,即,检测识别到的不同二维码的数量与货架上总的二维码的数量之比。In the embodiment of the present invention, when setting the shooting point, the image acquisition module can make the two adjacent left and right images collected by the adjacent shooting point include overlapping areas, so as to compensate for the missed detection of the two-dimensional code and improve the shelf life. Turn-up rate, that is, the ratio of the number of different two-dimensional codes detected and identified to the total number of two-dimensional codes on the shelf.
进一步地,还可以在拍摄路线中的同一拍摄点,采集至少两个上下相邻的图像,使得两个图像中包含有重叠区域。这样,同样能够弥补二维码漏检,提高货架的上翻率。Further, it is also possible to collect at least two images that are adjacent to each other up and down at the same shooting point in the shooting route, so that the two images contain overlapping areas. In this way, it can also make up for the missed inspection of the two-dimensional code and increase the turnover rate of the shelf.
402,检测图像中的四边形图形,在图像中按照预设长度,将每个四边形图形分别作为左上角、左下角、右上角和右下角进行扩展,形成针对该四边形图形的目标区域。402. Detect quadrilateral figures in the image, and expand each quadrilateral figure as an upper left corner, a lower left corner, an upper right corner, and a lower right corner according to a preset length in the image to form a target area for the quadrilateral figure.
在本发明实施例中,在采集到图像后,首先检测图像中的四边形图形,并在该图像中按照预设长度,扩展各四边形图形为目标区域,即,二维码感兴趣区域(二维码ROI)。具体地,可以将一个四边形图形作为左上角进行扩展,以获取一个目标区域。因此,将一个四边形图形分别作为左上角、左下角、右上角和右下角,可以获取到针对该四边形图形的四个目标区域。In the embodiment of the present invention, after the image is collected, the quadrilateral graphics in the image are first detected, and each quadrilateral graphics is expanded into the target area according to the preset length in the image, that is, the region of interest of the two-dimensional code (two-dimensional code). Code ROI). Specifically, a quadrilateral graphic can be extended as the upper left corner to obtain a target area. Therefore, by using a quadrilateral graphic as the upper left corner, the lower left corner, the upper right corner, and the lower right corner, respectively, four target areas for the quadrilateral graphic can be obtained.
403,计算每个目标区域中的相似四边形的个数。403. Count the number of similar quadrilaterals in each target area.
在本发明实施例中,相似四边形为面积差小于第一预设阈值的多个四边形图形。In the embodiment of the present invention, similar quadrilaterals are a plurality of quadrilateral graphs whose area difference is smaller than the first preset threshold.
404,根据相似四边形的个数,判断目标区域中的二维码是否完整。若相似四边形的个数为三,则说明该目标区域中二维码完整,针对该目标区域执行步骤406,如果相似四边形的个数不足三个,则说明该目标区域中二维码不完整,则针对该目标区域执行步骤405。404. Determine whether the two-dimensional code in the target area is complete according to the number of similar quadrilaterals. If the number of similar quadrilaterals is three, it means that the two-dimensional code in the target area is complete, and step 406 is executed for the target area. If the number of similar quadrilaterals is less than three, it means that the two-dimensional code in the target area is incomplete. Then, step 405 is executed for the target area.
405,针对相似四边形的个数不足三个的目标区域,进行图像恢复处理,使得目标区 域中的相似四边形的个数为三。405. Perform image restoration processing for a target area where the number of similar quadrilaterals is less than three, so that the number of similar quadrilaterals in the target area is three.
如果恢复后的目标区域中包含三个相似四边形,则执行下述步骤406,以获取二维码;如果恢复处理后相似四边形仍不足三个,则说明该目标区域不可恢复,直接丢弃该目标区域。If the restored target area contains three similar quadrilaterals, perform the following step 406 to obtain the QR code; if there are still less than three similar quadrilaterals after the restoration process, it means that the target area is unrecoverable, and the target area is discarded directly .
406,针对目标区域进行矫正操作。406. Perform a correction operation on the target area.
在本发明实施例中,当一个目标区域中有三个相似四边形时,可以基本确定该目标区域中的图形为二维码,因此,可以针对该目标区域进行矫正操作。具体地,可以在该目标区域中进行二维码定点检测操作,并通过仿射变换将该目标区域还原为正方形区域,并旋转该正方形区域,使得三个相似四边形分别在正方形区域的左上角、左下角和右上角。从而得到该二维码。In the embodiment of the present invention, when there are three similar quadrilaterals in a target area, it can be basically determined that the graphic in the target area is a two-dimensional code. Therefore, a correction operation can be performed on the target area. Specifically, the two-dimensional code fixed-point detection operation can be performed in the target area, and the target area can be restored to a square area through affine transformation, and the square area can be rotated so that three similar quadrilaterals are respectively in the upper left corner of the square area, The lower left corner and the upper right corner. Thus, the two-dimensional code is obtained.
如果目标区域中相似四边形的个数多于三个,则说明该目标区域图形不是二维码,同样丢弃该目标区域。If the number of similar quadrilaterals in the target area is more than three, it means that the target area graphic is not a two-dimensional code, and the target area is also discarded.
407,对上述二维码进行解析操作,获取对象的对象信息。407. Perform an analysis operation on the foregoing two-dimensional code to obtain object information of the object.
在本发明实施例中,如果对二维码解析失败,则丢弃该目标区域。In the embodiment of the present invention, if the analysis of the two-dimensional code fails, the target area is discarded.
408,判断解析后的对象信息是否与已解析出的对象信息重复,如果重复,则丢弃重复的对象信息,保留先解析出的对象信息。408. Determine whether the parsed object information is duplicated with the parsed object information, and if it is duplicated, discard the duplicate object information, and retain the parsed object information first.
此外,在本发明实施例中,可以设置混合处理模式,即,可以针对不规则货架的场景,采用上述步骤获取信息标识码;针对规则货架(例如,智能货架或具有电子价签的货架等)的场景,可以接收货架自动发送的对象的对象信息。规则的货架可以自行上报对象信息,从而提高数据处理效率。In addition, in the embodiment of the present invention, a mixed processing mode can be set, that is, the information identification code can be obtained by adopting the above steps for the scene of irregular shelves; for regular shelves (for example, smart shelves or shelves with electronic price tags, etc.) In the scene, you can receive the object information of the object automatically sent by the shelf. Regular shelves can report object information by themselves, thereby improving data processing efficiency.
在此基础上,本发明实施例提中,还可以根据货架自动发送的对象信息对解析信息标识码获取到的对象信息进行校验。当货物错放,对对象信息进行校验失败时,还可以向用户进行反馈,即,发送校验失败反馈信息。On this basis, in the embodiment of the present invention, the object information obtained by analyzing the information identification code can also be verified according to the object information automatically sent by the shelf. When the goods are misplaced and the verification of the object information fails, it can also provide feedback to the user, that is, send verification failure feedback information.
更进一步地,本发明实施例中,可以设置“双引擎”模式,即,当二维码无法识别时,则触发采集一张商品图片,直接识别商品。即,在解析信息标识码失败时,获取对象的图像,并对该图像进行识别,以获取对象的对象信息。Furthermore, in the embodiment of the present invention, a "dual engine" mode can be set, that is, when the two-dimensional code cannot be identified, the collection of a product image is triggered to directly identify the product. That is, when the analysis of the information identification code fails, the image of the object is obtained, and the image is recognized to obtain the object information of the object.
再进一步地,本发明实施例中,还可以根据针对信息标识码的获取结果,生成新的拍摄路线,以对拍摄路线进行调整。Furthermore, in the embodiment of the present invention, a new shooting route may be generated according to the result of obtaining the information identification code, so as to adjust the shooting route.
本发明实施例提供的数据处理方法,通过在门店中按照预设的拍摄路线对货架进行拍摄,批量采集所有货架的图像,并自动获取图像中的二维码,能够快速准确地解析出 对象信息,提高货架上翻率,把完整的货架信息结构化地存储下来,从而提高了货架数字化的速度和准确率。The data processing method provided by the embodiment of the present invention can quickly and accurately analyze the object information by photographing shelves in a store according to a preset shooting route, collecting images of all shelves in batches, and automatically acquiring the two-dimensional codes in the images. , Improve the shelf turnover rate and store the complete shelf information in a structured manner, thereby improving the speed and accuracy of shelf digitization.
实施例五Example five
以上描述了数据处理系统的内部功能和结构,该系统可实现为一种电子设备。图5为本发明提供的电子设备实施例的结构示意图。如图5所示,该电子设备包括存储器51和处理器52。The internal functions and structure of the data processing system are described above, and the system can be implemented as an electronic device. FIG. 5 is a schematic structural diagram of an embodiment of an electronic device provided by the present invention. As shown in FIG. 5, the electronic device includes a memory 51 and a processor 52.
存储器51,用于存储程序。除上述程序之外,存储器51还可被配置为存储其它各种数据以支持在电子设备上的操作。这些数据的示例包括用于在电子设备上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。The memory 51 is used to store programs. In addition to the aforementioned programs, the memory 51 can also be configured to store other various data to support operations on the electronic device. Examples of such data include instructions for any application or method operating on the electronic device, contact data, phone book data, messages, pictures, videos, etc.
存储器51可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 51 can be implemented by any type of volatile or nonvolatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable and Programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
处理器52,不仅仅局限于中央处理器(CPU),还可能为图形处理器(GPU)、现场可编辑门阵列(FPGA)、嵌入式神经网络处理器(NPU)或人工智能(AI)芯片等处理芯片。处理器52,与存储器51耦合,执行存储器51所存储的程序,以用于:The processor 52 is not only limited to the central processing unit (CPU), but may also be a graphics processing unit (GPU), field programmable gate array (FPGA), embedded neural network processor (NPU) or artificial intelligence (AI) chip Wait for the processing chip. The processor 52 is coupled with the memory 51, and executes the program stored in the memory 51 for:
按照针对货架设置的至少一条拍摄路线进行拍摄,采集包含货架上放置的对象的信息标识码的图像,其中,拍摄路线由多个拍摄点构成;Shoot according to at least one shooting route set for the shelf, and collect an image containing the information identification code of the object placed on the shelf, where the shooting route is composed of multiple shooting points;
对上述图像进行图像处理操作,获取信息标识码;Perform image processing operations on the above-mentioned image to obtain the information identification code;
对信息标识码进行解析操作,获取上述对象的对象信息。The information identification code is analyzed to obtain the object information of the above object.
进一步,如图5所示,电子设备还可以包括:通信组件53、电源组件54、音频组件55、显示器56等其它组件。图5中仅示意性给出部分组件,并不意味着电子设备只包括图5所示组件。Further, as shown in FIG. 5, the electronic device may further include: a communication component 53, a power supply component 54, an audio component 55, a display 56 and other components. Only some components are schematically shown in FIG. 5, which does not mean that the electronic device only includes the components shown in FIG. 5.
通信组件53被配置为便于电子设备和其他设备之间有线或无线方式的通信。电子设备可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件53经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件53还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 53 is configured to facilitate wired or wireless communication between the electronic device and other devices. Electronic devices can access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination of them. In an exemplary embodiment, the communication component 53 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 53 further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
电源组件54,为电子设备的各种组件提供电力。电源组件54可以包括电源管理系统,一个或多个电源,及其他与为电子设备生成、管理和分配电力相关联的组件。The power supply component 54 provides power for various components of the electronic device. The power supply component 54 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for electronic devices.
音频组件55被配置为输出和/或输入音频信号。例如,音频组件55包括一个麦克风(MIC),当电子设备处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器51或经由通信组件53发送。在一些实施例中,音频组件55还包括一个扬声器,用于输出音频信号。The audio component 55 is configured to output and/or input audio signals. For example, the audio component 55 includes a microphone (MIC), and the microphone is configured to receive external audio signals when the electronic device is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may be further stored in the memory 51 or transmitted via the communication component 53. In some embodiments, the audio component 55 further includes a speaker for outputting audio signals.
显示器56包括屏幕,其屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。The display 56 includes a screen, and the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, sliding, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure related to the touch or slide operation.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。A person of ordinary skill in the art can understand that all or part of the steps in the foregoing method embodiments can be implemented by a program instructing relevant hardware. The aforementioned program can be stored in a computer readable storage medium. When the program is executed, it executes the steps including the foregoing method embodiments; and the foregoing storage medium includes: ROM, RAM, magnetic disk, or optical disk and other media that can store program codes.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions recorded in the foregoing embodiments can still be modified, or some or all of the technical features can be equivalently replaced; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the technical solutions of the embodiments of the present invention. range.

Claims (24)

  1. 一种数据处理系统,其特征在于,包括:A data processing system, characterized in that it comprises:
    图像采集模块,用于按照针对货架设置的至少一条拍摄路线进行拍摄,采集包含所述货架上放置的对象的信息标识码的图像,其中,所述拍摄路线由多个拍摄点构成;The image acquisition module is configured to shoot according to at least one shooting route set for the shelf, and collect an image containing the information identification code of the object placed on the shelf, wherein the shooting route is composed of a plurality of shooting points;
    图像处理模块,用于对所述图像采集模块采集到的所述图像进行处理,获取所述信息标识码;An image processing module, configured to process the image collected by the image collection module to obtain the information identification code;
    解析模块,用于根据所述图像处理模块获取到的所述信息标识码,解析出所述对象的对象信息。The analysis module is configured to analyze the object information of the object according to the information identification code obtained by the image processing module.
  2. 根据权利要求1所述的数据处理系统,其特征在于,还包括:The data processing system according to claim 1, further comprising:
    接收模块,用于接收所述货架自动发送的所述对象的对象信息。The receiving module is configured to receive the object information of the object automatically sent by the shelf.
  3. 根据权利要求2所述的数据处理系统,其特征在于,还包括:The data processing system according to claim 2, further comprising:
    校验模块,用于根据所述接收模块接收到的对象信息对所述解析模块解析出的对象信息进行校验。The verification module is configured to verify the object information parsed by the parsing module according to the object information received by the receiving module.
  4. 根据权利要求3所述的数据处理系统,其特征在于,还包括:The data processing system according to claim 3, further comprising:
    反馈模块,用于在所述校验模块对所述对象信息进行校验失败时,发送校验失败反馈信息。The feedback module is configured to send verification failure feedback information when the verification module fails to verify the object information.
  5. 根据权利要求1所述的数据处理系统,其特征在于,所述图像采集模块为自动移动图像采集设备、手持式图像采集设备或监控摄像设备。The data processing system according to claim 1, wherein the image acquisition module is an automatic moving image acquisition device, a handheld image acquisition device, or a surveillance camera device.
  6. 根据权利要求1所述的数据处理系统,其特征在于,还包括:The data processing system according to claim 1, further comprising:
    对象信息获取模块,用于在所述解析模块获取所述对象的对象信息失败时,获取所述对象的图像,并对所述图像进行识别,获取所述对象的对象信息。The object information obtaining module is configured to obtain an image of the object when the analysis module fails to obtain the object information of the object, and recognize the image to obtain the object information of the object.
  7. 根据权利要求1所述的数据处理系统,其特征在于,还包括:The data processing system according to claim 1, further comprising:
    路线调整模块,用于根据所述图像处理模块针对所述信息标识码的获取结果,生成新的拍摄路线。The route adjustment module is configured to generate a new shooting route according to the result of obtaining the information identification code by the image processing module.
  8. 根据权利要求1至7中任一权利要求所述的数据处理系统,其特征在于,所述信息标识码为唯一标识所述对象的对象信息的条形码或二维码。The data processing system according to any one of claims 1 to 7, wherein the information identification code is a barcode or a two-dimensional code that uniquely identifies the object information of the object.
  9. 根据权利要求1至7中任一权利要求所述的数据处理系统,其特征在于,所述信息标识码为唯一标识所述对象的对象信息的二维码,所述图像处理模块包括:The data processing system according to any one of claims 1 to 7, wherein the information identification code is a two-dimensional code that uniquely identifies the object information of the object, and the image processing module includes:
    区域裁剪单元,用于针对所述图像采集模块采集到的所述图像,检测所述图像中的四边形图形,在所述图像中按照预设长度,将每个所述四边形图形分别作为左上角、左 下角、右上角和右下角进行扩展,形成针对所述四边形图形的目标区域;The area cropping unit is configured to detect the quadrilateral figures in the image for the image collected by the image collection module, and use each quadrilateral figure as the upper left corner and the upper left corner of the image according to a preset length. Expand the lower left corner, upper right corner, and lower right corner to form a target area for the quadrilateral figure;
    计算单元,用于计算每个所述目标区域中的相似四边形的个数,其中,所述相似四边形为面积差小于第一预设阈值的多个四边形图形;A calculating unit, configured to calculate the number of similar quadrilaterals in each of the target regions, wherein the similar quadrilaterals are multiple quadrilateral graphics with an area difference less than a first preset threshold;
    图像恢复单元,用于针对相似四边形的个数不足三个的所述目标区域,进行图像恢复处理,使得所述目标区域中的相似四边形的个数为三;An image restoration unit, configured to perform image restoration processing on the target area where the number of similar quadrilaterals is less than three, so that the number of similar quadrilaterals in the target area is three;
    二维码矫正单元,用于针对相似四边形的个数为三的所述目标区域,检测二维码顶点,并通过仿射变换操作将所述目标区域还原为正方形区域,并针对所述正方形区域进行旋转操作,使得三个所述相似四边形分别在所述正方形区域的左上角、左下角和右上角。The two-dimensional code correction unit is used to detect the vertices of the two-dimensional code for the target area with three similar quadrilaterals, and restore the target area to a square area through an affine transformation operation, and target the square area Perform a rotation operation so that the three similar quadrilaterals are respectively at the upper left corner, the lower left corner and the upper right corner of the square area.
  10. 根据权利要求1所述的数据处理系统,其特征在于,所述拍摄点设置为,使得所述图像采集模块在相邻拍摄点采集到的左右相邻的两个图像中包含有重叠区域。The data processing system according to claim 1, wherein the shooting point is set such that the two adjacent left and right images collected by the adjacent shooting point include an overlapping area.
  11. 根据权利要求1所述的数据处理系统,其特征在于,所述图像采集模块中至少包括两个上下设置的采集子模块,使得在同一拍摄点采集到的上下相邻的两个图像中包含有重叠区域。The data processing system according to claim 1, wherein the image acquisition module includes at least two acquisition sub-modules arranged up and down, so that the two adjacent upper and lower images collected at the same shooting point contain Overlapping area.
  12. 一种数据处理方法,其特征在于,包括:A data processing method, characterized in that it comprises:
    按照针对货架设置的至少一条拍摄路线进行拍摄,采集包含所述货架上放置的对象的信息标识码的图像,其中,所述拍摄路线由多个拍摄点构成;Shooting according to at least one shooting route set for the shelf, and collecting an image containing the information identification code of the object placed on the shelf, wherein the shooting route is composed of a plurality of shooting points;
    对所述图像进行图像处理操作,获取所述信息标识码;Performing an image processing operation on the image to obtain the information identification code;
    对所述信息标识码进行解析操作,获取所述对象的对象信息。Perform a parsing operation on the information identification code to obtain the object information of the object.
  13. 根据权利要求12所述的数据处理方法,其特征在于,还包括:The data processing method according to claim 12, further comprising:
    接收所述货架自动发送的所述对象的对象信息。Receiving the object information of the object automatically sent by the shelf.
  14. 根据权利要求13所述的数据处理方法,其特征在于,还包括:The data processing method according to claim 13, further comprising:
    根据所述货架自动发送的对象信息对解析所述信息标识码获取到的对象信息进行校验。The object information obtained by parsing the information identification code is verified according to the object information automatically sent by the shelf.
  15. 根据权利要求14所述的数据处理方法,其特征在于,还包括:The data processing method according to claim 14, further comprising:
    在对所述对象信息进行校验失败时,发送校验失败反馈信息。When the verification of the object information fails, the verification failure feedback information is sent.
  16. 根据权利要求12所述的数据处理方法,其特征在于,还包括:The data processing method according to claim 12, further comprising:
    在获取所述对象的对象信息失败时,获取所述对象的图像,并对所述图像进行识别,获取所述对象的对象信息。When the object information of the object fails to be obtained, an image of the object is obtained, the image is recognized, and the object information of the object is obtained.
  17. 根据权利要求12所述的数据处理方法,其特征在于,还包括:The data processing method according to claim 12, further comprising:
    根据针对所述信息标识码的获取结果,生成新的拍摄路线。According to the acquisition result of the information identification code, a new shooting route is generated.
  18. 根据权利要求12至17中任一权利要求所述的数据处理方法,其特征在于,所述信息标识码为唯一标识所述对象的对象信息的条形码或二维码。The data processing method according to any one of claims 12 to 17, wherein the information identification code is a barcode or a two-dimensional code that uniquely identifies the object information of the object.
  19. 根据权利要求12至17中任一权利要求所述的数据处理方法,其特征在于,所述信息标识码为唯一标识所述对象的对象信息的二维码,所述对所述图像进行图像处理操作,获取所述信息标识码,包括:The data processing method according to any one of claims 12 to 17, wherein the information identification code is a two-dimensional code that uniquely identifies the object information of the object, and the image processing is performed on the image The operation to obtain the information identification code includes:
    检测所述图像中的四边形图形,在所述图像中按照预设长度,将每个所述四边形图形分别作为左上角、左下角、右上角和右下角进行扩展,形成针对所述四边形图形的目标区域;Detect quadrilateral figures in the image, and expand each quadrilateral figure as the upper left corner, the lower left corner, the upper right corner and the lower right corner according to a preset length in the image to form a target for the quadrilateral figure area;
    计算每个所述目标区域中的相似四边形的个数,其中,所述相似四边形为面积差小于第一预设阈值的多个四边形图形;Calculating the number of similar quadrilaterals in each target area, where the similar quadrilaterals are a plurality of quadrilateral graphics whose area difference is less than a first preset threshold;
    针对相似四边形的个数为三的所述目标区域,检测二维码顶点,并通过仿射变换操作将所述目标区域还原为正方形区域,并针对所述正方形区域进行旋转操作,使得三个所述相似四边形分别在所述正方形区域的左上角、左下角和右上角。For the target area where the number of similar quadrilaterals is three, the vertices of the two-dimensional code are detected, and the target area is restored to a square area through an affine transformation operation, and a rotation operation is performed on the square area to make three The similar quadrilaterals are respectively at the upper left corner, the lower left corner and the upper right corner of the square area.
  20. 根据权利要求19所述的数据处理方法,其特征在于,在所述针对相似四边形的个数为三的所述二维码区域,检测二维码顶点之前,还包括:20. The data processing method according to claim 19, characterized in that, before detecting the vertices of the two-dimensional code for the two-dimensional code area with three similar quadrilaterals, the method further comprises:
    针对相似四边形的个数不足三个的所述目标区域,进行图像恢复处理,使得所述目标区域中的相似四边形的个数为三。For the target area where the number of similar quadrilaterals is less than three, image restoration processing is performed, so that the number of similar quadrilaterals in the target area is three.
  21. 根据权利要求12所述的数据处理方法,其特征在于,所述拍摄点设置为,使得在相邻拍摄点采集到的左右相邻的两个图像中包含有重叠区域。The data processing method according to claim 12, wherein the shooting point is set such that the two adjacent left and right images collected by the adjacent shooting point include overlapping areas.
  22. 根据权利要求12所述的数据处理方法,其特征在于,所述按照针对货架设置的至少一条拍摄路线进行拍摄,采集包含所述货架上放置的对象的信息标识码的图像,包括:The data processing method according to claim 12, wherein the shooting according to at least one shooting route set for the shelf, and collecting an image containing the information identification code of the object placed on the shelf, comprises:
    在所述拍摄路线中的同一拍摄点,采集至少两个上下相邻的图像,使得两个所述图像中包含有重叠区域。At the same shooting point in the shooting route, at least two images that are adjacent to each other up and down are collected, so that the two images include overlapping areas.
  23. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it comprises:
    存储器,用于存储程序;Memory, used to store programs;
    处理器,用于运行所述存储器中存储的所述程序,以用于:The processor is configured to run the program stored in the memory for:
    按照针对货架设置的至少一条拍摄路线进行拍摄,采集包含所述货架上放置的对象的信息标识码的图像,其中,所述拍摄路线由多个拍摄点构成;Shooting according to at least one shooting route set for the shelf, and collecting an image containing the information identification code of the object placed on the shelf, wherein the shooting route is composed of a plurality of shooting points;
    对所述图像进行图像处理操作,获取所述信息标识码;Performing an image processing operation on the image to obtain the information identification code;
    对所述信息标识码进行解析操作,获取所述对象的对象信息。Perform a parsing operation on the information identification code to obtain the object information of the object.
  24. 一种计算机可读存储介质,在所述计算机可读存储介质上存储有指令,所述指令包括:A computer-readable storage medium having instructions stored on the computer-readable storage medium, the instructions including:
    按照针对货架设置的至少一条拍摄路线进行拍摄,采集包含所述货架上放置的对象的信息标识码的图像,其中,所述拍摄路线由多个拍摄点构成;Shooting according to at least one shooting route set for the shelf, and collecting an image containing the information identification code of the object placed on the shelf, wherein the shooting route is composed of a plurality of shooting points;
    对所述图像进行图像处理操作,获取所述信息标识码;Performing an image processing operation on the image to obtain the information identification code;
    对所述信息标识码进行解析操作,获取所述对象的对象信息。Perform a parsing operation on the information identification code to obtain the object information of the object.
PCT/CN2020/117621 2019-09-29 2020-09-25 Data processing system and method, electronic device, and computer readable storage medium WO2021057879A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910936976.2A CN112580379B (en) 2019-09-29 2019-09-29 Data processing system and method, electronic device, and computer-readable storage medium
CN201910936976.2 2019-09-29

Publications (1)

Publication Number Publication Date
WO2021057879A1 true WO2021057879A1 (en) 2021-04-01

Family

ID=75110874

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/117621 WO2021057879A1 (en) 2019-09-29 2020-09-25 Data processing system and method, electronic device, and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN112580379B (en)
WO (1) WO2021057879A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113945063A (en) * 2021-10-15 2022-01-18 福建瑞雪制冷设备有限公司 Internet of things-based refrigeration house control method and system and storage medium thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101149792A (en) * 2006-09-21 2008-03-26 国际商业机器公司 System and method for performing inventory using a mobile inventory robot
US20160171568A1 (en) * 2014-12-10 2016-06-16 Alibaba Group Holding Limited Method and system for distributing smart containers
CN109344928A (en) * 2018-09-19 2019-02-15 中国科学院信息工程研究所 The accurate checking method of cargo and system based on unmanned plane in a kind of bulk storage plant
CN109849008A (en) * 2019-02-21 2019-06-07 广州高新兴机器人有限公司 A kind of robot checking method and system based on national treasury
CN110040412A (en) * 2019-04-24 2019-07-23 深圳市海柔创新科技有限公司 Intelligent warehousing system, processing terminal, storage robot and intelligent storage method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4211613B2 (en) * 2004-01-21 2009-01-21 パナソニック株式会社 Optical information reader
CN100380393C (en) * 2006-09-26 2008-04-09 福建榕基软件开发有限公司 Precise location method of QR code image symbol region at complex background
CN103593664B (en) * 2013-11-29 2016-08-17 重庆大学 A kind of preprocess method of QR code fault image
KR102427357B1 (en) * 2016-06-21 2022-07-29 김남현 Online and offline data integration and management, sharing method and system using the binary code
CN107944324A (en) * 2017-11-16 2018-04-20 凌云光技术集团有限责任公司 A kind of Quick Response Code distortion correction method and device
CN108009460A (en) * 2017-12-29 2018-05-08 姚佑霖 The recognition methods of various characters and the superposition Quick Response Code of numeral mixing under complex background

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101149792A (en) * 2006-09-21 2008-03-26 国际商业机器公司 System and method for performing inventory using a mobile inventory robot
US20160171568A1 (en) * 2014-12-10 2016-06-16 Alibaba Group Holding Limited Method and system for distributing smart containers
CN109344928A (en) * 2018-09-19 2019-02-15 中国科学院信息工程研究所 The accurate checking method of cargo and system based on unmanned plane in a kind of bulk storage plant
CN109849008A (en) * 2019-02-21 2019-06-07 广州高新兴机器人有限公司 A kind of robot checking method and system based on national treasury
CN110040412A (en) * 2019-04-24 2019-07-23 深圳市海柔创新科技有限公司 Intelligent warehousing system, processing terminal, storage robot and intelligent storage method

Also Published As

Publication number Publication date
CN112580379B (en) 2024-06-14
CN112580379A (en) 2021-03-30

Similar Documents

Publication Publication Date Title
US10115019B2 (en) Video categorization method and apparatus, and storage medium
CN109299703B (en) Method and device for carrying out statistics on mouse conditions and image acquisition equipment
CN109686049B (en) Method, device, medium and electronic equipment for reminding falling order of children in public place
WO2019062017A1 (en) Method, device, and self-service checkout counter for performing product recognition on the basis of neural network
US20210243025A1 (en) Blockchain-based patrol inspection proof storage method, apparatus, and electronic device
US20160088262A1 (en) Method For Managing Storage Product In Refrigerator Using Image Recognition, And Refrigerator For Same
WO2019062018A1 (en) Automatic goods payment method and apparatus, and self-service checkout counter
EP2998960A1 (en) Method and device for video browsing
CN106295511A (en) Face tracking method and device
CN110659397A (en) Behavior detection method and device, electronic equipment and storage medium
CN105659279B (en) Information processing apparatus, information processing method, and computer program
EP3040884A1 (en) Method and device for classifying pictures
US9779294B2 (en) Methods and devices for classifying pictures
CN106845320A (en) Detect the method and its system of classroom efficiency
CN109767453A (en) Information processing unit, background image update method and non-transient computer readable storage medium
WO2021022698A1 (en) Following detection method and apparatus, and electronic device and storage medium
JP2016201105A (en) Information processor and information processing method
CN106056117A (en) Image processing method and device for rectangular object
US9064172B2 (en) System and method for object detection
WO2021057879A1 (en) Data processing system and method, electronic device, and computer readable storage medium
CN113468914B (en) Method, device and equipment for determining purity of commodity
EP3432575A1 (en) Method for performing multi-camera automatic patrol control with aid of statistics data in a surveillance system, and associated apparatus
WO2019101002A1 (en) Shoe data acquisition method and device, and computer storage medium
WO2021233058A1 (en) Method for monitoring articles on shop shelf, computer and system
CN111428743A (en) Commodity identification method, commodity processing device and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20868589

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20868589

Country of ref document: EP

Kind code of ref document: A1