CN114169354A - Two-dimensional code quality inspection method and device based on ARM platform design - Google Patents

Two-dimensional code quality inspection method and device based on ARM platform design Download PDF

Info

Publication number
CN114169354A
CN114169354A CN202210014003.5A CN202210014003A CN114169354A CN 114169354 A CN114169354 A CN 114169354A CN 202210014003 A CN202210014003 A CN 202210014003A CN 114169354 A CN114169354 A CN 114169354A
Authority
CN
China
Prior art keywords
dimensional code
quality inspection
photo frame
photo
component
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.)
Pending
Application number
CN202210014003.5A
Other languages
Chinese (zh)
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.)
China Software Evaluation Center
Original Assignee
China Software Evaluation Center
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 China Software Evaluation Center filed Critical China Software Evaluation Center
Priority to CN202210014003.5A priority Critical patent/CN114169354A/en
Publication of CN114169354A publication Critical patent/CN114169354A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1439Methods for optical code recognition including a method step for retrieval of the optical code
    • G06K7/1443Methods for optical code recognition including a method step for retrieval of the optical code locating of the code in an image
    • 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/146Methods for optical code recognition the method including quality enhancement steps

Abstract

The invention provides a two-dimensional code quality inspection method and device based on ARM platform design, and particularly relates to the field of quality inspection. The method comprises the steps of scanning a current photo frame, identifying a two-dimensional code on the photo frame, removing dryness and differentiating the image of the two-dimensional code, identifying the two-dimensional code, restoring information of the two-dimensional code, rotating the current photo frame, shooting views of the photo frame in a multi-angle mode according to a sequence set by a program, and restoring to form a three-dimensional graph of the photo frame according to the views. Compared with the prior art, the method and the device can automatically and quickly identify the two-dimension code information and call specific processing information according to the two-dimension code information. The automatic multi-angle shooting photo frame of camera can carry out angle conversion and enlargeing, and the control is automatic to carry out quality control. The quality inspection process can be performed automatically or by personnel, the identification effect is fast, and the equipment operation is stable.

Description

Two-dimensional code quality inspection method and device based on ARM platform design
Technical Field
The invention relates to a device in the field of quality inspection, in particular to a two-dimensional code quality inspection method and device based on ARM platform design.
Background
The existing quality inspection method for photo frames on a production line is manual quality inspection or quality inspection by shooting two-dimensional images, the manual quality inspection efficiency is low, the quality requirement on quality inspection personnel is high, the error of quality inspection by shooting the two-dimensional images is large, and the detection result is not accurate enough.
Disclosure of Invention
The invention aims to provide a two-dimensional code quality inspection method and device based on ARM platform design, and aims to solve the problems that in the prior art, the quality inspection result is not accurate enough and the quality inspection efficiency is low. The technical effects that can be produced by the preferred technical scheme in the technical schemes provided by the invention are described in detail in the following.
In order to achieve the purpose, the invention provides the following technical scheme:
in a first aspect, an embodiment of the present application provides a two-dimensional code quality inspection method based on an ARM platform design, including:
scanning the current photo frame, identifying a two-dimensional code on the photo frame, and carrying out photo-capture on the two-dimensional code to generate a two-dimensional code image;
performing drying removal and difference processing on the two-dimensional code image and identifying the two-dimensional code;
restoring the two-dimension code information, analyzing corresponding character information and identifying processing information of the photo frame;
rotating the current photo frame, and shooting the views of the photo frame at multiple angles according to the sequence set by a program;
restoring and forming a three-dimensional graph of the photo frame according to the view;
calling an image recognition algorithm to carry out quality inspection on the photo frame and form a quality inspection result;
sorting by using a robot according to the detection result, and respectively placing the photo frames into a finished product warehouse and a defective product warehouse;
the equipment calls an MES production line interface through a network, marks the quality inspection result of the photo frame and informs the MES to process the next photo frame;
and calling a field display board to display a large screen and displaying the quality inspection result information of the photo frame.
The view is preprocessed.
And the quality inspection result is locally stored to form a quality inspection record log file and a view photo file.
In a second aspect, an embodiment of the present application provides a two-dimensional code quality inspection apparatus designed based on an ARM platform, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the method according to the first aspect.
In a third aspect, the present application provides a readable storage medium, which stores a computer program, and when executed by a processor, the computer program implements the method according to the first aspect.
In a fourth aspect, an embodiment of the present application provides a device based on a two-dimensional code quality inspection method, including: the system comprises a display component, a two-dimensional code scanning component, a shooting component, a selecting component and a central processing component, wherein the display component, the two-dimensional code scanning component, the shooting component, the selecting component and the central processing component form a local area network through an ad hoc network module, the two-dimensional code scanning component comprises an ad hoc network module II and a two-dimensional code scanning camera, the central processing component comprises a server, an ad hoc network module I and an MES function module, a quality inspection induction coil used for inducing the position of a photo frame is arranged on a detection station, the two-dimensional code scanning camera is configured to scan two-dimensional code information of a finished photo frame coming from a production line and transmit the two-dimensional code information to the server through the ad hoc network module II, the shooting component comprises a panoramic photo camera, a multi-angle manipulator and an ad hoc network module III, and the multi-angle manipulator is configured to grab the photo frame for multi-attitude adjustment, the panoramic photographing camera is configured to photograph photo frames in multiple postures and transmit and store image information to the server through the ad hoc network module III, the selecting component comprises a multi-angle mechanical arm and an ad hoc network module IV, the multi-angle mechanical arm is configured to sort and select the photo frames with different qualities according to the server instruction, the display component comprises a display screen and an ad hoc network module V, the MES functional module is configured to mark quality inspection results of the current photo frames and display the quality inspection results through the display screen, and the MES functional module is further configured to inform production line equipment to produce the next photo frame after quality inspection results are displayed.
The two-dimensional code quality inspection method and device based on ARM platform design provided by the invention have the beneficial effects that: compared with the prior art, the method and the device can automatically and quickly identify the two-dimension code information and call specific processing information according to the two-dimension code information. The automatic multi-angle shooting photo frame of camera can carry out angle conversion and enlargeing, and the control is automatic to carry out quality control. The quality inspection process can be performed automatically or by personnel, the identification effect is fast, and the equipment operation is stable.
Drawings
Fig. 1 is a schematic diagram of a main structure of a device based on a two-dimensional code quality inspection method according to the present invention.
In the figure: 1. a display component; 2. a two-dimensional code scanning component; 3. a shooting component; 4. selecting a component; 5. a central processing component.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the examples given herein without any inventive step, are within the scope of the present invention.
The invention discloses a two-dimensional code quality inspection method and a two-dimensional code quality inspection device based on ARM platform design, wherein the method comprises the following steps: a set of device is designed on an ARM development platform, the device is connected to a field production line system through a network port, the action of a field robot is controlled, a camera is controlled to shoot, the device is connected to a field display board system to display and output, and a large-capacity storage hard disk is arranged locally. The processed photo frames are placed on the production line, the robot grabs and places the photo frames on the quality inspection station, the quality inspection induction coil detects that the photo frames are placed and then sends signals to a photographing program on the device, and the program sends signals to control the camera to photograph the two-dimensional codes of the photo frames and photograph the photo frames at multiple angles. And the program on the device carries out image analysis processing on the two-dimensional code information and analyzes the detailed processing information of the photo frame. The image processing program on the device preprocesses the photos shot from multiple angles to form photos which can be pasted with pictures. Calling Unity3D to restore the three-dimensional stereo image of the photo frame, comparing the characteristic point image on each surface with the points on each surface of the standard workpiece, and calculating to form a quality inspection result by combining the detailed processing information of the photo frame. And storing the quality inspection result in a local log and storing the inspection image. And the equipment calls a robot through a network to sort the finished products or defective products of the photo frames subjected to the quality inspection. The device informs the MES system of the quality inspection result through the network, marks the current processing task and informs the MES system of processing the next product. And finally, the quality inspection result is displayed on a large screen on site by the device.
In a first aspect, an embodiment of the present application provides a two-dimensional code quality inspection method based on an ARM platform design, including:
scanning the current photo frame, identifying the two-dimensional code on the photo frame, and carrying out photo-capture on the two-dimensional code to generate a two-dimensional code image;
performing drying removal and differencing processing on the two-dimensional code image and identifying the two-dimensional code;
restoring the two-dimensional code information, analyzing corresponding character information and identifying processing information of the photo frame;
rotating the current photo frame, and shooting the view of the photo frame in a multi-angle mode according to the sequence set by the program;
restoring to form a three-dimensional figure of the photo frame according to the view;
calling an image recognition algorithm to carry out quality inspection on the photo frame and form a quality inspection result;
sorting by using a robot according to the detection result, and respectively placing the photo frames into a finished product warehouse and a defective product warehouse;
the equipment calls an MES production line interface through a network, marks the quality inspection result of the photo frame and informs the MES to process the next photo frame;
and calling the field display board to display a large screen and display the quality inspection result information of the photo frame.
The views are preprocessed.
And the quality inspection result is locally stored to form a quality inspection record log file and a view photo file.
In a second aspect, an embodiment of the present application provides a two-dimensional code quality inspection device designed based on an ARM platform, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the method according to the first aspect when executing the computer program.
In a third aspect, the present application provides a readable storage medium, where a computer program is stored, and when executed by a processor, the computer program implements the method according to the first aspect.
In a fourth aspect, an embodiment of the present application provides a device based on a two-dimensional code quality inspection method, which is characterized by including: the system comprises a display component 1, a two-dimensional code scanning component 2, a shooting component 3, a selecting component 4 and a central processing component 5, wherein the display component 1, the two-dimensional code scanning component 2, the shooting component 3, the selecting component 4 and the central processing component 5 form a local area network through an ad hoc network module, the two-dimensional code scanning component 2 comprises an ad hoc network module II and a two-dimensional code scanning camera, the central processing component 5 comprises a server, an ad hoc network module I and an MES function module, a quality inspection induction coil for inducing the position of a photo frame is arranged on a detection station, the two-dimensional code scanning camera is configured to scan two-dimensional code information of a finished photo frame on a production line and transmit the two-dimensional code information to the server through the ad hoc network module II, the shooting component 3 comprises a panoramic photo camera, a multi-angle manipulator and an ad hoc network module III, the multi-angle manipulator is configured to grab the photo frame for multi-posture adjustment, the panoramic camera is configured to take a picture of the photo frame in a multi-pose mode, image information is transmitted and stored to the server through the ad hoc network module III, the selecting component 4 comprises a multi-angle mechanical arm and an ad hoc network module IV, the multi-angle mechanical arm is configured to sort and select photo frames with different qualities according to server instructions, the displaying component 1 comprises a display screen and an ad hoc network module V, the MES functional module is configured to mark a quality inspection result of the current photo frame and display the quality inspection result through the display screen, and the MES functional module is further configured to inform production line equipment to produce the next photo frame after the quality inspection result is displayed. The device is connected to an MES functional system and a server through an ad hoc network port, the action of a field robot is controlled, a camera is controlled to shoot, a field display screen is connected to display and output, and the server is provided with a large-capacity storage hard disk. The processed photo frames are placed on the production line, the robot grabs and places the photo frames on the quality inspection station, the quality inspection induction coil detects that the photo frames send signals to a photographing program on the server after being placed, and the server sends signals to control the panoramic photographing camera to photograph the two-dimensional codes of the photo frames and photograph at multiple angles. And the program on the server carries out image analysis processing on the two-dimensional code information and analyzes the detailed processing information of the photo frame. And an image processing program on the server preprocesses the photos shot from multiple angles to form photos capable of being pasted with pictures. Calling Unity3D to restore the three-dimensional stereo image of the photo frame, comparing the characteristic point image on each surface with the points on each surface of the standard workpiece, and calculating to form a quality inspection result by combining the detailed processing information of the photo frame. And storing the local log of the server and the detection image according to the quality detection result. And the server calls the multi-angle manipulator through the network to sort the finished products or defective products of the photo frames subjected to the quality inspection. The device informs the MES system of the quality inspection result through the network, marks the current processing task and informs the MES system of processing the next product. And finally, the quality inspection result is displayed on a large screen on site by the device.
The flow in the actual production is as follows:
the ARM equipment is used for controlling the shooting assembly, the pattern recognition module and the two-dimension code recognition module, so that the following steps are realized:
the method comprises the following steps: a robot on the equipment automatically picks finished photo frames coming from the production line and places the finished photo frames on a quality inspection station, and the ARM equipment controls a camera to take two-dimensional codes and take view photos at multiple angles.
Step two: and preprocessing the two-dimensional code picture, performing drying removal and difference processing on the two-dimensional code picture, and analyzing the two-dimensional code picture to obtain the two-dimensional code picture containing processing detailed parameter information, wherein the processing detailed parameter is used for comparing with the actual picture frame feature point data and can compare the difference between the two feature point data and the actual picture frame feature point data.
Step three: and (3) preprocessing the view picture, calling an image processing function module, and processing the image by contrast, brightness and noise to enhance the definition of the view and improve the accuracy of constructing the three-dimensional stereogram.
Step five: and (3) restoring the three-dimensional image, calling an unintuiy 3D interface, carrying out mapping processing according to the view picture shot from multiple angles, and restoring the three-dimensional image.
Step six: and (5) image recognition, namely extracting the characteristic points of the five-dimensional stereo graph to form a characteristic point graph file.
Step seven: and matching the models, namely comparing the feature point files with standard point files in a model library, and forming a detection result according to a matching result.
Step eight: and (4) quality inspection control, namely controlling the flow direction of the conveyor belt according to the quality inspection result information generated in the step seven, directly sending the defective products to a to-be-processed area, and sending the normal products to a warehouse.
Step nine: and transmitting the quality inspection result to a large field screen through a network for displaying, and calling an MES interface to inform the processing and production of the next product.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (6)

1. A two-dimensional code quality inspection method based on ARM platform design is characterized by comprising the following steps:
scanning the current photo frame, identifying a two-dimensional code on the photo frame, and carrying out photo-capture on the two-dimensional code to generate a two-dimensional code image;
performing drying removal and difference processing on the two-dimensional code image and identifying the two-dimensional code;
restoring the two-dimension code information, analyzing corresponding character information and identifying processing information of the photo frame;
rotating the current photo frame, and shooting the views of the photo frame at multiple angles according to the sequence set by a program;
restoring and forming a three-dimensional graph of the photo frame according to the view;
calling an image recognition algorithm to carry out quality inspection on the photo frame and form a quality inspection result;
sorting by using a robot according to the detection result, and respectively placing the photo frames into a finished product warehouse and a defective product warehouse;
the equipment calls an MES production line interface through a network, marks the quality inspection result of the photo frame and informs the MES to process the next photo frame;
and calling a field display board to display a large screen and displaying the quality inspection result information of the photo frame.
2. The ARM platform design-based two-dimensional code quality inspection method as claimed in claim 1, wherein: the view is preprocessed.
3. The ARM platform design-based two-dimensional code quality inspection method as claimed in claim 1, wherein: and the quality inspection result is locally stored to form a quality inspection record log file and a view photo file.
4. A two-dimensional code quality inspection device designed based on an ARM platform, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 3 when executing the computer program.
5. A readable storage medium, storing a computer program, characterized in that the computer program, when executed by a processor, implements the method according to any of claims 1 to 3.
6. A device based on a two-dimensional code quality inspection method is characterized by comprising the following steps: the display component (1), the two-dimensional code scanning component (2), the shooting component (3), the selecting component (4) and the central processing component (5), wherein the display component (1), the two-dimensional code scanning component (2), the shooting component (3), the selecting component (4) and the central processing component (5) form a local area network through an ad hoc network module, the two-dimensional code scanning component (2) comprises an ad hoc network module II and a two-dimensional code scanning camera, the central processing component (5) comprises a server, an ad hoc network module I and an MES function module, a quality inspection induction coil used for inducing the position of a photo frame is arranged on a detection station, the two-dimensional code scanning camera is configured to scan two-dimensional code information of a finished product photo frame from a production line and is transmitted to the server through the ad hoc network module II, and the shooting component (3) comprises a panoramic camera, The multi-angle mechanical arm and the ad hoc network module III, the multi-angle mechanical arm is configured to snatch the photo holder frame and carry out the adjustment of many gestures, the panorama camera is configured to carry out many gestures to the photo holder frame and pass through the ad hoc network module III transmits and saves image information to the server, it includes multi-angle mechanical arm and ad hoc network module four to select subassembly (4), the multi-angle mechanical arm is configured to the basis the server instruction is categorised the photo holder frame of different qualities and is selected, display module (1) is including display screen and ad hoc network module five, the MES function module is configured to carry out the mark of quality testing result and pass through to current photo holder frame the display screen shows, MES function module still is configured to inform after the demonstration of quality testing result and produces next photo holder frame to produce line equipment.
CN202210014003.5A 2022-01-06 2022-01-06 Two-dimensional code quality inspection method and device based on ARM platform design Pending CN114169354A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210014003.5A CN114169354A (en) 2022-01-06 2022-01-06 Two-dimensional code quality inspection method and device based on ARM platform design

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210014003.5A CN114169354A (en) 2022-01-06 2022-01-06 Two-dimensional code quality inspection method and device based on ARM platform design

Publications (1)

Publication Number Publication Date
CN114169354A true CN114169354A (en) 2022-03-11

Family

ID=80489189

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210014003.5A Pending CN114169354A (en) 2022-01-06 2022-01-06 Two-dimensional code quality inspection method and device based on ARM platform design

Country Status (1)

Country Link
CN (1) CN114169354A (en)

Similar Documents

Publication Publication Date Title
CN113524194B (en) Target grabbing method of robot vision grabbing system based on multi-mode feature deep learning
CN108656107B (en) Mechanical arm grabbing system and method based on image processing
CN112476434A (en) Visual 3D pick-and-place method and system based on cooperative robot
CN111553949B (en) Positioning and grabbing method for irregular workpiece based on single-frame RGB-D image deep learning
CN110281231B (en) Three-dimensional vision grabbing method for mobile robot for unmanned FDM additive manufacturing
CN111507976B (en) Defect detection method and system based on multi-angle imaging
CN111982921A (en) Hole defect detection method and device, conveying platform and storage medium
CN108090896B (en) Wood board flatness detection and machine learning method and device and electronic equipment
CN113643280B (en) Computer vision-based plate sorting system and method
WO2024087962A1 (en) Truck bed orientation recognition system and method, and electronic device and storage medium
CN112613123A (en) AR three-dimensional registration method and device for aircraft pipeline
CN114004814A (en) Coal gangue identification method and system based on deep learning and gray scale third moment analysis
CN114693908A (en) Industrial two-dimensional code positioning method based on YOLOv5
Hao et al. Fast recognition method for multiple apple targets in complex occlusion environment based on improved YOLOv5
CN111127556A (en) Target object identification and pose estimation method and device based on 3D vision
CN113240798B (en) Intelligent material integrity detection and configuration method based on digital twinning and AR
CN117245672B (en) Intelligent motion control system and method for modularized assembly of camera support
CN117022971B (en) Intelligent logistics stacking robot control system
CN114529510A (en) Cathode copper online quality automatic detection and classification method
CN112101060B (en) Two-dimensional code positioning method based on translation invariance and small-area template matching
CN207976755U (en) A kind of steel warehouse control system based on machine vision and PLC
CN114169354A (en) Two-dimensional code quality inspection method and device based on ARM platform design
CN111275756A (en) Spool positioning method and apparatus
CN111275758A (en) Hybrid 3D visual positioning method and device, computer equipment and storage medium
CN111860035A (en) Book cover detection method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication