Data processing method, system and flashlight production equipment
Through machine vision technology and data processing methods, the threaded connection gap between the flashlight body and the lamp head is automatically identified, which solves the problem of low manual assembly efficiency in the flashlight production process, realizes automated assembly and quality inspection, and improves production efficiency and assembly reliability.
Patent Information
- Application Number
- CN202411739727.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-09-05
- Estimated Expiration
- 2044-11-29
AI Technical Summary
The production process of flashlights mainly relies on manual assembly, which leads to low efficiency. In particular, the tightness of the lamp head and the barrel cannot be effectively guaranteed, especially for waterproof flashlights.
Using machine vision technology and data processing methods, the camera component obtains image data of the threaded connection between the flashlight body and the lamp holder, identifies the pixel width value of the gap, and automatically determines whether the assembly is successful, thus achieving the threaded connection between the body and the lamp holder.
The automatic assembly and quality inspection of flashlights are realized, which reduces manual operations, improves production efficiency, reduces labor costs and ensures assembly quality.
Smart Images

Figure CN119671983B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information processing technology, and in particular to a data processing method, system and flashlight production equipment. Background Art
[0002] A flashlight is a portable lighting tool with a relatively simple structure. However, with technological advancements, the functions and structures of modern flashlights have become more complex and diverse. A flashlight typically consists of a body and a lamp holder. The body generally houses components such as the battery and switching circuit, while the lamp holder houses the light source, reflector, and other lighting components. The lamp holder is connected to the body via threads.
[0003] However, the current flashlight production process relies primarily on manual assembly, where the lamp cap and barrel are manually threaded together. This inefficiency leads to low production efficiency. Furthermore, tightening the lamp cap and barrel manually is a task that is both unreliable and inefficient, especially for waterproof flashlights. Summary of the Invention
[0004] In order to overcome the above technical defects, the present invention provides a data processing method, system and flashlight production equipment.
[0005] In order to solve the above problems, the present invention is implemented according to the following technical solutions:
[0006] In a first aspect, the present invention provides a data processing method, the data processing method being implemented based on a flashlight production device, the flashlight production device being used to threadably connect a flashlight body to a lamp holder, the flashlight production device having a camera assembly located directly above the flashlight; the data processing method comprising:
[0007] Instructing the flashlight production equipment to thread the flashlight body and the lamp holder;
[0008] Acquire image data of the camera assembly, wherein the image data includes a connection between a flashlight body and a lamp holder thread;
[0009] Identifying a gap between the barrel and the lamp cap thread in the image data, and obtaining a pixel width value of the gap;
[0010] When the pixel width of the gap at the connection is less than the preset pixel width, a flashlight assembly success message is output.
[0011] Preferably, identifying the gap between the barrel and the lamp cap thread in the image data and obtaining the pixel width value of the gap comprises the following steps:
[0012] Preprocessing the image data to obtain a grayscale image;
[0013] Identifying a gap between the barrel and the lamp cap thread in the image data from the grayscale image;
[0014] Identifying a pixel number value of the connection gap, where the pixel number value is the total number of pixels of the connection gap on a vertical line in the image, and the pixel number value is used to represent the width of the connection gap;
[0015] The pixel number value is output as a pixel width value.
[0016] Preferably, the image data is preprocessed, specifically comprising the following steps:
[0017] Performing image grayscale conversion on the image data to obtain a first preprocessed image;
[0018] Smoothing the first preprocessed image using a selective mask smoothing method to obtain a second preprocessed image;
[0019] performing image binarization on the second preprocessed image to obtain a grayscale image;
[0020] The grayscale image is denoised using a non-local mean denoising algorithm.
[0021] Preferably, before identifying the gap between the barrel and the lamp holder thread in the image data, the following abnormality detection step is also included:
[0022] Acquiring image data of the camera assembly;
[0023] Recognize the image data, output a first target object and a second target object, and generate corresponding first target detection frames and second target detection frames, respectively; wherein the first target object is a flashlight body and the second target object is a flashlight lamp head;
[0024] When the first target object and / or the second target object is missing in the image data, abnormal part missing information is output.
[0025] Preferably, before identifying the gap between the barrel and the lamp holder thread in the image data, the following abnormality detection step is also included:
[0026] Acquiring a plurality of continuous image data of the camera assembly;
[0027] Recognize the plurality of image data, output a first target object and a second target object, and generate corresponding first target detection frames and second target detection frames, respectively; wherein the first target object is a flashlight body and the second target object is a flashlight lamp head;
[0028] A multi-target tracking algorithm is used to track the first target object and the second target object respectively;
[0029] When the position of the first target object or the second target object deviates from the target area, abnormal part separation information is output.
[0030] Preferably, the data processing method further includes:
[0031] According to the information of successful assembly of the flashlight, the flashlight production equipment is instructed to eject the flashlight and the number of assembled flashlights is accumulated.
[0032] In a second aspect, the present invention provides a data processing system, characterized in that the data processing system is implemented based on a flashlight production device, the flashlight production device is used to threadably connect the flashlight body to the lamp holder, and the flashlight production device has a camera assembly located directly above the flashlight; the data processing system includes:
[0033] A control module, configured to instruct the flashlight production equipment to threadably connect the flashlight body and the lamp holder;
[0034] An acquisition module, which is used to acquire image data of the camera assembly, wherein the image content of the image data is the connection between the flashlight barrel and the lamp holder thread;
[0035] a processing module, configured to identify a gap at a connection between the barrel and the lamp cap thread in the image data, and obtain a pixel width value of the gap at the connection;
[0036] The calculation module is used to output the flashlight assembly success information when the pixel width value of the gap at the connection is less than the preset pixel width value.
[0037] Preferably, the processing module identifies the gap between the barrel and the lamp holder thread in the image data and obtains the pixel width value of the gap, which specifically includes the following steps:
[0038] Preprocessing the image data to obtain a grayscale image;
[0039] Identifying a gap between the barrel and the lamp cap thread in the image data from the grayscale image;
[0040] Identifying a pixel number value of the connection gap, where the pixel number value is the total number of pixels of the connection gap on a vertical line in the image, and the pixel number value is used to represent the width of the connection gap;
[0041] The pixel number value is output as a pixel width value.
[0042] Preferably, the processing module pre-processes the image data, specifically comprising the following steps:
[0043] Performing image grayscale conversion on the image data to obtain a first preprocessed image;
[0044] Smoothing the first preprocessed image using a selective mask smoothing method to obtain a second preprocessed image;
[0045] performing image binarization on the second preprocessed image to obtain a grayscale image;
[0046] The grayscale image is denoised using a non-local mean denoising algorithm.
[0047] In a third aspect, the present invention further provides a flashlight production device, the flashlight production device being used to threadably connect the flashlight body to the lamp holder, the flashlight production device comprising:
[0048] A camera assembly, located directly above the flashlight, for capturing assembly image data of the threaded connection between the flashlight barrel and the lamp holder;
[0049] A controller is connected to the camera assembly, and the controller is used for the data processing method described in the first aspect.
[0050] Compared with the prior art, the present invention has the following beneficial effects:
[0051] The present invention provides a data processing method, which is implemented based on a flashlight production device, wherein the flashlight production device is used to thread the flashlight body and the lamp holder, and the flashlight production device has a camera assembly located directly above the flashlight; the data processing method comprises: instructing the flashlight production device to thread the flashlight body and the lamp holder; obtaining image data of the camera assembly, wherein the image content of the image data is the connection between the flashlight body and the lamp holder thread; identifying the connection gap between the flashlight body and the lamp holder thread in the image data, and obtaining the pixel width value of the connection gap; when the pixel width value of the connection gap is less than a preset pixel width value, outputting information that the flashlight is successfully assembled.
[0052] This invention provides an automated flashlight assembly and quality inspection technology. Using machine vision, the system automatically identifies the threaded connection between the flashlight barrel and the lamp cap. By instructing flashlight production equipment to automatically thread the barrel and lamp cap together, manual labor is reduced and production efficiency is improved. Using image recognition technology, the system can identify gaps in the connection and determine whether assembly is successful. This optimizes the assembly process, reduces reliance on manpower, and reduces labor costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] The specific embodiments of the present invention will be further described in detail below with reference to the accompanying drawings, wherein:
[0054] Figure 1 It is a flow chart of a data processing method of the present invention;
[0055] Figure 2 This is example image data of the assembly of the flashlight body and lamp head of the present invention;
[0056] Figure 3 1 is a schematic diagram of an example of a pixel number value a of a gap at a connection point of the present invention;
[0057] Figure 4 It is a three-dimensional schematic diagram of the flashlight production equipment of the present invention;
[0058] Figure 5 It is a front view schematic diagram of the flashlight production equipment of the present invention;
[0059] Figure 6 It is a three-dimensional schematic diagram of the barrel loading mechanism and the lamp head loading mechanism of the flashlight production equipment of the present invention;
[0060] Figure 7 It is a schematic diagram of the assembly of the barrel loading mechanism and the lamp head loading mechanism of the flashlight production equipment of the present invention;
[0061] In the picture:
[0062] 10- barrel feeding mechanism, 11- first material box, 12- second feeding cylinder, 13- first inclined block, 14- second inclined block, 15- limit block;
[0063] 20-barrel body material seat, 21-V-shaped groove;
[0064] 30-lamp head loading mechanism, 31-first material box, 32-second loading cylinder, 33-third inclined block, 34-third inclined block, 35-limiting block;
[0065] 40-lamp holder material seat;
[0066] 50-cylinder ejection mechanism;
[0067] 60-turntable assembly mechanism, 61-turntable;
[0068] 70-unloading box, 71-unloading rack. DETAILED DESCRIPTION
[0069] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0070] A flashlight is a portable lighting tool with a relatively simple construction. However, with technological advancements, the functions and construction of modern flashlights have become more complex and diverse. A flashlight typically consists of a body and a lamp holder. The body generally houses components such as the battery and switching circuit, while the lamp holder houses the light source, reflector, and other lighting components. The body has a threaded section with external threads, while the lamp holder has internal threads, connecting the body to the lamp holder.
[0071] However, the current flashlight production process relies primarily on manual assembly, where the lamp cap and barrel are manually threaded together. This inefficiency leads to low production efficiency. Furthermore, tightening the lamp cap and barrel manually is a task that is both unreliable and inefficient, especially for waterproof flashlights.
[0072] To this end, the present invention provides a flashlight production device for automatically assembling a flashlight body and lamp cap. The present invention also provides a data processing method and a data processing system, which are deployed on a controller of the flashlight production device to execute the data processing method.
[0073] The purpose of this invention is to provide an automated flashlight assembly and quality inspection technology. Using machine vision, this technology can automatically identify the threaded connection between the flashlight barrel and the lamp cap. By instructing flashlight production equipment to automatically thread the barrel and lamp cap together, manual labor is reduced and production efficiency is improved. Using image recognition technology, the system can identify gaps in the joints and determine whether assembly is successful. This optimizes the assembly process, reduces reliance on manpower, and reduces labor costs.
[0074] Example 1
[0075] like Figures 4 to 7 As shown, the preferred structure of a flashlight production equipment shown in the present invention.
[0076] In the present invention, the flashlight production equipment is used to thread the flashlight body and the lamp head, and the flashlight production equipment has a camera component and a controller, and the controller is connected to the camera component. The controller is deployed with the data processing system described below to execute the data processing method described below.
[0077] like Figure 4 As shown, the flashlight production equipment includes a workbench, a barrel upper loading mechanism, a barrel upper loading seat, a lamp head upper loading mechanism, a lamp head loading seat, a cylinder pushing mechanism, a turntable assembly mechanism and a discharge box.
[0078] (1) About the workbench:
[0079] The workbench is the foundation of the entire production equipment, used to support and secure other components. Specifically, it comprises a three-dimensional frame structure constructed from multiple aluminum profiles, with multiple cabinet panels and doors attached to the structure's surface. The workbench is used to mount the barrel loading mechanism, barrel loading base, lamp head loading mechanism, lamp head loading base, cylinder ejection mechanism, turntable assembly mechanism, and unloading box, as well as associated electrical components and controllers.
[0080] In a specific implementation, the cylinder push mechanism, barrel loading seat, lamp head loading seat, and turntable assembly mechanism are sequentially mounted on the upper surface of the workbench along the same axis. The barrel loading mechanism is correspondingly mounted on the side of the barrel loading seat, and the lamp head loading mechanism is correspondingly mounted on the side of the lamp head loading seat. The unloading box is mounted on the side wall of the workbench, and is located between the cylinder push mechanism and the barrel loading seat.
[0081] The camera assembly is mounted above the position between the material seat and the turntable assembly mechanism on the lamp head through a mounting bracket.
[0082] (2) About the barrel loading mechanism and barrel loading seat:
[0083] The barrel loading mechanism automatically transfers multiple barrels one by one to the barrel loading station for subsequent assembly. The barrel loading station stores individual barrels until assembly is complete. The barrel loading mechanism and the barrel loading station reduce the manual handling of barrels and improve production efficiency.
[0084] like Figure 6 As shown, the material seat on the barrel is a long block structure made of metal, and a through V-shaped groove is opened on the upper part of the material seat on the barrel, and the V-shaped groove is used to place the barrel.
[0085] It should be noted that the use of metal materials can ensure the durability and stability of the loading seat on the barrel. The V-shaped groove design helps to fix the barrel, so that it remains stable during the loading process. The two inclined surfaces formed by the V-shaped groove can guide the barrel to be placed correctly and reduce positioning errors. The design of the V-shaped groove allows the barrel to slide in and out easily. At the same time, the inclined surface design also helps to reduce the rolling or sliding of the barrel during transportation, ensuring the stability of the barrel during transportation. Most importantly, the design of the V-shaped groove is compatible with flashlights of different specifications and sizes, and is compatible with the assembly of flashlights of different models.
[0086] In one embodiment, a plurality of pads are provided at the bottom of the material seat on the barrel to raise the height of the material seat on the barrel.
[0087] Specifically, the barrel loading mechanism is located on one side of the barrel loading seat, and a number of limit blocks are provided on the other side of the barrel loading seat. The height of the limit blocks is higher than the notch setting of the V-shaped through groove to prevent the barrel from detaching from the barrel loading seat.
[0088] like Figure 6 As shown, the barrel loading mechanism includes:
[0089] The first material box is a box-type structure with a material cavity for placing multiple barrels. One side of the first material box is an open structure for unloading. The first material box is tilted and mounted on the upper surface of the workbench via four mounting brackets. The open structure of the first material box is tilted downward and faces the barrel loading seat.
[0090] The first feeding assembly includes a first feeding cylinder, a first inclined block, a second inclined block and two limit blocks. The first feeding cylinder is fixedly installed in the workbench, and a corresponding notch is provided on the upper surface of the workbench to accommodate the up and down movement of the first feeding cylinder. The first feeding cylinder is located between the first material box and the feeding seat on the barrel. The first inclined block is installed on the first feeding cylinder, and the first inclined block is driven by the first feeding cylinder to move up and down. The second inclined block is installed between the first feeding cylinder and the feeding seat on the barrel, and the function of the second inclined block is to fill the gap between the first feeding cylinder and the feeding seat on the barrel to prevent the barrel from being stuck in the gap between the first feeding cylinder and the feeding seat on the barrel.
[0091] It should be noted that the first and second inclined blocks are both inclined from the first material box to the loading seat on the barrel. The two limit blocks are distributed on the left and right sides of the first loading cylinder. The height of the limit blocks is much higher than the height of the first cylinder when it is fully stroked, so as to prevent the barrel from falling.
[0092] Specifically, the loading process of the barrel upper loading mechanism and the barrel upper loading seat of the present invention is as follows:
[0093] There are multiple barrels stored in the first material box, and the barrels can be continuously transported to the first material box through a conveyor. At this time, the first feeding cylinder is in the initial state, and the height of the first inclined block is lower than that of the first material box. At this time, one barrel of the first material box will roll to the top of the first feeding cylinder under the action of its own gravity, and this barrel will stop the other barrels from continuing to roll down. At this time, the first feeding cylinder moves from the initial state to the full stroke state, and the barrel on the first feeding cylinder will roll from the first inclined block to the second inclined block on the inclined surface design of the first inclined block, and then roll to the V-shaped groove of the barrel feeding seat, thus completing the loading of the barrel. The full stroke state of the first feeding cylinder is reset to the initial state, and the next barrel of the first material box enters the first feeding cylinder, and the cycle continues.
[0094] In a preferred embodiment, a first photoelectric switch is provided on the barrel loading seat, and a second photoelectric switch is provided on the first material box. The first photoelectric switch is used to detect whether the barrel has successfully fallen into the V-shaped groove. The second photoelectric switch is provided above the opening structure of the first material box and is used to detect whether a barrel has passed through the opening structure and fallen into the first loading cylinder. The second photoelectric switch is also used to detect whether a barrel is present in the first material box.
[0095] (3) About the lamp holder feeding mechanism and lamp holder feeding seat:
[0096] It should be noted that the structure and principle of the lamp holder loading mechanism and the lamp holder loading seat of the present application are the same as those of the barrel loading mechanism and the barrel loading seat, because the only difference between the two is the length of the lamp holder and the barrel body. For this reason, an adjustable limit rod is provided in the second material box of the lamp holder loading mechanism, which can be compatible with different lamp holders. On the other hand, when the limit rod is removed, it can be used with the barrel body.
[0097] The lamp holder loading mechanism automatically transfers multiple lamp holders one by one to the lamp holder holder for subsequent assembly. The lamp holder holder stores individual lamp holders until assembly. The lamp holder loading mechanism and holder holder reduce the manual handling of lamp holders and improve production efficiency.
[0098] like Figure 6 As shown, the material seat on the lamp holder is a long block structure made of metal, and a through V-shaped groove is opened on the upper part of the material seat of the lamp holder, and the V-shaped groove is used to place the lamp holder.
[0099] It should be noted that the use of metal materials can ensure the durability and stability of the material holder on the lamp head. The V-shaped groove design helps to fix the lamp head and keep it stable during the loading process. The two inclined surfaces formed by the V-shaped groove can guide the lamp head to be placed correctly and reduce positioning errors. The design of the V-shaped groove allows the lamp head to slide in and out easily. At the same time, the inclined surface design also helps to reduce the rolling or sliding of the lamp head during transportation, ensuring the stability of the lamp head during transportation. Most importantly, the design of the V-shaped groove is compatible with flashlights of different specifications and sizes, and is compatible with the assembly of flashlights of different models.
[0100] In one embodiment, a plurality of spacers are provided at the bottom of the material holder on the lamp holder to raise the height of the material holder on the lamp holder. It should be noted that the installation height of the material holder on the lamp holder corresponds to the installation height of the material holder on the barrel. The purpose of this design is to make the lamp holder and the barrel coaxial, so that the threaded section of the barrel can be smoothly inserted into the lamp holder.
[0101] Specifically, the lamp holder loading mechanism is located on one side of the lamp holder loading seat, and a number of limit blocks are provided on the other side of the lamp holder loading seat. The height of the limit blocks is higher than the notch setting of the V-shaped through groove to prevent the lamp holder from detaching from the lamp holder loading seat.
[0102] like Figure 6 As shown, the lamp holder loading mechanism includes:
[0103] The second magazine is a box-type structure with a cavity for placing multiple lamp holders. One side of the second magazine is open for unloading. The second magazine is tilted and mounted on the upper surface of the workbench via four mounting brackets, with the open end tilted downward toward the lamp holder. In a preferred embodiment, the second magazine is equipped with two retractable and adjustable limit rods. The two limit rods are used to accommodate the lamp holders. The gap between the two limit rods can be adjusted to accommodate different lamp holders.
[0104] The second loading assembly includes a second loading cylinder, a third bevel block, a fourth bevel block and two limit blocks. The second loading cylinder is fixedly installed in the workbench, and a corresponding notch is provided on the upper surface of the workbench to accommodate the up and down movement of the second loading cylinder. The second loading cylinder is located between the second material box and the material seat on the lamp holder. The third bevel block is installed on the second loading cylinder, and the third bevel block is driven up and down by the second loading cylinder. The fourth bevel block is installed between the second loading cylinder and the material seat on the lamp holder. The function of the fourth bevel block is to fill the gap between the second loading cylinder and the material seat on the lamp holder to prevent the lamp holder from being stuck in the gap between the second loading cylinder and the material seat on the lamp holder.
[0105] It should be noted that the third and fourth inclined blocks are both tilted from the second material box toward the material seat on the lamp holder. The two limit blocks are located on the left and right sides of the second feeding cylinder. The height of the limit blocks is much higher than the height of the first cylinder at full stroke, to prevent the lamp holder from falling.
[0106] Specifically, the loading process of the lamp holder loading mechanism and the lamp holder loading seat of the present invention is as follows:
[0107] There are multiple lamp heads stored in the second material box, and the lamp heads can be continuously transported to the second material box through a conveyor. At this time, the second feeding cylinder is in the initial state, and the height of the third inclined block is lower than that of the second material box. At this time, a lamp head in the second material box will roll to the top of the second feeding cylinder under the action of its own gravity, and the lamp head will stop the other lamp heads from continuing to roll down. At this time, the second feeding cylinder moves from the initial state to the full stroke state, and the lamp head on the second feeding cylinder will roll from the third inclined block to the fourth inclined block on the inclined surface design of the third inclined block, and then roll to the V-shaped groove of the material seat on the lamp head, thus completing the loading of the lamp head. The full stroke state of the second feeding cylinder is reset to the initial state, and the next lamp head of the second material box enters the second feeding cylinder, and the action is cyclical.
[0108] In a preferred embodiment, the lamp holder is provided with a third photoelectric switch, and the second magazine is provided with a fourth photoelectric switch. The third photoelectric switch is used to detect whether the lamp holder has successfully fallen into the V-shaped groove. The fourth photoelectric switch is located above the opening of the second magazine and is used to detect whether a lamp holder has passed through the opening and fallen into the second loading cylinder. Furthermore, the fourth photoelectric switch is used to detect whether a lamp holder is present in the second magazine.
[0109] (4) About the cylinder push mechanism
[0110] In the present invention, the pneumatic ejection mechanism includes an ejection cylinder, a spring, and a vacuum suction cup fixture. The ejection cylinder is fixedly mounted on the workbench, with the ejection cylinder, the barrel body loading seat, and the lamp head loading seat all aligned in a straight line. Specifically, the spring is fixedly mounted on the end of the ejection cylinder's telescopic rod, and the vacuum suction cup fixture is fixedly connected to the other end of the spring. The ejection cylinder's telescopic rod drives the vacuum suction cup fixture to move, and the vacuum suction cup fixture is used to absorb the tail cap of the barrel body.
[0111] Specifically, the feeding process of the cylinder ejection mechanism of the present invention is as follows:
[0112] In the initial state, the cylinder's telescopic rod is retracted, and the vacuum suction cup fixture is in standby mode. The cylinder is then actuated, and the telescopic rod drives the vacuum suction cup fixture toward the barrel loading base. The vacuum suction cup fixture absorbs the barrel's tail cap and simultaneously pushes the barrel from the barrel loading base onto the lamp holder loading base. After the barrel and lamp holder are connected, they are pushed further toward the turntable assembly mechanism, where the threaded connection is achieved. The cylinder is then pushed back, driving the assembled flashlight back to its initial position. The vacuum suction cup fixture releases the flashlight, which then detaches and rolls into the discharge bin. This cycle continues.
[0113] In this field, vacuum suction cup clamps are commonly used technical means in this field and are commercially available products. Preferably, the size of the vacuum suction cup clamp is smaller than the outer diameter of the barrel, so that it is convenient to pass through the material seat on the barrel and the lamp head.
[0114] The use of the vacuum suction cup fixture is to have a certain fixed limiting effect on the barrel when the turntable assembly mechanism rotates the lamp head. It fixes the tail cover of the barrel by adsorbing it to provide a certain torque force to prevent the barrel from being unable to be assembled as the lamp head rotates.
[0115] In a preferred embodiment, the discharge box has an inclined discharge rack, which is located between the discharge seat on the barrel and the pushing cylinder, and is located below the telescopic rod. When the vacuum suction cup clamp releases the flashlight, the flashlight falls off and falls on the inclined surface of the discharge rack, thereby ensuring that the flashlight rolls into the discharge box under its own gravity.
[0116] (5) About the turntable assembly mechanism
[0117] In the present invention, the turntable assembly mechanism includes a base, a reduction motor and a turntable. The reduction motor, the push cylinder, the material seat on the barrel and the material seat on the lamp head are all on the same straight line.
[0118] Specifically, the reduction motor is mounted on a workbench via a base. The turntable is connected to the reduction motor, which drives the turntable to rotate. Specifically, the turntable includes a metal flange and a polyester elastomer mounted on the metal flange. The metal flange is connected to the output shaft of the reduction motor. The polyester elastomer contacts the lamp holder and rotates with the polyester elastomer, thereby achieving a threaded connection.
[0119] In a specific embodiment, the polyester elastomer has a tapered countersunk hole in the middle for contacting the lamp holder. The tapered sidewall of the countersunk hole contacts the outer wall end of the lamp holder to drive the lamp holder to rotate. The base can be adjusted in height to adapt to the axis of different lamp holders.
[0120] It can be understood that the turntable assembly mechanism is used to simulate human hands to drive the lamp head to rotate and realize the threaded connection assembly with the barrel body. Under the dual action of the material seat on the barrel body and the material seat on the lamp head, the positioning assembly of the lamp head and the barrel body has been realized.
[0121] (6) About the working principle of the flashlight production equipment of the present invention:
[0122] The flashlight production equipment of the present invention is essentially used for assembling the lamp cap and the barrel of a flashlight, and is aimed at the automated assembly of the threaded connection between the lamp cap and the barrel, including automated loading, automated assembly, and automated stripping. Specifically, under the control of the controller, the flashlight production equipment performs the following flashlight assembly process:
[0123] Step 1, loading the barrel: After the flashlight production equipment receives the work instruction, it controls the first loading cylinder of the barrel loading mechanism to work, controls the solenoid valve to open, and the first loading cylinder pushes the barrel that has rolled down the first inclined block upward. Under the joint action of the two limit blocks and the first and second inclined blocks, the barrel rolls down to the V-shaped groove of the barrel loading seat, completing the loading of the barrel.
[0124] Step 2, loading the lamp holder: After the flashlight production equipment receives the work instruction, it controls the second loading cylinder of the lamp holder loading mechanism to work, controls the solenoid valve to open, and the second loading cylinder pushes the lamp holder that has rolled down the third inclined block upwards. Under the joint action of the two limit blocks and the third and fourth inclined blocks, the lamp holder rolls down to the V-shaped groove of the lamp holder loading seat, completing the loading of the lamp holder.
[0125] The third step is to preliminarily assemble the barrel and the lamp holder: push the cylinder to move, and its telescopic rod moves toward the material seat on the barrel and inserts it into the V-shaped groove. Push the telescopic rod of the cylinder to press against the tail cover of the barrel, and clamp the barrel with the vacuum suction cup fixture, and push the barrel to pass through the V-shaped groove of the material seat on the lamp holder. Continue to move, and the threaded section of the barrel is inserted into the lamp holder and pushes the lamp holder to the turntable assembly mechanism.
[0126] Step 4. Complete the assembly of the barrel and lamp holder: Under the action of the pushing cylinder, the lamp holder is pressed against the countersunk hole of the polyester elastomer of the turntable assembly mechanism. The reduction motor of the turntable assembly mechanism drives the polyester elastomer to rotate, and then drives the lamp holder to rotate, realizing the threaded connection between the lamp holder and the barrel, and completing the assembly.
[0127] Example 2
[0128] refer to Figure 1 A second embodiment of the present invention provides a flow chart of a data processing method. This invention provides a data processing technique that instructs flashlight production equipment to automatically thread the barrel and lamp cap, reducing the need for manual operation and improving production efficiency. Using image recognition technology, the system can identify gaps in the joints and determine whether assembly is successful. This optimizes the assembly process, reduces reliance on manpower, and reduces labor costs.
[0129] The data processing method of the present invention can be executed by a data processing system, which can be implemented in the form of hardware and / or software. The system can be configured in an electronic device of a flashlight production device, such as a controller. The data processing method of the present invention is implemented based on the flashlight production device. Specifically, the flashlight production device is exactly the same as that described in Example 1. The flashlight production device has a camera component located directly above the flashlight; Figure 1 As shown, the data processing method includes:
[0130] S100: Instructing the flashlight production equipment to threadably connect the flashlight body and the lamp holder.
[0131] S200: Acquire image data of the camera assembly, where the image data includes a connection between a flashlight body and a lamp holder thread.
[0132] S300: Identify a gap at a connection between the barrel and the lamp cap thread in the image data, and obtain a pixel width value of the gap at the connection.
[0133] S400: When the pixel width of the gap at the connection is smaller than the preset pixel width, outputting information indicating that the flashlight is assembled successfully.
[0134] Specifically, the present invention provides a detailed description of each step of the data processing method.
[0135] S100: Instructing the flashlight production equipment to threadably connect the flashlight body and the lamp holder.
[0136] In the specific implementation, refer to the flashlight production equipment described in Example 1 and (6) the description of the working principle of the flashlight production equipment of the present invention.
[0137] S200: Acquire image data of the camera assembly, where the image data includes a connection between a flashlight body and a lamp holder thread.
[0138] In a specific implementation, the camera assembly is located directly above the assembly position of the flashlight, that is, between the turntable assembly mechanism and the material seat on the lamp head.
[0139] S300: Identify a gap at a connection between the barrel and the lamp cap thread in the image data, and obtain a pixel width value of the gap at the connection.
[0140] In one implementation, image processing software analyzes the captured image, employing an edge detection algorithm (such as Canny edge detection) to identify gaps at the connection and calculate the pixel width of the gap. Identifying and measuring the pixel width of the gap is a key step in determining the quality of the threaded connection between the flashlight barrel and the lamp holder, ensuring that there are no excessive gaps at the connection, thereby ensuring the quality of the flashlight assembly.
[0141] In a specific implementation, identifying the gap at the connection between the barrel and the lamp holder thread in the image data and obtaining the pixel width value of the gap at the connection specifically includes the following steps:
[0142] S310: Preprocess the image data to obtain a grayscale image.
[0143] In a specific implementation, the original image is converted into a grayscale image. Grayscale images can simplify subsequent image processing steps because color information does not need to be considered.
[0144] In a specific implementation, preprocessing the image data specifically includes the following steps:
[0145] S311: performing image grayscale conversion on the image data to obtain a first pre-processed image.
[0146] In one specific implementation, an RGB image is converted to a grayscale image using image processing software (such as OpenCV). The conversion formula is Gray = 0.299 × R + 0.587 × G + 0.114 × B, where R, G, and B represent the red, green, and blue components of the original image. This preprocessing step helps reduce computational complexity and improve the accuracy of subsequent edge detection and seam identification.
[0147] S312: Smoothing the first preprocessed image using a selective mask smoothing method to obtain a second preprocessed image.
[0148] In specific implementations, a selective mask smoothing method (such as Gaussian filtering) is used to smooth the grayscale image to reduce image noise. Images captured by cameras not only include fine edges, but also contain varying levels of noise. Therefore, the core point of image enhancement is to maintain the accuracy of the gap edges as much as possible while reducing noise, and to enhance the contrast between the gaps, especially small gaps, and the flashlight background. In order to make the gap image more conducive to subsequent recognition and detection, the image needs to be clearer, so the contrast between the gap part and the background must be improved.
[0149] In practice, mask smoothing can achieve filtering while preserving edge details. The core theory is to set several masks based on the pixel to be processed and then select the mask with the smallest variance. This method uses the variance as the final output.
[0150] Take the central pixel (x, y) of the image f(x, y) as the reference point, select its 5×5 neighborhood, make a mask with this central SEI reference point in this pixel neighborhood, and calculate the mean μ of each mask respectively i and variance σ i 2 , sorted by variance, the grayscale mean of the mask corresponding to the minimum variance is the output value of the pixel (x, y) to be processed, and the formula is
[0151]
[0152] Where Q is the number of mask pixels, m and n are the displacements of the mask pixels relative to the center pixel (x, y), and i = 1, 2, …, Q. Theoretically, the variance of the background with a relatively even grayscale is small, while the variance is large where gaps in the building image exist.
[0153] S313: Perform image binarization on the second pre-processed image to obtain a grayscale image.
[0154] In specific implementation, the image binarization process is to divide the original digital image initially collected into grayscale value images of 0 and 1 according to conditions, thereby simplifying the image processing process and reducing the number of digital pixels that need to be solved. This method can realize this process in real time and can improve the simplicity of recognition.
[0155] In the specific implementation, the principle of image binarization is to set the two-dimensional grayscale function of the original image as f(x,y), the grayscale matrix as M×N, where any point is (xi,yj), i=1,2,…,N,j=1,2,…,M, find the threshold T, and divide the original grayscale image into two parts according to the threshold T, where f(xi,yj) less than T is set to 0, and f(xi,yj) greater than or equal to T is set to 1, thus converting the image into a binary image, separating the gap and the background.
[0156] The above equation shows that the key to image binarization is threshold selection. If the threshold is too high, pixels in the gap area will be mistakenly identified as background pixels; conversely, some background pixels will be classified as gap areas.
[0157] To this end, in the preferred implementation, the optimal threshold method is adopted. The core step is to use the iteration and threshold segmentation method together to obtain the optimal threshold of the gap image, that is, to determine the maximum and minimum grayscale values Tmax and Tmin in the gap image, and define their average value as the starting threshold, that is, T = 1 / 2 (T max +T min ).
[0158] By using the threshold, the grayscale of the building image containing gaps is divided into two categories. The pixels with grayscale greater than T are divided into group M1, and the pixels with grayscale less than T are divided into group M2. The grayscale average values μ1 and μ2 of these two categories of pixels are obtained, that is,
[0159] and Let T = 1 / 2(μ1+μ2), and continue the above operation until the T value remains unchanged. At this time, set T as the threshold, as shown below
[0160]
[0161] S314: Perform image denoising on the grayscale image using a non-local mean denoising algorithm.
[0162] In practice, the information in an image is highly correlated. No single pixel exists in isolation; it shares not only grayscale similarity but also geometric structure. Flashlight images often contain a significant amount of data with repetitive structures, and many image patches with similar structural patterns can be found within the image. Therefore, using image patches that better capture the image's structural features to measure pixel similarity would be more accurate than calculating the similarity of individual pixels, thereby better preserving the image's structural data.
[0163] In OpenCV, you can use the cv2.fastNlMeansDenoising function to perform non-local mean denoising on the image. Non-local mean denoising helps to further reduce the noise in the image, improve image quality, and provide a clearer image for subsequent edge detection and gap recognition.
[0164] S320: Identify, from the grayscale image, a gap at a connection between the barrel and the lamp cap thread in the image data.
[0165] In a specific implementation, an edge detection algorithm (such as Canny edge detection) is applied to identify edges in an image. The Canny edge detection algorithm processes a grayscale image to produce an edge image. The Canny algorithm identifies edges through Gaussian filtering, gradient calculation, non-maximum suppression, and dual threshold detection.
[0166] The purpose of edge detection is to highlight structural features in an image so that the gaps at the joints can be more easily identified and measured.
[0167] S330: Identify the pixel number value of the connection gap, where the pixel number value is the total number of pixels of the connection gap on a vertical line in the image, and the pixel number value is used to represent the width of the connection gap.
[0168] like Figure 2 and Figure 3 As shown in FIG, the number of pixels of the gap at the connection is a. This method can greatly reduce the complexity of the algorithm and can more easily calculate the width of the gap at the connection for comparison.
[0169] In the image data, we select an area corresponding to the threaded connection between the barrel and the lamp cap, and then count the number of pixels within that area along the vertical direction of the connection (the connection is horizontal in the image). By counting the number of pixels in the gap in the connection, we can obtain a quantitative measurement of the gap width, which is a key indicator of connection quality.
[0170] S340: Output the pixel quantity value as a pixel width value.
[0171] In one specific implementation, if the calculated pixel count value is 10, this means the width of the gap at the joint is 10 pixels. The output pixel width value is compared with a preset pixel width value to determine whether the flashlight has been successfully assembled. This value is a key metric in the quality control process, helping to ensure that product quality meets standards.
[0172] S400: When the pixel width of the gap at the connection is smaller than the preset pixel width, outputting information indicating that the flashlight is assembled successfully.
[0173] This step ensures that only flashlights that meet quality standards are marked as successfully assembled, thereby improving product reliability. Automated quality inspection also reduces the need for manual inspection, improving production efficiency and reducing costs.
[0174] S500: According to the flashlight assembly success information, instruct the flashlight production equipment to eject the flashlight and accumulate the number of assembled flashlights.
[0175] In a specific implementation, see the description of the flashlight production equipment in Example 1 and (6) regarding the working principle of the flashlight production equipment of the present invention. Each time a successful flashlight is removed, the control system will automatically increase the count of assembled flashlights. This can be achieved through programming logic, and each time a successful assembly is detected, the counter will be increased by 1.
[0176] In a preferred embodiment, before identifying the gap at the connection between the barrel and the lamp holder thread in the image data, the following abnormality detection step is also included:
[0177] S10: Acquire image data of the camera assembly;
[0178] In this embodiment, the camera assembly may include multiple cameras, one of which is used to detect the gap at the joint and capture image data of the gap at the joint. The remaining cameras are arranged at other positions on the surface of the workbench to capture image data of the material seat on the barrel and the material seat on the lamp head.
[0179] S20: Identify the image data, output a first target object and a second target object, and generate corresponding first target detection frames and second target detection frames respectively; wherein the first target object is the body of the flashlight, and the second target object is the lamp head of the flashlight.
[0180] In practice, deep learning algorithms such as YOLO (You Only Look Once) or SSD (Single Shot MultiBox Detector) can be used to analyze image data of the barrel and lamp holder in real time to identify the lamp holder and barrel. After detecting the target object, the algorithm marks its location in the video frame and generates a bounding box to identify the object. The system then classifies the detected target objects into the barrel (the first target object) and the lamp holder (the second target object) based on pre-set classification criteria.
[0181] In a specific implementation, the target detection model is a Yolov5s model, which has identified the first target object and the second target object.
[0182] S30: When the first target object and / or the second target object is missing in the image data, outputting abnormal missing part information.
[0183] To ensure the smooth operation of automated production in flashlight production equipment, if the flashlight body or lamp head cannot be identified in the image, the system will output a "parts missing" warning. This warning can be a visual prompt, an audible alarm, or an automatic message sent to production line managers so that timely action can be taken.
[0184] Before identifying the gap between the barrel and the lamp cap thread in the image data, the following abnormality detection step is also included:
[0185] S1000: Acquire a plurality of continuous image data of the camera assembly;
[0186] In this embodiment, the camera assembly may include multiple cameras, one of which is used to detect the gap at the joint and capture image data of the gap at the joint. The remaining cameras are arranged at other positions on the surface of the workbench to capture image data of the material seat on the barrel and the material seat on the lamp head.
[0187] S2000: Identify the plurality of image data, output a first target object and a second target object, and generate corresponding first target detection frames and second target detection frames respectively; wherein the first target object is the body of a flashlight, and the second target object is the lamp head of the flashlight.
[0188] In practice, deep learning algorithms such as YOLO (You Only Look Once) or SSD (Single Shot MultiBox Detector) can be used to analyze image data of the joint gap, the barrel material holder, and the lamp head material holder in real time to identify the lamp head and barrel. After detecting the target object, the algorithm marks the location of the target object in the video frame and generates a bounding box to identify these objects. The system will then classify the detected target objects into the barrel (the first target object) and the lamp head (the second target object) based on preset classification criteria.
[0189] In a specific implementation, the target detection model is a Yolov5s model, which has identified the first target object and the second target object.
[0190] S3000: Track the first target object and the second target object respectively using a multi-target tracking algorithm.
[0191] In specific implementations, appropriate multi-object tracking algorithms, such as DeepSORT or MOT (Multi-Object Tracking), are selected. These algorithms can handle issues such as occlusion, intersection, and reappearance of targets. The algorithm will track each target object, maintaining tracking continuity even if the target temporarily leaves the field of view or reappears after being occluded. The system will update the position and motion status of each target object in real time.
[0192] S4000: When the position of the first target object or the second target object deviates from the target area, outputting abnormal part separation information.
[0193] In practice, a target area is defined, representing the desired position range of the barrel and lamp head in the image. During tracking, the barrel and lamp head's positions are monitored to check whether they have left the target area. If the barrel or lamp head is detected to have left the target area, the system will output a "parts have been removed" warning. If the barrel or lamp head's position exceeds this range during tracking, the system will issue a "parts have been removed" warning. This warning can be a visual prompt, an audible alarm, or an automatic message sent to production line managers, allowing them to take timely action.
[0194] The present invention also provides a data processing system, which is implemented based on a flashlight production device, wherein the flashlight production device is used to threadably connect the flashlight body to the lamp holder, and the flashlight production device has a camera assembly located directly above the flashlight; the data processing system includes:
[0195] A control module, configured to instruct the flashlight production equipment to threadably connect the flashlight body and the lamp holder;
[0196] An acquisition module, which is used to acquire image data of the camera assembly, wherein the image content of the image data is the connection between the flashlight barrel and the lamp holder thread;
[0197] a processing module, configured to identify a gap at a connection between the barrel and the lamp cap thread in the image data, and obtain a pixel width value of the gap at the connection;
[0198] The calculation module is used to output the flashlight assembly success information when the pixel width value of the gap at the connection is less than the preset pixel width value.
[0199] Preferably, the processing module identifies the gap between the barrel and the lamp holder thread in the image data and obtains the pixel width value of the gap, which specifically includes the following steps:
[0200] Preprocessing the image data to obtain a grayscale image;
[0201] Obtaining and identifying a gap between the barrel and the lamp cap thread in the image data from the grayscale image;
[0202] Identifying a pixel number value of the connection gap, where the pixel number value is the total number of pixels of the connection gap on a vertical line in the image, and the pixel number value is used to represent the width of the connection gap;
[0203] The pixel number value is output as a pixel width value.
[0204] Preferably, the processing module pre-processes the image data, specifically comprising the following steps:
[0205] Performing image grayscale conversion on the image data to obtain a first preprocessed image;
[0206] Smoothing the first preprocessed image using a selective mask smoothing method to obtain a second preprocessed image;
[0207] performing image binarization on the second preprocessed image to obtain a grayscale image;
[0208] The grayscale image is denoised using a non-local mean denoising algorithm.
[0209] For other structures of the data processing method, system and flashlight production equipment described in this embodiment, refer to the prior art.
[0210] The above description is merely a preferred embodiment of the present invention and does not constitute any form of limitation to the present invention. Therefore, any modifications, equivalent changes, and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention shall still fall within the scope of the technical solution of the present invention.
Claims
1. A data processing method, characterized in that: The data processing method is implemented based on a flashlight production device, the flashlight production device is used to thread the flashlight body and the lamp holder, and the flashlight production device has a camera assembly located directly above the flashlight; The flashlight production equipment includes a workbench, a barrel upper loading mechanism, a barrel upper loading seat, a lamp head loading mechanism, a lamp head loading seat, a cylinder pushing mechanism, a turntable assembly mechanism and a feed box; the cylinder pushing mechanism, the barrel upper loading seat, the lamp head loading seat and the turntable assembly mechanism are sequentially mounted on the upper surface of the workbench along the same axis; the camera assembly is mounted above the position between the lamp head loading seat and the turntable assembly mechanism via a mounting frame; The material seat on the barrel body is a long block structure made of metal, and a through V-shaped through groove is opened on the upper part of the material seat on the barrel body, and the V-shaped through groove is used to place the barrel body of the flashlight; the material seat on the lamp head is a long block structure made of metal, and a through V-shaped through groove is opened on the upper part of the material seat on the lamp head, and the V-shaped through groove is used to place the lamp head of the flashlight; The data processing method includes: Instructing the flashlight production equipment to thread the flashlight body and the lamp holder; Acquire image data of the camera assembly, wherein the image data includes a connection between a flashlight body and a lamp holder thread; Identifying the gap between the barrel and the lamp holder thread in the image data and obtaining the pixel width value of the gap at the connection specifically includes the following steps: Preprocessing the image data to obtain a grayscale image; Using the Canny edge detection algorithm from the grayscale image, identifying a gap between the barrel and the lamp holder thread in the image data; Identifying a pixel number value of the connection gap, where the pixel number value is the total number of pixels of the connection gap on a vertical line in the image, and the pixel number value is used to represent the width of the connection gap; Output the pixel number value as a pixel width value; When the pixel width of the gap at the connection is less than the preset pixel width, a flashlight assembly success message is output.
2. A data processing method according to claim 1, characterized in that: Preprocessing the image data specifically includes the following steps: Performing image grayscale conversion on the image data to obtain a first preprocessed image; Smoothing the first preprocessed image using a selective mask smoothing method to obtain a second preprocessed image; performing image binarization on the second preprocessed image to obtain a grayscale image; The grayscale image is denoised using a non-local mean denoising algorithm.
3. A data processing method according to claim 1, characterized in that: Before identifying the gap between the barrel and the lamp cap thread in the image data, the following abnormality detection step is also included: Acquiring image data of the camera assembly; Recognize the image data, output a first target object and a second target object, and generate corresponding first target detection frames and second target detection frames, respectively; wherein the first target object is a flashlight body and the second target object is a flashlight lamp head; When the first target object and / or the second target object is missing in the image data, abnormal part missing information is output.
4. A data processing method according to claim 1, characterized in that: Before identifying the gap between the barrel and the lamp cap thread in the image data, the following abnormality detection step is also included: Acquiring a plurality of continuous image data of the camera assembly; Recognize the plurality of image data, output a first target object and a second target object, and generate corresponding first target detection frames and second target detection frames, respectively; wherein the first target object is a flashlight body and the second target object is a flashlight lamp head; A multi-target tracking algorithm is used to track the first target object and the second target object respectively; When the position of the first target object or the second target object deviates from the target area, abnormal part separation information is output.
5. A data processing method according to claim 1, characterized in that: The data processing method further includes: According to the flashlight assembly success information, the flashlight production equipment is instructed to eject the flashlight and the number of assembled flashlights is accumulated.
6. A data processing system, characterized in that: The data processing system is implemented based on a flashlight production device, the flashlight production device is used to thread the flashlight body and the lamp holder, and the flashlight production device has a camera assembly located directly above the flashlight; The flashlight production equipment includes a workbench, a barrel upper loading mechanism, a barrel upper loading seat, a lamp head loading mechanism, a lamp head loading seat, a cylinder pushing mechanism, a turntable assembly mechanism and a feed box; the cylinder pushing mechanism, the barrel upper loading seat, the lamp head loading seat and the turntable assembly mechanism are sequentially mounted on the upper surface of the workbench along the same axis; the camera assembly is mounted above the position between the lamp head loading seat and the turntable assembly mechanism via a mounting frame; The material seat on the barrel body is a long block structure made of metal, and a through V-shaped through groove is opened on the upper part of the material seat on the barrel body, and the V-shaped through groove is used to place the barrel body of the flashlight; the material seat on the lamp head is a long block structure made of metal, and a through V-shaped through groove is opened on the upper part of the material seat on the lamp head, and the V-shaped through groove is used to place the lamp head of the flashlight; The data processing system comprises: A control module, configured to instruct the flashlight production equipment to threadably connect the flashlight body and the lamp holder; An acquisition module, which is used to acquire image data of the camera assembly, wherein the image content of the image data is the connection between the flashlight barrel and the lamp holder thread; The processing module is used to identify the gap between the barrel and the lamp holder thread in the image data and obtain the pixel width value of the gap at the connection, specifically comprising the following steps: Preprocessing the image data to obtain a grayscale image; Using the Canny edge detection algorithm from the grayscale image, identifying a gap between the barrel and the lamp holder thread in the image data; Identifying a pixel number value of the connection gap, where the pixel number value is the total number of pixels of the connection gap on a vertical line in the image, and the pixel number value is used to represent the width of the connection gap; Output the pixel number value as a pixel width value; The calculation module is used to output the flashlight assembly success information when the pixel width value of the gap at the connection is less than the preset pixel width value.
7. A data processing system according to claim 6, characterized in that: The processing module pre-processes the image data, specifically including the following steps: Performing image grayscale conversion on the image data to obtain a first preprocessed image; Smoothing the first preprocessed image using a selective mask smoothing method to obtain a second preprocessed image; performing image binarization on the second preprocessed image to obtain a grayscale image; The grayscale image is denoised using a non-local mean denoising algorithm.
8. A flashlight production equipment, characterized in that, The flashlight production equipment is used to thread the body of the flashlight and the lamp holder. The flashlight production equipment includes a workbench, a body loading mechanism, a body loading seat, a lamp holder loading mechanism, a lamp holder loading seat, a cylinder pushing mechanism, a turntable assembly mechanism and a feed box; the cylinder pushing mechanism, the body loading seat, the lamp holder loading seat and the turntable assembly mechanism are sequentially mounted on the upper surface of the workbench along the same axis; The material seat on the barrel body is a long block structure made of metal, and a through V-shaped through groove is opened on the upper part of the material seat on the barrel body, and the V-shaped through groove is used to place the barrel body of the flashlight; the material seat on the lamp head is a long block structure made of metal, and a through V-shaped through groove is opened on the upper part of the material seat on the lamp head, and the V-shaped through groove is used to place the lamp head of the flashlight; The flashlight production equipment includes: A camera assembly is mounted on the lamp holder above a position between the material holder and the turntable assembly mechanism via a mounting bracket; the camera assembly is located directly above the flashlight and is used to capture assembly image data of the threaded connection between the flashlight barrel and the lamp holder; A controller connected to the camera assembly, wherein the controller is used to execute the data processing method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Assembling equipment and assembling process for assembling lamp cap of flashlight
CN109048731A
Plug assembly detection method, system and device and medium
CN114511493A