CN117436466B - Scanning gun for stereoscopic graphics and identification method - Google Patents

Scanning gun for stereoscopic graphics and identification method Download PDF

Info

Publication number
CN117436466B
CN117436466B CN202311758806.2A CN202311758806A CN117436466B CN 117436466 B CN117436466 B CN 117436466B CN 202311758806 A CN202311758806 A CN 202311758806A CN 117436466 B CN117436466 B CN 117436466B
Authority
CN
China
Prior art keywords
scanning
image
stereoscopic
data
scanned
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
CN202311758806.2A
Other languages
Chinese (zh)
Other versions
CN117436466A (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.)
Shenzhen Alacrity Barcode Technology Co ltd
Original Assignee
Shenzhen Alacrity Barcode 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 Shenzhen Alacrity Barcode Technology Co ltd filed Critical Shenzhen Alacrity Barcode Technology Co ltd
Priority to CN202311758806.2A priority Critical patent/CN117436466B/en
Publication of CN117436466A publication Critical patent/CN117436466A/en
Application granted granted Critical
Publication of CN117436466B publication Critical patent/CN117436466B/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/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14131D bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06018Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking one-dimensional coding
    • G06K19/06028Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking one-dimensional coding using bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/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/10554Moving beam scanning
    • G06K7/10594Beam path
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects

Abstract

The invention discloses a scanning gun and a recognition method for a stereoscopic graph, which relate to the technical field of stereoscopic image scanning processing and comprise a scanning module, a scanning image type recognition module, a scanning control module, a scanning image preprocessing module, a scanning data output module and a scanning gun body. The design concept of the invention is that firstly, an image scanning is carried out on a target to be scanned, a scanning image type recognition module analyzes the pre-scanning image data based on the pre-scanning image data, the analysis result is that the target to be scanned is one of a bar code image, a plane image or a three-dimensional image, and then a corresponding scanning unit is controlled to carry out more accurate image scanning based on the analysis result; the method and the device can automatically identify the type of the image to be scanned, automatically select the matched scanning module to scan, particularly can identify the stereoscopic image, and can pertinently scan the stereoscopic image, thereby avoiding the distortion of the information of the object to be scanned caused by taking the stereoscopic image as a plane image.

Description

Scanning gun for stereoscopic graphics and identification method
Technical Field
The invention relates to the technical field of stereoscopic image scanning processing, in particular to a scanning gun for stereoscopic graphics and a recognition method.
Background
The scanning gun can input pictures, photos, films to various drawing figures and manuscript data into a computer, so that the image information can be processed, managed, used, stored or output.
The scanning gun is mature in application to planar images, characters, bar codes and the like, but in scanning facing stereoscopic graphics, only planar image information can be obtained, and three-dimensional data of a scanned object cannot be completely reflected.
Currently, a scanning gun is mainly used for acquiring images or bar code information by means of a visual camera or a laser scanning head mounted on a gun body.
Chinese patent publication No. CN210924621U discloses a multifunctional scanning gun, which comprises a handle, a scanning head, a barcode recognition camera, and a barcode processing module, wherein the scanning head is fixed at the top end of the handle, the barcode recognition camera is arranged in the scanning head, the barcode processing module is electrically connected with the barcode recognition camera and is used for receiving and decoding barcode information acquired by the barcode recognition camera, and the multifunctional scanning gun also comprises an image recognition camera which is arranged on the scanning head and is used for acquiring image information, the image processing module is electrically connected with the image recognition camera and is used for receiving and processing the image information acquired by the image recognition camera, and a switching button is arranged on the handle and is used for switching working states.
According to the scheme, acquired images are processed through the image processing module, acquired data are transmitted to the background server to be processed through a wired or wireless transmission mode, and when the stereoscopic images are faced, the stereoscopic images are scanned as plane pictures in the image scanning mode, so that inaccuracy of scanning data is caused, and the processing of follow-up scanning data and the scanning imaging effect are affected.
Disclosure of Invention
In order to solve the technical problems, the invention provides a scanning gun for a stereoscopic graph and a recognition method. The following technical scheme is adopted:
the scanning gun for the stereoscopic graph comprises a scanning module, a scanning image type identification module, a scanning control module, a scanning image preprocessing module, a scanning data output module and a scanning gun body, wherein the scanning module comprises a bar code scanning unit, an image pre-scanning unit and a stereoscopic image scanning unit, the bar code scanning unit, the image pre-scanning unit and the stereoscopic image scanning unit are respectively arranged at the end part of the scanning gun body, the scanning image type identification module is in communication connection with the image pre-scanning unit, pre-scanning image data scanned by the image pre-scanning unit is collected, the pre-scanning image data is analyzed, an analysis result is one of a bar code image, a plane image and a stereoscopic image, the analysis result is transmitted to the scanning control module, the scanning control module is respectively in control connection with the bar code scanning unit, the image pre-scanning unit and the stereoscopic image scanning unit, one of the bar code scanning unit, the image pre-scanning unit and the stereoscopic image scanning unit is started to scan the object to be scanned according to the analysis result, the scanning image pre-processing module is respectively in communication connection with the data output end of the bar code scanning unit, the image pre-scanning unit and the stereoscopic image scanning unit, and the scanning data processing module is connected with the service module through the communication and the scanning module.
By adopting the technical scheme, the design idea is that firstly, an image pre-scanning unit is adopted for scanning an object to be scanned once, the image pre-scanning unit is actually a plane image scanning camera, the scanned object is transmitted to a scanning image type recognition module, the scanning image type recognition module analyzes the pre-scanning image data based on pre-scanning image data, the analysis result is that the object to be scanned is one of a bar code image, a plane image or a three-dimensional image, the analysis can adopt characteristic contrast, the image processing chip can also be adopted for directly analyzing the type of the image, the characteristics of the bar code image are obvious in practice, the identification can be carried out more quickly, the identification of the plane image or the three-dimensional image can be realized based on whether the scanned object is the three-dimensional image, the comparison of the characteristics of the three-dimensional image, such as brightness change characteristics, contour characteristics and the like, if one image to be scanned is neither the bar code image nor the three-dimensional image, the image can be considered to be the plane image;
if the target is the bar code image, the scanning control module controls the bar code scanning unit to start, and the bar code scanning is carried out on the target to be scanned;
if the object is a stereoscopic image, the scanning control module controls the stereoscopic image scanning unit to start, and the stereoscopic image scanning is carried out on the object to be scanned;
if the image is judged to be a plane image, the scanning control module controls the image pre-scanning unit to start again, and the plane image scanning is carried out on the object to be scanned;
the scanned data is transmitted to a scanned image preprocessing module for packaging, classifying and marking and the like, and then transmitted to a computer of a central server for subsequent processing in a wired or wireless mode through a scanned data output module.
The method can automatically identify the category of the image to be scanned, automatically select the matched scanning module to scan, particularly identify the stereoscopic image, and pertinently scan the stereoscopic image, thereby avoiding the distortion of the information of the object to be scanned caused by taking the stereoscopic image as a plane image.
For a large number of scanning application scenes, such as book information input and the like, some book covers have bar code data and plane image data, and some book covers adopt stereoscopic images, if plane scanning is simply adopted, the obtained scanning information can not actually accurately reflect the real data of the stereoscopic images.
Optionally, the scanned image type recognition module includes a data receiving unit, an image processing chip and a memory, wherein a data input end of the data receiving unit is in communication connection with the image pre-scanning unit, the image processing chip is in communication connection with a data output end of the data receiving unit, pre-scanned image data of the image pre-scanning unit is obtained, the image processing chip is in communication connection with the memory, a bar code image feature database and a stereo image feature database are stored in the memory, the image processing chip firstly performs image feature extraction on the pre-scanned image data, then respectively and fuzzy traverses the bar code image feature database and the stereo image feature database based on the extracted image features, outputs an analysis result of a target to be scanned in a bar code image, a plane image or a stereo image according to the fuzzy traversal result, and transmits the analysis result to the scanning control module.
By adopting the technical scheme, the type judgment of different types of targets to be scanned is mainly based on the image processing chip to firstly perform image feature extraction results on pre-scanned image data, and the image feature extraction results are respectively implemented by fuzzy traversal of a bar code image feature database and a three-dimensional image feature database, wherein the bar code image feature database mainly comprises feature data of different bar codes commonly used in the market, the feature data mainly comprises a bar graph part and a digital part, and the bar graph and the digital part have different numbers for different bar codes, such as an EAN code of 5 bits, 8 bits and bits; a UPC code of bits; code39 Code, etc.;
for the stereo image feature database mainly comprises stereo contour feature items and brightness change feature items, the stereo contour feature items mainly refer to the stereo image contours of common contour figures, such as the contours of cubes, spheres and the like, and if a target to be scanned is a stereo image, the stereo image feature database basically comprises the stereo features of common image elements;
if one image to be scanned is not judged as either a bar code image or a stereoscopic image, it is considered as a planar image.
The image type analysis can be rapidly carried out on the image to be scanned through the analysis result of the image processing chip, and a selection basis is provided for the subsequent corresponding scanning.
Optionally, the scanning control module comprises three electric control switches, a main control chip and a power supply unit, the bar code scanning unit, the image pre-scanning unit and the stereoscopic image scanning unit are respectively and electrically connected with the power supply unit through the three electric control switches, the main control chip respectively controls the on-off of the three electric control switches, and the main control chip respectively controls the execution actions of the bar code scanning unit, the image pre-scanning unit and the stereoscopic image scanning unit.
By adopting the technical scheme, the scanning control module can be realized based on three electric control switches, and when the type of the target to be scanned is determined, the corresponding scanning unit is electrified, so that more accurate scanning data acquisition can be realized.
Optionally, the stereoscopic image scanning unit includes at least one main picture camera, 3D figure chip, gyroscope, display screen and three-dimensional auxiliary scanning main control chip, the main picture camera is installed at the tip of scanning rifle body to with 3D figure chip communication connection, 3D figure chip and three-dimensional auxiliary scanning main control chip communication connection, the gyroscope is installed in the internal portion of scanning rifle body for monitor the gesture data of scanning rifle body, the display screen is installed outside the scanning rifle body to with three-dimensional auxiliary scanning main control chip communication connection, be used for showing real-time scanning picture to the scanner.
By adopting the technical scheme, the stereoscopic image scanning unit is realized based on the main picture camera, and of course, in order to obtain finer three-dimensional pictures, a shooting array can be formed by using a plurality of cameras, when specific scanning is carried out, the targets to be scanned are shot to the top surface, the gyroscope and the display screen display content are matched, an operator can shoot the picture information of five other surfaces except the bottom surface of the targets to be scanned more accurately, and finally, the reconstruction of the three-dimensional images can be realized through the 3D graphic chip, so that the problem of inaccurate picture data acquired only by adopting a method for scanning plane images is avoided.
Optionally, the scan image preprocessing module includes a data processing chip, a buffer, and three data transmitting ports, where the data processing chip is respectively connected with the data output ends of the barcode scanning unit, the image pre-scanning unit, and the stereo image scanning unit in a communication manner, packages the data according to the received scan data, marks the type of the packaged data packet, and transmits the data packet to the buffer to be transmitted, and the three data transmitting ports of the buffer are respectively connected with the central server in a communication manner through the scan data output module.
By adopting the technical scheme, the scanning image preprocessing module can pack the image data scanned by different scanning units and carry out type marking, and finally, the three data sending ports are respectively connected with the central server through the scanning data output module in a communication way, and the central server can carry out classification processing according to the data packets received from different sending ports.
Optionally, the scan data output module is a wireless transmission module.
By adopting the technical scheme, a wireless transmission module, such as a 4G/5G wireless transmission module and the like, is preferably adopted, and the transmission can be performed in a wired mode.
An image recognition method of a scanning gun for a stereoscopic figure adopts the scanning gun for the stereoscopic figure to scan different types of targets to be scanned for classified scanning, and specifically comprises the following steps:
step 1, an operator holds a scanning gun body to align a scanning module at the end part with a target to be scanned;
step 2, starting an image pre-scanning unit, pre-scanning a target to be scanned, and transmitting a pre-scanning picture to an image processing chip through a data receiving unit;
step 3, the image processing chip performs feature extraction on the pre-scanning picture based on an image feature extraction algorithm to obtain a pre-scanning picture feature data packet, the pre-scanning picture feature data packet is input into a bar code image feature database for fuzzy traversal, if the pre-scanning picture feature data packet accords with the bar code image feature database, the target to be scanned is judged to be a bar code image, otherwise, the three-dimensional image feature database is input for fuzzy traversal, if the pre-scanning picture feature data packet accords with the three-dimensional image feature database, the target to be scanned is judged to be a three-dimensional image, otherwise, the target to be scanned is judged to be a plane image, and the image processing chip transmits an analysis result of the target to be scanned to the scanning control module;
step 4, the main control chip controls the corresponding electric control switch to be connected with the power supply unit for supplying power and controls one of the bar code scanning unit, the image pre-scanning unit and the stereoscopic image scanning unit to scan;
and 5, respectively receiving the scanning data of the bar code scanning unit, the image pre-scanning unit and the stereoscopic image scanning unit by the data processing chip, packaging according to the received scanning data, respectively marking the scanning data as a bar code scanning data packet, a plane image data packet and a stereoscopic image data packet, transmitting the scanning data packet to a buffer for buffering to be transmitted, and respectively transmitting the bar code scanning data packet, the plane image data packet or the stereoscopic image data packet to a central server through three data transmitting ports by a data output end of the buffer.
Optionally, in step 4, the specific method for controlling the stereoscopic image scanning unit to scan by the main control chip is as follows:
the 3D graphic chip analyzes the real-time scanning picture to generate a scanning angle and a scanning position of five faces of a stereoscopic image as a recommended scanning target, and interacts an analysis result with the stereoscopic auxiliary scanning main control chip, the stereoscopic auxiliary scanning main control chip generates auxiliary scanning frames and scanning positions of the five faces of the stereoscopic image according to the analysis result of the 3D graphic chip, displays the real-time scanning picture and the auxiliary scanning frames with red colors on the display screen, controls the auxiliary scanning frames of the display screen to be green when the shooting angle and the shooting position of the main picture camera are matched with the auxiliary scanning frames by an operator, completes the scanning of one face of the stereoscopic image, displays prompts on the display screen to scan the next face at the moment, and regenerates three-dimensional image data of the target to be scanned based on a three-dimensional image reconstruction algorithm and transmits the three-dimensional image data to the data processing chip after the scanning of the five faces is completed.
Alternatively, the three-dimensional image reconstruction algorithm is an MVS three-dimensional reconstruction algorithm.
Optionally, in step 3, the fuzzy traversal is to compare the feature items in the feature data packet of the pre-scanned picture with the feature items in the feature data packet of the bar code image or the feature data packet of the stereoscopic image one by one, set a feature comparison similarity threshold, and consider that feature comparison is successful for the comparison items larger than the similarity threshold.
In summary, the present invention includes at least one of the following beneficial technical effects:
the invention can provide a scanning gun and recognition method used for stereoscopic graphics, the design thinking is that firstly, image scanning is carried out on a target to be scanned, a scanning image type recognition module analyzes the pre-scanning image data based on the pre-scanning image data, the analysis result is that the target to be scanned is one of a bar code image, a plane image or a stereoscopic image, and then the corresponding scanning unit is controlled to start to carry out more accurate image scanning based on the analysis result;
the method can automatically identify the category of the image to be scanned, automatically select the matched scanning module to scan, particularly identify the stereoscopic image, and pertinently scan the stereoscopic image, thereby avoiding the distortion of the information of the object to be scanned caused by using the stereoscopic image as a plane image.
Drawings
FIG. 1 is a schematic diagram of the electrical device connection principle of a scanning gun for stereoscopic graphics according to the present invention;
FIG. 2 is a schematic diagram of the connection principle of the electrical components of a stereoscopic image scanning unit of a scanning gun for stereoscopic images according to the present invention;
fig. 3 is a schematic diagram of the end face structure of a scanning gun body of a scanning gun for stereoscopic graphics.
Reference numerals illustrate: 11. a bar code scanning unit; 12. an image pre-scanning unit; 13. a stereoscopic image scanning unit; 131. a main picture camera; 132. a 3D graphics chip; 133. a gyroscope; 134. a display screen; 135. a three-dimensional auxiliary scanning main control chip; 2. a scanning image type identification module; 21. a data receiving unit; 22. an image processing chip; 23. a memory; 231. a bar code image feature database; 232. a stereoscopic image feature database; 3. a scan control module; 31. an electric control switch; 32. a main control chip; 33. a power supply unit; 4. a scanning image preprocessing module; 41. a data processing chip; 42. a buffer; 43. a data transmission port; 5. a scan data output module; 6. a scanning gun body; 100. and a central server.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings.
The embodiment of the invention discloses a scanning gun for a stereoscopic graph and an identification method.
Referring to fig. 1-3, embodiment 1, a scanning gun for stereoscopic graphics, comprising a scanning module, a scanning image type recognition module 2, a scanning control module 3, a scanning image preprocessing module 4, a scanning data output module 5 and a scanning gun body 6, wherein the scanning module comprises a bar code scanning unit 11, an image pre-scanning unit 12 and a stereoscopic image scanning unit 13, the bar code scanning unit 11, the image pre-scanning unit 12 and the stereoscopic image scanning unit 13 are respectively arranged at the end part of the scanning gun body 6, the scanning image type recognition module 2 is in communication connection with the image pre-scanning unit 12, pre-scanning image data scanned by the image pre-scanning unit 12 are collected, the pre-scanning image data are analyzed, the analysis result is one of a bar code image, a plane image or a stereoscopic image, and the analysis result is transmitted to the scanning control module 3, the scanning control module 3 is respectively in control connection with the bar code scanning unit 11, the image pre-scanning unit 12 and the stereoscopic image scanning unit 13, one type of the pre-scanning unit 11, the image pre-scanning unit 12 and the stereoscopic image scanning unit 13 is controlled according to the analysis result, the pre-scanning image preprocessing module 4 is started to be scanned by the scanning target to be scanned, the pre-scanning image data is respectively, the pre-scanning module 4 is connected with the scanning module 5 through communication and the scanning module is connected with the scanning data output module 100, and the scanning module is in communication with the scanning image processing module 5.
The design concept is that an image pre-scanning unit 12 is adopted for scanning an object to be scanned once, the image pre-scanning unit 12 is actually a plane image scanning camera, the scanned object is transmitted to a scanning image type recognition module 2, the scanning image type recognition module 2 analyzes the pre-scanning image data based on pre-scanning image data, the analysis result is that the object to be scanned is one of a bar code image, a plane image or a three-dimensional image, the analysis can adopt characteristic contrast, an image processing chip can be adopted for directly analyzing the type of the image, the characteristics of the bar code image are obvious in practice, the identification can be carried out more quickly, the identification of the plane image or the three-dimensional image can be realized based on whether the scanned object is the three-dimensional image, the comparison of the characteristics of the three-dimensional image, such as brightness change characteristics, contour characteristics and the like, and if one image to be scanned is neither the bar code image nor the three-dimensional image, the image is considered to be the plane image;
if the image is judged to be the bar code image, the scanning control module 3 controls the bar code scanning unit 11 to start, and the bar code scanning is carried out on the target to be scanned;
if the object is a stereoscopic image, the scanning control module 3 controls the stereoscopic image scanning unit 13 to start, and performs stereoscopic image scanning on the object to be scanned;
if the image is judged to be a plane image, the scanning control module 3 controls the image pre-scanning unit 12 to start again, and performs plane image scanning on the target to be scanned;
the scanned data is transmitted to the scanned image preprocessing module 4 for processing such as packaging, classifying and marking, and then transmitted to the computer of the central server 100 for subsequent processing in a wired or wireless mode through the scanned data output module 5.
The method can automatically identify the category of the image to be scanned, automatically select the matched scanning module to scan, particularly identify the stereoscopic image, and pertinently scan the stereoscopic image, thereby avoiding the distortion of the information of the object to be scanned caused by taking the stereoscopic image as a plane image.
For a large number of scanning application scenes, such as book information input and the like, some book covers have bar code data and plane image data, and some book covers adopt stereoscopic images, if plane scanning is simply adopted, the obtained scanning information can not actually accurately reflect the real data of the stereoscopic images.
In embodiment 2, the scanned image type recognition module 2 includes a data receiving unit 21, an image processing chip 22 and a memory 23, wherein a data input end of the data receiving unit 21 is in communication connection with the image pre-scanning unit 12, the image processing chip 22 is in communication connection with a data output end of the data receiving unit 21, pre-scanned image data of the image pre-scanning unit 12 is obtained, the image processing chip 22 is in communication connection with the memory 23, a barcode image feature database 231 and a stereoscopic image feature database 232 are stored in the memory 23, the image processing chip 22 performs image feature extraction on the pre-scanned image data, and then performs fuzzy traversal on the barcode image feature database 231 and the stereoscopic image feature database 232 based on the extracted image features, outputs an analysis result of which the object to be scanned is one of a barcode image, a planar image or a stereoscopic image according to the fuzzy traversal result, and transmits the analysis result to the scan control module 3.
The type judgment of different types of targets to be scanned is mainly based on the image characteristic extraction result of the image processing chip 22 on the pre-scanned image data, and the image characteristic extraction result is respectively implemented by fuzzy traversal of the barcode image characteristic database 231 and the stereo image characteristic database 232, wherein the barcode image characteristic database 231 mainly comprises characteristic data of different barcodes commonly seen in the market, the characteristic data mainly comprises a bar graph part and a digital part, and the bar graph and the digital part have different numbers of bar graphs and numbers for different barcodes, such as EAN codes of 5 bits, 8 bits and 13 bits; a 12-bit UPC code; code39 Code, etc.;
for the stereo image feature database 232 mainly comprises stereo contour feature items and brightness variation feature items, the stereo contour feature items mainly refer to the stereo image contours of common contour figures, such as the contours of cubes, spheres and the like, and if an object to be scanned is a stereo image, the stereo image feature database basically comprises the stereo features of common image elements, and the method for judging the stereo image is similar to the existing mature face recognition technology, and can distinguish whether the stereo face is a stereo face or a stereo face forged by a plane image by adopting face data obtained by adopting a plane image;
if one image to be scanned is not judged as either a bar code image or a stereoscopic image, it is considered as a planar image.
The analysis result of the image processing chip 22 can rapidly analyze the image type of the image to be scanned, and provides a selection basis for the subsequent corresponding scanning.
In embodiment 3, the scan control module 3 includes three electronic switches 31, a main control chip 32 and a power supply unit 33, the barcode scanning unit 11, the image pre-scanning unit 12 and the stereoscopic image scanning unit 13 are electrically connected with the power supply unit 33 through the three electronic switches 31, the main control chip 32 controls the on-off of the three electronic switches 31, and the main control chip 32 controls the execution actions of the barcode scanning unit 11, the image pre-scanning unit 12 and the stereoscopic image scanning unit 13.
The scan control module 3 may be implemented based on three electronic control switches 31, and when the type of the object to be scanned is determined, the corresponding scan unit is powered on, so that more accurate scan data acquisition may be implemented.
In embodiment 4, the stereoscopic image scanning unit 13 includes at least one main-frame camera 131, a 3D graphics chip 132, a gyroscope 133, a display screen 134 and a stereoscopic auxiliary scanning main control chip 135, wherein the main-frame camera 131 is mounted at the end of the scanning gun body 6 and is in communication connection with the 3D graphics chip 132, the 3D graphics chip 132 is in communication connection with the stereoscopic auxiliary scanning main control chip 135, the gyroscope 133 is mounted inside the scanning gun body 6 for monitoring the posture data of the scanning gun body 6, and the display screen 134 is mounted outside the scanning gun body 6 and is in communication connection with the stereoscopic auxiliary scanning main control chip 135 for displaying real-time scanning images to a scanner.
The stereo image scanning unit 13 is realized based on the main image camera 131, of course, in order to obtain finer three-dimensional images, a shooting array can be formed by using a plurality of cameras, when in specific scanning, the object to be scanned is shot just opposite to the top surface, the gyroscope 133 and the display screen 134 are matched with each other in display content, so that an operator can shoot the image information of five other surfaces except the bottom surface of the object to be scanned more accurately, and finally, the reconstruction of the three-dimensional images can be realized through the 3D graphic chip 132, thereby avoiding the problem of inaccurate image data acquired only by adopting a method for scanning plane images.
In embodiment 5, the scanned image preprocessing module 4 includes a data processing chip 41, a buffer 42 and three data transmitting ports 43, where the data processing chip 41 is respectively connected with the data output ends of the barcode scanning unit 11, the image pre-scanning unit 12 and the stereoscopic image scanning unit 13 in a communication manner, packages the data according to the received scanned data, marks the type of the packaged data package, and transmits the data package to the buffer 42 to buffer to be transmitted, and the three data transmitting ports 43 of the buffer 42 are respectively connected with the central server 100 in a communication manner through the scanned data output module 5.
The scan image preprocessing module 4 may package the image data scanned by different scan units, and perform type marking, and finally, the three data transmitting ports 43 of the three data transmitting ports 43 are respectively connected with the central server 100 through the scan data output module 5 in a communication manner, and the central server 100 may perform classification processing according to the data packets received from different transmitting ports.
In embodiment 6, the scan data output module 5 is a wireless transmission module.
Preferably, a wireless transmission module, such as a 4G/5G wireless transmission module, is used, and of course, transmission can also be performed in a wired manner.
Embodiment 7, an image recognition method of a scanning gun for stereoscopic graphics, which uses a scanning gun for stereoscopic graphics to scan different types of objects to be scanned for classified scanning, specifically includes the following steps:
step 1, an operator holds a scanning gun body 6 to align a scanning module at the end part with a target to be scanned;
step 2, the image pre-scanning unit 12 is started to pre-scan the target to be scanned, and the pre-scanned picture is transmitted to the image processing chip 22 through the data receiving unit 21;
step 3, the image processing chip 22 performs feature extraction on the pre-scanning picture based on an image feature extraction algorithm to obtain a pre-scanning picture feature data packet, firstly, the pre-scanning picture feature data packet is input into the bar code image feature database 231 for fuzzy traversal, if the pre-scanning picture feature data packet accords with the bar code image feature database 231, the target to be scanned is judged to be a bar code image, otherwise, the stereo image feature database 232 is input for fuzzy traversal, if the pre-scanning picture feature data packet accords with the stereo image feature database 232, the target to be scanned is judged to be a stereo image, otherwise, the target to be scanned is judged to be a plane image, and the image processing chip 22 transmits an analysis result of the target to be scanned to the scanning control module 3;
step 4, the main control chip 32 controls the corresponding electric control switch 31 to switch on the power supply unit 33 to supply power and controls one of the bar code scanning unit 11, the image pre-scanning unit 12 and the stereoscopic image scanning unit 13 to scan;
in step 5, the data processing chip 41 receives the scan data of the barcode scanning unit 11, the image pre-scanning unit 12 and the stereoscopic image scanning unit 13, packages the scan data according to the received scan data, marks the scan data as a barcode scan data packet, a plane image data packet and a stereoscopic image data packet, and transmits the scan data packet, the plane image data packet and the stereoscopic image data packet to the buffer 42 for buffering and sending, and the data output end of the buffer 42 sends the barcode scan data packet, the plane image data packet or the stereoscopic image data packet to the central server 100 through the three data sending ports 43.
In embodiment 8, in step 4, the specific method for controlling the stereoscopic image scanning unit 13 to scan by the main control chip 32 is as follows:
the 3D graphic chip 132 analyzes the real-time scan frame, generates a scan angle and a scan position of five sides of the stereoscopic image as a suggested scan target, interacts with the stereoscopic auxiliary scan main control chip 135, generates auxiliary scan frames and scan positions of five sides of the stereoscopic image according to the analysis result of the 3D graphic chip 132, displays the real-time scan frame and the auxiliary scan frame with red color on the display screen 134, controls the auxiliary scan frame of the display screen 134 to turn green when the photographing angle and the photographing position of the main screen camera 131 are matched with the auxiliary scan frames by an operator, completes the scan of one side of the stereoscopic image, displays a prompt on the display screen 134 to scan the next side at this time, and after the scan of five sides is completed, the 3D graphic chip 132 regenerates three-dimensional image data of the target to be scanned based on a three-dimensional image reconstruction algorithm and transmits the three-dimensional image data to the data processing chip 41.
Embodiment 9, the three-dimensional image reconstruction algorithm is an MVS three-dimensional reconstruction algorithm.
In embodiment 10, in step 3, the fuzzy traversal is to compare the feature items in the feature data packet of the pre-scanned picture with the feature items in the feature data database 231 of the barcode image or the feature data database 232 of the stereo image one by one, set a feature contrast similarity threshold, and consider that feature contrast is successful for the comparison items larger than the similarity threshold.
The above embodiments are not intended to limit the scope of the present invention, and therefore: all equivalent changes in structure, shape and principle of the invention should be covered in the scope of protection of the invention.

Claims (9)

1. A scanning gun for stereoscopic graphics, characterized by: the scanning control module (3) is respectively connected with the bar code scanning unit (11), the image pre-scanning unit (12) and the stereoscopic image scanning unit (13) in a control manner, the scanning image type identification module (2) is in communication connection with the image pre-scanning unit (12), pre-scanning image data scanned by the image pre-scanning unit (12) are collected, the pre-scanning image data are analyzed, the analysis result is one of a bar code image, a plane image or a stereoscopic image to be scanned, the analysis result is transmitted to the scanning control module (3), the scanning control module (3) is respectively connected with the bar code scanning unit (11), the image pre-scanning unit (12) and the stereoscopic image scanning unit (13) in a control manner, the bar code scanning unit (11), the image pre-scanning unit (12) and the stereoscopic image scanning unit (13) are controlled to be connected according to the analysis result, the bar code scanning unit (11), the image pre-scanning unit (12) and the stereoscopic image pre-scanning unit (13) are controlled to be opened, and the bar code scanning unit (4) is respectively scanned by the scanning module (4) to be scanned, the image pre-scanning unit (12) is in communication connection with the data output end of the stereoscopic image scanning unit (13) to collect scanning data, and the scanning image pre-processing module (4) is in communication connection with the central server (100) through the scanning data output module (5);
the scanning image type recognition module (2) comprises a data receiving unit (21), an image processing chip (22) and a memory (23), wherein the data input end of the data receiving unit (21) is in communication connection with the image pre-scanning unit (12), the image processing chip (22) is in communication connection with the data output end of the data receiving unit (21), pre-scanning image data of the image pre-scanning unit (12) are obtained, the image processing chip (22) is in communication connection with the memory (23), a bar code image characteristic database (231) and a stereo image characteristic database (232) are stored in the memory (23), the image processing chip (22) firstly extracts image characteristics of the pre-scanning image data, then respectively and vague-traverses the bar code image characteristic database (231) and the stereo image characteristic database (232) based on the extracted image characteristics, and outputs an analysis result of a bar code image, a plane image or a stereo image to be scanned according to the fuzzy traversing result, and transmits the analysis result to the scanning control module (3).
2. A scanning gun for stereoscopic graphics according to claim 1, characterized in that: the scanning control module (3) comprises three electric control switches (31), a main control chip (32) and a power supply unit (33), wherein the bar code scanning unit (11), the image pre-scanning unit (12) and the stereoscopic image scanning unit (13) are respectively electrically connected with the power supply unit (33) through the three electric control switches (31), the main control chip (32) respectively controls the on-off of the three electric control switches (31), and the main control chip (32) respectively controls the execution actions of the bar code scanning unit (11), the image pre-scanning unit (12) and the stereoscopic image scanning unit (13).
3. A scanning gun for stereoscopic graphics according to claim 2, characterized in that: the stereoscopic image scanning unit (13) comprises at least one main picture camera (131), a 3D graphic chip (132), a gyroscope (133), a display screen (134) and a stereoscopic auxiliary scanning main control chip (135), wherein the main picture camera (131) is arranged at the end part of the scanning gun body (6) and is in communication connection with the 3D graphic chip (132), the 3D graphic chip (132) is in communication connection with the stereoscopic auxiliary scanning main control chip (135), the gyroscope (133) is arranged inside the scanning gun body (6) and is used for monitoring gesture data of the scanning gun body (6), and the display screen (134) is arranged outside the scanning gun body (6) and is in communication connection with the stereoscopic auxiliary scanning main control chip (135) and is used for displaying real-time scanning pictures to a scanner.
4. A scanning gun for stereoscopic graphics according to claim 3, characterized in that: the scanning image preprocessing module (4) comprises a data processing chip (41), a buffer memory (42) and three data transmission ports (43), wherein the data processing chip (41) is respectively in communication connection with data output ends of the bar code scanning unit (11), the image pre-scanning unit (12) and the stereoscopic image scanning unit (13), packages according to received scanning data, types of the packaged data packages are marked, the data packages are transmitted to the buffer memory (42) to be transmitted, and the three data transmission ports (43) of the buffer memory (42) are respectively in communication connection with the central server (100) through the scanning data output module (5).
5. A scanning gun for stereoscopic graphics according to claim 4, wherein: the scan data output module (5) is a wireless transmission module.
6. An image recognition method for a scanning gun for stereoscopic graphics is characterized by comprising the following steps: a method for classifying scanning by using a scanning gun for stereoscopic graphics to scan different types of objects to be scanned according to claim 4, comprising the following steps:
step 1, an operator holds a scanning gun body (6) to align a scanning module at the end part with a target to be scanned;
step 2, an image pre-scanning unit (12) is started to pre-scan a target to be scanned, and a pre-scanning picture is transmitted to an image processing chip (22) through a data receiving unit (21);
step 3, the image processing chip (22) performs feature extraction on the pre-scanning picture based on an image feature extraction algorithm to obtain a pre-scanning picture feature data packet, the pre-scanning picture feature data packet is input into a bar code image feature database (231) for fuzzy traversal, if the pre-scanning picture feature data packet accords with the bar code image feature database (231), the target to be scanned is judged to be a bar code image, otherwise, the pre-scanning picture feature data packet is input into a stereoscopic image feature database (232) for fuzzy traversal, if the pre-scanning picture feature data packet accords with the stereoscopic image feature database (232), the target to be scanned is judged to be a stereoscopic image, otherwise, the pre-scanning picture feature data packet is judged to be a plane image, and the image processing chip (22) transmits an analysis result of the target to be scanned to the scanning control module (3);
step 4, the main control chip (32) controls the corresponding electric control switch (31) to switch on the power supply unit (33) for supplying power and controls one of the bar code scanning unit (11), the image pre-scanning unit (12) and the stereoscopic image scanning unit (13) to scan;
and 5, respectively receiving the scanning data of the bar code scanning unit (11), the image pre-scanning unit (12) and the stereoscopic image scanning unit (13) by the data processing chip (41), packaging according to the received scanning data, respectively marking the scanning data as a bar code scanning data packet, a plane image data packet and a stereoscopic image data packet, transmitting the scanning data packet, the plane image data packet and the stereoscopic image data packet to the buffer (42) for buffering to be transmitted, and respectively transmitting the bar code scanning data packet, the plane image data packet or the stereoscopic image data packet to the central server (100) through three data transmission ports (43) by the data output end of the buffer (42).
7. The image recognition method of a scanning gun for stereoscopic graphics according to claim 6, wherein: in step 4, the specific method for the main control chip (32) to control the stereoscopic image scanning unit (13) to scan is as follows:
the 3D graphic chip (132) analyzes the real-time scanning picture to generate a scanning angle and a scanning position of the five faces of the stereoscopic image of a recommended scanning target, and interacts with the stereoscopic auxiliary scanning main control chip (135) to obtain an analysis result, the stereoscopic auxiliary scanning main control chip (135) generates auxiliary scanning frames and scanning positions of the five faces of the stereoscopic image according to the analysis result of the 3D graphic chip (132), the real-time scanning picture and the auxiliary scanning frames with red colors are displayed on the display screen (134), when an operator accords the shooting angle and the shooting position of the main picture camera (131) with the auxiliary scanning frames, the auxiliary scanning frames of the display screen (134) are controlled to be green, the scanning of one face of the stereoscopic image is completed, at the moment, a prompt is displayed on the display screen (134) to carry out the next face scanning, and after the scanning of the five faces is completed, the 3D graphic chip (132) regenerates three-dimensional image data of the target to be scanned based on a three-dimensional image reconstruction algorithm and transmits the three-dimensional image data to the data processing chip (41).
8. The image recognition method of a scanning gun for stereoscopic graphics according to claim 7, wherein: the three-dimensional image reconstruction algorithm is an MVS three-dimensional reconstruction algorithm.
9. The image recognition method of a scanning gun for stereoscopic graphics according to claim 8, wherein: in the step 3, the fuzzy traversal is to compare the feature items in the feature data packet of the pre-scanning picture with the feature items in the feature data database (231) of the bar code image or the feature data database (232) of the stereo image one by one, set a feature comparison similarity threshold value, and consider that the feature comparison is successful for the comparison items larger than the similarity threshold value.
CN202311758806.2A 2023-12-20 2023-12-20 Scanning gun for stereoscopic graphics and identification method Active CN117436466B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311758806.2A CN117436466B (en) 2023-12-20 2023-12-20 Scanning gun for stereoscopic graphics and identification method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311758806.2A CN117436466B (en) 2023-12-20 2023-12-20 Scanning gun for stereoscopic graphics and identification method

Publications (2)

Publication Number Publication Date
CN117436466A CN117436466A (en) 2024-01-23
CN117436466B true CN117436466B (en) 2024-03-26

Family

ID=89548353

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311758806.2A Active CN117436466B (en) 2023-12-20 2023-12-20 Scanning gun for stereoscopic graphics and identification method

Country Status (1)

Country Link
CN (1) CN117436466B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5777314A (en) * 1992-02-27 1998-07-07 Symbol Optical scanner with fixed focus optics
KR20120029309A (en) * 2010-09-16 2012-03-26 삼성전자주식회사 Image scanning apparatus and method for scanning thereof
CN203149587U (en) * 2013-03-07 2013-08-21 福州微星数码科技有限公司 Acquisition machine with identity card identification, scanning, shooting and other functions
CN208314795U (en) * 2018-05-31 2019-01-01 东莞市万酷电子科技有限公司 A kind of radio scan rifle with double engines
CN109447195A (en) * 2018-09-27 2019-03-08 西安银石科技发展有限责任公司 A kind of method for inspecting based on 3-D scanning
CN210924621U (en) * 2019-12-03 2020-07-03 福建自贸试验区厦门片区益客联信息科技有限公司 Multifunctional scanning gun and cash registering system
CN117232387A (en) * 2022-09-23 2023-12-15 上海托旺数据科技有限公司 Laser and scanning three-dimensional modeling terminal equipment and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9773302B2 (en) * 2015-10-08 2017-09-26 Hewlett-Packard Development Company, L.P. Three-dimensional object model tagging

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5777314A (en) * 1992-02-27 1998-07-07 Symbol Optical scanner with fixed focus optics
KR20120029309A (en) * 2010-09-16 2012-03-26 삼성전자주식회사 Image scanning apparatus and method for scanning thereof
CN203149587U (en) * 2013-03-07 2013-08-21 福州微星数码科技有限公司 Acquisition machine with identity card identification, scanning, shooting and other functions
CN208314795U (en) * 2018-05-31 2019-01-01 东莞市万酷电子科技有限公司 A kind of radio scan rifle with double engines
CN109447195A (en) * 2018-09-27 2019-03-08 西安银石科技发展有限责任公司 A kind of method for inspecting based on 3-D scanning
CN210924621U (en) * 2019-12-03 2020-07-03 福建自贸试验区厦门片区益客联信息科技有限公司 Multifunctional scanning gun and cash registering system
CN117232387A (en) * 2022-09-23 2023-12-15 上海托旺数据科技有限公司 Laser and scanning three-dimensional modeling terminal equipment and method

Also Published As

Publication number Publication date
CN117436466A (en) 2024-01-23

Similar Documents

Publication Publication Date Title
KR101756620B1 (en) Method and device for alarming shelf life for storage-food in refrigerator using character recognition artificial intelligence
EP3499414B1 (en) Lightweight 3d vision camera with intelligent segmentation engine for machine vision and auto identification
EP3255580A1 (en) Hand-mounted indicia-reading device with finger motion triggering
KR100776805B1 (en) Efficient image transmission method and apparatus using stereo vision processing for intelligent service robot system
WO2017028669A1 (en) Light supplementation method and system for two-dimensional code scanning
CN111275759A (en) Transformer substation disconnecting link temperature detection method based on unmanned aerial vehicle double-light image fusion
WO2004032061A2 (en) Three dimensional face recognition
CN112434544A (en) Cigarette carton code detection and identification method and device
US11315360B2 (en) Live facial recognition system and method
CN108124142A (en) Images steganalysis system and method based on RGB depth of field camera and EO-1 hyperion camera
US6975763B2 (en) Shade component removing apparatus and shade component removing method for removing shade in image
CN112818722A (en) Modular dynamically configurable living body face recognition system
CN112149513A (en) Industrial manufacturing site safety helmet wearing identification system and method based on deep learning
EP3678048A1 (en) Method and device for identifying state of electrical apparatus
US8814047B2 (en) Expedited image processing method
CN117436466B (en) Scanning gun for stereoscopic graphics and identification method
CN106407906B (en) Face face recognition method
CN112668539A (en) Biological characteristic acquisition and identification system and method, terminal equipment and storage medium
CN107665328A (en) Face face recognition method
CN111507119A (en) Identification code identification method and device, electronic equipment and computer readable storage medium
US20210281742A1 (en) Document detections from video images
Li et al. CAS-AIR-3D Face: a low-quality, multi-modal and multi-pose 3D face database
CN117152397B (en) Three-dimensional face imaging method and system based on thermal imaging projection
US11176342B2 (en) Produce or item recognition by hybrid 3D camera and/or multi-spectrum illumination
CN114241590B (en) Self-learning face recognition terminal

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