WO2021239093A1 - 编码采集***及方法 - Google Patents
编码采集***及方法 Download PDFInfo
- Publication number
- WO2021239093A1 WO2021239093A1 PCT/CN2021/096650 CN2021096650W WO2021239093A1 WO 2021239093 A1 WO2021239093 A1 WO 2021239093A1 CN 2021096650 W CN2021096650 W CN 2021096650W WO 2021239093 A1 WO2021239093 A1 WO 2021239093A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image
- code
- memory
- memory stick
- coding
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/56—Cameras or camera modules comprising electronic image sensors; Control thereof provided with illuminating means
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods 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/1404—Methods for optical code recognition
- G06K7/1439—Methods for optical code recognition including a method step for retrieval of the optical code
- G06K7/1443—Methods for optical code recognition including a method step for retrieval of the optical code locating of the code in an image
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods 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/1404—Methods for optical code recognition
- G06K7/1408—Methods for optical code recognition the method being specifically adapted for the type of code
- G06K7/1417—2D bar codes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods 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/1404—Methods for optical code recognition
- G06K7/1439—Methods for optical code recognition including a method step for retrieval of the optical code
- G06K7/1447—Methods for optical code recognition including a method step for retrieval of the optical code extracting optical codes from image or text carrying said optical code
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/66—Remote control of cameras or camera parts, e.g. by remote control devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/74—Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
- H04N5/2628—Alteration of picture size, shape, position or orientation, e.g. zooming, rotation, rolling, perspective, translation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20021—Dividing image into blocks, subimages or windows
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20112—Image segmentation details
- G06T2207/20132—Image cropping
Definitions
- This application relates to a code acquisition system and method.
- DIMMs Dual Inline Memory Modules
- This application provides a code acquisition system and method.
- the first aspect of the present application provides a code acquisition system, including:
- the transfer track is used to transfer the memory module and limit the position and orientation of the memory module
- An image capture device for capturing images of the memory stick
- An image processing device includes a coding region definition module and a coding recognition module, the coding region definition module is used to divide the coding region according to the type, size and position of the pre-loaded memory bar code, the coding recognition module It is electrically connected with the image acquisition device and the code area definition module, respectively, and is used to receive the memory stick image and identify the code of the memory stick according to the memory stick image and the coding area.
- the second aspect of the present application further provides a code collection method, including:
- Figure 1 is a schematic structural diagram of a code acquisition system provided by an embodiment of this application.
- FIG. 2 is a schematic diagram of an encoding area on a DIMM strip provided by an embodiment of the application
- FIG. 3 is a schematic diagram of the placement direction of the memory bar on the transmission track in the code acquisition system provided by an embodiment of the application;
- FIG. 4 is a schematic diagram of the electrical connection structure of an image processing device in a code acquisition system provided by an embodiment of the application;
- FIG. 5 is a schematic diagram of the electrical connection structure of a code acquisition system provided by an embodiment of the application.
- FIG. 6 is a schematic diagram of the corresponding storage relationship between the control process and the database form in a code acquisition system provided by an embodiment of the application;
- Fig. 7 is a flow chart of the control process of a code acquisition system provided by an embodiment of the application.
- FIG. 8 is a flow chart of a memory bar code collection process of a code collection system provided by an embodiment of the application.
- the present application provides a code acquisition system 100.
- the code acquisition system 100 includes a transmission track 10, an image acquisition device 20 and an image processing device 30.
- the conveying track 10 is used to convey the memory module and define the position and placement direction of the memory module.
- the image capture device 20 is used to capture images of the memory stick.
- the image processing device 30 includes a code area definition module 310 and a code recognition module 320.
- the code area definition module 310 is used to divide the code area according to the type, size and position of the pre-loaded memory bar code.
- the code recognition module 320 and the image acquisition device 20 It is electrically connected to the code area definition module 310, and is used to receive the memory bar image and identify the code of the memory bar according to the memory bar image and the code area.
- the code collection system 100 is not limited to the collection of memory bar codes, and can also be applied to other products that need to be coded and collected.
- this application does not limit the encoding type of the memory stick, and the encoding format may include but not limited to Code-128, Data Matrix, QR-Code.
- the memory module may be, but is not limited to, a DIMM module. Since the codes on the DIMM bar include DIMM bar codes and chip two-dimensional codes, the coding dimensions of the DIMM bar can include two-dimensional codes and two-dimensional codes.
- the open source code collection libraries pylibdmtx and pyzbar can be used to realize the recognition of multiple memory bar codes.
- the transfer track can be based on the number of codes and the code position on the current type of memory stick. 10 preset the position and orientation of the memory stick.
- the direction of the length of the memory module may be the direction of movement of the transfer track 10.
- the memory modules of the same type are arranged in the same direction, and the distances between the two ends of the same type of memory modules in the width direction of the conveying track 10 are fixed. It can be understood that by setting the transmission track 10, the position difference of codes of the same type of memory bar can be reduced, and the accuracy of code recognition of the code acquisition system 100 can be improved.
- the image acquisition device 20 may include, but is not limited to, a camera.
- the frame rate of the camera used may be equal to or greater than 25FPS, and the resolution of the collected memory stick image may be equal to or greater than 1080p (1920 ⁇ 1080).
- the camera lens can be selected according to the actual situation, that is, the camera lens can shoot all the codes of the memory stick.
- the image processing device 30 can identify the aforementioned Code-128, Data Matrix, QR-Code and other encoding formats and encoding positions.
- the code area definition module 310 can divide any number and position of code areas according to the type, size, and position of the pre-loaded memory bar code. That is, the code area definition module 310 can pre-input the type of memory bar to be coded according to the human-computer interaction device. , Automatically obtain the type, size, and position of the memory bar code in this type of memory bar, so as to realize the division of the code area according to the above information.
- the coding region definition module 310 divides the coding region according to the type, size, and position of the preloaded memory bar code, and can also perform classification on the divided coding regions of the same type. Number, and identify the memory bar codes in different coding areas in sequence according to the numbering sequence. It can be understood that the coding area is divided and numbered for multiple memory module codes on the same type of memory module, and the memory module codes with the same number are guaranteed to have the same position and orientation on the memory module image, which can improve the recognition of memory module codes. Accuracy.
- the defined coding regions and their corresponding numbers can be saved as a coding region distribution plan, so that the codes of this type of memory stick can be quickly loaded in subsequent collections, without the need to re-divide the coding regions. It can be understood that the division and numbering of the code area can ensure the targeted recognition of different codes on the memory stick, thereby improving the accuracy of the code recognition of the memory stick.
- the code acquisition system 100 includes a transmission track 10, an image acquisition device 20, and an image processing device 30.
- the transfer of the memory bar through the transfer track 10 can improve the recognition speed of the memory bar code, and at the same time, the transfer track 10 restricts the position and placement direction of the memory bar to improve the accuracy of the memory bar code recognition.
- the image capture device 20 is used to capture images of the memory stick.
- the image processing device 30 includes a code area definition module 310 and a code recognition module 320.
- the code area definition module 310 is used to divide the code area according to the type, size and position of the pre-loaded memory bar code. The setting of the code area is conducive to the targeted identification of multiple codes on the memory bar, which can improve the code collection system 100 code recognition speed and code recognition accuracy.
- the code recognition module 320 is electrically connected to the image acquisition device 20 and the code region definition module 310, respectively, and is used to receive the memory stick image and recognize the memory stick code according to the memory stick image and the coding region. It can be understood that the code acquisition system 100 provided in the present application can acquire all the codes on the memory bar at a time through one frame of the memory bar image, which improves the collection efficiency of the memory bar code.
- the code acquisition system 400 further includes a lighting device 40.
- the lighting device 40 is used to provide the light required for the image acquisition process of the memory stick.
- the DIMM code and Chip code in the DIMM strip are close to the background color, that is, the code contrast is low.
- the chip code size is smaller, such as 4mm ⁇ 4mm. Therefore, when recognizing the code on the DIMM bar, the image acquisition device 20 may not be able to obtain a clear image of the memory bar.
- the lighting device 40 may be used to provide the light required in the image acquisition process of the memory stick. It can be understood that the type and wavelength band of the light source in the lighting device 40 can be selected according to actual needs.
- the lighting device 40 may be, but is not limited to, a light emitting diode (Light Emitting Diode, LED), and its wavelength range may be, but not limited to, 380 nm to 780 nm, that is, white light. It can be understood that the use of white light for illumination by the lighting device 40 can ensure the reflection of light from different materials on the DIMM strip, thereby improving the clarity of the DIMM strip image and improving the accuracy of code recognition by the code acquisition system 400.
- a light emitting diode Light Emitting Diode, LED
- the use of white light for illumination by the lighting device 40 can ensure the reflection of light from different materials on the DIMM strip, thereby improving the clarity of the DIMM strip image and improving the accuracy of code recognition by the code acquisition system 400.
- the light emission direction of the lighting device 40 is parallel to the conveying plane of the conveying track 10 and perpendicular to the extending direction of the conveying track 10.
- the light exiting direction of the illuminating device 40 is parallel to the conveying plane of the conveying track 10, that is, the light exiting direction is perpendicular to the normal direction of the encoding surface of the memory stick, that is, the light irradiates the entire memory stick surface in parallel. It can be understood that since the light emission direction of the illuminating device 40 is parallel to the transmission plane of the transmission track 10, the gap between the light energy reflected by different materials on the memory module can be maximized, thereby improving the contrast of the image of the memory module.
- the memory bar code has slight protrusions on the surface of the memory bar, and the protrusions will reflect light to a certain extent, the light emission direction of the illuminating device 40 is parallel to the transmission plane of the transport track 10, which can also reduce the impact of the protrusions on the light.
- the reflection of the memory bar can improve the contrast of the image of the memory bar and the accuracy of the code recognition of the memory bar.
- the side where the code on the memory module is located can be set close to the lighting device 40, so as to prevent the light parallel to the surface of the memory module from being Blocking by bumps in non-coding distinctions.
- the DIMM coding area on the DIMM strip can be arranged close to the lighting device 40.
- the code recognition module 320 includes an image enlargement unit 321 and an image recognition unit 322.
- the image enlargement unit 321 is electrically connected to the image acquisition device 20 and the coding region definition module 310, respectively, and is used for amplifying different coding regions of the memory stick image to different preset multiples.
- the image recognition unit 322 is electrically connected to the image magnification unit 321, and is used for recognizing codes in different coding regions of the enlarged memory stick image.
- the image magnifying unit 321 can encode different codes of the memory bar images.
- the area is enlarged to different preset multiples.
- the preset multiple can be preset according to the type of memory bar code. It can be understood that by providing the image magnifying unit 321, the accuracy of encoding and recognizing a small-sized memory bar can be improved.
- the image recognition unit 322 can perform targeted recognition on the memory bar codes of different coding regions.
- the image recognition unit 322 can recognize multiple coding formats and coding positions including but not limited to Code-128, Data Matrix, QR-Code, etc. It can be understood that the image recognition unit 322 can realize simultaneous recognition of the codes of the memory modules in multiple coding regions, which can increase the code recognition speed of the code collection system 100 and expand the application range of the code collection system 100.
- the code recognition module 320 further includes an image cutting unit 323.
- the image cutting unit 323 is electrically connected to the image acquisition device 20, the coding region definition module 310, and the image magnifying unit 321, respectively, for cutting the memory stick image according to the coding region, and sending the cut memory stick image to the image magnifying unit 321 .
- the coding area only occupies a small part of the memory stick image, and most of the non-coding areas do not include the coding information to be recognized. Therefore, by providing the image cutting unit 323, it can be ensured that the image recognition unit 322 only performs processing operations on the coded area, reduces the amount of calculation, and avoids the interference of the non-coded area when the image recognition unit 322 recognizes the code of the memory bar. Improve the code collection speed of the code collection system 100 and the accuracy of memory bar code recognition.
- the image cutting unit 323 may first cut the memory stick image collected by the image acquisition device 20 according to the pre-divided coding area, that is, cut the overall image of the coding area into mutually independent sub-images.
- the image can include one or more memory stick codes.
- each sub-image may include a memory bar code, so that the image magnifying unit 321 separately amplifies each memory bar code.
- each sub-image may also include multiple memory bar codes. In this embodiment, the encoding types of multiple memory sticks located on a sub-image may be the same.
- the image enlargement unit 321 is used to enlarge the encoding of the memory sticks, the encoding magnifications of the memory sticks of the same category may be the same. Therefore, by cutting the memory bar codes of the same type into one sub-image, the image cutting efficiency can be improved, thereby increasing the code collection speed of the code collection system 100.
- the code recognition module 320 further includes an image preprocessing unit 324 and an image binarization unit 325.
- the image preprocessing unit 324 is electrically connected to the image acquisition device 20 and the image cutting unit 323 respectively, and is used to convert the memory stick image into a grayscale image and send it to the image cutting unit 323.
- the image preprocessing unit 324 is electrically connected to the image acquisition device 20 and the image cutting unit 323, respectively. After the image preprocessing unit 324 receives the memory stick image sent by the image acquisition device 20, it converts the memory stick image into a grayscale image. , And send to the image cutting unit 323.
- the image cutting unit 323 is electrically connected to the coding region definition module 310, the image preprocessing unit 324, and the image magnifying unit 321, respectively, for cutting the gray image according to the coding region, and sending the cut gray image to the image magnifying unit 321.
- the image enlargement unit 321 enlarges the multiple gray-scale sub-images after cutting.
- the image binarization unit 325 is electrically connected to the image enlargement unit 321 and the image recognition unit 322, respectively, and is used to perform binarization processing on the enlarged memory stick image and send it to the image recognition unit 322.
- the image preprocessing unit 324 converts the memory bar image into a grayscale image, which can reduce the amount of data to be processed in the memory bar image, so that it can be While affecting the accuracy of code recognition, the recognition speed of the memory bar code by the image recognition unit 322 is improved.
- the image binarization unit 325 may adopt the maximum between-class variance method (OTSU) in the binarization method to obtain the adaptive threshold, and convert the grayscale image of the memory stick into binary according to the adaptive threshold. ⁇ image.
- OSU maximum between-class variance method
- the image magnifying unit 321 can be used to enlarge the image of the memory stick, so as to improve the binarization accuracy rate of the image binarization unit 325, that is, determine the memory stick The success rate of coding and background.
- the setting of the image binarization unit 325 can greatly remove non-encoded images, improve the contrast between the memory bar code and the background in the memory bar image, and improve the accuracy of memory bar code recognition.
- the image preprocessing unit 324 may first convert the memory stick image into a grayscale image, and send the grayscale image to the image cutting unit 323. After the image cutting unit 323 completes the cutting of the memory stick image according to the pre-divided coding region, the obtained sub-image may be sent to the image enlargement unit 321. The image enlargement unit 321 may enlarge each sub-image to a desired multiple, and send it to the image binarization unit 325 for image binarization processing. Finally, the binarization unit 325 may send the multiple sub-images after binarization processing to the image recognition unit 322 to realize the recognition of multiple memory bar codes.
- the code acquisition system 100 further includes a process control device 50.
- the process control device 50 is electrically connected to the conveying track 10, the image acquisition device 20, the image processing device 30, and the lighting device 40, respectively, for controlling the conveying track 10, the image capturing device 20, the image processing device 30, and the lighting device 40 according to a preset process Start or stop, receive the identified memory bar code, and integrate the memory bar code into the preset form.
- the process control device 50 controls the transport track 10, the image capture device 20, the image processing device 30, and the lighting device 40 before starting according to the preset process, and can set and load the required startup parameters. Pre-configured startup parameters.
- the startup parameters may include camera parameters (device number and image resolution), system control parameters (status acquisition sensitivity and program running detection), system detection parameters (memory code type, memory code magnification, and Default coding area) and so on.
- the state acquisition sensitivity can be set by setting the communication between the flow control device 50 and the data storage device 60, wherein the higher the communication between the flow control device 50 and the data storage device 60, the lower the state acquisition sensitivity.
- the above startup parameter settings can be set according to actual needs. By setting the above-mentioned startup parameters, the application range of the code acquisition system 100 can be expanded, and the accuracy of the code recognition of the code acquisition system 100 can be improved.
- a computer, a screen, a keyboard, and a mouse can be used as the process control device 50 together.
- the coding area can be pre-divided by buttons plus a mouse to drag the bounding range, and the specific buttons used can be set according to actual needs.
- the DIMM coding area on the memory bar can be set through the key [0] on the keyboard, and the keys [1] ⁇ [9] and [a] ⁇ [h] can be set respectively Chip coding areas numbered 1-9 and numbered 10-17, that is, by pressing the buttons [1] ⁇ [9] and [a] ⁇ [h], and dragging the mouse to frame the coding area.
- any system in the process control device 50 can read or change the transmission track 10, the image acquisition device 20, the image processing device 30, and the lighting device 40 through the data storage device 60.
- the status information of the encoding collection subsystem may specifically include, but is not limited to, program information, current processing status, current processing status changes, and current encoding area distribution.
- the process control device 50 includes a process control module 510 and a data integration module 520.
- the process control module 510 is electrically connected to the transfer track 10, the image acquisition device 20, the image processing device 30, and the lighting device 40, respectively, and is used to control the transfer track 10, the image capture device 20, the image processing device 30, and the lighting device 40 according to the preset process Start or stop.
- the data integration module 520 is electrically connected to the image processing device 30, and is used to receive the recognized memory bar code, determine whether the memory bar code is successfully recognized, and integrate the memory bar code into a preset form according to the judgment result.
- the process control module 510 may start the transmission track 10 before the memory stick has been delivered to the preset shooting position, so as to realize the transmission of the memory stick, and otherwise, it will pause. Transmit.
- the process control module 510 may control the lighting device 40 to turn on after the memory stick is delivered to the shooting position.
- the startup parameters can be initialized first, to determine whether the image acquisition device 20 is connected, and the image acquisition device 20 is used to acquire the image of the memory bar.
- the process control module 510 can control the lighting device 40 to turn off.
- control state parameters of the image processing device 30 can be updated by directly generating control instructions or changing the data in the data storage device 60 to control the image processing device 30 to acquire the memory stick. coding.
- the process control module 510 may also include a repetition count accumulator.
- the repetition accumulator can be used to count the number of failed code acquisitions on the same memory bank.
- the code acquisition failure refers to the failure to obtain the memory bar codes of all the code areas on a memory bar.
- the process control module 510 may also control the image processing device 30 to shut down after the memory bar code acquisition is successful or the cumulative number of acquisitions exceeds a preset value.
- the collected data can be integrated through the data integration module 520.
- the data of the memory bar code and its number in the collected code sheet in the data storage device 60 can be aggregated, that is, the memory bar code and its number are added to the first coded data integration sheet (DIMM code) In the form of integration with the second coded data (Chip code), and fill in "Yes” in the "Whether the collection was successful” field in the above form.
- DIMM code first coded data integration sheet
- Chip code second coded data
- the collected code sheet can be cleared by controlling the state of the image processing device 30.
- the data of the memory bar code and its number in the collected code sheet in the data storage device 60 can be aggregated, that is, the memory bar code and its number are added to the first coded data integration sheet (DIMM code) In the form of integrating with the second coded data (Chip code), and fill in "No” in the "Whether the collection was successful" field in the above form.
- DIMM code first coded data integration sheet
- the collected code sheet can be cleared by controlling the state of the image processing device 30.
- the forms stored in the data storage device 60 can be referred to Table 1 to Table 6.
- Element name Field name Field type Field example enter Primary key Foreign key Identification number id digi 9 X * To value value alph Array Y To To describe des alph Chip code Y To To Program variable name vname alph Code chip Y To To Program variable type vtype alph string Y To To To
- Element name Field name Field type Field example enter Primary key Foreign key Area number regionID digi 9 Y * To coding num alph 12345678912345 Y To To
- Element name Field name Field type Field example enter Primary key Foreign key Identification number id digi 4 X * To value value alph Null Y To To describe des alph Chip code Y To To To
- Element name Field name Field type Field example enter Primary key Foreign key DIMM identification number id_dimm digi2 6 X * * Creation date and time ctime timelabel 2020-4-11 15:21:01 Y To To DIMM coding cdimm alph 20200411006910103 Y To To Whether the collection is successful pass boolean Yes Y To To To
- Element name Field name Field type Field example enter Primary key Foreign key Chip identification number id_chip digi2 13 X * To Creation date and time ctime timelabel 2020-4-11 15:21:01 Y To To Chip number nchip digi 5 Y To To Chip coding cchip alph 12345678912345 Y To To Whether the collection is successful pass boolean Yes Y To To DIMM number id_dimm digi2 2 Y To To To To DIMM number id_dimm digi2 2 Y To To To To To Whether the collection is successful pass boolean Yes Y To To DIMM number id_dimm digi2 2 Y To To To To DIMM number id_dimm digi2 2 Y To To To To
- the code acquisition system 100 further includes a data storage device 60.
- the data storage device 60 is electrically connected to the process control device 50 and the image processing device 30, respectively, for storing preset processes, memory bar codes, and preset forms .
- the data storage device 60 may be, but is not limited to, a hardware device such as data storage in a computer device, that is, a database.
- the data storage device 60 can be used for state communication and data access between the process control device 50 and the transfer track 10, the image acquisition device 20, the image processing device 30, and the lighting device 40.
- By providing the data storage device 60 it is possible to store the coded data of the memory bar after the integration and association, which is convenient for querying the coded data of the memory.
- Code acquisition methods include:
- Step S10 preload the type, size and position of the memory bar code
- Step S20 Divide the code area according to the type, size and position of the memory bar code
- Step S30 transfer the memory bar to the preset position
- Step S40 collecting an image of the memory stick
- Step S50 Identify the memory bar code according to the code area and the memory bar image.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Electromagnetism (AREA)
- General Health & Medical Sciences (AREA)
- Toxicology (AREA)
- Artificial Intelligence (AREA)
- Health & Medical Sciences (AREA)
- Image Processing (AREA)
- Image Input (AREA)
Abstract
一种编码采集***及方法。编码采集***包括传送轨道、图像采集装置和图像处理装置。通过传送轨道传送内存条可以提高内存条编码的识别速度,同时传送轨道对内存条的位置和摆置方向进行限定可以提高内存条编码识别的准确度。图像采集装置用于采集内存条图像。图像处理装置中的编码区域定义模块用于根据预先载入的内存条编码的类型、尺寸以及位置划分编码区域,编码区域的设定有利于对内存条上的多个编码进行针对性识别,可以提高编码识别速度以及编码识别的准确度。编码识别模块根据内存条图像以及编码区域对内存条编码进行识别。
Description
相关申请交叉引用
本申请要求2020年05月29日递交的、标题为“编码采集***及方法”、申请号为2020104752648的中国申请以及2021年5月25日递交的、标题为“编码采集***及方法”、申请号为2021105741895的中国申请的优先权,其公开内容通过引用全部结合在本申请中。
本申请涉及一种编码采集***及方法。
在传统方案中,人工操作扫码设备对双列直插式存储模块(Dual Inline Memory Modules,DIMM)的编码进行采集时,一次只能采集一个编码,故获得一条DIMM的全部编码需要九次或九次以上扫码操作,编码采集效率较低。
发明内容
本申请提供一种编码采集***及方法。
根据多个实施例,本申请第一方面提供一种编码采集***,包括:
传送轨道,用于传送内存条并限定所述内存条的位置和摆置方向;
图像采集装置,用于采集内存条图像;以及
图像处理装置,所述图像处理装置包括编码区域定义模块和编码识别模 块,所述编码区域定义模块用于根据预先载入的内存条编码的类型、尺寸以及位置划分编码区域,所述编码识别模块与所述图像采集装置和所述编码区域定义模块分别电连接,用于接收所述内存条图像,并根据所述内存条图像以及所述编码区域对所述内存条编码进行识别。
根据多个实施例,本申请第二方面还提供一种编码采集方法,包括:
预先载入内存条编码的类型、尺寸以及位置;
根据所述内存条编码的类型、尺寸以及位置划分编码区域;
传送内存条至预设位置;
采集内存条图像;以及
根据所述编码区域和所述内存条图像对所述内存条编码进行识别。
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征和优点将从说明书、附图以及权利要求书变得明显。
为了更清楚地说明本申请实施例或传统技术中的技术方案,下面将对实施例或传统技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例提供的一种编码采集***结构示意图;
图2为本申请实施例提供的一种DIMM条上的编码区域示意图;
图3为本申请实施例提供的一种编码采集***中内存条在传送轨道上的摆置方向示意图;
图4为本申请实施例提供的一种编码采集***中图像处理装置电连接结 构示意图;
图5为本申请实施例提供的一种编码采集***的电连接结构示意图;
图6为本申请实施例提供的一种编码采集***中控制流程与数据库表单对应存储关系示意图;
图7为本申请实施例提供的一种编码采集***的控制过程流程图;
图8为本申请实施例提供的一种编码采集***的内存条编码采集过程流程图。
附图标号说明
100-编码采集***,10-传送轨道,20-图像采集装置,30-图像处理装置,310-编码区域定义模块,320-编码识别模块,321-图像放大单元,322-图像识别单元,323-图像切割单元,324-图像预处理单元,325-图像二值化单元,40-照明装置,50-流程控制装置,510-流程控制模块,520-数据整合模块,60-数据存储装置。
为使本申请的上述目的、特征和优点能够更加明显易懂,下面结合附图对本申请的具体实施方式做详细的说明。在下面的描述中阐述了很多具体细节以便于充分理解本申请。但是本申请能够以很多不同于在此描述的其它方式来实施,本领域技术人员可以在不违背本申请内涵的情况下做类似改进,因此本申请不受下面公开的具体实施的限制。
需要说明的是,当元件被称为“固定于”另一个元件,它可以直接在另一个元件上或者也可以存在居中的元件。当一个元件被认为是“连接”另一个元件,它可以是直接连接到另一个元件或者可能同时存在居中元件。
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请。本文所使用的术语“及/或”包括一个或多个相关的所列项目的任意的和所有的组合。
请参见图1,本申请提供一种编码采集***100,编码采集***100包括传送轨道10、图像采集装置20和图像处理装置30。
传送轨道10用于传送内存条并限定内存条的位置和摆置方向。
图像采集装置20用于采集内存条图像。
图像处理装置30包括编码区域定义模块310和编码识别模块320,编码区域定义模块310用于根据预先载入的内存条编码的类型、尺寸以及位置划分编码区域,编码识别模块320与图像采集装置20和编码区域定义模块310分别电连接,用于接收内存条图像,并根据内存条图像以及编码区域对内存条编码进行识别。
可以理解,本申请提供的编码采集***100不仅限于内存条编码的采集,也可以应用于其他需要进行编码采集的产品。同时,本申请对内存条的编码类型不作限定,编码格式可以包括但不仅限于Code-128,Data Matrix,QR-Code。在其中一个实施例中,内存条可以为但不限于DIMM条。由于DIMM条上的编码包括DIMM条形码以及芯片(Chip)二维码,故DIMM条的编码维度可以包括一维码和二维码两种。在其中一个实施例中,可以采用开源的编码采集库pylibdmtx和pyzbar以实现多种内存条编码的识别。
在其中一个实施例中,由于不同种类的内存条上的编码数量和编码位置可能不相同,故使用传送轨道10传送内存条时,可以根据当前类型内存条上 的编码数量和编码位置在传送轨道10上预先设定内存条的位置和摆置方向。本实施例中,内存条的长度所在方向可以为传送轨道10的运动方向。其中,相同类型的内存条的摆置方向相同,且相同类型的内存条相对于传送轨道10宽度方向的两端的距离固定。可以理解,通过设置传送轨道10,可以降低同类型内存条编码的位置差异,提高编码采集***100编码识别的准确度。
在其中一个实施例中,图像采集装置20可以包括但不仅限于摄像机。本实施例中,采用的摄像机的帧频可以等于或大于25FPS,采集到的内存条图像的分辨率可以等于或大于1080p(1920×1080)。另外,摄像机的镜头可以根据实际情况进行选择,即摄像机的镜头可以拍摄内存条的全部编码即可。
在其中一个实施例中,图像处理装置30可以识别上述Code-128,Data Matrix,QR-Code等多种编码格式以及编码位置。编码区域定义模块310可以根据预先载入的内存条编码的类型、尺寸以及位置划分任意数量与位置的编码区域,即编码区域定义模块310可以根据人机交互设备预先输入待采集编码的内存条类型,自动获取该类内存条中的内存条编码的类型、尺寸以及位置,从而根据上述信息实现编码区域的划分。
请一并参见图2,在其中一个实施例中,编码区域定义模块310根据预先载入的内存条编码的类型、尺寸以及位置划分编码区域的同时,还可以对划分的同类型的编码区域进行编号,并按照编号顺序依次对不同的编码区域内的内存条编码进行识别。可以理解,对同类型内存条上的多个内存条编码进行编码区域划分并编号,并保证编号相同的内存条编码在内存条图像上的位置和摆置方向相同,可以提高内存条编码识别的准确度。在其中一个实施例中,已定义的编码区域及其对应编号可以保存为编码区域分布方案,以便后续采集该类型内存条的编码时可以快速载入,无需重新对编码区域进行划 分。可以理解,编码区域的划分及编号可以保证对内存条上的不同编码的针对性识别,从而提高内存条编码识别的准确度。
本申请提供的编码采集***100包括传送轨道10、图像采集装置20和图像处理装置30。通过传送轨道10传送内存条可以提高内存条编码的识别速度,同时传送轨道10对内存条的位置和摆置方向进行限定可以提高内存条编码识别的准确度。图像采集装置20用于采集内存条图像。图像处理装置30包括编码区域定义模块310和编码识别模块320。编码区域定义模块310用于根据预先载入的内存条编码的类型、尺寸以及位置划分编码区域,编码区域的设定有利于对内存条上的多个编码进行针对性识别,可以提高编码采集***100的编码识别速度以及编码识别的准确度。编码识别模块320与图像采集装置20和编码区域定义模块310分别电连接,用于接收内存条图像并根据内存条图像以及编码区域对内存条编码进行识别。可以理解,本申请提供的编码采集***100可以通过一帧内存条图像一次性获取内存条上的全部编码,提高了内存条编码的采集效率。
在其中一个实施例中,编码采集***400还包括照明装置40。照明装置40用于提供内存条图像采集过程所需的光线。
在其中一个实施例中,DIMM条中的DIMM编码以及Chip编码均与背景颜色接近,即编码对比度较低。另外,Chip编码尺寸较小,如4mm×4mm。因此,在对DIMM条上的编码进行识别时,图像采集装置20可能无法获取清晰的内存条图像。本实施例中,可以通过照明装置40提供内存条图像采集过程中所需的光线。可以理解,照明装置40中光源的类型以及波段可以根据实际需要进行选择。在其中一个实施例中,照明装置40可以为但不仅限于发光二极管(Light Emitting Diode,LED),其波段可以为但不仅限于 380nm~780nm,即白光。可以理解,照明装置40采用白光进行照明可以保证DIMM条上不同材料对光线的反射,从而提高DIMM条图像的清晰度,提高编码采集***400编码识别的准确度。
在其中一个实施例中,照明装置40的光线出射方向平行于传送轨道10的传送平面,且垂直于传送轨道10的延伸方向。
在其中一个实施例中,照明装置40的光线出射方向平行于传送轨道10的传送平面,即光线出射方向与内存条编码表面的法线方向垂直,也即光线平行地照射过整个内存条表面。可以理解,由于照明装置40的光线出射方向平行于传送轨道10的传送平面,故可以使内存条上不同材料反射的光线能量之间的差距实现最大化,从而提高内存条图像的对比度。另外,由于内存条编码相对内存条表面存在细微的凸起,而凸起会对光线产生一定的反射,照明装置40的光线出射方向平行于传送轨道10的传送平面也可以减少凸起物对光线的反射,提高内存条图像的对比度以及内存条编码识别的准确度。
请一并参见图3,在其中一个实施例中,在设置内存条的摆置方向时,可以将内存条上编码所在的一侧靠近照明装置40设置,从而避免平行于内存条表面的光线被非编码区别中凸起物遮挡。本实施例中,可以将DIMM条上的DIMM编码区域靠近照明装置40设置。
在其中一个实施例中,编码识别模块320包括图像放大单元321和图像识别单元322。
图像放大单元321与图像采集装置20和编码区域定义模块310分别电连接,用于将内存条图像的不同编码区域放大至不同的预设倍数。
图像识别单元322与图像放大单元321电连接,用于对放大后的内存条图像的不同编码区域内的编码进行识别。
在其中一个实施例中,由于内存条上存在多种类型的内存条编码,如条形码和二维码,而条形码和二维码的大小不同,故图像放大单元321可以将内存条图像的不同编码区域放大至不同的预设倍数。其中,预设倍数可以根据内存条编码的类型进行预先设定。可以理解,通过设置图像放大单元321,可以提高对小尺寸内存条编码识别的准确度。
在其中一个实施例中,图像识别单元322可以对不同编码区域的内存条编码进行针对性识别。其中,图像识别单元322可以识别包括但不仅限于Code-128,Data Matrix,QR-Code等多种编码格式以及编码位置。可以理解,图像识别单元322可以实现对多个编码区域中内存条编码的同时识别,可以提高编码采集***100的编码识别速度,并扩大编码采集***100应用范围。
在其中一个实施例中,编码识别模块320还包括图像切割单元323。图像切割单元323与图像采集装置20、编码区域定义模块310和图像放大单元321分别电连接,用于根据编码区域对内存条图像进行切割,并将切割后的内存条图像发送至图像放大单元321。
可以理解,在采集到的每个内存条图像中,编码区域只占据内存条图像的一小部分,另外大部分非编码区域不包括待识别的编码信息。因此,通过设置图像切割单元323,可以保证图像识别单元322仅对编码区域进行处理运算,减少了运算量,并避免了图像识别单元322对内存条编码进行识别时受到非编码区域的干扰,可以提高编码采集***100的编码采集速度和内存条编码识别的准确度。
在其中一个实施例中,图像切割单元323可以根据预先划分的编码区域,首先对图像采集装置20采集到的内存条图像进行切割,即将编码区域的整体图像切割为相互独立的子图像,每个子图像可以包括一个或多个内存条编码。 在其中一个实施例中,每个子图像可以包括一个内存条编码,以便于图像放大单元321分别对每个内存条编码进行放大。在另外一个实施例中,每个子图像还可以包括多个内存条编码。本实施例中,位于一个子图像上的多个内存条编码的类型可以相同,这是由于在采用图像放大单元321对内存条编码进行放大时,同类别的内存条编码的放大倍数可以相同。因此,通过将类型相同的内存条编码切割为一个子图像,可以提高图像切割效率,从而提高编码采集***100的编码采集速度。
在其中一个实施例中,编码识别模块320还包括图像预处理单元324和图像二值化单元325。
图像预处理单元324与图像采集装置20和图像切割单元323分别电连接,用于将内存条图像转化为灰度图像,并发送至图像切割单元323。本实施例中,图像预处理单元324与图像采集装置20和图像切割单元323分别电连接,图像预处理单元324接收图像采集装置20发送的内存条图像后,将内存条图像转化为灰度图像,并发送至图像切割单元323。图像切割单元323与编码区域定义模块310、图像预处理单元324和图像放大单元321分别电连接,用于根据编码区域对灰度图像进行切割,并将切割后的灰度图像发送至图像放大单元321,图像放大单元321对切割后的多个灰度子图像进行放大。
图像二值化单元325与图像放大单元321和图像识别单元322分别电连接,用于对放大后的内存条图像进行二值化处理,并发送至图像识别单元322。
在其中一个实施例中,由于内存条编码通常不包括颜色信息,故通过图像预处理单元324将内存条图像转化为灰度图像,可以减少内存条图像中待处理的数据量,从而可以在不影响编码识别准确度的同时,提高图像识别单 元322对内存条编码的识别速度。
在其中一个实施例中,图像二值化单元325可以采用二值化方法中的最大类间方差法(OTSU)获得自适应阈值,并根据自适应阈值将内存条的灰度图像转化为二值化图像。可以理解,在对内存条的灰度图像进行二值化处理前,可以采用图像放大单元321对内存条图像进行放大,从而提高图像二值化单元325的二值化正确率,即判定内存条编码和背景的成功率。可以理解,图像二值化单元325的设置可以大幅度去除非编码图像,提高内存条图像中内存条编码与背景的对比度,提高内存条编码识别的准确度。
请一并参见图4,在其中一个实施例中,图像预处理单元324可以首先将内存条图像转化为灰度图像,并将灰度图像发送至图像切割单元323。图像切割单元323根据预先划分的编码区域完成对内存条图像的切割后,可以将得到的子图像发送至图像放大单元321。图像放大单元321可以将每个子图像放大至所需倍数,并发送至图像二值化单元325进行图像二值化处理。最后,二值化单元325可以将二值化处理后的多个子图像发送至图像识别单元322,以实现对多个内存条编码的识别。
在其中一个实施例中,编码采集***100还包括流程控制装置50。流程控制装置50与传送轨道10、图像采集装置20、图像处理装置30以及照明装置40分别电连接,用于控制传送轨道10、图像采集装置20、图像处理装置30以及照明装置40按照预设流程启动或停止,接收识别得到的内存条编码,并整合内存条编码至预设表单。
在其中一个实施例中,流程控制装置50控制传送轨道10、图像采集装置20、图像处理装置30以及照明装置40按照预设流程启动前,可以对所需的启动参数进行设定,并载入预先配置的启动参数。
在其中一个实施例中,启动参数可以包括摄像机参数(设备编号以及图像分辨率)、***控制参数(状态获取灵敏度以及程序运行检测)、***探测参数(内存条编码类型,内存条编码放大倍数以及默认编码区域)等。需要说明的是,可以通过设置流程控制装置50与数据存储装置60之间的通信来设置状态获取灵敏度,其中流程控制装置50与数据存储装置60之间的通信越高,状态获取灵敏度越低。可以理解,上述启动参数的设置可以根据实际需要进行设定。通过设置上述启动参数,可以扩大编码采集***100的应用范围,提高编码采集***100的编码识别的准确度。
在其中一个实施例中,可以采用电脑、屏幕、键盘以及鼠标共同作为流程控制装置50。可以理解,可以通过按键加鼠标拖拽框定范围的方式预先划分编码区域,具体使用的按键可以根据实际需要进行设定。本实施例中,在编码区域划分方面,可以通过键盘上的按键[0]设定内存条上的DIMM编码区域,按键[1]~[9]与[a]~[h]分别可设定编号为1~9与编号为10~17的Chip编码区域,即通过按下按键[1]~[9]与[a]~[h],并滑动鼠标拖拽以框定编码区域。在编码区域删存方面,可以通过按键[r]最近一次定义的编码区域,[R]键可删除全部已定义的编码区域。可以通过按键[s]保存目前全部已定义的编码区域,并形成新的编码区域分布方案,按键[l]可载入任一个已保存的编码区域分布。在代码测试方面,可以通过按键[ESC]停止代码测试,取消所有设置,进入设置并等待状态。通过按键[Space]运行或停止代码测试。在***控制方面,可以通过按键[i]显示***中各个装置的状态,并通过按键[q]关闭整个***中的装置。
请一并参见图5,在其中一个实施例中,流程控制装置50中的任意***可以通过数据存储装置60读取或改变传送轨道10、图像采集装置20、图像 处理装置30以及照明装置40组成的编码采集子***的状态信息,具体可以包括但不仅限于程序信息、当前处理状态、当前处理状态变更以及当前编码区域分布等。
请一并参见图6,在其中一个实施例中,流程控制装置50包括流程控制模块510以及数据整合模块520。
流程控制模块510与传送轨道10、图像采集装置20、图像处理装置30以及照明装置40分别电连接,用于控制传送轨道10、图像采集装置20、图像处理装置30以及照明装置40按照预设流程启动或停止。
数据整合模块520与图像处理装置30电连接,用于接收识别得到的内存条编码,判断内存条编码是否识别成功,并根据判断结果整合内存条编码至预设表单。
请一并参见图7-图8,在其中一个实施例中,流程控制模块510可以在内存条尚未送达预设拍摄位置前启动输传送轨道10,以实现对内存条的传送,反之则暂停传送。流程控制模块510可以在内存条送达拍摄位置后,控制照明装置40开启。在进行编码采集启动后,可以首先进行启动参数初始化,判断图像采集装置20是否已连接,并采用图像采集装置20采集内存条图像。完成内存条图像采集后,流程控制模块510可以控制照明装置40关闭。其中,在照明装置40开启并完成内存条图像采集后,可以通过直接生成控制指令或更改数据存储装置60中的数据,更新图像处理装置30的控制状态参数,以控制图像处理装置30获取内存条编码。
在其中一个实施例中,流程控制模块510还可以包括重复次数累计器。重复次数累计器可以用于计算同一个内存条上的编码采集失败的次数。其中,编码采集失败是指没有成功获取一个内存条上所有编码区域的内存条编码。 本实施例中,流程控制模块510还可以在内存条编码采集成功或采集累计次数超过预设值后,控制图像处理装置30关闭。
在其中一个实施例中,在内存条编码采集成功或失败后,可以通过数据整合模块520对采集得到的数据进行整合。
当采集成功后,可以将数据存储装置60中已采集编码表单中的内存条编码及其编号的数据进行汇整,即将内存条编码及其编号新增至第一编码数据整合表单(DIMM编码)与第二编码数据整合表单(Chip编码)中,并在上述表单中的“是否采集成功”栏位填入“是”。最后,可以通过控制图像处理装置30的状态清空已采集编码表单。
当采集失败后,可以将数据存储装置60中已采集编码表单中的内存条编码及其编号的数据进行汇整,即将内存条编码及其编号新增至第一编码数据整合表单(DIMM编码)与第二编码数据整合表单(Chip编码)中,并在上述表单中的“是否采集成功”栏位填入“否”。最后,可以通过控制图像处理装置30的状态清空已采集编码表单。
在其中一个实施例中,数据存储装置60中存储表单可以参见表1~表6。
表1动态启动参数设定
元素名称 | 栏位名称 | 栏位型态 | 栏位范例 | 输入 | 主键 | 外键 |
辨别号 | id | digi | 9 | X | * | |
值 | value | alph | Array | Y | ||
描述 | des | alph | Chip code | Y | ||
程序变数名称 | vname | alph | Code chip | Y | ||
程序变数型态 | vtype | alph | string | Y |
表2编码区域配置
表3已采集编码
元素名称 | 栏位名称 | 栏位型态 | 栏位范例 | 输入 | 主键 | 外键 |
区域编号 | regionID | digi | 9 | Y | * | |
编码 | num | alph | 12345678912345 | Y |
表4状态控制
元素名称 | 栏位名称 | 栏位型态 | 栏位范例 | 输入 | 主键 | 外键 |
辨别号 | id | digi | 4 | X | * | |
值 | value | alph | Null | Y | ||
描述 | des | alph | Chip code | Y |
表5第一编码数据整合
元素名称 | 栏位名称 | 栏位型态 | 栏位范例 | 输入 | 主键 | 外键 |
DIMM辨别号 | id_dimm | digi2 | 6 | X | * | * |
建立日期时间 | ctime | timelabel | 2020-4-11 15:21:01 | Y | ||
DIMM编码 | cdimm | alph | 20200411006910103 | Y | ||
是否采集成功 | pass | boolean | Yes | Y |
表6第二编码数据整合
元素名称 | 栏位名称 | 栏位型态 | 栏位范例 | 输入 | 主键 | 外键 |
Chip辨别号 | id_chip | digi2 | 13 | X | * | |
建立日期时间 | ctime | timelabel | 2020-4-11 15:21:01 | Y | ||
Chip编号 | nchip | digi | 5 | Y | ||
Chip编码 | cchip | alph | 12345678912345 | Y | ||
是否采集成功 | pass | boolean | Yes | Y | ||
DIMM编号 | id_dimm | digi2 | 2 | Y |
在其中一个实施例中,编码采集***100还包括数据存储装置60,数据存储装置60与流程控制装置50和图像处理装置30分别电连接,用于存储预设流程、内存条编码以及预设表单。
在其中一个实施例中,数据存储装置60可以为但不仅限于计算机设备中的数据存储等硬件设备,即数据库。数据存储装置60可以用于流程控制装置50与传送轨道10、图像采集装置20、图像处理装置30以及照明装置40之间的状态沟通与数据存取。通过设置数据存储装置60,可以实现对整合关联后的内存条编码数据进行存储,方便对内存编码数据进行查询。
基于同一发明构思,本申请还提供一种编码采集方法。编码采集方法包括:
步骤S10,预先载入内存条编码的类型、尺寸以及位置;
步骤S20,根据内存条编码的类型、尺寸以及位置划分编码区域;
步骤S30,传送内存条至预设位置;
步骤S40,采集内存条图像;
步骤S50,根据编码区域和内存条图像对内存条编码进行识别。
可以理解,上述编码采集方法可以应用于上述任一实施例的编码采集***100,在此不再赘述。
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。
Claims (14)
- 一种编码采集***,包括:传送轨道,用于传送内存条并限定所述内存条的位置和摆置方向;图像采集装置,用于采集内存条图像;以及图像处理装置,所述图像处理装置包括编码区域定义模块和编码识别模块,所述编码区域定义模块用于根据预先载入的内存条编码的类型、尺寸以及位置划分编码区域,所述编码识别模块与所述图像采集装置和所述编码区域定义模块分别电连接,用于接收所述内存条图像,并根据所述内存条图像以及所述编码区域对所述内存条编码进行识别。
- 根据权利要求1所述的编码采集***,还包括照明装置,所述照明装置用于提供所述内存条图像采集过程所需的光线。
- 根据权利要求2所述的编码采集***,其中所述照明装置的光线出射方向平行于所述传送轨道的传送平面,且垂直于所述传送轨道的延伸方向。
- 根据权利要求1所述的编码采集***,其中所述编码识别模块包括:图像放大单元,与所述图像采集装置和所述编码区域定义模块分别电连接,用于将所述内存条图像的不同所述编码区域放大至不同的预设倍数;以及图像识别单元,与所述图像放大单元电连接,用于对放大后的所述内存条图像的不同所述编码区域内的编码进行识别。
- 根据权利要求4所述的编码采集***,其中所述编码识别模块还包括:图像切割单元,与所述图像采集装置、所述编码区域定义模块和所述图像放大单元分别电连接,用于根据所述编码区域对所述内存条图像进行切割,并将切割后的所述内存条图像发送至所述图像放大单元。
- 根据权利要求5所述的编码采集***,其中所述编码识别模块还包括:图像预处理单元,与所述图像采集装置和所述图像切割单元分别电连接,用于将所述内存条图像转化为灰度图像,并发送至所述图像切割单元;以及图像二值化单元,与所述图像放大单元和所述图像识别单元分别电连接,用于对放大后的所述内存条图像进行二值化处理,并发送至所述图像识别单元。
- 根据权利要求2所述的编码采集***,还包括流程控制装置,所述流程控制装置与所述传送轨道、所述图像采集装置、所述图像处理装置以及所述照明装置分别电连接,用于控制所述传送轨道、所述图像采集装置、所述图像处理装置以及所述照明装置按照预设流程启动或停止,接收识别得到的所述内存条编码,并整合所述内存条编码至预设表单。
- 根据权利要求7所述的编码采集***,其中所述流程控制装置包括:流程控制模块,与所述传送轨道、所述图像采集装置、所述图像处理装置以及所述照明装置分别电连接,用于控制所述传送轨道、所述图像采集装置、所述图像处理装置以及所述照明装置按照预设流程启动或停止;以及数据整合模块,与所述图像处理装置电连接,用于接收识别得到的所述内存条编码,判断所述内存条编码是否识别成功,并根据判断结果整合所述内存条编码至所述预设表单。
- 根据权利要求7所述的编码采集***,还包括数据存储装置,所述数据存储装置与所述流程控制装置和所述图像处理装置分别电连接,用于存储所述预设流程、所述内存条编码以及所述预设表单。
- 根据权利要求8所述的编码采集***,其中所述照明装置的光线出射方向平行于所述传送轨道的传送平面。
- 根据权利要求6所述的编码采集***,其中所述图像二值化单元采用二值化方法中的最大类间方差法获得自适应阈值,并根据所述自适应阈值将内存条的灰度图像转化为二值化图像。
- 根据权利要求7所述的编码采集***,其中所述流程控制装置控制所述传送轨道、所述图像采集装置、所述图像处理装置以及所述照明装置按照预设流程启动前,对所需的启动参数进行设定,并载入预先配置的启动参数。
- 根据权利要求12所述的编码采集***,其中所述启动参数包括摄像机参数、***控制参数或***探测参数。
- 一种编码采集方法,包括:预先载入内存条编码的类型、尺寸以及位置;根据所述内存条编码的类型、尺寸以及位置划分编码区域;传送内存条至预设位置;采集内存条图像;以及根据所述编码区域和所述内存条图像对所述内存条编码进行识别。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US17/438,455 US20230076787A1 (en) | 2020-05-29 | 2021-05-28 | Code acquisition system and method |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010475264.8 | 2020-05-29 | ||
CN202010475264 | 2020-05-29 | ||
CN202110574189.5 | 2021-05-25 | ||
CN202110574189.5A CN113743145B (zh) | 2020-05-29 | 2021-05-25 | 编码采集***及方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021239093A1 true WO2021239093A1 (zh) | 2021-12-02 |
Family
ID=78728347
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/096650 WO2021239093A1 (zh) | 2020-05-29 | 2021-05-28 | 编码采集***及方法 |
Country Status (3)
Country | Link |
---|---|
US (1) | US20230076787A1 (zh) |
CN (1) | CN113743145B (zh) |
WO (1) | WO2021239093A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114348372A (zh) * | 2022-01-06 | 2022-04-15 | 青岛双清智能科技有限公司 | 一种利用纸管图案识别并校验筒子纱品种的方法及装置 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN206833503U (zh) * | 2017-06-20 | 2018-01-02 | 河北省产品质量监督检验研究院 | 一种资产信息管理*** |
CN109086640A (zh) * | 2018-07-27 | 2018-12-25 | 广州市远景达科技开发有限公司 | 一种将图像采集器与解码板集成型一维码条码扫描模组 |
CN109410733A (zh) * | 2018-12-21 | 2019-03-01 | 韶关学院 | 一种物体识别分拣的实验教学平台 |
US20200011889A1 (en) * | 2017-04-13 | 2020-01-09 | Hamamatsu Photonics K.K. | Image acquisition system and image acquisition method |
CN210015460U (zh) * | 2019-04-28 | 2020-02-04 | 上海辉度智能***有限公司 | 一种跨终端可交互的货运监控物联网*** |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3923866B2 (ja) * | 2002-07-19 | 2007-06-06 | 株式会社キーエンス | 二次元コード読取装置設定方法、二次元コード読取設定装置、二次元コード読取装置設定プログラムおよびコンピュータ読取可能な記録媒体 |
EP2003599A1 (de) * | 2007-06-14 | 2008-12-17 | Sick Ag | Optoelektronischer Sensor und Verfahren zur Erfassung von Codes |
CN202632312U (zh) * | 2012-03-07 | 2012-12-26 | 河南李烨包装科技有限公司 | 基于图像识别技术同时采集处理多个条形码信息的*** |
CN103295006A (zh) * | 2013-01-18 | 2013-09-11 | 扬州群有信息科技有限公司 | 一种高性能***编码图像识别装置 |
KR101623689B1 (ko) * | 2015-06-08 | 2016-05-24 | 한경대학교 산학협력단 | 바코드 식별 장치 및 방법 |
JP6110897B2 (ja) * | 2015-06-23 | 2017-04-05 | Ckd株式会社 | 三次元計測装置 |
CN109241806A (zh) * | 2018-08-10 | 2019-01-18 | 北京龙贝世纪科技股份有限公司 | 一种多码同时识别方法及识别*** |
CN111008540B (zh) * | 2019-11-29 | 2021-10-22 | 联想(北京)有限公司 | 一种条码识别方法及设备、计算机存储介质 |
-
2021
- 2021-05-25 CN CN202110574189.5A patent/CN113743145B/zh active Active
- 2021-05-28 WO PCT/CN2021/096650 patent/WO2021239093A1/zh active Application Filing
- 2021-05-28 US US17/438,455 patent/US20230076787A1/en not_active Abandoned
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20200011889A1 (en) * | 2017-04-13 | 2020-01-09 | Hamamatsu Photonics K.K. | Image acquisition system and image acquisition method |
CN206833503U (zh) * | 2017-06-20 | 2018-01-02 | 河北省产品质量监督检验研究院 | 一种资产信息管理*** |
CN109086640A (zh) * | 2018-07-27 | 2018-12-25 | 广州市远景达科技开发有限公司 | 一种将图像采集器与解码板集成型一维码条码扫描模组 |
CN109410733A (zh) * | 2018-12-21 | 2019-03-01 | 韶关学院 | 一种物体识别分拣的实验教学平台 |
CN210015460U (zh) * | 2019-04-28 | 2020-02-04 | 上海辉度智能***有限公司 | 一种跨终端可交互的货运监控物联网*** |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114348372A (zh) * | 2022-01-06 | 2022-04-15 | 青岛双清智能科技有限公司 | 一种利用纸管图案识别并校验筒子纱品种的方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
CN113743145B (zh) | 2023-10-20 |
CN113743145A (zh) | 2021-12-03 |
US20230076787A1 (en) | 2023-03-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4698289B2 (ja) | カメラで取得されたドキュメント用の低解像度のocr | |
US9262679B2 (en) | System and method for identification and separation of form and feature elements from handwritten and other user supplied elements | |
US11256737B2 (en) | Image retrieval methods and apparatuses, devices, and readable storage media | |
US11030447B2 (en) | On-device partial recognition systems and methods | |
CN111753717B (zh) | 用于提取文本的结构化信息的方法、装置、设备及介质 | |
CN107451582A (zh) | 一种图文识别***及其识别方法 | |
CN1641646A (zh) | 基于图像文档的索引和检索 | |
DE212007000046U1 (de) | Betriebssteuerung und Datenverarbeitung in einem elektronischen Stift | |
CN101615251A (zh) | 字符识别设备中用于识别字符的方法和设备 | |
WO2021239093A1 (zh) | 编码采集***及方法 | |
CN114092938B (zh) | 图像的识别处理方法、装置、电子设备及存储介质 | |
US11080506B2 (en) | Fingerprint identification method and apparatus, storage medium and terminal | |
US20200106918A1 (en) | Image processing device, image scanner and image processing method | |
KR100673198B1 (ko) | 이미지 입력 시스템 | |
US20220150374A1 (en) | Image processing device, image reading device, image processing method, and non-transitory computer readable medium | |
TWI773444B (zh) | 影像識別系統與方法 | |
US12014576B2 (en) | Systems and methods for capturing electronic signatures | |
US8675236B2 (en) | Image processing method | |
CN206523880U (zh) | 贵金属出入库用高识别二维码扫描*** | |
KR20020067850A (ko) | 문서인식시스템 및 그 방법 | |
WO2015189941A1 (ja) | 情報処理装置、情報処理方法、および、プログラム | |
Nair et al. | A Smarter Way to Collect and Store Data: AI and OCR Solutions for Industry 4.0 Systems | |
US20130194639A1 (en) | Image processing unit for supporting multiple scanners | |
CN113420684A (zh) | 基于特征提取的报表识别方法、装置、电子设备及介质 | |
US8755073B2 (en) | Processing image data provided by multiple digital sources |
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: 21812385 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: 21812385 Country of ref document: EP Kind code of ref document: A1 |