CN111156923A - Workpiece detection method, workpiece detection device, computer equipment and storage medium - Google Patents

Workpiece detection method, workpiece detection device, computer equipment and storage medium Download PDF

Info

Publication number
CN111156923A
CN111156923A CN201911400158.7A CN201911400158A CN111156923A CN 111156923 A CN111156923 A CN 111156923A CN 201911400158 A CN201911400158 A CN 201911400158A CN 111156923 A CN111156923 A CN 111156923A
Authority
CN
China
Prior art keywords
workpiece
detection
detected
data
attribute information
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
CN201911400158.7A
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.)
SHANGHAI MORIMATSU PHARMACEUTICAL EQUIPMENT ENGINEERING CO LTD
Original Assignee
SHANGHAI MORIMATSU PHARMACEUTICAL EQUIPMENT ENGINEERING 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 SHANGHAI MORIMATSU PHARMACEUTICAL EQUIPMENT ENGINEERING CO LTD filed Critical SHANGHAI MORIMATSU PHARMACEUTICAL EQUIPMENT ENGINEERING CO LTD
Priority to CN201911400158.7A priority Critical patent/CN111156923A/en
Publication of CN111156923A publication Critical patent/CN111156923A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/24Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B21/00Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant
    • G01B21/02Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant for measuring length, width, or thickness
    • G01B21/04Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant for measuring length, width, or thickness by measuring coordinates of points
    • G01B21/042Calibration or calibration artifacts

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

The invention discloses a workpiece detection method, a device, a computer and a storage medium, wherein the workpiece detection method comprises the following steps: acquiring attribute information of a workpiece to be detected; carrying out optical detection on the detection area to obtain detection data of various parameters of the workpiece to be detected; searching standard data of each parameter corresponding to the attribute information; and comparing the detection data with the standard data, and judging whether the workpiece to be detected is qualified according to a comparison result. When the method is used for detecting the workpiece, the corresponding standard data of each parameter of the workpiece is found by acquiring the attribute information of the workpiece, and the standard data and the detection data obtained by optically detecting the workpiece are compared and analyzed to determine whether the workpiece is qualified or not, so that the measurement and quality detection of the workpiece can be completed without manual operation, the efficiency of workpiece detection is effectively improved, the introduction of manual operation errors is avoided, and the precision of workpiece detection is improved.

Description

Workpiece detection method, workpiece detection device, computer equipment and storage medium
Technical Field
The embodiments of the present invention relate to mechanical inspection technologies, and in particular, to a workpiece inspection method, a workpiece inspection device, a computer, and a storage medium.
Background
Since the workpiece is subjected to several forming processes such as stamping, bending and the like, the finished product has a large number of defects. The shape of the outline of the workpiece and the dimensions of the key positions are criteria for determining whether the workpiece is a good product or a defective product. The sizes and the outline shapes of workpieces produced in mass at present are randomly and manually subjected to random sampling inspection, the obtained measurement data are also manually subjected to comparison analysis, and the detection efficiency is low and the randomness is high.
Disclosure of Invention
In view of the above, the present invention provides a workpiece detection method, a workpiece detection device, a computer, and a storage medium, which can improve workpiece detection efficiency.
In a first aspect, an embodiment of the present invention provides a workpiece detection method, where the method includes:
acquiring attribute information of a workpiece to be detected;
carrying out optical detection on the detection area to obtain detection data of various parameters of the workpiece to be detected;
searching standard data of each parameter corresponding to the attribute information;
and comparing the detection data with the standard data, and judging whether the workpiece to be detected is qualified according to a comparison result.
According to the workpiece detection method, when the workpiece is detected, the corresponding standard data of each parameter of the workpiece can be found by acquiring the attribute information of the workpiece, the workpiece is automatically measured in an optical detection mode to obtain the workpiece detection data, and whether the workpiece is qualified or not can be determined through comparison and analysis of the standard data and the detection data, so that the workpiece can be measured and quality detection can be completed without any manual operation, the workpiece detection efficiency is effectively improved, the introduction of manual operation errors is avoided, and meanwhile, the workpiece detection precision is improved.
In one embodiment, the step of obtaining the attribute information of the workpiece to be detected includes:
scanning the two-dimensional code image of the workpiece to be detected;
and extracting attribute information of the workpiece to be detected from the two-dimensional code image.
In one embodiment, the standard data is a value range of each parameter of the workpiece to be detected within a tolerance range, the step of comparing the detection data with the standard data and determining whether the workpiece to be detected is qualified according to a comparison result includes:
comparing the detection data of each parameter with corresponding standard data, and judging whether the detection data falls into the value range;
and when the detection data of each parameter all fall into the corresponding value range, judging that the workpiece to be detected is qualified.
In one embodiment, the method further comprises:
and when the workpiece to be detected is judged to be unqualified, generating quality inspection feedback according to the comparison result.
In one embodiment, the step of optically inspecting the inspection area to obtain inspection data of parameters of the workpiece to be inspected includes:
acquiring a preview image of the detection area, and carrying out contour detection on the preview image;
when the contour of the workpiece cannot be detected, a prompt for adjusting the workpiece placement position is generated.
In one embodiment, the method further comprises:
when the contour of the workpiece is detected, searching a standard shape of the workpiece corresponding to the attribute information;
judging whether the workpiece outline is matched with the standard workpiece shape;
and when the workpiece outline is not matched with the standard workpiece shape, generating a prompt for adjusting the workpiece placement angle.
In one embodiment, the optical inspection comprises machine vision inspection and/or laser inspection.
In a second aspect, an embodiment of the present invention further provides a workpiece detection apparatus, where the workpiece detection apparatus includes:
the acquisition module is used for acquiring attribute information of the workpiece to be detected;
the detection module is used for carrying out optical detection on a detection area to obtain detection data of various parameters of the workpiece to be detected;
the searching module is used for searching the standard data of each parameter corresponding to the attribute information;
and the comparison module is used for comparing the detection data with the standard data and judging whether the workpiece to be detected is qualified or not according to a comparison result.
According to the workpiece detection device, when a workpiece is detected, the corresponding standard data of each parameter of the workpiece can be found by acquiring the attribute information of the workpiece, the workpiece is automatically measured in an optical detection mode to obtain the workpiece detection data, and whether the workpiece is qualified or not can be determined through comparison and analysis of the standard data and the detection data, so that the workpiece can be measured and quality detection can be completed without any manual operation, the workpiece detection efficiency is effectively improved, the introduction of manual operation errors is avoided, and meanwhile, the workpiece detection precision is improved.
In a third aspect, an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the program to implement the workpiece detection method as described above.
In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the workpiece detection method as described above.
Drawings
FIG. 1 is a schematic flow chart diagram illustrating a method for inspecting a workpiece according to one embodiment;
FIG. 2 is a schematic flow chart illustrating steps of obtaining attribute information of a workpiece to be detected in one embodiment;
FIG. 3 is a schematic flow chart illustrating steps of an embodiment of optically inspecting an inspection area to obtain inspection data of parameters of a workpiece to be inspected;
FIG. 4 is a flowchart illustrating the steps of comparing the inspection data with the standard data and determining whether the workpiece to be inspected is qualified according to the comparison result in one embodiment;
FIG. 5 is a schematic illustration of an exemplary operator interface for workpiece inspection;
fig. 6 is a schematic structural diagram of a workpiece detection apparatus according to an embodiment.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
The method can be applied to computer equipment such as a terminal and a server, and the application to the terminal is taken as an example for description. Fig. 1 is a schematic flow chart of a workpiece inspection method according to an embodiment, and as shown in fig. 1, in an embodiment, a workpiece inspection method includes:
step S120: and acquiring attribute information of the workpiece to be detected.
Specifically, the workpiece refers to a processing object in a machining process. It can be a single part or a combination of several parts secured together. For example, the workpiece may be a tee, elbow, butt joint, and the like. The attribute information of the workpiece is a basic attribute for indicating the workpiece, and may include information such as a variety and a purchase order number. The terminal acquires the attribute information of the workpiece to be detected, specifically, when the workpiece to be detected is detected, a user inputs the attribute information of the workpiece to be detected into the terminal, and the terminal can also actively acquire the attribute information through the information acquisition equipment.
Further, after acquiring the attribute information of the workpiece to be detected, the terminal can match the acquired attribute information with the workpiece information stored in the database, judge whether the pipe fitting information matched with the attribute information exists in the database, and execute subsequent detection when the matched workpiece information is found; when the matched workpiece information is not found, prompting is carried out on the user, and the prompting content can be that the workpiece data is not found or whether the workpiece is correct or not is checked.
Step S140: and carrying out optical detection on the detection area to obtain detection data of various parameters of the workpiece to be detected.
Specifically, the terminal displays an operation interface, and a plurality of operation function options are provided on the operation interface, where the operation function options may include start detection, re-measurement, reset, and the like. The user places the workpiece to be detected in the detection area, and can start to measure various parameters of the workpiece to be detected through the operation function options. The parameters of the workpiece can comprise the length, the pipe diameter, the thickness and the like of the workpiece. After receiving a detection starting instruction made by a user, the terminal starts an optical measurement device to perform optical measurement on a detection area to obtain optical measurement data, and performs operation processing on the optical measurement data through a built-in algorithm program to obtain detection data of each parameter of the workpiece to be detected.
Furthermore, after each optical measurement is carried out to obtain a parameter measurement result, the parameter measurement result can be displayed on an operation interface, a user confirms whether the parameter measurement result is stored, and the user can preliminarily judge whether the optical detection has a large error according to the mechanical measurement result of the workpiece to be detected. And when receiving a storage instruction of the user through the operation interface, executing the subsequent steps. When a retest command is received, the optical measurement can be resumed.
Step S160: and searching standard data of each parameter corresponding to the attribute information.
Specifically, the mapping relationship between the standard data of each parameter of each workpiece and the attribute information may be stored in the database in advance. The standard data may include accurate values, allowable tolerances, or allowable value ranges of the parameters. And the terminal searches the standard data of each parameter of the workpiece to be detected from the database through the attribute information. It is understood that the execution sequence of step S160 is not limited in the present method, and step S160 may be executed before step S140 or after step S140.
Step S180: and comparing the detection data with the standard data, and judging whether the workpiece to be detected is qualified according to the comparison result.
Specifically, the terminal compares the obtained detection data with the standard data for analysis, and judges whether the detection data of each parameter meets the requirements of the standard data. And judging whether the workpiece to be detected is qualified or not according to the comparison result. When the workpiece to be detected is judged to be qualified, the detection can be finished or the detection of the next workpiece to be detected can be continued.
According to the workpiece detection method, when the workpiece is detected, the corresponding standard data of each parameter of the workpiece can be found by acquiring the attribute information of the workpiece, the workpiece is automatically measured in an optical detection mode to obtain the workpiece detection data, and whether the workpiece is qualified or not can be determined through comparison and analysis of the standard data and the detection data, so that the workpiece can be measured and quality detection can be completed without any manual operation, the workpiece detection efficiency is effectively improved, the introduction of manual operation errors is avoided, and meanwhile, the workpiece detection precision is improved.
In one embodiment, the optical inspection includes machine vision inspection and/or laser inspection. Specifically, the parameter measurement of the workpiece to be detected can be performed based on at least one of a machine vision detection method, a laser detection method, and a machine vision laser fusion detection method. The operation interface of the terminal can also provide function options selected by the camera, so that a user can select a proper camera and a corresponding optical detection method according to measurement requirements.
Further, when measuring parameters of a workpiece by machine vision, it is possible to capture an image of a detection area, perform preprocessing operations such as gradation processing on the image, perform edge extraction on the preprocessed image, and calculate parameters such as a length, a width, and a diameter of the workpiece from the size of pixels of the edge of each dimension extracted, a distance from a camera to the detection area, and the like. When the workpiece parameters are measured by the laser, the laser emitting device can calculate the workpiece parameters of each dimension on a sliding table which can slide in the horizontal direction or the vertical direction according to the laser reflection signals of the workpiece detected when the workpiece slides in the horizontal direction or the vertical direction. When measuring parameters of a workpiece by a detection method of machine vision laser fusion, a laser camera hybrid technique uses a camera to detect a laser beam projected onto an object at a specific angle. And determining parameters such as height, width and the like through trigonometric operation.
It is to be understood that the machine vision detection method, the laser detection method, and the machine vision laser fusion detection method are not limited to the above-mentioned embodiments, and other methods may be adopted, which are not listed here. In addition, according to different detection requirements of different workpieces, some workpieces need to measure parameters of multiple angles of the workpieces, so that parameter information of each dimension may not be obtained by one-time optical detection, two or more times of optical detection may be needed, and at this time, a user needs to put the angle position of the workpiece to be attacked again after each optical measurement, and the measurement result of each time can be automatically stored.
Fig. 2 is a schematic flow chart illustrating the steps of acquiring the attribute information of the workpiece to be detected in the embodiment, and as shown in fig. 2, on the basis of the embodiment, step S120 of the workpiece detection method in this embodiment may specifically include:
step S122: and scanning the two-dimensional code image of the workpiece to be detected.
Step S124: and extracting attribute information of the workpiece to be detected from the two-dimensional code image.
Specifically, when the workpiece to be detected is detected, the two-dimensional code scanner can scan the identification two-dimensional code of the workpiece to be detected to obtain a two-dimensional code image. The identification two-dimensional code can be pasted on a workpiece to be detected, and can also be printed at other positions or stored on terminal equipment such as a mobile phone and a tablet personal computer of a user. The two-dimensional code scanner can be arranged in the terminal or connected with the terminal. And the terminal analyzes the two-dimensional code after acquiring the two-dimensional code image to obtain the attribute information of the workpiece to be detected.
Fig. 3 is a schematic flow chart of the steps of optically detecting the detection area to obtain the detection data of each parameter of the workpiece to be detected in one embodiment, as shown in fig. 3, based on the above technical solution, the step S140 of the workpiece detection method in this embodiment may specifically include:
step S141: and acquiring a preview image of the detection area, and carrying out contour detection on the preview image.
Step S142: when the contour of the workpiece cannot be detected, a prompt for adjusting the workpiece placement position is generated.
Specifically, when the detection area is optically detected, a preview image of the detection area can be acquired through the camera, and since the size of the image of the preview image is smaller than that of a normally shot image, whether a workpiece can exist in the detection area can be detected through the preview image, so that the calculation amount can be reduced, and the processing efficiency can be improved. And performing contour detection on the acquired preview image to obtain the workpiece contour of the workpiece to be detected, specifically, for example, a canny operator can be used as a basic edge detection operator to perform edge detection and extraction. When the outline of the workpiece cannot be detected, the workpiece to be detected is judged not to be placed in the detection area, and a prompt for adjusting the placement position of the workpiece can be generated to prompt a user to place the workpiece to be detected in the correct detection area.
Further, in an embodiment, the step S140 may further include:
step S143: and when the workpiece contour is detected, searching the standard workpiece shape corresponding to the attribute information.
Step S144: and judging whether the contour of the workpiece is matched with the standard shape of the workpiece.
Step S145: and when the contour of the workpiece is not matched with the standard shape of the workpiece, generating a prompt for adjusting the placement angle of the workpiece.
Specifically, in addition to the correspondence relationship between the attribute information and the standard data, images of standard shapes of workpieces corresponding to various attributes are stored in advance. The standard shape of the workpiece is a standard outline shape of the workpiece. The terminal can search the corresponding image of the standard shape of the workpiece according to the attribute information. And after extracting the workpiece outline from the preview image, the terminal performs image matching on the workpiece outline and the standard shape of the workpiece. If the workpiece contour can be zoomed to the image size matched with the standard shape of the workpiece, then the image matching degree of the workpiece contour and the image size is calculated, and when the matching degree exceeds a preset threshold value, the workpiece contour is judged to be matched with the standard shape of the workpiece; otherwise, judging that the workpiece outline is not matched with the standard shape of the workpiece.
When the workpiece contour is determined not to match the standard workpiece shape, a prompt to adjust the workpiece placement angle may be generated. At this time, the angle at which the user places the workpiece may not coincide with the angle that needs to be detected. Furthermore, the found standard shape of the workpiece can be displayed on an interface, so that a user can conveniently adjust the placing angle of the workpiece. When it is determined that the contour of the workpiece matches the standard shape of the workpiece, optical inspection of the inspection area, such as image capturing of the inspection area or parameter measurement by a laser inspection method, may be performed.
Fig. 4 is a schematic flow chart illustrating that the detection data is compared with the standard data in the above steps in one embodiment, and whether the workpiece to be detected is qualified is determined according to the comparison result, as shown in fig. 4, in one embodiment, the standard data is a value range of each parameter of the workpiece to be detected within a tolerance range, and step S180 of the workpiece detection method in this embodiment may specifically include:
step S182: comparing the detection data of each parameter with corresponding standard data, and judging whether the detection data fall into a value range;
step S184: and when the detection data of each parameter all fall into the corresponding value range, judging that the workpiece to be detected is qualified.
Specifically, each item of monitoring data of the workpiece to be detected may be compared with corresponding standard data, and if the detection parameter falls within the value range of the standard data, it is indicated that the detection data meets the specified tolerance range. When all the monitoring data of the workpiece to be detected fall into the value range of the standard data place, the workpiece to be detected is indicated to be a qualified workpiece, and if the detection data of one or more parameters do not fall into the corresponding value range, the workpiece to be detected is determined to be an unqualified workpiece. It is understood that in other embodiments, other alignment analysis methods may be used. For example, the standard data can also be an accurate value and an allowable tolerance, the terminal calculates the difference between the detection data of each parameter and the corresponding accurate value, and judges whether the absolute value of the difference does not exceed the allowable tolerance, when the absolute value of the difference calculated by each parameter does not exceed the allowable tolerance, the workpiece to be detected is judged to be qualified, otherwise, the workpiece to be detected is judged to be unqualified.
In an embodiment, after the step S180, the workpiece detecting method of the present embodiment may further include: and when the workpiece to be detected is judged to be unqualified, generating quality inspection feedback according to the comparison result.
Specifically, when the workpiece is determined to be unqualified, quality inspection feedback can be generated and displayed for prompting or sent to a user. The quality control feedback can be quantitative feedback or qualitative feedback. For example, when quantitative feedback, a red or other colored warning cue may be displayed indicating an unacceptable quality. When the feedback is qualitative feedback, the quality control feedback content may include which parameters are unqualified, what the difference between the unqualified parameters and the standard parameters is, and the like.
FIG. 5 is a schematic view of an exemplary embodiment of an operator interface for workpiece inspection, as shown in FIG. 5. The specific operation steps of detection can be displayed in an operation interface of workpiece detection, and by taking a three-way pipe as an example, the position schematic diagrams of two detection angles of the workpiece to be detected are displayed through a diagram I and a diagram II in the interface schematic diagram, so that a user can conveniently place the workpiece according to the diagram. The interface is also provided with function buttons for confirming, retesting, inputting a nominal value, resetting, selecting a camera and the like, so that a user can carry out detection operation. The image detection result obtained by optical detection can also be displayed on the operation interface, and downward function buttons are provided to adjust the visual angle of the camera. After the measurement is finished, the detection results of various detected parameters are displayed at the upper right of the interface, the three-way pipe has 6 parameters, the detected values can be displayed in the actually measured column, and the found tolerance value range of the standard data can be displayed in the tolerance range column, so that a user can more visually know the difference between the values to be detected and the standard values to judge whether the workpiece is qualified.
Further, in an embodiment, in the operation interface for workpiece detection, user account information of the workpiece detection system may also be set. Such as the access right and access level of the user, the functions that the user can use after logging in, etc. The functions that may be used may include whether the password must be modified after login, whether automatic logoff is allowed, whether the form user password is allowed, etc.
Fig. 6 is a schematic structural diagram of a workpiece inspection apparatus according to an embodiment, and as shown in fig. 6, in an embodiment, a workpiece inspection apparatus 300 includes: the acquiring module 320 is used for acquiring attribute information of the workpiece to be detected; the detection module 340 is configured to perform optical detection on the detection area to obtain detection data of each parameter of the workpiece to be detected; the searching module 360 is used for searching the standard data of each parameter corresponding to the attribute information; and the comparison module 380 is configured to compare the detection data with the standard data, and determine whether the workpiece to be detected is qualified according to the comparison result.
Specifically, the obtaining module 320 may obtain the attribute information of the workpiece to be detected by scanning the two-dimensional code image of the workpiece to be detected, and the obtaining module sends the attribute information to the detecting module 340 and the searching module 360. The detection module 340 performs optical detection on the workpiece to be detected in the detection area according to the received attribute information, where the optical detection specifically includes machine vision detection or laser detection, and obtains detection data of each parameter of the workpiece to be detected after detection, and sends the detection data to the comparison module 380. The searching module 360 searches the database stored in the glen county for the standard data of each parameter corresponding to the attribute information according to the received attribute information, and sends the standard data to the comparing module 380.
The comparison module 380 compares the received monitoring data with the standard data, and specifically can determine whether the detection data of each parameter of the workpiece to be detected falls in the value range of the standard data, and when the detection data of each parameter falls in the corresponding value range, the workpiece to be detected is qualified, otherwise, the workpiece to be detected is unqualified.
According to the workpiece detection device 300, when a workpiece is detected, the corresponding standard data of each parameter of the workpiece can be found by acquiring the attribute information of the workpiece, the workpiece is automatically measured in an optical detection mode to obtain workpiece detection data, and whether the workpiece is qualified or not can be determined through comparison and analysis of the standard data and the detection data, so that the measurement and quality detection of the workpiece can be completed without any manual operation, the workpiece detection efficiency is effectively improved, the introduction of manual operation errors is avoided, and meanwhile, the workpiece detection precision is improved.
It can be understood that the workpiece detection device provided by the embodiment of the invention can execute the workpiece detection method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. Each unit and module included in the workpiece detection apparatus in the above embodiment are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
In one embodiment, a computer device is provided that includes a memory, a processor, and a computer program stored on the memory and executable on the processor. The processor, when running the program, may perform the steps of: acquiring attribute information of a workpiece to be detected; carrying out optical detection on the detection area to obtain detection data of various parameters of the workpiece to be detected; searching standard data of each parameter corresponding to the attribute information; and comparing the detection data with the standard data, and judging whether the workpiece to be detected is qualified according to the comparison result.
It is to be understood that the computer device provided by the embodiment of the present invention, the processor of which executes the program stored on the memory, is not limited to the method operations described above, and may also execute the relevant operations in the stamp image extraction method provided by any embodiment of the present invention.
Further, the number of processors in the computer may be one or more, and the processors and the memory may be connected by a bus or other means. The memory can mainly comprise a program storage area and a data storage area, wherein the program storage area can store an operating system and an application program required by at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory may further include memory located remotely from the processor, which may be connected to the device/terminal/server via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
In one embodiment, the present invention also provides a computer readable storage medium having a computer program stored thereon, which when executed by a processor, causes the processor to perform the steps of: acquiring attribute information of a workpiece to be detected; carrying out optical detection on the detection area to obtain detection data of various parameters of the workpiece to be detected; searching standard data of each parameter corresponding to the attribute information; and comparing the detection data with the standard data, and judging whether the workpiece to be detected is qualified according to the comparison result.
It is to be understood that the computer-readable storage medium containing the computer program according to the embodiments of the present invention is not limited to the method operations described above, and may also execute the related operations in the workpiece detection method according to any embodiments of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods described in the embodiments of the present invention.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above embodiments only represent the preferred embodiments of the present invention and the applied technical principles, and the description thereof is specific and detailed, but not construed as limiting the scope of the invention. Numerous variations, changes and substitutions will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in more detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A method of inspecting a workpiece, comprising:
acquiring attribute information of a workpiece to be detected;
carrying out optical detection on the detection area to obtain detection data of various parameters of the workpiece to be detected;
searching standard data of each parameter corresponding to the attribute information;
and comparing the detection data with the standard data, and judging whether the workpiece to be detected is qualified according to a comparison result.
2. The method of claim 1, wherein the step of obtaining attribute information of the workpiece to be detected comprises:
scanning the two-dimensional code image of the workpiece to be detected;
and extracting attribute information of the workpiece to be detected from the two-dimensional code image.
3. The method according to claim 1, wherein the standard data is a value range of each parameter of the workpiece to be detected within a tolerance range, the step of comparing the detection data with the standard data and determining whether the workpiece to be detected is qualified according to a comparison result comprises:
comparing the detection data of each parameter with corresponding standard data, and judging whether the detection data falls into the value range;
and when the detection data of each parameter all fall into the corresponding value range, judging that the workpiece to be detected is qualified.
4. The method of claim 1, further comprising:
and when the workpiece to be detected is judged to be unqualified, generating quality inspection feedback according to the comparison result.
5. The method of claim 1, wherein the step of optically inspecting the inspection area to obtain inspection data of parameters of the workpiece to be inspected comprises:
acquiring a preview image of the detection area, and carrying out contour detection on the preview image;
when the contour of the workpiece cannot be detected, a prompt for adjusting the workpiece placement position is generated.
6. The method of claim 5, further comprising:
when the contour of the workpiece is detected, searching a standard shape of the workpiece corresponding to the attribute information;
judging whether the workpiece outline is matched with the standard workpiece shape;
and when the workpiece outline is not matched with the standard workpiece shape, generating a prompt for adjusting the workpiece placement angle.
7. The method according to any one of claims 1 to 6, wherein the optical inspection comprises machine vision inspection and/or laser inspection.
8. A workpiece detection apparatus, comprising:
the acquisition module is used for acquiring attribute information of the workpiece to be detected;
the detection module is used for carrying out optical detection on a detection area to obtain detection data of various parameters of the workpiece to be detected;
the searching module is used for searching the standard data of each parameter corresponding to the attribute information;
and the comparison module is used for comparing the detection data with the standard data and judging whether the workpiece to be detected is qualified or not according to a comparison result.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of workpiece inspection according to any of claims 1 to 7 when executing the program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method for workpiece inspection according to any one of claims 1 to 7.
CN201911400158.7A 2019-12-30 2019-12-30 Workpiece detection method, workpiece detection device, computer equipment and storage medium Pending CN111156923A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911400158.7A CN111156923A (en) 2019-12-30 2019-12-30 Workpiece detection method, workpiece detection device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911400158.7A CN111156923A (en) 2019-12-30 2019-12-30 Workpiece detection method, workpiece detection device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111156923A true CN111156923A (en) 2020-05-15

Family

ID=70559395

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911400158.7A Pending CN111156923A (en) 2019-12-30 2019-12-30 Workpiece detection method, workpiece detection device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111156923A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111957589A (en) * 2020-06-25 2020-11-20 安捷睿(厦门)机器人有限公司 Workpiece size detection method and system and workpiece size detection control device
CN112857216A (en) * 2021-01-08 2021-05-28 刘连英 Method, apparatus, system and medium for checking dimensional compliance of fastener
CN112945085A (en) * 2020-08-03 2021-06-11 深圳市明源云链互联网科技有限公司 Measurement method and electronic device
CN113070243A (en) * 2021-03-15 2021-07-06 杭州思看科技有限公司 Three-dimensional scanning data detection method, device and system and electronic device
CN113532277A (en) * 2021-09-13 2021-10-22 江苏中车数字科技有限公司 Method and system for detecting plate-shaped irregular curved surface workpiece
CN113834852A (en) * 2021-11-25 2021-12-24 单县多米石墨烯科技有限公司 Method and system for detecting heat dissipation performance of product with graphene coating
CN113945160A (en) * 2021-09-23 2022-01-18 北京博清科技有限公司 Worm wheel detection method, processor, storage medium and detection platform
CN114066893A (en) * 2022-01-17 2022-02-18 湖南视比特机器人有限公司 Method, device and system for detecting quality of workpiece
CN114324383A (en) * 2021-11-24 2022-04-12 深圳市埃尔法光电科技有限公司 Connector detection method, device and system
CN114485435A (en) * 2022-02-10 2022-05-13 苏州佳祺仕信息科技有限公司 Equipment height calibration method, device, equipment and storage medium
CN115540759A (en) * 2022-11-16 2022-12-30 南京科天力电子科技有限公司 Detection method and detection system for modifying metal based on image recognition technology
CN116071365A (en) * 2023-03-29 2023-05-05 季华实验室 Part detection method, device, equipment and storage medium
CN117634088A (en) * 2023-12-06 2024-03-01 广东美的制冷设备有限公司 Part inspection method, device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61189405A (en) * 1985-02-18 1986-08-23 Hitachi Ltd Non-contacting shape measuring instrument
CN103954213A (en) * 2014-04-17 2014-07-30 北京力信联合科技有限公司 Method for analyzing measured drawing of part
CN206624108U (en) * 2017-03-31 2017-11-10 天津先达恒业条码技术有限公司 Full-automatic labeling machine and full-automatic labeling system
CN108426521A (en) * 2017-08-12 2018-08-21 中民筑友科技投资有限公司 A kind of quality determining method and device of component
CN109452953A (en) * 2018-09-26 2019-03-12 深圳达闼科技控股有限公司 Method, apparatus, ultrasonic probe and the terminal of a kind of adjustment detection position
CN109708573A (en) * 2019-01-16 2019-05-03 武汉联扬科技有限公司 A kind of axial workpiece parameter measurement system and its measurement method
CN109960963A (en) * 2017-12-14 2019-07-02 红石生物特征科技有限公司 Contactless palmmprint acquisition device and its method
CN110136123A (en) * 2019-05-17 2019-08-16 无锡睿勤科技有限公司 Article detection method, mobile terminal and computer readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61189405A (en) * 1985-02-18 1986-08-23 Hitachi Ltd Non-contacting shape measuring instrument
CN103954213A (en) * 2014-04-17 2014-07-30 北京力信联合科技有限公司 Method for analyzing measured drawing of part
CN206624108U (en) * 2017-03-31 2017-11-10 天津先达恒业条码技术有限公司 Full-automatic labeling machine and full-automatic labeling system
CN108426521A (en) * 2017-08-12 2018-08-21 中民筑友科技投资有限公司 A kind of quality determining method and device of component
CN109960963A (en) * 2017-12-14 2019-07-02 红石生物特征科技有限公司 Contactless palmmprint acquisition device and its method
CN109452953A (en) * 2018-09-26 2019-03-12 深圳达闼科技控股有限公司 Method, apparatus, ultrasonic probe and the terminal of a kind of adjustment detection position
CN109708573A (en) * 2019-01-16 2019-05-03 武汉联扬科技有限公司 A kind of axial workpiece parameter measurement system and its measurement method
CN110136123A (en) * 2019-05-17 2019-08-16 无锡睿勤科技有限公司 Article detection method, mobile terminal and computer readable storage medium

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111957589A (en) * 2020-06-25 2020-11-20 安捷睿(厦门)机器人有限公司 Workpiece size detection method and system and workpiece size detection control device
CN112945085A (en) * 2020-08-03 2021-06-11 深圳市明源云链互联网科技有限公司 Measurement method and electronic device
CN112857216A (en) * 2021-01-08 2021-05-28 刘连英 Method, apparatus, system and medium for checking dimensional compliance of fastener
CN112857216B (en) * 2021-01-08 2021-10-15 唐旸 Method, apparatus, system and medium for checking dimensional compliance of fastener
CN113070243A (en) * 2021-03-15 2021-07-06 杭州思看科技有限公司 Three-dimensional scanning data detection method, device and system and electronic device
CN113532277A (en) * 2021-09-13 2021-10-22 江苏中车数字科技有限公司 Method and system for detecting plate-shaped irregular curved surface workpiece
CN113532277B (en) * 2021-09-13 2021-12-07 江苏中车数字科技有限公司 Method and system for detecting plate-shaped irregular curved surface workpiece
CN113945160A (en) * 2021-09-23 2022-01-18 北京博清科技有限公司 Worm wheel detection method, processor, storage medium and detection platform
CN113945160B (en) * 2021-09-23 2023-08-11 北京博清科技有限公司 Worm wheel detection method, processor, storage medium and detection platform
CN114324383A (en) * 2021-11-24 2022-04-12 深圳市埃尔法光电科技有限公司 Connector detection method, device and system
CN113834852A (en) * 2021-11-25 2021-12-24 单县多米石墨烯科技有限公司 Method and system for detecting heat dissipation performance of product with graphene coating
CN114066893A (en) * 2022-01-17 2022-02-18 湖南视比特机器人有限公司 Method, device and system for detecting quality of workpiece
CN114485435A (en) * 2022-02-10 2022-05-13 苏州佳祺仕信息科技有限公司 Equipment height calibration method, device, equipment and storage medium
CN114485435B (en) * 2022-02-10 2024-04-09 苏州佳祺仕信息科技有限公司 Equipment height calibration method, device, equipment and storage medium
CN115540759A (en) * 2022-11-16 2022-12-30 南京科天力电子科技有限公司 Detection method and detection system for modifying metal based on image recognition technology
CN115540759B (en) * 2022-11-16 2023-05-09 江西滕创洪科技有限公司 Detection method and detection system for modifying metal based on image recognition technology
CN116071365A (en) * 2023-03-29 2023-05-05 季华实验室 Part detection method, device, equipment and storage medium
CN117634088A (en) * 2023-12-06 2024-03-01 广东美的制冷设备有限公司 Part inspection method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111156923A (en) Workpiece detection method, workpiece detection device, computer equipment and storage medium
CN109300161B (en) Positioning method and device based on binocular vision
CN110579479A (en) PCB maintenance system and maintenance method based on false point defect detection
CN112884743B (en) Detection method and device, detection equipment and storage medium
KR20130033374A (en) Surveying method
CN110346704B (en) Method, device and equipment for determining test file in board test and storage medium
CN115077425A (en) Product detection equipment and method based on structured light three-dimensional vision
CN109118476B (en) Method and device for detecting integrity of edge profile of part
CN104778439B (en) Ultrasound detection clamp types intelligent identification Method and device based on Quick Response Code
CN117471392B (en) Method and system for detecting probe tip, electronic equipment and storage medium
JP2012037488A (en) Shape inspection device and shape inspection method
CN108106610B (en) Object stage perpendicularity detection method and system and control device thereof
JP2005283267A (en) Through hole measuring device, method, and program for through hole measurement
CN107931828B (en) One-key positioning method in laser processing, laser processing method and system
CN116071335A (en) Wall surface acceptance method, device, equipment and storage medium
JP7344156B2 (en) Crack detection device, crack detection method and program for hole expansion test
CN115908292A (en) Method and device for detecting defects of welding workpiece and storage medium
CN115770731A (en) Method and system for eliminating bad workpieces based on laser vision
JP2020071739A (en) Image processing apparatus
JP2019190911A (en) Inspection device
JP7344155B2 (en) Crack detection device, crack detection method and program for hole expansion test
JP2016217913A (en) X-ray inspection device
JP6009364B2 (en) Image processing apparatus, method, and program for measuring shape of spiral spring
JP2009085900A (en) System and method for testing component
CN109449096B (en) Method for identifying and detecting wafer chip

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200515