CN113688645B - Identification method, system and equipment - Google Patents

Identification method, system and equipment Download PDF

Info

Publication number
CN113688645B
CN113688645B CN202110919670.3A CN202110919670A CN113688645B CN 113688645 B CN113688645 B CN 113688645B CN 202110919670 A CN202110919670 A CN 202110919670A CN 113688645 B CN113688645 B CN 113688645B
Authority
CN
China
Prior art keywords
information
image
product
acquiring
identifying
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110919670.3A
Other languages
Chinese (zh)
Other versions
CN113688645A (en
Inventor
江河
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Egger Intelligent Technology Co ltd
Original Assignee
Guangzhou Egger Intelligent Technology Co ltd
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 Guangzhou Egger Intelligent Technology Co ltd filed Critical Guangzhou Egger Intelligent Technology Co ltd
Priority to CN202110919670.3A priority Critical patent/CN113688645B/en
Publication of CN113688645A publication Critical patent/CN113688645A/en
Application granted granted Critical
Publication of CN113688645B publication Critical patent/CN113688645B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/10544Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
    • G06K7/10821Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices
    • G06K7/10861Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices sensing of data fields affixed to objects or articles, e.g. coded labels
    • 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/1443Methods for optical code recognition including a method step for retrieval of the optical code locating of the code in an image

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Electromagnetism (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The identification method, system and equipment of the application comprise the following steps: acquiring a first image of an information code; filling a blank pattern on the incomplete part of the first image to generate a second image; identifying the second image, acquiring second information, and judging the position of the preset character on the second information; when the preset character is positioned at the position of the first product information of the second information, acquiring a third image of the product attached with the information code; identifying the product in the third image, obtaining second product information, replacing the first product information with the second product information, and obtaining first information; and when the preset character is positioned at the stream information position of the second information, traversing the information codes of all the products of the first product information and comparing the information codes with the information codes in the database of the product information to acquire the first information.

Description

Identification method, system and equipment
Technical Field
The present application relates to the field of information code identification, and in particular, to an identification method, system, and device.
Background
The information (Information Coding) is a process of giving codes to information elements when information processing is performed in order to facilitate storage, retrieval, and use of information. Namely, different codes are used for establishing a one-to-one correspondence with basic unit components in various information. The information must be standardized and systemized, and a reasonably designed information system is an important factor for the vitality of the relation information management system. In communication theory, information is a transformation of an original information symbol according to a certain mathematical rule. The purpose of this information is to enable the information to be transmitted to the sink as quickly as possible while ensuring a certain quality.
After the information code is generated, the information code is scanned through a code scanner, the compiled information is identified and decoded, and the information is restored back to the original information symbol, so that the equipment can read the original information, symbolize and store and work the original information, but in work, the information code is incomplete due to corrosion or scraping and the like, and the original information in the information code cannot be identified when the information code is identified.
Disclosure of Invention
The application provides a recognition method, a recognition system and recognition equipment, which solve the technical problem that original information in an information code cannot be recognized due to incomplete information code caused by corrosion or scraping and other conditions in the prior art.
The application provides an identification method, which comprises the following steps:
acquiring a first image of the information code;
determining whether a first image of the information code is identifiable,
if yes, identifying information in the information code, and acquiring first information;
if not, identifying an incomplete portion of the first image;
filling a blank pattern on the incomplete part of the first image to generate a second image;
identifying the second image to obtain second information, wherein the blank pattern is identified as a preset character, and the second information comprises first product information and flow information;
judging the position of the preset character on the second information;
when the preset character is positioned at the position of the first product information of the second information, acquiring a third image of the product attached with the information code;
identifying the product in the third image, obtaining second product information, replacing the first product information with the second product information, and obtaining first information;
when the preset character is located at the stream information position of the second information, traversing the information codes of all products of the first product information, comparing the information codes with the information codes in the database of the product information, acquiring third information and determining the third information as the first information, wherein the third information is information corresponding to the information codes obtained by subtracting the identifiable information codes from the information codes of the products in the database.
Preferably, the steps between obtaining the first image of the information code and judging whether the first image of the information code is identifiable are further provided with:
determining whether the information code within the first image is complete,
if yes, judging whether the first image of the information code is identifiable;
if not, repeatedly acquiring the first image, and judging the repeatedly acquired first image until the first image is obtained.
Preferably, the blank filling is performed on the incomplete part of the image, and the generating of the second image specifically includes:
identifying the incomplete part of the first image, and acquiring the position and the range of the incomplete part of the first image;
and filling the position of the blank pattern corresponding to the incomplete part of the first image to obtain a second image.
Preferably, the identifying the incomplete part of the first image, and acquiring the position and the range of the incomplete part of the first image specifically includes:
gridding the first image to obtain a gridded first image;
and identifying the position of the incomplete part of the first image according to the gridded first image.
Preferably, the step of gridding the first image includes:
and carrying out grid division according to the pixels of the first image to generate a gridded first image, wherein any grid is internally provided with a plurality of pixels.
The embodiment of the application also provides an identification system, which comprises the following modules:
the first acquisition module is used for acquiring a first image of the information code;
a first judging module for judging whether the first image of the information code is identifiable,
if yes, identifying information in the information code, and acquiring first information;
if not, identifying an incomplete portion of the first image;
the first generation module is used for filling the blank pattern of the incomplete part of the first image to generate a second image;
the second acquisition module is used for identifying the second image and acquiring second information, wherein the blank pattern is identified as a preset character, and the second information comprises first product information and flowing water information;
the second judging module is used for judging the position of the preset character on the second information;
when the preset character is positioned at the position of the first product information of the second information, acquiring a third image of the product attached with the information code;
the third acquisition module is used for identifying the product in the third image, acquiring second product information, replacing the first product information with the second product information and acquiring first information;
and the determining module is used for traversing the information codes of all the products of the first product information and comparing the information codes with the information codes in the database of the product information when the preset character is positioned at the stream information position of the second information, acquiring third information and determining the third information as the first information, wherein the third information is information corresponding to the information codes obtained by subtracting the identifiable information codes from the information codes of the products in the database.
Preferably, the method further comprises a second judging module:
the second judging module is configured to perform between the acquiring the first image of the information code and judging whether the first image of the information code is identifiable:
determining whether the information code within the first image is complete,
if yes, judging whether the first image of the information code is identifiable;
if not, repeatedly acquiring the first image, and judging the repeatedly acquired first image until the first image is obtained.
Preferably, the blank filling is performed on the incomplete part of the image, and the generating of the second image specifically includes:
identifying the incomplete part of the first image, and acquiring the position and the range of the incomplete part of the first image;
and filling the position of the blank pattern corresponding to the incomplete part of the first image to obtain a second image.
Preferably, the identifying the incomplete part of the first image, and acquiring the position and the range of the incomplete part of the first image specifically includes:
gridding the first image to obtain a gridded first image;
and identifying the position of the incomplete part of the first image according to the gridded first image.
The embodiment of the application also provides an identification device, which comprises a processor and a memory;
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to perform one of the identification methods described above according to instructions in the program code.
From the above technical scheme, the application has the following advantages:
the identification method, the identification system and the identification equipment provided by the embodiment of the application comprise the following steps: acquiring a first image of the information code; judging whether a first image of the information code is identifiable or not, if yes, identifying information in the information code, and obtaining first information; if not, identifying an incomplete portion of the first image; filling a blank pattern on the incomplete part of the first image to generate a second image; identifying the second image to obtain second information, wherein the blank pattern is identified as a preset character, and the second information comprises first product information and flow information; judging the position of the preset character on the second information; when the preset character is positioned at the position of the first product information of the second information, acquiring a third image of the product attached with the information code; identifying the product in the third image, obtaining second product information, replacing the first product information with the second product information, and obtaining first information; when the preset character is located at the stream information position of the second information, traversing the information codes of all products of the first product information, comparing the information codes with the information codes in the database of the product information, acquiring third information and determining the third information as the first information, wherein the third information is information corresponding to the information codes obtained by subtracting the identifiable information codes from the information codes of the products in the database. Therefore, the technical problem that original information in the information code cannot be identified due to incomplete information code caused by corrosion or scraping and the like in the prior art is effectively solved.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are only some embodiments of the application, and that other drawings can be obtained from these drawings without inventive faculty for a person skilled in the art.
Fig. 1 is a flowchart of a method for identifying a method, a system and a device according to an embodiment of the present application.
Fig. 2 is a system frame diagram of an identification method, system and device according to an embodiment of the present application.
Fig. 3 is a device structure diagram of a method, a system and a device for identifying according to an embodiment of the present application.
Detailed Description
The embodiment of the application provides a method, a system and a device for identifying, which are used for solving the technical problems that in an engine in the prior art, although the engine has realistic display effects of physical special effects, weather, light and shadow and the like, the geographic scenes in the game engine are virtual and do not have real geographic position coordinates, so that the topography and scene of the engine are complicated to manufacture.
In order to make the objects, features and advantages of the present application more comprehensible, the technical solutions in the embodiments of the present application are described in detail below with reference to the accompanying drawings, and it is apparent that the embodiments described below are only some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
As shown in fig. 1, the identification method provided by the application comprises the following steps:
acquiring a first image of an information code;
determining whether a first image of the information code is identifiable,
if yes, identifying information in the information code, and acquiring first information;
if not, identifying an incomplete portion of the first image;
filling a blank pattern on the incomplete part of the first image to generate a second image;
identifying the second image to obtain second information, wherein the blank pattern is identified as a preset character, and the second information comprises first product information and flow information;
judging the position of the preset character in the second information;
when the preset character is positioned at the position of the first product information of the second information, acquiring a third image of the product attached with the information code;
identifying the product in the third image, obtaining second product information, replacing the first product information with the second product information, and obtaining first information;
when the preset character is located at the stream information position of the second information, traversing the information codes of all products of the first product information, comparing the information codes with the information codes in the database of the product information, acquiring third information and determining the third information as the first information, wherein the third information is information corresponding to the information codes obtained by subtracting the identifiable information codes from the information codes of the products in the database.
The identification method of the application can be applied to a server or a code scanning gun;
the first image of the information code can be obtained by shooting the information code according to a camera of a mobile phone, a camera or a camera on a code scanning gun;
by identifying the first image on the information code, if the first information can be directly identified, the first image is identifiable, and if the information code in the first image can not be identified, the first image is unidentifiable, namely incomplete part exists in the first image;
filling blank patterns of which the preset characters can be recognized by the incomplete part of the first image to obtain a complete second image, and recognizing the second image at the moment, so that the content in the second image can be recognized;
by identifying the second image, the second information can be obtained, wherein the second information is provided with the preset characters; the second information comprises first product information and flow information; the information code is composed of information of product information and flow information, and in general, the product information is favorable for identifying the products, comprises parameters such as type, volume/volume, price and the like, and is convenient for managing the types of the products. The information of the information code is the structure of product information in front and stream information in back.
Through the structure, whether the preset character belongs to the product information or the flow information at the position of the second information can be clearly judged;
when the preset character is positioned at the position of the first product information of the second information, namely the information of the product is unclear, and the running information of the product is still clear, a third image of the product with the information code is acquired;
the third image can be obtained by shooting the product where the information code is located, namely the product in the third image is identified, the product information of the product and the second product information are obtained according to the corresponding database, and new third information can be directly obtained by replacing the first product information with the second product information, the flowing water information is unchanged, and the third information can be the information corresponding to the product information code;
by the method, the information of the product can be directly obtained in the process of identifying the product, the like product is not required to be taken for scanning identification, and the problem that the identification cannot be carried out under the condition that the like product is not available when the product is the last product is avoided.
When the preset character is positioned at the flow information position of the second information, namely the first product information of the information code is complete, the information such as the price of the product can be directly obtained, if the information is sold, the sales processing can be directly carried out, the actual complete code can be temporarily not considered, and after all the products are delivered, the information code with the blank space in the information code can be determined to be the information code of the product. The first information is obtained by traversing the information codes of all the products of the first product information and comparing the information codes with the information codes in the database of the product information, and the first information is information corresponding to the information codes except the information codes of all the products of the first product information in the information codes of the database of the product information. If the product information has 20 information codes corresponding to the product in the database, and one of the information codes has the preset character positioned at the stream information position of the second information, the other 19 information codes of the product can be scanned and compared with the information codes stored in the database, namely the information corresponding to the remaining information codes is the first information.
The identification method of the embodiment effectively solves the technical problem that in the prior art, the original information in the information code cannot be identified due to incomplete information code caused by corrosion or scraping and the like.
Preferably, the step of acquiring the first image of the information code and determining whether the first image of the information code is identifiable further includes:
determining whether the information code within the first image is complete,
if yes, judging whether the first image of the information code is identifiable;
if not, repeatedly acquiring the first image, and judging the repeatedly acquired first image until the first image is obtained.
And judging whether the information code in the first image is complete through recognition, and if the first image is complete, directly judging whether the first image of the information code is identifiable.
When the information code in the first image is incomplete, the new information code image needs to be shot again to judge again, and the identification and judgment of the information code can be carried out only when the information code in the first image is known to be complete.
Preferably, the blank filling is performed on the incomplete part of the image, and the generating of the second image specifically includes:
identifying the incomplete part of the first image, and acquiring the position and the range of the incomplete part of the first image;
and filling the position and the range of the blank pattern corresponding to the incomplete part of the first image to obtain a second image.
Before the incomplete part of the image is filled, the incomplete part of the image is identified, and the position and the range of the incomplete part are determined, so that the filling can be accurately performed when the blank pattern is filled, and the problem that the identification result is wrong due to the filling to an unnecessary position is avoided.
In order to more accurately identify the position and the range of the incomplete part of the first image, the identifying the incomplete part of the first image, and acquiring the position and the range of the incomplete part of the first image specifically includes:
gridding the first image to obtain a gridded first image;
and identifying the position and the range of the incomplete part of the first image according to the gridded first image.
The position and the range of the incomplete part of the first image can be accurately defined through the meshed first image, and the position and the range of the incomplete part can be accurately known through positioning and calculating through coordinates in the meshing process.
Preferably, the step of gridding the first image includes:
and carrying out grid division according to the pixels of the first image to generate a gridded first image, wherein any grid is internally provided with a plurality of pixels.
In order to make the boundary of the incomplete part of the first image clearer, the pixels of the first image are used for grid division, so that the higher accuracy of the first image can be ensured, and the problem that the recognition result is wrong due to filling into an unnecessary position is avoided.
As shown in fig. 2, an embodiment of the present application further provides an identification system, including the following modules:
a first acquisition module 201, where the first acquisition module 201 is configured to acquire a first image of the information code;
a first judging module 202, wherein the first judging module 202 is configured to judge whether the first image of the information code is identifiable,
if yes, identifying information in the information code, and acquiring first information;
if not, identifying an incomplete portion of the first image;
a first generating module 203, where the first generating module 203 is configured to perform blank pattern filling on an incomplete portion of the first image to generate a second image;
a second obtaining module 204, where the second obtaining module 204 is configured to identify the second image, and obtain second information, where the blank pattern is identified as a preset character, and the second information includes first product information and running water information;
a second judging module 205, where the second judging module 205 is configured to judge a position of the preset character on the second information;
when the preset character is positioned at the position of the first product information of the second information, acquiring a third image of the product attached with the information code;
a third obtaining module 206, where the third obtaining module 206 is configured to identify a product in the third image, obtain second product information, and replace the first product information with the second product information to obtain first information;
and the determining module 207 is configured to traverse information codes of all products of the first product information and compare the information codes with information codes in a database of the product information when the preset character is located at the stream information position of the second information, obtain third information and determine the third information as the first information, where the third information is information corresponding to an information code obtained by subtracting the identifiable information code from the information code of the product in the database.
Preferably, the method further comprises a second judging module:
the second judging module is configured to perform between the acquiring the first image of the information code and judging whether the first image of the information code is identifiable:
determining whether the information code within the first image is complete,
if yes, judging whether the first image of the information code is identifiable;
if not, repeatedly acquiring the first image, and judging the repeatedly acquired first image until the first image is obtained.
Preferably, the blank filling is performed on the incomplete part of the image, and the generating of the second image specifically includes:
identifying the incomplete part of the first image, and acquiring the position and the range of the incomplete part of the first image;
and filling the position of the blank pattern corresponding to the incomplete part of the first image to obtain a second image.
Preferably, the identifying the incomplete part of the first image, and acquiring the position and the range of the incomplete part of the first image specifically includes:
gridding the first image to obtain a gridded first image;
and identifying the position of the incomplete part of the first image according to the gridded first image.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
Referring to fig. 3, fig. 3 is a device structure diagram of a method, a system and a device for identifying according to an embodiment of the present application.
Embodiments of the present application provide a device 30 for implementing three-dimensional GIS data loading in a game engine, the device comprising a processor 300 and a memory 301;
the memory 301 is used for storing a program code 302 and transmitting the program code 302 to the processor;
the processor 300 is configured to perform the steps of one of the identification method embodiments described above according to instructions in the program code 302.
Illustratively, the computer program 302 may be partitioned into one or more modules/units that are stored in the memory 301 and executed by the processor 300 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing the specified functions, which instruction segments are used for describing the execution of the computer program 302 in the terminal device 30.
The terminal device 30 may be a computing device such as a desktop computer, a notebook computer, a palm computer, and a cloud server. The terminal device may include, but is not limited to, a processor 300, a memory 301. It will be appreciated by those skilled in the art that fig. 3 is merely an example of the terminal device 30 and is not meant to be limiting as to the terminal device 30, and may include more or fewer components than shown, or may combine certain components, or different components, e.g., the terminal device may also include input and output devices, network access devices, buses, etc.
The processor 300 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 301 may be an internal storage unit of the terminal device 30, such as a hard disk or a memory of the terminal device 30. The memory 301 may also be an external storage device of the terminal device 30, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the terminal device 30. Further, the memory 301 may also include both an internal storage unit and an external storage device of the terminal device 30. The memory 301 is used for storing the computer program and other programs and data required by the terminal device. The memory 301 may also be used to temporarily store data that has been output or is to be output.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. A method of identification, the method comprising the steps of:
acquiring a first image of an information code;
determining whether a first image of the information code is identifiable,
if yes, identifying information in the information code, and acquiring first information;
if not, identifying an incomplete portion of the first image;
filling a blank pattern on the incomplete part of the first image to generate a second image;
identifying the second image to obtain second information, wherein the blank pattern is identified as a preset character, and the second information comprises first product information and flow information;
judging the position of the preset character in the second information;
if the preset character is positioned at the position of the first product information of the second information, acquiring a third image of the product attached with the information code;
identifying the product in the third image, obtaining second product information, replacing the first product information with the second product information, and obtaining first information;
if the preset character is located at the stream information position of the second information, traversing the information codes of all the products of the first product information, comparing the information codes with the information codes in the database of the product information, acquiring third information and determining the third information as the first information, wherein the third information is information corresponding to the information codes obtained by subtracting the identifiable information codes from the information codes of the products in the database.
2. The identification method according to claim 1, wherein the steps between the acquisition of the first image of the information code and the judgment of whether the first image of the information code is identifiable are further provided with:
determining whether the information code within the first image is complete,
if yes, judging whether the first image of the information code is identifiable;
if not, repeatedly acquiring the first image, and judging the repeatedly acquired first image until the first image is obtained.
3. An identification method as claimed in claim 2, wherein the step of blank filling the incomplete part of the image to generate the second image comprises:
identifying the incomplete part of the first image, and acquiring the position and the range of the incomplete part of the first image;
and filling the position and the range of the blank pattern corresponding to the incomplete part of the first image to obtain a second image.
4. A method of identifying as in claim 3 wherein the step of identifying the incomplete portion of the first image and obtaining the location and extent of the incomplete portion of the first image comprises:
gridding the first image to obtain a gridded first image;
and identifying the position and the range of the incomplete part of the first image according to the gridded first image.
5. The method of claim 4, wherein the step of gridding the first image to obtain a gridded first image comprises:
and carrying out grid division according to the pixels of the first image to generate a gridded first image, wherein any grid is internally provided with a plurality of pixels.
6. An identification system, the system comprising the following modules:
the first acquisition module is used for acquiring a first image of the information code;
a first judging module for judging whether the first image of the information code is identifiable,
if yes, identifying information in the information code, and acquiring first information;
if not, identifying an incomplete portion of the first image;
the first generation module is used for filling the blank pattern of the incomplete part of the first image to generate a second image;
the second acquisition module is used for identifying the second image and acquiring second information, wherein the blank pattern is identified as a preset character, and the second information comprises first product information and flowing water information;
the second judging module is used for judging the position of the preset character on the second information;
when the preset character is positioned at the position of the first product information of the second information, acquiring a third image of the product attached with the information code;
the third acquisition module is used for identifying the product in the third image, acquiring second product information, replacing the first product information with the second product information and acquiring first information;
and the determining module is used for traversing the information codes of all the products of the first product information and comparing the information codes with the information codes in the database of the product information when the preset character is positioned at the stream information position of the second information, acquiring third information and determining the third information as the first information, wherein the third information is information corresponding to the information codes obtained by subtracting the identifiable information codes from the information codes of the products in the database.
7. An identification system according to claim 6, wherein,
the method further comprises a second judging module:
the second judging module is configured to perform between the acquiring the first image of the information code and judging whether the first image of the information code is identifiable:
determining whether the information code within the first image is complete,
if yes, judging whether the first image of the information code is identifiable;
if not, repeatedly acquiring the first image, and judging the repeatedly acquired first image until the first image is obtained.
8. The identification system of claim 7 wherein the step of blank filling the incomplete portion of the image to generate a second image comprises:
identifying the incomplete part of the first image, and acquiring the position and the range of the incomplete part of the first image;
and filling the position of the blank pattern corresponding to the incomplete part of the first image to obtain a second image.
9. The identification system of claim 8, wherein the step of identifying the incomplete portion of the first image and obtaining the location and extent of the incomplete portion of the first image comprises:
gridding the first image to obtain a gridded first image;
and identifying the position of the incomplete part of the first image according to the gridded first image.
10. An identification device comprising a processor and a memory;
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to perform an identification method according to any one of claims 1-5 according to instructions in the program code.
CN202110919670.3A 2021-08-11 2021-08-11 Identification method, system and equipment Active CN113688645B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110919670.3A CN113688645B (en) 2021-08-11 2021-08-11 Identification method, system and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110919670.3A CN113688645B (en) 2021-08-11 2021-08-11 Identification method, system and equipment

Publications (2)

Publication Number Publication Date
CN113688645A CN113688645A (en) 2021-11-23
CN113688645B true CN113688645B (en) 2023-11-03

Family

ID=78579477

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110919670.3A Active CN113688645B (en) 2021-08-11 2021-08-11 Identification method, system and equipment

Country Status (1)

Country Link
CN (1) CN113688645B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002057030A1 (en) * 2001-01-18 2002-07-25 Federal Express Corporation Reading and decoding information on packages
US6540143B1 (en) * 2000-05-19 2003-04-01 Fujitsu Limited System and method for recovering bar code errors
CN104463059A (en) * 2013-09-16 2015-03-25 航天信息股份有限公司 Method for reconstructing damaged figure in QR code recognition
WO2019134603A1 (en) * 2018-01-04 2019-07-11 青岛海尔洗衣机有限公司 Clothing information management system and control method therefor
CN111093029A (en) * 2019-12-31 2020-05-01 深圳云天励飞技术有限公司 Image processing method and related device
CN111340035A (en) * 2020-03-24 2020-06-26 山东浪潮通软信息科技有限公司 Train ticket identification method, system, equipment and medium
CN112330583A (en) * 2019-07-16 2021-02-05 青岛智动精工电子有限公司 Product defect detection method, device, equipment and storage medium
CN112541369A (en) * 2020-12-14 2021-03-23 合肥高维数据技术有限公司 Information code identification method and system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020020746A1 (en) * 1997-12-08 2002-02-21 Semiconductor Insights, Inc. System and method for optical coding
CN103324946B (en) * 2013-07-11 2016-08-17 广州广电运通金融电子股份有限公司 A kind of method and system of paper money recognition classification
CN104778491B (en) * 2014-10-13 2017-11-07 刘整 For the image code of information processing and generation with parsing its apparatus and method
CN106295755A (en) * 2015-05-27 2017-01-04 东莞文胜鼎电子科技有限公司 Two-dimensional code generation method, detection method, detection device and antifalsification label
US10255513B2 (en) * 2016-06-02 2019-04-09 Skyworks Solutions, Inc. Systems and methods for recognition of unreadable characters on printed circuit boards
CN106778996B (en) * 2016-11-28 2019-05-14 深圳大学 It is embedded with the generation system and method for the two dimensional code of visual pattern and reads system
CN110705531B (en) * 2019-09-29 2022-03-18 北京猎户星空科技有限公司 Missing character detection and missing character detection model establishing method and device
CN111160096A (en) * 2019-11-26 2020-05-15 北京海益同展信息科技有限公司 Method, device and system for identifying poultry egg abnormality, storage medium and electronic device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6540143B1 (en) * 2000-05-19 2003-04-01 Fujitsu Limited System and method for recovering bar code errors
WO2002057030A1 (en) * 2001-01-18 2002-07-25 Federal Express Corporation Reading and decoding information on packages
CN104463059A (en) * 2013-09-16 2015-03-25 航天信息股份有限公司 Method for reconstructing damaged figure in QR code recognition
WO2019134603A1 (en) * 2018-01-04 2019-07-11 青岛海尔洗衣机有限公司 Clothing information management system and control method therefor
CN112330583A (en) * 2019-07-16 2021-02-05 青岛智动精工电子有限公司 Product defect detection method, device, equipment and storage medium
CN111093029A (en) * 2019-12-31 2020-05-01 深圳云天励飞技术有限公司 Image processing method and related device
CN111340035A (en) * 2020-03-24 2020-06-26 山东浪潮通软信息科技有限公司 Train ticket identification method, system, equipment and medium
CN112541369A (en) * 2020-12-14 2021-03-23 合肥高维数据技术有限公司 Information code identification method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Restoration of binary images using contour direction chain codes description;Zuguang Cai;《Computer Vision, Graphics, and Image Processing》;第41卷(第1期);第101-106页 *

Also Published As

Publication number Publication date
CN113688645A (en) 2021-11-23

Similar Documents

Publication Publication Date Title
CN107729935B (en) The recognition methods of similar pictures and device, server, storage medium
CN113283446B (en) Method and device for identifying object in image, electronic equipment and storage medium
CN110414502B (en) Image processing method and device, electronic equipment and computer readable medium
CN110992366B (en) Image semantic segmentation method, device and storage medium
CN113705462A (en) Face recognition method and device, electronic equipment and computer readable storage medium
CN114049568A (en) Object shape change detection method, device, equipment and medium based on image comparison
CN112733531A (en) Virtual resource allocation method and device, electronic equipment and computer storage medium
CN112583900B (en) Data processing method for cloud computing and related product
CN111797642B (en) Bar code identification method and terminal
CN113688645B (en) Identification method, system and equipment
CN116137061B (en) Training method and device for quantity statistical model, electronic equipment and storage medium
CN115409041B (en) Unstructured data extraction method, device, equipment and storage medium
CN113705686B (en) Image classification method, device, electronic equipment and readable storage medium
CN115797291A (en) Circuit terminal identification method and device, computer equipment and storage medium
CN113673268B (en) Identification method, system and equipment for different brightness
CN113705459A (en) Face snapshot method and device, electronic equipment and storage medium
CN110287943B (en) Image object recognition method and device, electronic equipment and storage medium
CN113255456A (en) Non-active living body detection method, device, electronic equipment and storage medium
CN112541899A (en) Incomplete certificate detection method and device, electronic equipment and computer storage medium
CN114359645B (en) Image expansion method, device, equipment and storage medium based on characteristic area
CN118014599B (en) Block chain-based data tracing method, system, equipment and medium
CN114708592B (en) Seal security level judging method, device, equipment and computer readable storage medium
CN116468804B (en) Laser radar and camera external parameter calibration precision evaluation method and device
CN115994203B (en) AI-based data annotation processing method, system and AI center
CN113888086B (en) Article signing method, device, equipment and storage medium based on image recognition

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant