Glasses leg pin processing method, device and equipment and readable storage medium

Through real-time temperature detection and automatic pin alignment, combined with image comparison and adjustment modules, the problem of low efficiency of manual or semi-automatic equipment is solved, the accuracy and efficiency of spectacle leg processing are improved, and the product quality is improved.

CN118650429APending Publication Date: 2024-09-17GRACE EYEWEAR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410860949.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

In the existing technology, manual or semi-automatic equipment has low efficiency in inserting the glasses leg pins, and it is easy to cause processing errors due to human factors, affecting product quality.

Method used

Through real-time temperature detection and automatic pin alignment, combined with image comparison and adjustment modules, the accuracy and efficiency of the spectacle legs during the pin insertion process are ensured, human interference is reduced, and product quality is improved.

Benefits of technology

It significantly improves the accuracy and efficiency of spectacle leg processing, reduces processing errors, improves product quality, and ensures the efficiency and accuracy of pin processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118650429A
    Figure CN118650429A
Patent Text Reader

Abstract

The invention provides a glasses leg pin processing method, device and equipment and a readable storage medium. The method comprises the following steps: detecting the temperature of a to-be-processed part of a glasses leg; when the temperature of the to-be-processed part reaches a preset temperature, clamping the glasses leg to a processing area; judging whether the to-be-processed part is aligned with the contact pin in the processing area or not; and if the to-be-processed part is aligned with the contact pin, inserting the contact pin into the to-be-processed part. Through the implementation of the scheme of the invention, real-time temperature detection and automatic pin alignment are realized, and the precision and efficiency of glasses leg processing are remarkably improved. Meanwhile, interference of human factors is reduced, machining errors are reduced, and therefore the product quality is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of eyeglass processing, and in particular to a method, device, equipment and readable storage medium for processing eyeglass leg pins. Background Art

[0002] In order to make the glasses leg bend further during use and thus extend the service life of the glasses frame, a pin is usually inserted into the glasses leg. The head of the pin is flat, called the flat part. The flat part is protruding on the front for welding hinges, and the tail is tapered for easy insertion into the glasses leg. In the process of glasses leg processing, in order to ensure processing quality and efficiency, it is usually necessary to perform precise temperature control and pin insertion operations on the glasses leg.

[0003] At present, the common solution is to manually monitor the temperature and use manual or semi-automatic equipment for pin insertion. However, this method is not only inefficient, but also prone to processing errors due to human factors. Summary of the invention

[0004] The present application provides a method, device, equipment and readable storage medium for processing eyeglass leg pins, which can at least solve the problem of low efficiency of pin insertion operations performed by manual or semi-automatic equipment in the related art.

[0005] A first aspect of an embodiment of the present application provides a method for processing a pin for a glasses leg, comprising: Detect the temperature of the part to be processed on the legs of glasses; When the temperature of the part to be processed reaches a preset temperature, the legs of the glasses are clamped to the processing area; Determining whether the part to be processed is aligned with the pins of the processing area; If the part to be processed is aligned with the insertion pin, the insertion pin is inserted into the part to be processed.

[0006] By adopting the above solution, the accuracy and efficiency of eyeglass leg processing are significantly improved through real-time temperature detection and automatic alignment of pins. At the same time, the interference of human factors is reduced, the processing error is reduced, and the product quality is improved.

[0007] Optionally, before the step of detecting the temperature of the part to be processed of the glasses leg, the following steps are included: Obtaining material information of the glasses leg; Determine the optimal pin temperature of the glasses leg according to the material information; The temple of the glasses is heated according to the optimal pin temperature.

[0008] By adopting the above scheme, the optimal pin insertion temperature of the glasses leg is determined according to the material information of the glasses leg, and the glasses leg is heated, thereby improving the accuracy of the glasses leg during the pin insertion process.

[0009] Optionally, the step of determining whether the pins of the to-be-processed portion are aligned with the pins of the processing area includes: Obtaining the calibration point of the pin assembly in the processing area; wherein the pin assembly is a clamping assembly of the pin; Sending a calibration ray to the calibration point, and detecting an exit angle of the calibration ray; Whether the part to be processed is aligned with the pins in the processing area is determined according to the emission angle.

[0010] By adopting the above scheme, it is determined whether the pins of the part to be processed and the processing area are aligned according to the emission angle of the calibration ray, thereby improving the accuracy of the glasses leg during the pin insertion process.

[0011] Optionally, after the step of inserting the insertion needle into the part to be processed if the part to be processed is aligned with the insertion needle, the step further includes: Acquire an initial image of the glasses leg; Comparing the initial image with the target image after the glasses leg is inserted into the pin, to determine whether the glasses leg is deformed after the pin is inserted; If the temple of the glasses is deformed, the temple of the glasses is adjusted according to the corresponding deformation parameters.

[0012] By adopting the above scheme, it is possible to determine whether the glasses legs are deformed after processing through image comparison, and adjust the deformed glasses legs to improve the product qualification rate and ensure the processing efficiency of the glasses leg pin processing.

[0013] Optionally, the method further includes: If the glasses leg is not deformed, obtaining processing parameters of the glasses leg; Querying the batch information corresponding to the initial image in the image database; Determine the number of glasses legs to be processed corresponding to the initial image according to the batch information; The temples of the glasses in the batch information are processed according to the processing parameters within the number of processing times corresponding to the number to be processed.

[0014] By adopting the above scheme, the number of glasses legs to be processed in the same batch is determined according to the queried batch information, and the glasses legs within the number to be processed are processed using the same processing parameters, thereby improving the processing efficiency of the glasses leg pin processing.

[0015] Optionally, if the glasses leg is deformed, the step of adjusting the glasses leg according to the abnormality includes: Obtaining the current temperature of the glasses leg; Determining the optimal adjustment force of the glasses leg according to the current temperature; The temple of the glasses is adjusted according to the deformation parameter determination and the optimal adjustment force.

[0016] By adopting the above scheme, the softness of glasses legs made of different materials at different temperatures is changed, and the optimal adjustment force for adjusting the deformation of the glasses legs is determined accordingly, so that the glasses legs can be maintained and adjusted more effectively.

[0017] Optionally, the method further includes: Testing the tightness of the pins of the glasses legs; If the tightness of the pin meets the preset standard, it is determined that the processing of the glasses leg is completed; If the tightness of the insertion pin does not meet the preset standard, determining the force difference of the part to be processed when the insertion pin is inserted according to the number of tests of the tightness test; The extrusion force of the part to be processed is adjusted according to the force difference.

[0018] A second aspect of the embodiment of the present application provides a device for processing eyeglass leg pins, comprising: A detection module, used to detect the temperature of the part to be processed of the glasses leg; A clamping module, used for clamping the glasses leg to a processing area when the temperature of the part to be processed reaches a preset temperature; A judging module, used for judging whether the pins of the part to be processed are aligned with the pins of the processing area; The processing module is used for inserting the insertion pin into the part to be processed if the part to be processed is aligned with the insertion pin.

[0019] A third aspect of an embodiment of the present application provides an electronic device, comprising a memory and a processor, wherein the processor is used to execute a computer program stored in the memory, and when the processor executes the computer program, it implements each step of the eyeglass leg pin processing method provided in the first aspect of the embodiment of the present application.

[0020] The fourth aspect of the embodiments of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the eyeglass leg pin processing method provided in the first aspect of the embodiments of the present application are implemented.

[0021] In summary, the beneficial effects of this application are: 1. Through real-time temperature detection and automatic alignment of pins, the accuracy and efficiency of eyeglass leg processing are significantly improved. At the same time, the interference of human factors is reduced, the processing error is reduced, and the product quality is improved.

[0022] 2. Through image comparison, determine whether the glasses legs are deformed after processing, and adjust the deformed glasses legs to improve the product qualification rate and ensure the processing efficiency of the glasses leg pin processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 A schematic diagram of a process for processing a glasses leg pin provided in an embodiment of the present application; Figure 2 A schematic diagram of a program module of a glasses leg pin processing device provided in an embodiment of the present application; Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0024] In order to make the purpose, features, and advantages of the invention of this application more obvious and easy to understand, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0025] In order to solve the problem of low efficiency of pin insertion operation by manual or semi-automatic equipment in the related art, the embodiment of the present application provides a method for processing eyeglass leg pins, which is applied to eyeglass leg pin processing equipment, and the eyeglass leg pin processing equipment includes a loading area, a heating chamber, a processing area, a mechanical arm, a pneumatic clamp and a corresponding control system. Figure 1 The present invention is a flow chart of a method for processing a glasses leg pin provided in the present embodiment. The method for processing a glasses leg pin includes the following steps: Step 110, detecting the temperature of the part to be processed of the glasses leg; Step 120, when the temperature of the part to be processed reaches a preset temperature, clamp the glasses leg to the processing area; Step 130, determining whether the pins of the part to be processed and the processing area are aligned; Step 140: If the part to be processed is aligned with the insertion pin, insert the insertion pin into the part to be processed.

[0026] Specifically, before processing the legs of the glasses, they need to be heated to make them relatively soft, so as to facilitate the subsequent insertion of the pins into the legs of the glasses. Therefore, in this embodiment, the legs of the glasses in the loading area are clamped by a mechanical arm, and the legs of the glasses are placed in a heating chamber for heating. The temperature of the portion to be processed of the legs of the glasses is measured by an infrared temperature sensor or a contact temperature sensor. When the temperature of the portion to be processed reaches a preset temperature (determined by the material of the legs of the glasses), it indicates that the legs of the glasses have reached the softness required for the insertion of the pins. At this time, the heating is stopped and the legs of the glasses are clamped to the processing area. A pneumatic clamp is provided on one side of the processing area, and a pin assembly (the pin assembly is a clamping assembly for the pin) is provided on the other side. The legs of the glasses are fixed by the pneumatic clamp on one side. It should be noted that the pneumatic clamp fixes the legs of the glasses. The strength of the temple can be determined according to the material of the temple, so as to avoid damage or deformation of the temple due to excessive force. The pin assembly on the other side fixes the pin. Before inserting the pin into the temple, it is necessary to determine whether the part to be processed of the glasses is aligned with the pin. If not, the temple may be damaged during the processing. The judgment method includes but is not limited to cameras and image processing software to identify the positions of the temples and pins. It can be understood that, under the premise that the method of fixing the temples and pins remains unchanged, reference points are set on the pneumatic clamps and pin assemblies on both sides respectively, the positions of the reference points are identified, and it is determined whether the positions of the two reference points are aligned. If the positions of the reference points are aligned, the pin can be inserted into the part to be processed of the temple through the pin assembly.

[0027] In an optional implementation of the present embodiment, before the step of detecting the temperature of the part to be processed of the glasses leg, the step includes: obtaining material information of the glasses leg; determining the optimal pin temperature of the glasses leg according to the material information; and heating the glasses leg according to the optimal pin temperature.

[0028] Specifically, in this embodiment, each type of eyeglass leg material is preset with a specific label or code. When the operator puts the eyeglass leg of the same material into the loading area, the operator needs to first scan the label or input the code into the control system. The control system queries the database according to the label or code, obtains the material information of the eyeglass leg from the database, and determines the optimal pin insertion temperature of the eyeglass leg according to the material information. It should be noted that in the database, each type of eyeglass leg material information is preset with an optimal pin insertion temperature. The optimal pin insertion temperature can be determined by referring to the recommended temperature range or industry standard provided by the manufacturer based on the known material information and pin insertion process. Alternatively, for some special materials or new processes, the optimal pin insertion temperature can be determined by setting different temperature conditions and observing the stability of the pin insertion process and the effect after the pin insertion. When the optimal pin insertion temperature of the eyeglass leg is determined, the eyeglass leg is placed in the heating chamber by a mechanical arm, and a temperature controller or regulator is used to ensure that the temperature output by the heating device of the heating chamber is stable within the optimal pin insertion temperature range. The heating time may vary depending on the material and size, so the temperature of the processed part needs to be monitored in real time during the heating process to avoid overheating or insufficient heating.

[0029] In an optional implementation of the present embodiment, the step of determining whether the pins of the part to be processed and the processing area are aligned includes: obtaining the calibration points of the pin assembly in the processing area; sending calibration rays to the calibration points, and detecting the emission angles of the calibration rays; and determining whether the pins of the part to be processed and the processing area are aligned according to the emission angles.

[0030] Specifically, whether the part to be processed is aligned with the pin can also be determined by using calibration rays and angle detection. In this embodiment, it is first necessary to determine the calibration point on the pin assembly. This calibration point can be a specific position on the pin assembly, such as the tip, center or a known coordinate point of the pin. The position of the calibration point can be accurately located by the coordinate position, or by setting a signal source on the pin assembly. Secondly, it is also necessary to set a sound source corresponding to the calibration point position on the pneumatic fixture, align the ray source with the calibration point of the pin assembly, and send a signal. The calibration ray is used to detect the emission angle of the calibration ray at the same time. It can be understood that when the part to be processed is aligned with the pin, the vertical emission angle and the horizontal emission angle of the calibration ray are both 0. In actual applications, based on the design of the pin assembly and the material properties of the part to be processed, an acceptable emission angle range is preset, and the measured emission angle is compared with the preset angle range. If the emission angle falls within the preset range, it is determined that the part to be processed is aligned with the pin; otherwise, it is considered that they are not aligned, and the pin assembly is adjusted until the emission angle is within the preset angle range.

[0031] In an optional implementation of the present embodiment, if the part to be processed is aligned with the insertion pin, then after the step of inserting the insertion pin into the part to be processed, it also includes: acquiring an initial image of the eyeglass leg; comparing the initial image with the target image after the eyeglass leg is inserted into the insertion pin, to determine whether the eyeglass leg is deformed after the insertion of the pin; if the eyeglass leg is deformed, adjusting the eyeglass leg according to the corresponding deformation parameters.

[0032] Specifically, in this embodiment, the robot arm is controlled to place the eyeglass leg in a fixed position to ensure its stability and unobstructedness, and then the initial image of the eyeglass leg is captured by a high-resolution camera or other image acquisition device before the pin is inserted, and the initial image is uploaded to the control system. After the processing of the eyeglass leg is completed, the image of the eyeglass leg after the pin is inserted (i.e., the target image) is obtained again, and the initial image is compared with the target image, that is, the two images are aligned to the same coordinate system, and the key features of the two images, such as edges, corners or contours, are extracted respectively, and the differences in key features between the initial image and the target image, such as pixel differences, shape differences, etc., are calculated. By quantifying the above differences, it is determined whether the glasses leg is deformed. It is understandable that there will be some changes in the glasses leg after the pin is inserted, and when the softening of the glasses leg does not meet the standard or other conditions may cause the parts of the glasses leg to be processed to crack and break, etc. According to factors such as product specifications, quality requirements and processing accuracy, a deformation threshold is set, and the results of the difference analysis are compared with the set threshold. If the difference exceeds the threshold, it is considered that the glasses leg is deformed. The degree and direction of the deformation are further analyzed to determine the deformation parameters that need to be adjusted, such as curvature, twisting, etc. According to the deformation parameters and product requirements, appropriate adjustment methods are selected, such as mechanical adjustment (such as fixtures, presses, etc.), heat treatment (such as heating and cooling) or material compensation (such as adding or removing materials), etc. According to the selected adjustment method, the glasses leg is precisely adjusted by a pneumatic fixture. During the adjustment process, close attention should be paid to the shape changes of the glasses leg to ensure that the adjusted glasses leg meets the quality requirements.

[0033] In an optional implementation of the present embodiment, after the above-mentioned processing of the glasses legs is completed, if the glasses legs do not deform, the processing parameters of the current glasses legs are determined to be standard parameters. Under normal circumstances, under the standard parameters, the glasses legs of the same type will not be deformed after processing. Therefore, the initial image of the glasses legs is compared with the glasses leg images existing in the preset image database, and the matching batch information is queried according to the corresponding glasses leg images stored in the image database. It can be understood that when processing the glasses legs, glasses legs of the same material and product type will be integrated into the same batch for processing. Therefore, the number of glasses legs of the same type to be processed is determined according to the batch information, and within the number of processing times corresponding to the number to be processed, the remaining glasses legs in the same batch are processed according to the processing parameters corresponding to the first processed glasses leg in the batch information. It should be noted that the calculation of the number of processing times uses the switch of the equipment as the clearing node. The first processing after the equipment is turned on can be regarded as the first processed glasses leg of the same batch. Alternatively, the type of glasses leg may be temporarily changed during the processing. At this time, it can be judged by the initial images between different glasses legs. If the initial image of the current glasses leg is inconsistent with the initial image of the glasses leg processed last time, it is determined that the batch of the glasses leg has been replaced, that is, the corresponding processing parameters need to be re-determined in the database.

[0034] In an optional implementation of the present embodiment, if the temple of the glasses is deformed, the step of adjusting the temple of the glasses according to the abnormality includes: obtaining the current temperature of the temple of the glasses; determining the optimal adjustment force of the temple of the glasses according to the current temperature; and adjusting the temple of the glasses according to the deformation parameter determination and the optimal adjustment force.

[0035] Specifically, in the present embodiment, when it is necessary to adjust the deformed temples, the current temperature of the temples must be considered first. The optimal adjustment force of the temples at different temperatures is different. The optimal adjustment force can be understood as the optimal force under the premise of ensuring that the temples will not break or break. If the force is too large, the pneumatic clamp will not accurately control the deformation parameters of the temples during the adjustment process. If the force is too small, the adjustment efficiency will be affected. In addition, the optimal adjustment force is affected by the material of the temples. For example, temples made of composite materials initially soften at 40 degrees. At this time, the pneumatic clamp needs a force of about 3N to adjust the temples. At 60 degrees, the softening is more significant. At this time, the pneumatic clamp only needs a force of about 1N to maintain the accuracy of the adjustment. Ordinary plastic temples soften more significantly at 50 degrees. The pneumatic clamp only needs a force of about 2N to accurately adjust the temples. During the adjustment, adjustments are made according to the deformation parameters corresponding to the deformed temples to improve the accuracy of the adjustment of the temples. It should be noted that if the change of the glasses legs is not obvious and the adjustment is not completed during the adjustment process according to the optimal force, the processed glasses legs can be heated again. After the glasses legs are heated to the preset temperature, the glasses legs can be adjusted by pneumatic clamps.

[0036] In an optional implementation of the present embodiment, a special testing tool or equipment is used to measure the tightness of the pin, such as the force of inserting and removing the pin, the stability of the pin in the hole, etc. After the test is completed, the test data of the tightness test is sent to the control system of the processing equipment. If the tightness of the pin is within the preset standard range, it is determined that the processing of the pin is qualified, that is, the processing of the glasses leg is completed, wherein the preset standard is usually set based on factors such as product quality requirements, user experience and safety. For example, a standard glasses leg pin should meet the standard of being plugged and pulled out 5000 times without loosening. If the tightness of the pin does not meet the preset standard, the difference in the extrusion force of the pneumatic clamp on the part to be processed when the pin is inserted into the part to be processed of the glasses leg is determined according to the actual number of plugging and pulling in the tightness test, and the extrusion force of the pneumatic clamp on the part to be processed is adjusted according to the force difference, so that the processed glasses leg can meet the standard of the tightness test.

[0037] Based on the embodiment scheme of the above application, the temperature of the part to be processed of the eyeglass leg is detected; when the temperature of the part to be processed reaches the preset temperature, the eyeglass leg is clamped to the processing area; it is determined whether the part to be processed is aligned with the pins in the processing area; if the part to be processed is aligned with the pins, the pins are inserted into the part to be processed. Through the implementation of the scheme of this application, real-time temperature detection and automatic alignment of the pins significantly improve the accuracy and efficiency of the eyeglass leg processing. At the same time, the interference of human factors is reduced, the processing error is reduced, and the product quality is improved.

[0038] Figure 2The present invention provides a device for processing the pins of eyeglass legs, which can be used to implement the method for processing the pins of eyeglass legs in the above-mentioned embodiments. Figure 2 As shown, the eyeglass leg pin processing device mainly includes: The detection module 10 is used to detect the temperature of the part to be processed of the glasses leg; A clamping module 20, used to clamp the glasses leg to the processing area when the temperature of the part to be processed reaches a preset temperature; A judging module 30, used to judge whether the pins of the part to be processed and the processing area are aligned; The processing module 40 is used to insert the pin into the part to be processed if the part to be processed is aligned with the pin.

[0039] In an optional implementation of this embodiment, the eyeglass leg pin processing device further includes: a heating module. The heating module is used to: obtain material information of the eyeglass leg; determine the optimal pin insertion temperature of the eyeglass leg according to the material information; and heat the eyeglass leg according to the optimal pin insertion temperature.

[0040] In an optional implementation of the present embodiment, the judgment module is specifically used to: obtain the calibration point of the pin assembly in the processing area; wherein the pin assembly is a clamping assembly of the pin; send a calibration ray to the calibration point, and detect the emission angle of the calibration ray; and judge whether the pins of the to-be-processed part and the processing area are aligned according to the emission angle.

[0041] In an optional implementation of this embodiment, the eyeglass leg pin processing device further includes: an adjustment module. The adjustment module is used to: obtain an initial image of the eyeglass leg; compare the initial image with a target image after the eyeglass leg is inserted into the pin, and determine whether the eyeglass leg is deformed after the pin is inserted; if the eyeglass leg is deformed, adjust the eyeglass leg according to the corresponding deformation parameter.

[0042] Furthermore, in an optional implementation of the present embodiment, the processing module is also used to: if the glasses leg is not deformed, obtain the processing parameters of the glasses leg; query the batch information corresponding to the initial image in the image database; determine the number of glasses legs to be processed corresponding to the initial image according to the batch information; and process the glasses legs in the batch information according to the processing parameters within the number of processing times corresponding to the number to be processed.

[0043] Furthermore, in another optional implementation of the present embodiment, the adjustment module is specifically used to: obtain the current temperature of the glasses leg; determine the optimal adjustment force of the glasses leg according to the current temperature; and adjust the glasses leg according to the deformation parameter determination and the optimal adjustment force.

[0044] In an optional implementation of this embodiment, the eyeglass leg pin processing device further includes: a testing module. The testing module is used to: test the tightness of the eyeglass leg pin; if the tightness of the pin meets the preset standard, determine that the eyeglass leg processing is completed; if the tightness of the pin does not meet the preset standard, determine the force difference of the part to be processed when the pin is inserted according to the test number of the tightness test; and adjust the extrusion force of the part to be processed according to the force difference.

[0045] According to the eyeglass leg pin processing device provided by the present application, the temperature of the part to be processed of the eyeglass leg is detected; when the temperature of the part to be processed reaches the preset temperature, the eyeglass leg is clamped to the processing area; it is determined whether the part to be processed and the pin of the processing area are aligned; if the part to be processed and the pin are aligned, the pin is inserted into the part to be processed. Through the implementation of the present application, real-time temperature detection and automatic alignment of the pins significantly improve the accuracy and efficiency of eyeglass leg processing. At the same time, the interference of human factors is reduced, the processing error is reduced, and the product quality is improved.

[0046] Figure 3 An electronic device is provided in an embodiment of the present application. The electronic device can be used to implement the method for processing the pins of the glasses legs in the above-mentioned embodiment, mainly comprising: The memory 301, the processor 302, and the computer program 303 stored in the memory 301 and executable on the processor 302 are connected to the memory 301 and the processor 302 are connected via communication. When the processor 302 executes the computer program 303, the method for processing the pins of the temples of the glasses in the above-mentioned embodiment is implemented. The number of the processors can be one or more.

[0047] The memory 301 may be a high-speed random access memory (RAM) memory, or a non-volatile memory (non-volatile memory), such as a disk memory. The memory 301 is used to store executable program codes, and the processor 302 is coupled to the memory 301 .

[0048] Furthermore, the present application also provides a computer-readable storage medium, which may be provided in the electronic device in the above embodiments. Figure 3 Memory in the illustrated embodiment.

[0049] The computer readable storage medium stores a computer program, and when the program is executed by the processor, the method for processing the pins of the glasses legs in the aforementioned embodiment is implemented. Furthermore, the computer readable storage medium can also be a U disk, a mobile hard disk, a read-only memory (ROM), a RAM, a magnetic disk or an optical disk, and other media that can store program codes.

[0050] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components 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 through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0051] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0052] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.

[0053] If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a readable storage medium, including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned readable storage medium includes: U disk, mobile hard disk, ROM, RAM, disk or CD-ROM and other media that can store program codes.

[0054] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described action sequence, because according to the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0055] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0056] The above is a description of the eyeglass leg pin processing method, device, equipment and readable storage medium provided in the present application. For technicians in this field, according to the ideas of the embodiments of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for processing eyeglass leg pins, characterized in that: include: Detect the temperature of the part to be processed on the legs of glasses; When the temperature of the part to be processed reaches a preset temperature, the legs of the glasses are clamped to the processing area; Determining whether the part to be processed is aligned with the pins of the processing area; If the part to be processed is aligned with the insertion pin, the insertion pin is inserted into the part to be processed.

2. The method for processing the pins of glasses legs according to claim 1, characterized in that: Before the step of detecting the temperature of the part to be processed of the glasses leg, the method comprises: Obtaining material information of the glasses leg; Determine the optimal pin temperature of the glasses leg according to the material information; The temple of the glasses is heated according to the optimal pin temperature.

3. The method for processing the pins for the glasses legs according to claim 1, characterized in that: The step of judging whether the pins of the part to be processed are aligned with the pins of the processing area comprises: Obtaining the calibration point of the pin assembly in the processing area; wherein the pin assembly is a clamping assembly of the pin; Sending a calibration ray to the calibration point, and detecting an exit angle of the calibration ray; Whether the part to be processed is aligned with the pins in the processing area is determined according to the emission angle.

4. The method for processing the pins for the glasses legs according to claim 1, characterized in that: After the step of inserting the insertion pin into the part to be processed if the part to be processed is aligned with the insertion pin, the method further includes: Acquire an initial image of the glasses leg; Comparing the initial image with the target image after the glasses leg is inserted into the pin, to determine whether the glasses leg is deformed after the pin is inserted; If the temple of the glasses is deformed, the temple of the glasses is adjusted according to the corresponding deformation parameters.

5. The method for processing the pins for the glasses legs according to claim 4, characterized in that: The method further comprises: If the glasses leg is not deformed, obtaining processing parameters of the glasses leg; Querying the batch information corresponding to the initial image in the image database; Determine the number of glasses legs to be processed corresponding to the initial image according to the batch information; The temples of the glasses in the batch information are processed according to the processing parameters within the number of processing times corresponding to the number to be processed.

6. The method for processing the pins for the glasses legs according to claim 4, characterized in that: If the glasses leg is deformed, the step of adjusting the glasses leg according to the abnormality comprises: Obtaining the current temperature of the glasses leg; Determining the optimal adjustment force of the glasses leg according to the current temperature; The temple of the glasses is adjusted according to the deformation parameter determination and the optimal adjustment force.

7. The method for processing the pins for the glasses legs according to claim 1, characterized in that: The method further comprises: Testing the tightness of the pins of the glasses legs; If the tightness of the pin meets the preset standard, it is determined that the processing of the glasses leg is completed; If the tightness of the insertion pin does not meet the preset standard, determining the force difference of the part to be processed when the insertion pin is inserted according to the number of tests of the tightness test; The extrusion force of the part to be processed is adjusted according to the force difference.

8. A device for processing pins for eyeglass legs, characterized in that: include: A detection module, used to detect the temperature of the part to be processed of the glasses leg; A clamping module, used for clamping the glasses leg to a processing area when the temperature of the part to be processed reaches a preset temperature; A judging module, used for judging whether the pins of the part to be processed are aligned with the pins of the processing area; The processing module is used for inserting the insertion pin into the part to be processed if the part to be processed is aligned with the insertion pin.

9. An electronic device, characterized in that: The device comprises a memory and a processor, wherein: The processor is used to execute the computer program stored in the memory; When the processor executes the computer program, the steps in the method for processing the temple pins of any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps in the method for processing the temple pins of any one of claims 1 to 7 are implemented.