Visual detection device and method for inner hole, medium and electronic equipment
By designing the inner hole visual detection device, using the combination of the rotating platform and image acquisition component, the automatic detection of the inner hole is achieved, solving the problem of low automation in the prior art and improving detection accuracy and compatibility.
Patent Information
- Application Number
- CN202411983977.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-04-22
AI Technical Summary
The existing hole detection technology is not very automated, which leads to problems with manual inspection costs and efficiency, and lacks automated hole detection equipment with high compatibility and accuracy.
An inner hole visual detection device is designed, including a rotating platform, an image acquisition component and a moving component. Multi-angle images are collected through the image acquisition component in the inner hole, and the rotating platform is used to switch the measured surface to realize automated detection of the inner holes of each measured surface.
It realizes automated detection of inner holes, improves detection accuracy and compatibility, and can efficiently detect complex and irregular products, reduces the uncertainty of manual detection, and improves production efficiency.
Smart Images

Figure CN119860710A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of product production technology, and in particular, relates to an inner hole visual detection device, method, medium and electronic equipment. Background Art
[0002] Inner hole detection (or hole detection) usually refers to the process of checking the size, shape, position, etc. of the inner hole of a part or workpiece in industrial manufacturing or quality control. Inner hole detection can greatly ensure product quality, especially in the case of high precision requirements, to avoid adverse effects caused by product quality. However, the current degree of automation of inner hole detection technology is not high, and manual detection brings great cost and efficiency problems. Therefore, how to automatically detect inner holes is a technical problem that needs to be solved by technicians in this field. Summary of the invention
[0003] The purpose of the present application is to provide an inner hole visual inspection device, method, equipment and storage medium, which can automatically inspect the inner hole.
[0004] In a first aspect, the present application provides an inner hole visual inspection device, the device comprising a rotating platform, an image acquisition component, a moving component and a detection unit;
[0005] The image acquisition component is connected to the moving component so that the image acquisition component enters the inner hole of a measured surface of the workpiece to be inspected, and the image acquisition component rotates in the inner hole of the measured surface to acquire multi-angle images of the inner hole; and
[0006] The workpiece to be inspected is placed on the rotating platform, and the rotating platform enables the workpiece to switch the inspected surface, so that the image acquisition component collects multi-angle images of the inner holes of each inspected surface of the workpiece to be inspected for visual inspection.
[0007] In an implementation of the first aspect, the moving component includes a three-way moving module and a rotation moving module; the image acquisition component includes an industrial camera and an endoscope; the rotation moving module is connected to the three-way moving module and the industrial camera respectively; the industrial camera is connected to the endoscope;
[0008] The three-way moving module drives the industrial camera to perform linear motion in three directions through the rotating moving module, so that the industrial camera moves to above the inner hole of the measured surface and the endoscope enters the inner hole; the three directions are perpendicular to each other.
[0009] The rotation and movement module enables the endoscope to rotate within the inner hole to collect multi-angle images.
[0010] In an implementation of the first aspect, the three-direction moving module includes a first direction moving unit, a second direction moving unit, and a third direction moving unit;
[0011] The first direction moving unit is parallel to the rotating platform to provide movement in the first direction, the second direction moving unit is parallel to the rotating platform and perpendicular to the first direction moving unit to provide movement in the second direction, and the third direction moving unit is perpendicular to the second direction moving unit to provide movement in the third direction; the second direction moving unit is connected to the first direction moving unit so that the second direction moving unit can move along the first direction, the third direction moving unit is connected to the second direction moving unit so that the third direction moving unit can move along the second direction, and the rotation moving module is connected to the third direction moving unit so that the rotation moving module can move along the third direction.
[0012] In an implementation of the first aspect, the image acquisition component includes a flexible cold light source, and the flexible cold light source provides an illumination light source for an inner hole of the measured surface.
[0013] In an implementation of the first aspect, the device further includes a control unit;
[0014] The control unit selects a detection parameter according to the number of the workpiece to be detected, and obtains a visual detection result based on the image captured by the image acquisition component and the detection parameter; and
[0015] The control unit stitches and stores the images acquired by the image acquisition component.
[0016] In a second aspect, the present application provides a method for visual inspection of inner holes, which is applied to the visual inspection device for inner holes as described in the first aspect; the method comprises:
[0017] Selecting inspection parameters based on the number of the workpiece to be inspected;
[0018] Controlling the moving component to make the image acquisition component enter the inner hole of a measured surface of the workpiece to be inspected, and making the image acquisition component rotate in the inner hole of the measured surface to acquire multi-angle images of the inner hole;
[0019] Controlling the rotating platform to rotate so that the workpiece to be inspected switches the inspected surface, so that the image acquisition component collects multi-angle images of the inner holes of each inspected surface of the workpiece to be inspected;
[0020] A visual inspection result of the workpiece to be inspected is obtained based on the inspection parameters and the multi-angle images of the inner holes of each inspected surface.
[0021] In an implementation of the second aspect, acquiring a visual inspection result of the workpiece to be inspected based on the inspection parameters and the multi-angle images of the inner holes of each inspected surface includes:
[0022] The multi-angle images corresponding to the inner holes of each tested surface are input into a visual inspection model, and the visual inspection model performs visual inspection on all the multi-angle images based on the preset inspection parameters to obtain a visual inspection result of the workpiece to be inspected.
[0023] In an implementation of the second aspect, the multi-angle images of the inner hole of each measured surface are spliced and named and stored.
[0024] In a third aspect, the present application provides an electronic device, comprising: a processor and a memory; the memory is used to store a computer program; the processor is used to execute the computer program stored in the memory, so that the electronic device performs the above-mentioned inner hole visual inspection method.
[0025] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which implements the above-mentioned inner hole visual inspection method when executed by an electronic device.
[0026] As described above, the inner hole visual inspection method, device, equipment and storage medium described in the present application have the following beneficial effects: the present application can automatically switch the measured surface of the workpiece to ensure that the inner hole of each measured surface is automatically inspected, has high compatibility, can efficiently inspect more complex and irregular products, reduces the uncertainty of manual inspection based on experience, and improves product production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 Shown is a schematic structural diagram of an inner hole visual inspection device in one embodiment of the present application.
[0028] Figure 2 Shown is a schematic structural diagram of an inner hole visual inspection device in one embodiment of the present application.
[0029] Figure 3 Shown is a schematic structural diagram of an inner hole visual inspection device in one embodiment of the present application.
[0030] Figure 4 Shown is a schematic flow chart of an inner hole visual inspection method according to an embodiment of the present application.
[0031] Figure 5 Shown is a schematic flow chart of an inner hole visual inspection method according to an embodiment of the present application.
[0032] Figure 6 Shown is a schematic structural diagram of an electronic device of the present application in one embodiment.
[0033] Component number description
[0034] 11 Rotating Platform
[0035] 111 Barcode Scanner
[0036] 12 Image Acquisition Components
[0037] 121 Industrial Camera
[0038] 122 Endoscope
[0039] 123 Flexible cold light source
[0040] 13 Mobile Components
[0041] 131 Three-way mobile module
[0042] 131Y First direction moving unit
[0043] 131X Second direction moving unit
[0044] 131Z Third direction moving unit
[0045] 132 Rotation and movement module
[0046] 2 Workpiece to be inspected
[0047] 90 Electronic equipment
[0048] 901 Memory
[0049] 902 processor
[0050] Steps S1 to S4 DETAILED DESCRIPTION
[0051] The following describes the embodiments of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0052] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application, and thus the drawings only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed at will, and the component layout may also be more complicated.
[0053] In addition, in this application, descriptions such as "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in this field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0054] In industrial manufacturing, inner hole detection is a necessary step to ensure product quality. In the case of a larger inner hole or when it is visually accessible, a preliminary inspection of the inner hole can be performed manually. However, the visual inspection method is relatively rough and cannot well guarantee the uniform production quality of the product. For this reason, there are some relatively simple inner hole detection systems in the prior art, which have compatibility disclosures and can only detect some specific product models, and the detection types are limited. In addition, this type of automated equipment has large space limitations and is not suitable for inspecting larger objects. Therefore, the prior art lacks an automated inner hole detection device with high compatibility and accuracy.
[0055] In order to at least solve the above-mentioned problems, an embodiment of the present application provides an inner hole visual inspection device, which can automatically switch the measured surface of the workpiece to ensure that the inner hole of each measured surface is automatically inspected, has high compatibility, can efficiently inspect more complex and irregular products, reduces the uncertainty of manual inspection based on experience, and improves product production efficiency.
[0056] The technical solutions in the embodiments of the present application will be described in detail below in conjunction with the drawings in the embodiments of the present application.
[0057] Figures 1 to 3 The structure diagram of the inner hole visual inspection device described in the embodiment of the present application is shown as follows: Figures 1 to 3 As shown, the inner hole visual inspection device includes a rotating platform 11, an image acquisition component 12 and a moving component 13;
[0058] The image acquisition component 12 is connected to the moving component 13 so that the image acquisition component 12 enters the inner hole of a measured surface of the workpiece 2 to be inspected, and the image acquisition component 12 rotates in the inner hole of the measured surface to acquire multi-angle images of the inner hole; and
[0059] The workpiece 2 to be inspected is placed on the rotating platform 11, and the rotating platform 11 enables the workpiece 2 to switch the inspected surface, so that the image acquisition component 12 collects multi-angle images of the inner holes of each inspected surface of the workpiece 2 to perform visual inspection.
[0060] For further information, please refer to Figures 1 to 3 As shown, the moving component 13 includes a three-way moving module 131 and a rotating moving module 132; the image acquisition component 12 includes an industrial camera 121 and an endoscope 122; the rotating moving module 132 is respectively connected to the three-way moving module 131 and the industrial camera 121; the industrial camera 121 is connected to the endoscope 122.
[0061] Among them, since the three-way moving module 131 is connected to the rotation moving module 132, the three-way moving module 131 drives the industrial camera 121 to perform linear motion in three directions through the rotation moving module 132, so that the industrial camera 121 moves to the top of the inner hole of the measured surface, and the endoscope 122 enters the inner hole. In addition, the rotation moving module 132 causes the endoscope 122 to rotate in the inner hole to collect multi-angle images.
[0062] Among them, the three directions are perpendicular to each other.
[0063] For further information, please refer to Figures 1 to 3 As shown, the three-direction moving module 131 includes a first direction moving unit 131Y, a second direction moving unit 131X, and a third direction moving unit 131Z.
[0064] Among them, the first direction moving unit 131Y is parallel to the rotating platform 11 to provide movement in the first direction, the second direction moving unit 131X is parallel to the rotating platform 11 and perpendicular to the first direction moving unit 131Y to provide movement in the second direction, and the third direction moving unit 131Z is perpendicular to the second direction moving unit 131X to provide movement in the third direction.
[0065] Among them, the second direction moving unit 131X is connected to the first direction moving unit 131Y so that the second direction moving unit 131X can move along the first direction, the third direction moving unit 131Z is connected to the second direction moving unit 131X so that the third direction moving unit 131Z can move along the second direction, and the rotation moving module 132 is connected to the third direction moving unit 131Z so that the rotation moving module 132 can move along the third direction.
[0066] In some embodiments, the first direction moving unit 131Y is a Y-axis servo module, the second direction moving unit 131X is an X-axis servo module, the third direction moving unit 131Z is a Z-axis servo module, and the rotation moving module 132 is an R-axis servo module. The first direction moving unit 131Y, the second direction moving unit 131X, the third direction moving unit 131Z and the rotation moving module 132 can all be driven by a driving motor.
[0067] Then, when the workpiece 2 to be inspected is placed on the rotating platform 11, since the rotating moving module 132 is connected to the image acquisition component 12, the rotating moving module 132 can actually be controlled by the first direction moving unit 131Y and the second direction moving unit 131X to drive the image acquisition component 12 to move freely along the X direction and the Y direction until it reaches the top of the workpiece 2 to be inspected, and then the image acquisition component 12 is lowered to a specified position by the third direction moving unit 131Z, at which time the endoscope 122 should enter the inner hole of the inspected surface. Afterwards, the image acquisition component 12 (endoscope 122) is controlled to rotate by the rotating moving module 132, so that the endoscope 122 rotates 360 degrees in the inner hole to take pictures, so as to collect multi-angle images.
[0068] Furthermore, since the rotating platform 11 can rotate, the workpiece 2 to be inspected placed on the rotating platform 11 can also switch the inspected surface by rotation, so that the inner hole of each inspected surface can be captured with multi-angle images, thereby ensuring that the inner holes on each surface of the workpiece 2 to be inspected can be inspected, effectively ensuring the quality of the workpiece.
[0069] For further information, please refer to Figures 1 to 3 As shown, the image acquisition component 12 includes a flexible cold light source 123, and the flexible cold light source 13 provides an illumination light source for the inner hole of the measured surface, so that the industrial camera 121 can capture the inner hole image more clearly.
[0070] Furthermore, the device also includes a control unit; the control unit selects detection parameters according to the number of the workpiece 2 to be detected, and obtains visual detection results based on the image captured by the image acquisition component 12 and the detection parameters; and the control unit splices and stores the images captured by the image acquisition component 12.
[0071] Specifically, the control unit splices the multi-angle images of the inner hole of each tested surface of the workpiece 2 to be tested, and names and stores them as "SN+date".
[0072] For details, please refer to Figure 1 As shown, the rotating platform 11 has a barcode scanner 111, and the barcode scanner 121 can read the number of the workpiece 2 to be inspected and transmit it to the control unit, and the control unit obtains the corresponding detection parameters according to the received number. In some embodiments, the detection parameters of each type of product can be preset in advance. For example, the detection parameters can be set to the inner wall processing detection of the hole (scratches, burrs, dirt, etc.), the assembly effect detection of the sealing ring in the hole (missing, inverted, damaged, improperly installed, wrong model, etc. of the sealing ring), and the inner wall grease detection of the hole (the presence or absence of grease, uniformity, etc.), thereby achieving fixed detection of the inner hole of each type of product to ensure uniform product quality standards.
[0073] Therefore, the inner hole visual inspection device provided in the embodiment of the present application can automatically switch the measured surface of the workpiece to ensure that the inner hole of each measured surface is automatically inspected. It has high compatibility and can efficiently inspect more complex and irregular products, reducing the uncertainty of manual inspection based on experience and improving product production efficiency.
[0074] The following embodiments of the present application provide a method for visual inspection of inner holes, which can be applied to Figures 1 to 3 The inner hole visual inspection device shown. Figure 4 The flowchart of the inner hole visual inspection method described in the embodiment of the present application is shown as follows: Figure 4 As shown, the inner hole visual inspection method includes steps S1 to S4.
[0075] S1. Selecting detection parameters based on the serial number of the workpiece to be detected.
[0076] Specifically, the code number of the workpiece to be inspected can be obtained through a barcode scanner, and the corresponding inspection parameters preset in advance can be obtained according to the code number. In fact, the inspection parameters of each type of product can be set in advance as needed to achieve unified inspection standards.
[0077] S2. Control the moving component to make the image acquisition component enter the inner hole of a measured surface of the workpiece to be inspected, and make the image acquisition component rotate in the inner hole of the measured surface to acquire multi-angle images of the inner hole.
[0078] Specifically, as described above, the moving assembly includes a three-way moving module and a rotation moving module, the three-way moving module includes a first direction moving unit, a second direction moving unit, and a third direction moving unit, and the three directions are perpendicular to each other.
[0079] In some embodiments, the three-way moving module can be used to drive the rotating moving module and the image acquisition group to move freely along the X direction and the Y direction until they reach the top of the workpiece to be inspected, and then the image acquisition component is lowered to a specified position by the third-way moving unit, at which time the endoscope of the image acquisition component should enter the inner hole of the surface to be inspected. After that, the rotating moving module is used to control the endoscope to rotate, so that the endoscope rotates 360 degrees in the inner hole to take pictures, so as to collect multi-angle images.
[0080] S3, controlling the rotating platform to rotate so that the workpiece to be inspected switches the inspected surface, so that the image acquisition component collects multi-angle images of the inner holes of each inspected surface of the workpiece to be inspected.
[0081] Furthermore, since the workpiece to be inspected is placed on the rotating platform, the workpiece to be inspected can be rotated when the rotating platform rotates, thereby switching the inspected surface. Then, each time the image acquisition component acquires multi-angle images of the inner hole of a inspected surface, the rotating platform is controlled to rotate to switch the inspected surface, thereby achieving that the inner hole of each inspected surface can be captured with multi-angle images.
[0082] S4. Obtaining visual inspection results of the workpiece to be inspected based on the inspection parameters and the multi-angle images of the inner holes of the inspected surfaces.
[0083] Specifically, the multi-angle images corresponding to the inner holes of each measured surface are input into the visual inspection model, and the visual inspection model performs visual inspection on all the multi-angle images based on the preset inspection parameters to obtain the visual inspection result of the workpiece to be inspected.
[0084] In some embodiments, the workpiece to be inspected has n inspected surfaces, namely n1, n2, n3, etc., then multi-angle images, i.e., multiple images at different angles, are first collected for the inner hole of the n1 surface. After the collection is completed, the image of n2 is collected again until the inner holes of the n inspected surfaces are collected. All multi-angle images collected from the n inspected surfaces are input into the visual inspection model, and the visual inspection model performs visual inspection on all the multi-angle images based on the inspection parameters to obtain the inspection results corresponding to all the images, and obtains the visual inspection results of the workpiece to be inspected based on the inspection results of all the images. That is, the multi-angle images of the inner holes of each inspected surface are input into the visual inspection model, and the visual inspection model performs visual inspection on each image, outputs and records the inspection results and corresponding pictures of each image, and then determines whether the workpiece is qualified based on the inspection results of all the images.
[0085] Furthermore, after obtaining the visual inspection result of the workpiece, the multi-angle images of the inner hole of each tested surface of the workpiece to be inspected are spliced, and named and stored as "SN+date".
[0086] Figure 5 The flowchart of the inner hole visual inspection method provided by the embodiment of the present application is shown. Figure 5 As shown, the workpiece to be inspected is placed on the rotating platform and then the execution begins. The number of the workpiece to be inspected is obtained, and the corresponding inspection parameters are selected based on this. After that, multi-angle images of the inner holes of all the inspected surfaces are collected and input into the visual inspection model. The visual inspection model detects each image, outputs and records the inspection results and corresponding pictures of each image. Based on this, the inspection results of all images are comprehensively judged. When there is a certain inspection result that does not meet the inspection parameters, the workpiece is unqualified. On the contrary, if all images meet the inspection parameters, it means that the inner holes on all the inspected surfaces of the workpiece meet the inspection parameters and the workpiece is qualified. After obtaining the visual inspection results, all images are spliced and named and stored as "SN+date".
[0087] It should be noted that the visual detection model can be an existing image detection model or a visual platform, etc., and this application does not impose any restrictions on this.
[0088] The protection scope of the inner hole visual inspection method described in the embodiment of the present application is not limited to the execution order of the steps listed in this embodiment. All solutions implemented by adding, reducing or replacing steps in the prior art based on the principles of the present application are included in the protection scope of the present application.
[0089] The present application also provides an electronic device. Figure 6As shown, this embodiment provides an electronic device 90, which includes: a memory 901, configured to store a computer program; and a processor 902, which is communicatively connected to the memory 901 and configured to call the computer program to execute the method of generating Frida scripts and APK dynamic analysis.
[0090] The memory 901 includes: ROM (Read Only Memory image), RAM (Random Access Memory), a disk, a USB flash drive, a memory card or an optical disk, and other media that can store program codes.
[0091] The processor 902 is connected to the memory 901 and is used to execute the computer program stored in the memory 901 so that the electronic device executes the above-mentioned method of generating Frida script and APK dynamic analysis.
[0092] Preferably, the processor 902 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0093] In the several embodiments provided in the present application, it should be understood that the disclosed system, device or method can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules / units is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or units can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules or units, which can be electrical, mechanical or other forms.
[0094] The modules / units described as separate components may or may not be physically separated, and the components displayed as modules / units may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules / units may be selected according to actual needs to achieve the purpose of the embodiments of the present application. For example, the functional modules / units in the various embodiments of the present application may be integrated into one processing module, or each module / unit may exist physically separately, or two or more modules / units may be integrated into one module / unit.
[0095] Those of ordinary skill in the art should further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0096] The present application embodiment also provides a computer-readable storage medium. A person of ordinary skill in the art can understand that all or part of the steps in the method for implementing the above embodiment can be completed by instructing the processor through a program, and the program can be stored in a computer-readable storage medium, and the storage medium is a non-transitory medium, such as a random access memory, a read-only memory, a flash memory, a hard disk, a solid-state hard disk, a magnetic tape, a floppy disk, an optical disc, and any combination thereof. The above storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a digital video disc (DVD)), or a semiconductor medium (e.g., a solid-state disk (SSD)), etc.
[0097] The present application embodiment may also provide a computer program product, the computer program product including one or more computer instructions. When the computer instructions are loaded and executed on a computing device, the process or function described in the embodiment of the present application is generated in whole or in part. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer or data center.
[0098] When the computer program product is executed by a computer, the computer executes the method described in the above method embodiment. The computer program product may be a software installation package, and when the above method is required, the computer program product may be downloaded and executed on a computer.
[0099] The descriptions of the processes or structures corresponding to the above-mentioned figures have different emphases. For parts that are not described in detail in a certain process or structure, please refer to the relevant descriptions of other processes or structures.
[0100] The above embodiments are merely illustrative of the principles and effects of the present application and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.
Claims
1. An inner hole visual inspection device, characterized in that: The device comprises a rotating platform, an image acquisition component, a moving component and a detection unit; The image acquisition component is connected to the moving component so that the image acquisition component enters the inner hole of a measured surface of the workpiece to be inspected, and the image acquisition component rotates in the inner hole of the measured surface to acquire multi-angle images of the inner hole; and The workpiece to be inspected is placed on the rotating platform, and the rotating platform enables the workpiece to switch the inspected surface, so that the image acquisition component collects multi-angle images of the inner holes of each inspected surface of the workpiece to be inspected for visual inspection.
2. The inner hole visual inspection device according to claim 1, characterized in that: The mobile component includes a three-way mobile module and a rotational mobile module; the image acquisition component includes an industrial camera and an endoscope; the rotational mobile module is connected to the three-way mobile module and the industrial camera respectively; the industrial camera is connected to the endoscope; The three-way moving module drives the industrial camera to perform linear motion in three directions through the rotating moving module, so that the industrial camera moves to above the inner hole of the measured surface and the endoscope enters the inner hole; The three directions are perpendicular to each other; The rotation and movement module enables the endoscope to rotate within the inner hole to collect multi-angle images.
3. The inner hole visual inspection device according to claim 1, characterized in that: The three-direction moving module includes a first direction moving unit, a second direction moving unit, and a third direction moving unit; The first direction moving unit is parallel to the rotating platform to provide movement in the first direction, the second direction moving unit is parallel to the rotating platform and perpendicular to the first direction moving unit to provide movement in the second direction, and the third direction moving unit is perpendicular to the second direction moving unit to provide movement in the third direction; the second direction moving unit is connected to the first direction moving unit so that the second direction moving unit can move along the first direction, the third direction moving unit is connected to the second direction moving unit so that the third direction moving unit can move along the second direction, and the rotation moving module is connected to the third direction moving unit so that the rotation moving module can move along the third direction.
4. The inner hole visual inspection device according to claim 1, characterized in that: The image acquisition component includes a flexible cold light source, and the flexible cold light source provides an illumination light source for the inner hole of the measured surface.
5. The inner hole visual inspection device according to claim 1, characterized in that: The device also includes a control unit; The control unit selects a detection parameter according to the number of the workpiece to be detected, and obtains a visual detection result based on the image captured by the image acquisition component and the detection parameter; as well as The control unit stitches and stores the images acquired by the image acquisition component.
6. A method for visual inspection of inner holes, characterized in that: The method is applied to the inner hole visual inspection device according to any one of claims 1 to 5; the method comprises: Selecting inspection parameters based on the number of the workpiece to be inspected; Controlling the moving component to make the image acquisition component enter the inner hole of a measured surface of the workpiece to be inspected, and making the image acquisition component rotate in the inner hole of the measured surface to acquire multi-angle images of the inner hole; Controlling the rotating platform to rotate so that the workpiece to be inspected switches the inspected surface, so that the image acquisition component collects multi-angle images of the inner holes of each inspected surface of the workpiece to be inspected; A visual inspection result of the workpiece to be inspected is obtained based on the inspection parameters and the multi-angle images of the inner holes of each inspected surface.
7. The inner hole visual inspection method according to claim 6, characterized in that: Acquiring the visual inspection result of the workpiece to be inspected based on the inspection parameters and the multi-angle images of the inner holes of each inspected surface includes: The multi-angle images corresponding to the inner holes of each tested surface are input into a visual inspection model, and the visual inspection model performs visual inspection on all the multi-angle images based on the preset inspection parameters to obtain a visual inspection result of the workpiece to be inspected.
8. The inner hole visual inspection method according to claim 6, characterized in that: The method further comprises: The multi-angle images of the inner hole of each measured surface are spliced, named and stored.
9. An electronic device, characterized in that: include: Processor and memory; The memory is used to store computer programs; The processor is used to execute the computer program stored in the memory so that the electronic device executes the inner hole visual inspection method according to any one of claims 6 to 8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by an electronic device, the inner hole visual inspection method described in any one of claims 6 to 8 is implemented.
Citation Information
Cited By
Intelligent detection device and detection method for defects of inner wall of complex porous shell
CN120831359A