[go: up one dir, main page]

CN115307554B - Aluminum profile width detection equipment and method based on target image processing - Google Patents

Aluminum profile width detection equipment and method based on target image processing Download PDF

Info

Publication number
CN115307554B
CN115307554B CN202211243516.XA CN202211243516A CN115307554B CN 115307554 B CN115307554 B CN 115307554B CN 202211243516 A CN202211243516 A CN 202211243516A CN 115307554 B CN115307554 B CN 115307554B
Authority
CN
China
Prior art keywords
light beam
detected
profile
target image
light
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
CN202211243516.XA
Other languages
Chinese (zh)
Other versions
CN115307554A (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.)
Shandong Innovation Precision Technology Co Ltd
Original Assignee
Shandong Innovation Precision 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 Shandong Innovation Precision Technology Co Ltd filed Critical Shandong Innovation Precision Technology Co Ltd
Priority to CN202211243516.XA priority Critical patent/CN115307554B/en
Publication of CN115307554A publication Critical patent/CN115307554A/en
Application granted granted Critical
Publication of CN115307554B publication Critical patent/CN115307554B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/02Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness

Landscapes

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

Abstract

The application discloses aluminum profile width detection equipment and method based on target image processing, wherein the detection equipment comprises a first light source, a second light source, a first imaging device, a second imaging device and a target image processing device, and the first light source emits a first light beam for irradiating the surface of a part of a profile to be detected; a second light source emits a second light beam for irradiating the surface of the section to be detected; the first imaging device is used for acquiring a first light beam reflected by the profile to be detected and forming a first image, and two first boundaries are arranged on two opposite sides of the first image in the width direction of the profile to be detected; the second imaging device is used for acquiring a third light beam reflected by the profile to be detected and forming a second image; the target image processing device acquires first pixel points on two first boundaries and/or second pixel points of a second image, extracts the first pixel points on the two first boundaries and detects a first image distance between the two first pixel points, and can quickly detect whether the width of the aluminum profile is qualified or not.

Description

Aluminum profile width detection equipment and method based on target image processing
Technical Field
The application relates to the technical field of size detection equipment, in particular to aluminum profile width detection equipment and method for aluminum profile processing based on target images.
Background
The width detection is needed after the section bar is processed, in the related technical field, the detection adopts manual detection, the method is backward, the detection precision of the product is difficult to ensure by utilizing the manual detection, and if the production speed of running water is high, the problems of missing detection, wrong detection and the like are easy to occur by manual visual detection.
Disclosure of Invention
The embodiment of the application provides aluminum profile width detection equipment and method based on target image processing, and the equipment and method can be used for rapidly detecting whether the width of an aluminum profile is qualified.
In a first aspect, an embodiment of the present application provides an aluminum profile width detection apparatus based on target image processing, including:
the first light source emits a first light beam for irradiating the surface of the section to be detected;
the second light source emits a second light beam for irradiating the surface of the section to be detected, the first light beam and the second light beam can be mixed into a third light beam on the surface of the section to be detected, and the colors of the first light beam, the second light beam and the third light beam are different;
the first imaging device is used for acquiring the first light beam reflected by the profile to be detected and forming a first image, and two first boundaries are arranged on two opposite sides of the first image along the width direction of the profile to be detected;
the second imaging device is used for acquiring the third light beam reflected by the section bar to be detected and forming a second image, and the first image and the second image form a target image;
and the target image processing device acquires first pixel points on the two first boundaries and/or second pixel points of the second image through an edge detection method, extracts symmetrical first pixel points on the two first boundaries and detects a first image distance between the two symmetrical first pixel points.
Based on the aluminum profile width detection device based on target image processing in the embodiment of the application, when the second imaging device acquires the third light beam emitted by the profile to be detected, the width of the top surface (along the height direction of the detection device) of the profile to be detected is smaller than the width of the bottom surface (along the height direction of the detection device) of the profile to be detected, for example, the profile to be detected is rectangular, if the width of the top surface of the profile to be detected is too narrow, at this time, the first light beam emitted by the first light source can irradiate the top surface and two side walls adjacent to the top surface of the profile to be detected, the second light beam emitted by the second light source irradiates the two side walls of the profile to be detected, the first light beam and the second light beam are mixed into the third light beam on the surface of the profile to be detected, and the profile to be detected reflects the third light beam to the second imaging device, therefore, if the second imaging device receives the third light beam, the width of the top surface of the profile to be detected is too narrow, that if the image processing device detects a second pixel point in the target image, the width of the top surface of the profile to be detected is too narrow; if the section bar to be detected does not receive the third light beam, a target image is formed by receiving the first light source through the first imaging device, symmetrical first pixel points are obtained on a first boundary of the target image, the target image processing device obtains the symmetrical two first pixel points on the two first boundaries through an edge detection method, and by comparing first image distances among multiple groups of first pixel points, if the difference of the first image distances with the first pixel points of other groups exceeds a range value, the width of the section bar at the first pixel point of the group is judged to have a problem, so that the automatic detection of the width of the section bar to be detected is realized.
In some embodiments, the first light source is located at the center of the profile to be detected in the width direction of the profile to be detected, the first light source is located right above the profile to be detected in the height direction of the detection device, and the first light beam emitted by the first light source is perpendicular to the width direction of the detection device.
Based on the above embodiment, along the direction of height of check out test set, first light source is located the top of waiting to detect the section bar to guarantee that the first light beam of first light source outgoing can cover the top surface of waiting to detect the section bar, along the width direction of waiting to detect the section bar, first light source is located the central point of waiting to detect the section bar and puts, in order to guarantee that the first light beam of first light source outgoing can shine the top surface of waiting to detect the section bar perpendicularly, in order to avoid generating the shadow after the first light beam of first light source outgoing shines waiting to detect the section bar.
In some embodiments, the number of the second light sources is at least two, at least two of the second light sources are located on two sides of the profile to be detected along the width direction of the profile to be detected, and the second light beams emitted by the second light sources form included angles with the width direction of the profile to be detected.
Based on the embodiment, along the width direction of the profile to be detected, at least two second light sources are positioned on two sides of the profile to be detected, so that second light beams emitted by the at least two second light sources can cover two side faces, perpendicular to the width direction of the profile to be detected, of the square profile to be detected; the second light beam emitted by the second light source forms an included angle with the width direction of the profile to be detected, so that the second light beam irradiated on the profile to be detected can be reflected well.
In some embodiments, the aluminum profile width detection apparatus based on target image processing further includes:
the section bar to be detected is arranged on the upper side of the transparent support, and the first light beam and the second light beam can penetrate through the transparent support; and
the light absorbing piece is located on one side, away from the section bar to be detected, of the transparent supporting piece, and the light absorbing piece can absorb the first light beam and the second light beam.
Based on the above embodiment, the section bar to be detected is placed on the transparent support member, then the first light beam and the second light beam which are not irradiated to the section bar to be detected irradiate to the light absorption member through the transparent support member, and the light absorption member absorbs the first light beam and the second light beam which are irradiated to the surface of the light absorption member, so that the accuracy of the detection device is improved.
In some embodiments, the aluminum profile width detection apparatus based on target image processing further includes:
the first imaging device can acquire the fourth light beam and form a second boundary in the target image, the target image processing device acquires two third pixel points which are symmetrical on the second boundary through an edge detection method and takes the distance between the two symmetrical third pixel points as a reference size, and the fourth light beam is different from the first light beam, the second light beam and the third light beam in color.
Based on the above embodiment, the distance between the two third light sources is fixed, the distance between the two fourth light beams emitted by the two third light sources respectively is fixed, after the first imaging device obtains the two fourth light beams and forms the second boundary in the target image, the proportional relation between the image distance of the symmetrical third pixel points and the actual distance of the two third light sources can be calculated according to the distance between the symmetrical third pixel points which are just on the second boundary point in the two third light sources and the target image, and thus, the actual width of the sectional material can be calculated according to the proportional relation between the image distance of the second pixel points and the actual distance of the two third light sources and the image distance between the first pixel points.
In some embodiments, the third light source is disposed on a side of the transparent support away from the profile to be detected and toward the first imaging device, and the fourth light beam passes through the transparent support to irradiate the first imaging device.
Based on the above embodiment, the third light source is arranged on the side, away from the profile to be detected, of the transparent supporting piece and can be protected.
In some of these embodiments, the first imaging device includes a first imaging member and a first filter transmissive to only the first and fourth light beams, and the second imaging device includes a second imaging member and a second filter transmissive to only the third light beam.
Based on the above embodiment, therefore, the first imaging device can only receive the first light beam and the fourth light beam, and the second imaging device only receives the third light beam, so that the formation of pixel points in the target image by the light beams with other colors through the first imaging device and/or the second imaging device is avoided, the detection device can conveniently form clear and accurate images, and the accuracy of the detection value of the detection device can be improved.
In a second aspect, an embodiment of the present application provides an aluminum profile width detection method based on target image processing, including:
acquiring a first light beam reflected by a profile to be detected or acquiring the first light beam and a third light beam simultaneously and generating a target image;
detecting the target image, wherein if a second pixel point exists in the target image, the width of the section to be detected is not uniform; if only first pixel points exist in the target image, two first boundaries are formed in the target image through an edge detection method, symmetrical first pixel points on the two first boundaries are obtained at equal intervals along a direction perpendicular to the width direction of the section bar to be detected, a group of first image distances is formed by the two symmetrical first pixel points, and whether the distances of multiple groups of first images are equal or not is compared.
Based on the aluminum profile width detection device based on target image processing in the embodiment of the application, when the second imaging device acquires the third light beam emitted by the profile to be detected, the width of the top surface (along the height direction of the detection device) of the profile to be detected is smaller than the width of the bottom surface (along the height direction of the detection device) of the profile to be detected, for example, the profile to be detected is rectangular, if the width of the top surface of the profile to be detected is too narrow, at this time, the first light beam emitted by the first light source can irradiate the top surface and two side walls adjacent to the top surface of the profile to be detected, the second light beam emitted by the second light source irradiates the two side walls of the profile to be detected, the first light beam and the second light beam are mixed into the third light beam on the surface of the profile to be detected, and the profile to be detected reflects the third light beam to the second imaging device, therefore, if the second imaging device receives the third light beam, the width of the top surface of the profile to be detected is too narrow, that if the image processing device detects a second pixel point in the target image, the width of the top surface of the profile to be detected is too narrow; if the section bar to be detected does not receive the third light beam, a target image is formed by receiving the first light source through the first imaging device, symmetrical first pixel points are obtained on a first boundary of the target image, the target image processing device obtains the symmetrical two first pixel points on the two first boundaries through an edge detection method, and by comparing first image distances among multiple groups of first pixel points, if the difference of the first image distances with the first pixel points of other groups exceeds a range value, the width of the section bar at the first pixel point of the group is judged to have a problem, so that the automatic detection of the width of the section bar to be detected is realized.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic cross-sectional structure diagram of an aluminum profile width detection apparatus based on target image processing in an embodiment of the present application;
fig. 2 is a schematic flow chart of an aluminum profile width detection method based on target image processing in an embodiment of the present application.
Reference numerals: 10. a first light source; 20. a second light source; 30. a first imaging device; 40. a second imaging device; 50. a transparent support; 60. a light absorbing member; 70. a third light source; 80. detecting a section bar to be detected; a. the width direction of the section to be detected; b. the height direction of the device is detected.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
The width detection is needed after the section bar is processed, in the related technical field, the detection adopts manual detection, the method is backward, the detection precision of the product is difficult to ensure by utilizing the manual detection, and if the production speed of running water is high, the problems of missing detection, wrong detection and the like are easy to occur by manual visual detection.
In order to solve the above technical problem, please refer to fig. 1, a first aspect of the present application provides an aluminum profile width detection apparatus based on target image processing, which is capable of automatically detecting whether the width of an aluminum profile is qualified.
It can be understood that the detection device of the present application can be used for detecting not only aluminum profiles, but also profiles of any material, for example, steel profiles, plastic profiles, wood profiles, etc.; in addition, the width of the profile 80 to be detected in the present application refers to a direction perpendicular to the moving direction of the profile 80 to be detected, and the width of the profile 80 to be detected is different when the moving direction of the profile 80 to be detected is different.
Referring to fig. 1, the aluminum profile width detection apparatus based on target image processing includes a first light source 10, a second light source 20, a first imaging device 30, a second imaging device 40, and a target image processing device, wherein the first light source 10 emits a first light beam for irradiating a portion of the surface of a profile 80 to be detected; the second light source 20 emits a second light beam for irradiating part of the surface of the profile 80 to be detected, the first light beam and the second light beam can be mixed into a third light beam on the surface of the profile 80 to be detected, and the colors of the first light beam, the second light beam and the third light beam are different; the first imaging device 30 is used for acquiring a first light beam reflected by the profile 80 to be detected and forming a first image, and two first boundaries are arranged on two opposite sides of the first image along the width direction a of the profile 80 to be detected; the second imaging device 40 is used for acquiring a third light beam reflected by the profile 80 to be detected and forming a second image, and the first image and the second image form a target image; the target image processing device obtains first pixel points on two first boundaries and/or obtains second pixel points of a second image through an edge detection method, extracts symmetrical first pixel points on the two first boundaries, and detects a first image distance between the two symmetrical first pixel points.
In order to ensure uniformity of the first light beam irradiated on the surface of the profile 80 to be detected, in some embodiments of the present application, the first light source 10 includes a first light emitting element and a first light uniformizing element, the first light emitting element is used for emitting the first light beam, the first light uniformizing element is located on a path of the first light beam and between the first light emitting element and the profile 80 to be detected, and the first light uniformizing element is used for converting the first light beam emitted by the first light emitting element into a collimated light beam from a gaussian light beam, so that luminance distribution of light spots formed on the surface of the profile 80 to be detected by the first light beam is uniform. In order to be suitable for the profiles with different shapes, in some embodiments of the present application, the first light source 10 further includes a first beam shaper, the first beam shaper is located between the light uniformizing element and the first light emitting element to shape the first light beam into a desired shape corresponding to the profile 80 to be detected, and the first beam shaper is located between the first light emitting element and the first light uniformizing element, so that the first light beam is shaped by the first beam shaper and then passes through the first light uniformizing element, and the uniform brightness distribution of the light spots formed on the surface of the profile 80 to be detected by the first light beam can still be ensured.
The second light source 20 is configured to emit a second light beam, and in some embodiments of the present application, the second light source 20 includes a second light emitting element, a second light beam shaper, and a second light homogenizing element, the second light emitting element is configured to emit a second light beam, the second light homogenizing element is located on a path of the second light beam and between the second light emitting element and the profile 80 to be detected, the second light beam shaper is configured to shape the second light beam into light beams of different shapes corresponding to the profiles of different shapes, and the second light homogenizing element is configured to convert the second light beam emitted from the second light emitting element from a gaussian light beam into a collimated light beam.
Based on the aluminum profile width detection apparatus based on target image processing according to the embodiment of the present application, when the second imaging device 40 acquires the third light beam emitted by the profile 80 to be detected, the width of the top surface (along the height direction b of the detection apparatus) of the profile 80 to be detected is smaller than the width of the bottom surface (along the height direction b of the detection apparatus) of the profile 80 to be detected, for example, the profile 80 to be detected is rectangular, if the width of the top surface of the profile 80 to be detected is too narrow, at this time, the first light beam emitted by the first light source 10 may irradiate the top surface and two side walls adjacent to the top surface of the profile 80 to be detected, and the second light beam emitted by the second light source 20 irradiates two side walls of the profile 80 to be detected, the first light beam and the second light beam are mixed into the third light beam on the surface of the profile 80 to be detected, and the profile 80 to be detected reflects the third light beam to the second imaging device 40, so that if the second imaging device 40 receives the third light beam, the width of the top surface of the profile 80 to be detected is too narrow, that if the image processing device detects the second light beam in the target image, the top surface of the profile 80 to be detected is too narrow; if the section bar 80 to be detected does not receive the third light beam, a target image is formed by receiving the first light source 10 through the first imaging device 30, symmetrical first pixel points are obtained on a first boundary of the target image, the target image processing device obtains the symmetrical two first pixel points on the two first boundaries through an edge detection method, and by comparing first image distances among multiple groups of first pixel points, if the difference of the first image distances with the first pixel points of other groups exceeds a range value, the width of the section bar at the first pixel point of the group is judged to have a problem, so that the automatic detection of the width of the section bar 80 to be detected is realized.
Referring to fig. 1, in some embodiments of the present application, along a width direction a of the profile 80 to be detected, the first light source 10 is located at a center position of the profile 80 to be detected, and along a height direction b of the detection device, the first light source 10 is located directly above the profile 80 to be detected, and a first light beam emitted by the first light source 10 is perpendicular to the width direction a of the profile 80 to be detected, so that it is ensured that the first light beam emitted by the first light source 10 only irradiates the top surface of the profile 80 to be detected when the profile 80 to be detected is qualified, and meanwhile, the first light beam emitted by the first light source 10 only irradiates the top surface of the profile 80 to be detected when the profile 80 to be detected is qualified, that is, the first light beam is perpendicular to the top surface of the profile 80 to be detected, and it is ensured that the first light beam irradiates the surface of the profile 80 to be detected without shadow.
In some embodiments of the present application, the number of the second light sources 20 is at least two, and along the width direction a of the profile 80 to be detected, at least two of the second light sources 20 are located at two sides of the profile 80 to be detected, and the second light beams emitted by the second light sources 20 form an included angle with the width direction a of the profile 80 to be detected, so that along the width direction a of the profile 80 to be detected, at least two of the second light sources 20 are located at two sides of the profile 80 to be detected, so that the second light beams emitted by the at least two of the second light sources 20 can cover two side faces of the profile 80 to be detected, which are perpendicular to the width direction a of the profile 80 to be detected; the second light beam emitted by the second light source 20 forms an included angle with the width direction a of the profile 80 to be detected, so that the second light beam irradiated on the profile 80 to be detected can be reflected well, and in some embodiments of the present application, the second light beam emitted by the second light source 20 forms an included angle of 30 ° with the width direction a of the profile 80 to be detected.
Referring to fig. 1, in some embodiments of the present application, the aluminum profile width detection apparatus based on target image processing further includes a transparent support 50 and a light absorption member 60, wherein the profile 80 to be detected is placed on the upper side of the transparent support 50, and the first light beam and the second light beam can pass through the transparent support 50; the light absorber 60 is located on the side of the transparent support 50 remote from the profile 80 to be inspected, the light absorber 60 being able to absorb the first light beam and the second light beam.
The transparent support 50 is used to support the profile 80 to be tested, in some embodiments of the present application, the transparent support 50 is made of transparent acrylic plate, resin or tempered glass; in the embodiment of the present application, the shape and size of the transparent supporting member 50 are not limited as long as the transparent supporting member 50 can place the profile 80 to be detected.
The light absorbing member 60 is used for absorbing the first light beam and the second light beam irradiated on the surface of the light absorbing member 60, in some embodiments of the present application, the light absorbing member 60 is made of a light absorbing material, such as perovskite and foamed polyurethane, the perovskite has strong light absorbing capacity, the spectrum absorption range is wide, the perovskite can absorb the full spectrum visible light, and the solution method can be implemented at low cost under mild conditions; in other embodiments of the present application, the light absorbing member 60 includes a body and a light absorbing layer coated on or attached to a surface of the body, for example, the light absorbing layer may be a matt black paint, a matt asphalt alkyd paint, an asphalt phenolic paint, or FINESHUT SP (non-reflective cloth), and the like, and the FINESHUT SP has high durability.
In some embodiments, the aluminum profile width detection device based on target image processing further includes two third light sources 70 disposed at intervals, and configured to emit a fourth light beam, where a distance between the two third light sources 70 is fixed, and along a width direction of the profile 80 to be detected, the two third light sources 70 are respectively located on two opposite sides of the profile 80 to be detected, the first imaging device 30 can obtain the fourth light beam and form a second boundary in a target image, the target image processing device obtains two third pixel points symmetric on the two second boundaries by using an edge detection method, and uses a distance between the two symmetric third pixel points as a reference size, and colors of the fourth light beam are different from colors of the first light beam, the second light beam, and the third light beam, so that a distance between the two third light sources 70 is fixed, a distance between the two fourth light beams emitted by the two third light sources 70 respectively is fixed, after the two fourth light beams are obtained by the first imaging device 30 and the second boundary is formed in the target image, a relationship between the symmetric third pixel points of the distance between the two third light sources 70 and the actual distance between the third pixel points in the target image can be calculated according to a ratio between the actual distance between the two third light sources 70 and the actual distance of the actual image.
In some embodiments, the third light source 70 is disposed on the side of the transparent support 50 away from the profile 80 to be detected and toward the first imaging device 30, and the fourth light beam passes through the transparent support 50 to irradiate the first imaging device 30, so that disposing the third light source 70 on the side of the transparent support 50 away from the profile 80 to be detected can protect the third light source 70.
In some embodiments, the first imaging device 30 includes a first imaging element and a first filter that only transmits the first light beam and the fourth light beam, and the second imaging device 40 includes a second imaging element and a second filter that only transmits the third light beam, so that the first imaging device 30 only receives the first light beam and the fourth light beam, and the second imaging device 40 only receives the third light beam, thereby preventing the light beams of other colors from forming pixel points in the target image through the first imaging device 30 and/or the second imaging device 40, so that the detection device can form a clear and accurate image, and the accuracy of the detection value of the detection device can be improved.
In some embodiments of the present application, the aluminum profile width detection apparatus based on target image processing further includes a body, and the body is configured to support the transparent support 50, the first light source 10, the second light source 20, the third light source 70, the first imaging device 30, and the second imaging device 40, in some embodiments of the present application, the body is configured to be rectangular and has a detection cavity, the detection cavity forms a feeding hole and a discharging hole on two opposite sides of the body, so as to facilitate the arrangement of the first light source 10, the second light source 20, the first imaging device 30, and the second imaging device 40, in some embodiments of the present application, the detection cavity is configured to be a rectangular cavity, the first light source 10 is connected to a top wall of the detection cavity along a height direction of the profile 80 to be detected, and the transparent support 50 is connected to a bottom wall of the detection cavity; the two second light sources 20 are respectively connected with two side walls of the detection cavity perpendicular to the width direction a of the profile 80 to be detected, in some embodiments of the present application, the machine body has a light absorption cavity communicated with the detection cavity, and the light absorption piece 60 and the third light source 70 are both arranged in the light absorption cavity, in some embodiments of the present application, the light absorption piece 60 is attached to one side of the transparent support piece 50 away from the first light source 10, so that the light absorption piece 60 can rapidly absorb the first light beam, the second light beam and the third light beam irradiated to the surface of the light absorption piece 60; in some embodiments of the present application, the light absorbing member 60 is provided with a plurality of receiving cavities corresponding to the third light sources 70, and one third light source 70 is disposed in each receiving cavity.
Since the first light beam emitted by the first light source 10 is perpendicular to the top surface of the profile 80 to be detected, the first light beam reflected by the profile 80 to be detected will also be perpendicular to the top surface of the profile 80 to be detected, in order to avoid the collision between the first light source 10 and the first imaging device 30, in some embodiments of the present application, the detection apparatus further includes a polarization splitting prism and a 1/4 wave plate, the polarization splitting prism is disposed between the first light source 10 and the profile 80 to be detected, and the 1/4 wave plate is disposed on a side of the polarization splitting prism away from the first light source 10 to convert a path of the first light beam reflected by the profile 80 to be detected by 90 °, so in some embodiments of the present application, the first imaging device 30 is connected to a side wall of the machine body perpendicular to the width direction a of the profile 80 to be detected.
In order to avoid interference between light rays, in some embodiments of the present application, the number of the second imaging devices 40 is two, and since the second light beam emitted from the second light source 20 forms an included angle with the width direction a of the profile 80 to be detected, in some embodiments of the present application, the two second imaging devices 40 are disposed on the path of the second light beam reflected by the profile 80 to be detected and are fixedly connected to the bracket. In some embodiments of the present application, the first imaging device 30 includes a first imaging member and a first filter that only transmits the first light beam and the fourth light beam, and the second imaging device 40 includes a second imaging member and a second filter that only transmits the third light beam.
In some embodiments of the present application, the first light beam is green, the green light beam has a wavelength of 492nm to 577nm, the second light beam is red, the red light beam has a wavelength of 625nm to 740nm, the third light beam is orange (a mixture of the green light and the red light may be orange), the orange light beam has a wavelength of 590nm to 610nm, the fourth light beam is blue, and the blue light beam has a wavelength of 440nm to 475nm, since the color of the light is determined by the wavelength of the light, the first lens can only transmit light having a wavelength of 440nm to 577nm, and the second lens can only transmit light having a wavelength of 590nm to 610nm, it can be understood that the wavelength value of the third light beam cannot be between the wavelength value of the first light beam and the wavelength value of the fourth light beam.
Referring to fig. 2, in a second aspect, an embodiment of the present application provides a method for detecting a width of an aluminum profile based on target image processing, including:
s10, acquiring a first light beam reflected by the section bar 80 to be detected or simultaneously acquiring the first light beam and a third light beam and generating a target image; specifically, if the width of the top surface of the profile 80 to be detected is smaller than the width of the bottom surface of the profile 80 to be detected, the first imaging device 30 simultaneously obtains the first light beam and the third light beam and generates a target image; if the width of the top surface of the profile 80 to be detected is greater than or equal to the width of the bottom surface of the profile 80 to be detected, the first imaging device 30 acquires the first light beam and generates a target image.
S20, detecting a target image, wherein if a second pixel point exists in the target image, the width of the section bar 80 to be detected is not uniform; if only first pixel points exist in the target image, forming two first boundaries in the target image through an edge detection method, obtaining symmetrical first pixel points on the two first boundaries at equal intervals along a direction perpendicular to the width direction a of the profile 80 to be detected, forming a group of first image distances by the two symmetrical first pixel points, and comparing whether the distances of a plurality of groups of first images are equal; in other embodiments of the present application, when the second imaging device 40 detects the third light beam, it can be determined that the width of the profile 80 to be detected is not uniform, and it is not necessary to form second pixel points in the target image, but it is necessary to electrically connect the first imaging device 30 to a corresponding detection system, such as an electrically connected light sensor and a control chip. The two first boundaries refer to two edges of the first light beam vertical to the width direction a of the section bar to be detected; in some embodiments of the present application, the first image distance between two symmetrical first boundaries is compared with the first image distance between the three symmetrical first boundaries before, it being understood that if the detection accuracy needs to be improved, the first image distance between two symmetrical first boundaries before can be compared with more.
Referring to fig. 2, in some embodiments of the present application, the method for detecting a width of an aluminum profile based on target image processing further includes:
s30, acquiring a fourth light beam, forming two second boundaries in the target image, and acquiring the two second boundaries;
s40, two third pixel points which are symmetrical on two second boundaries are obtained through an edge detection method, and the ratio of the second image distance to the actual distance is calculated according to the comparison of the second image distance between the two third pixel points and the actual distance between the two third light sources 70;
and S50, calculating the actual width value of the profile through the ratio and the first image distance.
In some embodiments of the present application, acquiring the first and third light beams reflected by the profile 80 to be detected and generating the target image comprises:
s11, a first imaging device 30 acquires a first light beam to form a first image;
s12, the second imaging device 40 acquires the third light beam to form a second image;
and S13, overlapping the first image to the second image or overlapping the second image to the first image to form a target image.
In a specific embodiment of the present application, the profile 80 to be detected is set to be a rectangular profile, the first light beam is used to irradiate the top surface of the profile 80 to be detected, the second light beam is used to irradiate two side surfaces of the profile 80 to be detected, which are perpendicular to the width direction a of the profile 80 to be detected, if the length of the top surface of the profile 80 to be detected along the width direction a of the profile 80 to be detected is smaller than the length of the bottom surface along the width direction a of the profile 80 to be detected, the first light beam can be irradiated to the two side surfaces of the profile 80 to be detected, which are perpendicular to the width direction a of the profile 80 to be detected, at this time, the first light beam and the second light beam are mixed into a third light beam on the surface of the profile 80 to be detected and received by the second imaging device 40, that if the second imaging device 40 receives the third light beam, it can be considered that the length of the top surface of the profile 80 to be detected along the width direction a of the profile 80 to be detected is smaller than the length of the bottom surface along the width direction a of the profile 80 to be detected, and the profile 80 to be detected is not qualified; if the length of the top surface of the profile 80 to be detected in the width direction a of the profile 80 to be detected is greater than or equal to the length of the bottom surface in the width direction a of the profile 80 to be detected, further detecting by using the first light beam obtained by the first imaging device 30, specifically, obtaining first pixel points on two first boundaries by using an edge detection method, extracting symmetrical first pixel points on the two first boundaries and detecting a first image distance between the two symmetrical first pixel points, comparing a plurality of groups of first image distances, and if the deviation between one group of first image distances and the first image distances of other groups exceeds a preset range, determining that the length of the profile 80 to be detected at the group of first image distances in the width direction a of the profile 80 to be detected is greater than the length of the bottom surface in the width direction a of the profile 80 to be detected; if the deviation between the multiple groups of first image distances of the profile 80 to be detected is within the preset range, the width of the profile 80 to be detected is qualified.
The same or similar reference numerals in the drawings of the present embodiment correspond to the same or similar components; in the description of the present application, it is to be understood that if there is an orientation or positional relationship indicated by the terms "upper", "lower", "left", "right", etc. based on the orientation or positional relationship shown in the drawings, it is only for convenience of description and simplification of description, but it is not intended to indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and therefore, the terms describing the positional relationship in the drawings are only for illustrative purposes and are not to be construed as limitations of the present patent, and specific meanings of the above terms may be understood by those skilled in the art according to specific situations.
The present invention is not intended to be limited to the particular embodiments shown and described, but is to be accorded the widest scope consistent with the principles and novel features herein disclosed.

Claims (8)

1. The utility model provides an aluminium alloy width check out test set based on target image handles which characterized in that includes:
the first light source emits a first light beam for irradiating the surface of the section to be detected;
the second light source emits a second light beam for irradiating the surface of the section to be detected, the first light beam and the second light beam can be mixed into a third light beam on the surface of the section to be detected, and the colors of the first light beam, the second light beam and the third light beam are different;
the first imaging device is used for acquiring the first light beam reflected by the profile to be detected and forming a first image, and two first boundaries are arranged on two opposite sides of the first image along the width direction of the profile to be detected;
the second imaging device is used for acquiring the third light beam reflected by the section bar to be detected and forming a second image, and the first image and the second image form a target image;
the target image processing device acquires first pixel points on two first boundaries and/or second pixel points of the second image through an edge detection method, extracts symmetrical first pixel points on the two first boundaries and detects a first image distance between the two symmetrical first pixel points;
the section bar to be detected is arranged on the upper side of the transparent support, and the first light beam and the second light beam can penetrate through the transparent support;
the light absorbing piece is positioned on one side, away from the section to be detected, of the transparent supporting piece, and the light absorbing piece can absorb the first light beam and the second light beam; and
the first imaging device can acquire the fourth light beam and form a second boundary in the target image, the target image processing device acquires two third pixel points which are symmetrical on the second boundary through an edge detection method and takes the distance between the two symmetrical third pixel points as a reference size, and the fourth light beam is different from the first light beam, the second light beam and the third light beam in color.
2. The aluminum profile width detection device based on target image processing as claimed in claim 1, wherein along the width direction of the profile to be detected, the first light source is located at the center of the profile to be detected, along the height direction of the detection device, the first light source is located right above the profile to be detected, and the first light beam emitted by the first light source is perpendicular to the width direction of the detection device.
3. The aluminum profile width detection device based on target image processing as claimed in claim 1, wherein the number of the second light sources is two, at least two second light sources are located on two sides of the profile to be detected along the width direction of the profile to be detected, and the second light beams emitted by the second light sources form an included angle with the width direction of the profile to be detected.
4. The aluminum profile width detection device based on target image processing as claimed in claim 1, wherein the third light source is arranged on one side of the transparent support far away from the profile to be detected and facing the first imaging device, and the fourth light beam passes through the transparent support to irradiate the first imaging device.
5. The aluminum profile width detection apparatus based on target image processing as claimed in claim 1, wherein the first imaging device includes a first imaging member and a first filter which is only transparent to the first light beam and the fourth light beam, and the second imaging device includes a second imaging member and a second filter which is only transparent to a third light beam.
6. An aluminum profile width detection method based on target image processing of the aluminum profile width detection equipment based on target image processing as claimed in any one of claims 1 to 5, characterized by comprising the following steps:
acquiring a first light beam reflected by a profile to be detected or acquiring the first light beam and a third light beam simultaneously and generating a target image;
detecting the target image, wherein if a second pixel point exists in the target image, the width of the section to be detected is not uniform; if only first pixel points exist in the target image, two first boundaries are formed in the target image through an edge detection method, symmetrical first pixel points on the two first boundaries are obtained at equal intervals along a direction perpendicular to the width direction of the section bar to be detected, a group of first image distances is formed by the two symmetrical first pixel points, and whether the distances of multiple groups of first images are equal or not is compared.
7. The aluminum profile width detection method based on target image processing as claimed in claim 6, further comprising the steps of:
acquiring a fourth light beam and forming two second boundaries in the target image;
acquiring two symmetrical third pixel points on two second boundaries through an edge detection method, and comparing an actual distance between two third light sources according to a second image distance between the two symmetrical third pixel points to calculate a ratio of the second image distance to the actual distance;
and calculating the actual width value of the profile through the ratio and the first image distance.
8. The aluminum profile width detection method based on target image processing as claimed in claim 6, wherein the step of obtaining the first light beam and the third light beam reflected by the profile to be detected and generating the target image comprises the following steps:
a first imaging device acquires the first light beam to form a first image;
a second imaging device acquires the third light beam to form a second image;
superimposing the first image to the second image or superimposing the second image to the first image forms the target image.
CN202211243516.XA 2022-10-12 2022-10-12 Aluminum profile width detection equipment and method based on target image processing Active CN115307554B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211243516.XA CN115307554B (en) 2022-10-12 2022-10-12 Aluminum profile width detection equipment and method based on target image processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211243516.XA CN115307554B (en) 2022-10-12 2022-10-12 Aluminum profile width detection equipment and method based on target image processing

Publications (2)

Publication Number Publication Date
CN115307554A CN115307554A (en) 2022-11-08
CN115307554B true CN115307554B (en) 2023-03-24

Family

ID=83868044

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211243516.XA Active CN115307554B (en) 2022-10-12 2022-10-12 Aluminum profile width detection equipment and method based on target image processing

Country Status (1)

Country Link
CN (1) CN115307554B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111175769A (en) * 2020-02-14 2020-05-19 深圳奥锐达科技有限公司 Off-axis scanning distance measuring system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6327374B1 (en) * 1999-02-18 2001-12-04 Thermo Radiometrie Oy Arrangement and method for inspection of surface quality
JP6044396B2 (en) * 2013-03-05 2016-12-14 シンフォニアテクノロジー株式会社 Foreign object detection device and parts feeder
US9903710B2 (en) * 2015-06-05 2018-02-27 Nippon Steel & Sumitomo Metal Corporation Shape inspection apparatus for metallic body and shape inspection method for metallic body
JP6917762B2 (en) * 2017-05-09 2021-08-11 株式会社キーエンス Image inspection equipment
CN110441323B (en) * 2019-07-11 2022-01-18 大族激光科技产业集团股份有限公司 Product surface polishing method and system
TWI833973B (en) * 2020-07-02 2024-03-01 由田新技股份有限公司 Wire measuring system and method for board inspection
CN112881425B (en) * 2021-01-08 2021-12-07 山东创新精密科技有限公司 Aluminum alloy defect detection method
CN113624158B (en) * 2021-08-05 2022-08-26 武汉理工大学 Visual dimension detection system and method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111175769A (en) * 2020-02-14 2020-05-19 深圳奥锐达科技有限公司 Off-axis scanning distance measuring system

Also Published As

Publication number Publication date
CN115307554A (en) 2022-11-08

Similar Documents

Publication Publication Date Title
US9370799B2 (en) Method and system for optically inspecting a manufactured part at a single inspection station having a measurement axis
CN207817196U (en) A kind of laser scanning device and laser radar apparatus
CN107192340A (en) A kind of NI Vision Builder for Automated Inspection of measured hole, the position of groove and physical dimension
US20130258340A1 (en) Testing apparatus and testing method for a traffic monitoring device with a laser scanner
CN108196243A (en) A kind of 3-D scanning laser radar based on MEMS micromirror
US10365086B2 (en) Method and scanner for touch free determination of a position and 3-dimensional shape of products on a running surface
CN104197837B (en) A non-contact optical measurement method and device for the volume of complex surface objects
CN104792419A (en) Device for inspecting material provided with coated surface and related method
CN103597314A (en) Apparatus for detecting end portion position of strip-like body, and method for detecting end portion position of strip-like body
CN108387177A (en) A kind of wheel hub classification detection device and detection method
CN102565008A (en) Method and device for measuring transmittance of material by using integrating sphere
CN115307554B (en) Aluminum profile width detection equipment and method based on target image processing
US10557796B2 (en) Method and device for determining the transmittance of a flat glass substrate
CN113156410B (en) Automatic laser radar testing device and method
CN207850296U (en) A kind of wheel hub classification detection device
US4225241A (en) Method and apparatus for adjusting the relative positioning of planar transparent objects, such as the glass plates of a liquid crystal display, and a liquid crystal display adjusted by the method and apparatus
CN206470403U (en) A kind of detection device with uniform receiving optics
KR20170068071A (en) Shape measuring apparatus and a shape measuring method using the same
CA2241425A1 (en) A method and an apparatus for measuring the inclination angle of a pile of a powdery or granular material
CN105572867B (en) The method that the reflected beams deflection is realized using double-wedge plate and standard prism of corner cube
CN207113799U (en) A kind of NI Vision Builder for Automated Inspection of measured hole, the position of groove and physical dimension
DE102014216368B4 (en) MULTI-ARM LIDAR SYSTEM
CN214251479U (en) Measuring equipment for light beam visual angle
CN113671461B (en) Method and system for detecting laser radar emission beam direction and laser radar device
CN116380912A (en) Optical detection device and detection method based on laser line scanning binocular imaging

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