CN111638230A - Terminal lens detection method and device, electronic equipment and storage medium - Google Patents

Terminal lens detection method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111638230A
CN111638230A CN201910156324.7A CN201910156324A CN111638230A CN 111638230 A CN111638230 A CN 111638230A CN 201910156324 A CN201910156324 A CN 201910156324A CN 111638230 A CN111638230 A CN 111638230A
Authority
CN
China
Prior art keywords
lens
height difference
preset
preset position
scanning
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910156324.7A
Other languages
Chinese (zh)
Inventor
邱伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201910156324.7A priority Critical patent/CN111638230A/en
Publication of CN111638230A publication Critical patent/CN111638230A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/95Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
    • G01N21/958Inspecting transparent materials or objects, e.g. windscreens

Abstract

The application provides a method and a device for detecting a terminal lens, electronic equipment and a storage medium, wherein the method comprises the steps of scanning the lens by adopting line laser to obtain first scanning data corresponding to a first preset position of the lens; determining whether the lens meets an installation eligibility index based on the first scan data. The intelligent detection of the terminal lens can be realized through the method and the device, so that the detection is more visual, the omission factor is effectively reduced, and the detection effect is improved.

Description

Terminal lens detection method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a method and an apparatus for detecting a terminal lens, an electronic device, and a storage medium.
Background
In the terminal manufacturing process, the rear camera lens is usually bonded on the battery cover assembly by using a double-sided adhesive tape, and the phenomena of unqualified installation, such as upwarp of the lens, too high lower limit and the like, caused by factors such as a design tolerance chain of the battery cover assembly, a lens design tolerance chain, the double-sided adhesive tape tolerance chain and the like are inevitable in the bonding process.
In the related art, whether the installation of the lens is qualified or not is detected by adopting manual detection methods such as visual detection, finger touch and hand scraping degree and the like, or whether the installation of the lens is qualified or not is detected by adopting a protective film.
In this way, due to the fact that the unqualified phenomena such as the local lower limit, the local upwarping and the overall lower limit of the terminal lens are not obvious, detection by adopting a touch and visual detection method is not visual enough, detection is easy to miss, and the detection effect is not good.
Disclosure of Invention
The present application is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, the application aims to provide a terminal lens detection method, a terminal lens detection device, an electronic device and a storage medium, and can realize the intellectualization of terminal lens detection, so that the detection is more visual, the missing rate is effectively reduced, and the detection effect is improved.
In order to achieve the above object, an embodiment of the present application provides a method for detecting a terminal lens, including: scanning a lens by adopting line laser to obtain first scanning data corresponding to a first preset position of the lens; determining whether the lens meets an installation eligibility index based on the first scan data.
According to the terminal lens detection method provided by the embodiment of the first aspect of the application, the line laser is adopted to scan the lens to obtain the first scanning data corresponding to the first preset position of the lens, whether the lens meets the installation qualification index is determined according to the first scanning data, and whether the lens is installed to be qualified or not is detected according to the data obtained by the line laser scanning, so that the intellectualization of the terminal lens detection can be realized, the detection is more visual, the omission factor is effectively reduced, and the detection effect is improved.
In order to achieve the above object, an embodiment of the second aspect of the present application provides a terminal lens detecting device, including: the scanning module is used for scanning the lens by adopting line laser to obtain first scanning data corresponding to a first preset position of the lens; a determination module for determining whether the lens meets an installation eligibility index based on the first scan data.
According to the terminal lens detection device provided by the embodiment of the second aspect of the application, the line laser scanning lens is adopted to obtain the first scanning data corresponding to the first preset position of the lens, whether the lens meets the installation qualification index is determined according to the first scanning data, and whether the lens is installed to be qualified or not is detected by adopting the data obtained by the line laser scanning, so that the intellectualization of the detection of the terminal lens can be realized, the detection is more visual, the omission factor is effectively reduced, and the detection effect is improved.
In order to achieve the above object, a third aspect of the present application further provides an electronic device, which includes a housing, a processor, a memory, a circuit board, and a power circuit, wherein the circuit board is disposed inside a space enclosed by the housing, and the processor and the memory are disposed on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the electronic equipment; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing: scanning a lens by adopting line laser to obtain first scanning data corresponding to a first preset position of the lens; determining whether the lens meets an installation eligibility index based on the first scan data.
According to the electronic equipment provided by the embodiment of the third aspect of the application, the line laser scanning lens is adopted to obtain the first scanning data corresponding to the first preset position of the lens, whether the lens meets the installation qualification index is determined according to the first scanning data, and the data obtained by line laser scanning is adopted to detect whether the lens is installed, so that the intellectualization of terminal lens detection can be realized, the detection is more visual, the omission factor is effectively reduced, and the detection effect is improved.
To achieve the above object, a fourth aspect of the present application provides a non-transitory computer-readable storage medium, where instructions of the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform a terminal lens detection method, the method including: scanning a lens by adopting line laser to obtain first scanning data corresponding to a first preset position of the lens; determining whether the lens meets an installation eligibility index based on the first scan data.
According to the non-transitory computer-readable storage medium provided by the embodiment of the fourth aspect of the application, the line laser is adopted to scan the lens, so that first scanning data corresponding to a first preset position of the lens is obtained, whether the lens meets the installation qualification index is determined according to the first scanning data, whether the lens is installed in the lens is detected according to the data obtained by the line laser scanning, the intellectualization of terminal lens detection can be realized, the detection is more visual, the omission factor is effectively reduced, and the detection effect is improved.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of a method for detecting a lens of a terminal according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a first predetermined location distribution in an embodiment of the present application;
FIG. 3 is a schematic diagram of a second predetermined location distribution in an embodiment of the present application;
fig. 4 is a schematic structural diagram of a terminal lens detecting device according to an embodiment of the present application;
FIG. 5 is a schematic structural diagram of a final lens inspection device according to another embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application. On the contrary, the embodiments of the application include all changes, modifications and equivalents coming within the spirit and terms of the claims appended hereto.
Fig. 1 is a flowchart illustrating a method for detecting a lens of a terminal according to an embodiment of the present disclosure.
The present embodiment is exemplified in a case where the terminal lens detecting method is configured as a terminal lens detecting apparatus.
In this embodiment, the terminal lens detection method may be configured in a terminal lens detection device, and the terminal lens detection device may be disposed in a server, or may also be disposed in an electronic device, which is not limited in this embodiment of the present application.
The present embodiment takes the example that the terminal lens detecting method is configured in an electronic device.
It should be noted that the execution main body in the embodiment of the present application may be, for example, a Central Processing Unit (CPU) in a server or an electronic device in terms of hardware, and may be, for example, a related background service in the server or the electronic device in terms of software, which is not limited to this.
The lens in the embodiment of the application is a lens of a rear-mounted camera at a terminal.
In the terminal manufacturing process, the rear camera lens is usually bonded on the battery cover assembly by using a double-sided adhesive tape, and the phenomena of unqualified installation, such as upwarp of the lens, too high lower limit and the like, caused by factors such as a design tolerance chain of the battery cover assembly, a lens design tolerance chain, the double-sided adhesive tape tolerance chain and the like are inevitable in the bonding process.
In the related art, whether the installation of the lens is qualified or not is detected by adopting manual detection methods such as visual detection, finger touch and hand scraping degree and the like, or whether the installation of the lens is qualified or not is detected by adopting a protective film.
In this way, due to the fact that the unqualified phenomena such as the local lower limit, the local upwarping and the overall lower limit of the terminal lens are not obvious, detection by adopting a touch and visual detection method is not visual enough, detection is easy to miss, and the detection effect is not good.
In order to solve the above technical problem, an embodiment of the present application provides a method for detecting a terminal lens, where line laser scanning is used to scan a lens to obtain first scanning data corresponding to a first preset point of the lens, and according to the first scanning data, it is determined whether the lens meets an installation eligibility index, and whether the installation eligibility of the lens is detected by using the data obtained by line laser scanning, so that intelligence of detection of the terminal lens can be realized, detection is more intuitive, omission ratio is effectively reduced, and detection effect is improved.
S101: and scanning the lens by adopting line laser to obtain first scanning data corresponding to a first preset position of the lens.
In the embodiment of the present application, the position points calibrated on the lens in advance may be referred to as first preset position points, the number of the first preset position points may be multiple, and each of the first preset position points may be distributed around the lens respectively.
Referring to fig. 2, fig. 2 is a schematic diagram of a distribution of first preset points in the embodiment of the present application, which includes a lens 21 and six first preset points 22.
The data obtained by scanning the lens with the line laser may be referred to as first scanning data, and when the number of the first preset positions is multiple, each first preset position has corresponding first scanning data.
In the specific execution process, the line laser device is adopted to scan the rear camera lens of the terminal, and scanning data corresponding to each preset position point is obtained.
In the line laser device in the embodiment of the present application, the line laser parameters adopted may be: the FOV of the laser line is 15mm, the pixel precision is 0.01mm/pixel, the mounting height of the line laser equipment is 65mm away from the terminal surface under the laser head, the height adjustable range of the configuration fixing mechanism is +/-10 mm, the lens scanning and picture processing time is less than 2s, the steering part of the line laser equipment can be reasonably designed and optimized according to a specific machine type, different line laser equipment can be selected according to factors such as detection precision and camera lens materials, and the line laser equipment is flexible.
S102: determining whether the lens meets the installation eligibility index based on the first scan data.
In a specific implementation process of the embodiment of the application, the number of the first preset points is at least two, each first preset point has corresponding first scanning data, and according to the first scanning data, it is determined whether the lens meets the installation eligibility index, including: calculating a first height difference and a second height difference of the lens according to first scanning data corresponding to each first preset position, wherein the first height difference is the height difference between the left side and the right side of the lens, and the second height difference is the height difference between the upper side and the lower side of the lens; and determining whether the lens meets the installation qualification index according to the first height difference and the second height difference.
Referring to fig. 2, the six first preset positions 22 included in fig. 2 may obtain a height difference (which may be referred to as a second height difference) between the upper side and the lower side of the terminal through software calculation via first scan data corresponding to the first preset positions 22(1 and 2) and the first preset positions 22(4 and 5), and obtain a height difference (which may be referred to as a first height difference) between the left side and the right side of the terminal through software calculation via first scan data corresponding to the first preset positions 22(3 and 6).
Specifically, the first height difference and the second height difference are compared with a preset value respectively; and if the first height difference is larger than or equal to a preset value and/or the second height difference is larger than or equal to a preset value, determining that the lens does not meet the installation qualification index.
The preset value may be calibrated according to actual detection requirements, for example, the preset value may be calibrated according to different terminal models, or may be calibrated in advance by a factory program of the electronic device, which is not limited to this.
The preset value may be, for example, 0.05 mm.
In the embodiment of the application, the first height difference and the second height difference are compared with a preset value respectively; if the first height difference is larger than or equal to a preset value and/or the second height difference is larger than or equal to a preset value, the lens is determined not to meet the installation qualification index, and the phenomenon of poor inclination of the lens monomer can be detected by adopting the method.
The embodiment of the application also provides another detection method, wherein line laser scanning is adopted for scanning the battery cover component adjacent to the lens to obtain second scanning data corresponding to a second preset position of the battery cover component, and each first preset position is provided with a corresponding second preset position; and determining whether the lens meets the installation qualification index according to the first scanning data and the second scanning data.
Optionally, the battery cover assembly is a battery cover decorative ring.
Referring to fig. 3, fig. 3 is a schematic diagram illustrating distribution of second preset points in the embodiment of the present application, which includes a lens 31, a battery cover decoration ring 32, six first preset points 33, and six second preset points 34, wherein the first preset points 33(1) correspond to the second preset points 34(7), the first preset points 33(2) correspond to the second preset points 34(8), the first preset points 33(3) correspond to the second preset points 34(9), the first preset points 33(4) correspond to the second preset points 34(10), the first preset points 33(5) correspond to the second preset points 34(11), and the first preset points 33(6) correspond to the second preset points 34 (12).
By the method, the defects of lower limit and warping of the lens can be detected.
Specifically, for each first preset position and a second preset position corresponding to the first preset position, calculating a third height difference between the first preset position and the corresponding second preset position according to first scanning data corresponding to the first preset position and second scanning data corresponding to the second preset position; and determining whether the lens meets the installation qualification index according to the third height differences.
The third height difference is the height difference between the corresponding first predetermined position 33 and second predetermined position 34 shown in fig. 3.
In the specific implementation process, whether the lens meets the installation qualification index is determined according to each third height difference, and the method includes the following steps: comparing each third height difference with a preset range respectively; and if any third height difference in all the third height differences is not within the preset range, determining that the lens does not meet the installation qualification index.
The preset range may be calibrated according to actual detection requirements, for example, the preset range may be calibrated according to different terminal models, or may be calibrated in advance by a factory program of the electronic device, which is not limited to this.
The predetermined range may be, for example, 0.05-0.15 mm.
In the embodiment of the application, the height difference of the upper position, the lower position, the left position and the right position of the lens is obtained through line laser point-taking scanning, the monomer tilt of the lens is detected through measurement, the lower limit and the upwarp of the lens can be detected through line laser measurement of the relative height of the lens and the decorative ring, and all the defects of the joint height difference of the lens can be detected, so that the operation is simple, the detection precision is high, the detection time is short, the efficiency is high, the standard quantification and the detection consistency are good, and the defects are more obvious and visual; the method for detecting the poor lens attaching height difference by the linear laser avoids the problems of difficulty in touch detection and visual detection, poor consistency and omission of detection of staff, greatly improves the detection rate of the poor lens attaching height difference, and successfully solves the problems of difficulty in detecting the poor lens attaching height difference and low detection rate which are always puzzled on a production line, and improves the production and manufacturing quality.
In this embodiment, through adopting line laser scanning lens, obtain the first scanning data that the first preset point of lens corresponds, according to first scanning data, confirm whether the lens satisfies the installation qualification index, because adopt the data that line laser scanning obtained to carry out the detection that whether lens installation qualification is, can realize the intellectuality that the terminal lens detected for it is more directly perceived to detect, effectively reduces the missed measure rate, promotes detection effect.
Fig. 4 is a schematic structural diagram of a terminal lens detecting device according to an embodiment of the present application.
Referring to fig. 4, the apparatus 400 includes:
the scanning module 401 is configured to scan the lens with a line laser to obtain first scanning data corresponding to a first preset point of the lens;
a determination module 402 for determining whether the lens meets the installation eligibility criterion based on the first scan data.
Alternatively, in some embodiments, wherein,
the scanning module 401 is further configured to scan the battery cover assembly adjacent to the lens by using line laser to obtain second scanning data corresponding to a second preset location of the battery cover assembly, where each first preset location has a corresponding second preset location;
the determining module 402 is further configured to determine whether the lens meets the installation eligibility index according to the first scan data in combination with the second scan data.
Optionally, in some embodiments, the number of the first preset points is at least two, and each first preset point has corresponding first scan data, referring to fig. 5, the determining module 402 includes:
the first calculating sub-module 4021 is configured to calculate a first height difference and a second height difference of the lens according to first scanning data corresponding to each first preset location, where the first height difference is a height difference between the left side and the right side of the lens, and the second height difference is a height difference between the upper side and the lower side of the lens;
the first determining sub-module 4022 is configured to determine whether the lens meets the installation qualification index according to the first height difference and the second height difference.
Optionally, in some embodiments, the first determining sub-module 4022 is specifically configured to:
respectively comparing the first height difference and the second height difference with a preset value;
and if the first height difference is larger than or equal to a preset value and/or the second height difference is larger than or equal to a preset value, determining that the lens does not meet the installation qualification index.
Optionally, in some embodiments, referring to fig. 5, the determining module further includes:
the second calculating sub-module 4023 is configured to calculate, for each first preset point and a second preset point corresponding to the first preset point, a third height difference between the first preset point and the corresponding second preset point according to first scanning data corresponding to the first preset point and second scanning data corresponding to the second preset point;
a second determining sub-module 4024, configured to determine whether the lens meets the installation qualification index according to each third height difference.
Optionally, in some embodiments, the second determining sub-module 4024 is specifically configured to:
comparing each third height difference with a preset range respectively;
and if any third height difference in all the third height differences is not within the preset range, determining that the lens does not meet the installation qualification index.
Optionally, in some embodiments, the battery cover assembly is a battery cover bezel.
It should be noted that the explanation of the embodiment of the terminal lens detection method in the foregoing fig. 1-3 is also applicable to the terminal lens detection apparatus 400 in this embodiment, and the implementation principle is similar, and is not repeated here.
In this embodiment, through adopting line laser scanning lens, obtain the first scanning data that the first preset point of lens corresponds, according to first scanning data, confirm whether the lens satisfies the installation qualification index, because adopt the data that line laser scanning obtained to carry out the detection that whether lens installation qualification is, can realize the intellectuality that the terminal lens detected for it is more directly perceived to detect, effectively reduces the missed measure rate, promotes detection effect.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Referring to fig. 6, the electronic device 60 of the present embodiment includes: the device comprises a shell 601, a processor 602, a memory 603, a circuit board 604 and a power supply circuit 605, wherein the circuit board 604 is arranged in a space surrounded by the shell 601, and the processor 602 and the memory 603 are arranged on the circuit board 604; a power supply circuit 605 for supplying power to each circuit or device of the electronic apparatus 60; the memory 603 is used for storing executable program code; wherein the processor 602 runs a program corresponding to the executable program code by reading the executable program code stored in the memory 603, for performing:
scanning the lens by adopting line laser to obtain first scanning data corresponding to a first preset position of the lens;
determining whether the lens meets the installation eligibility index based on the first scan data.
It should be noted that the explanation of the embodiment of the terminal lens detection method in the foregoing embodiments of fig. 1 to fig. 3 also applies to the electronic device 60 of this embodiment, and the implementation principle is similar, and is not described again here.
In this embodiment, through adopting line laser scanning lens, obtain the first scanning data that the first preset point of lens corresponds, according to first scanning data, confirm whether the lens satisfies the installation qualification index, because adopt the data that line laser scanning obtained to carry out the detection that whether lens installation qualification is, can realize the intellectuality that the terminal lens detected for it is more directly perceived to detect, effectively reduces the missed measure rate, promotes detection effect.
To achieve the above embodiments, the present application also proposes a non-transitory computer-readable storage medium, in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform a terminal lens detection method, the method comprising:
scanning the lens by adopting line laser to obtain first scanning data corresponding to a first preset position of the lens;
determining whether the lens meets the installation eligibility index based on the first scan data.
In the non-transitory computer-readable storage medium in this embodiment, the line laser scanning is used to scan the lens to obtain first scanning data corresponding to a first preset point of the lens, and whether the lens meets the installation qualification index is determined according to the first scanning data.
To implement the above embodiments, the present application also proposes a computer program product, wherein when instructions are executed by a processor, a method for detecting a lens of a terminal is performed, the method comprising:
scanning the lens by adopting line laser to obtain first scanning data corresponding to a first preset position of the lens;
determining whether the lens meets the installation eligibility index based on the first scan data.
The computer program product in the embodiment obtains first scanning data corresponding to a first preset position of the lens by scanning the lens with the line laser, and determines whether the lens meets the installation qualification index according to the first scanning data.
It should be noted that, in the description of the present application, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present application, "a plurality" means two or more unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (16)

1. A terminal lens detection method is characterized by comprising the following steps:
scanning a lens by adopting line laser to obtain first scanning data corresponding to a first preset position of the lens;
determining whether the lens meets an installation eligibility index based on the first scan data.
2. The method for inspecting a lens of an endpoint of claim 1, further comprising:
scanning the battery cover assembly adjacent to the lens by using the line laser to obtain second scanning data corresponding to a second preset position of the battery cover assembly, wherein each first preset position has a corresponding second preset position;
determining whether the lens meets an installation eligibility index based on the first scan data in combination with the second scan data.
3. The method for inspecting a lens of an endpoint of claim 1, wherein the number of the first predetermined locations is at least two, each of the first predetermined locations has corresponding first scan data, and the determining whether the lens meets the installation acceptability indicator based on the first scan data comprises:
calculating a first height difference and a second height difference of the lens according to first scanning data corresponding to each first preset position, wherein the first height difference is a height difference between the left side and the right side of the lens, and the second height difference is a height difference between the upper side and the lower side of the lens;
and determining whether the lens meets an installation qualification index according to the first height difference and the second height difference.
4. The method for detecting a lens at an endpoint of claim 3, wherein the determining whether the lens meets an installation eligibility index based on the first height differential and the second height differential comprises:
respectively comparing the first height difference and the second height difference with a preset value;
and if the first height difference is larger than or equal to the preset value and/or the second height difference is larger than or equal to the preset value, determining that the lens does not meet the installation qualification index.
5. An end lens inspection method according to claim 2 wherein said determining from said first scan data, in combination with said second scan data, whether said lens meets an installation acceptability indicator, comprises:
aiming at each first preset position and a second preset position corresponding to the first preset position, calculating a third height difference between the first preset position and the corresponding second preset position according to first scanning data corresponding to the first preset position and second scanning data corresponding to the second preset position;
and determining whether the lens meets the installation qualification index according to the third height difference.
6. The method for inspecting a lens of an end point of claim 5, wherein said determining whether said lens meets an installation acceptability indicator based on each of said third height differences comprises:
comparing each third height difference with a preset range respectively;
and if any third height difference in all the third height differences is not within the preset range, determining that the lens does not meet the installation qualification index.
7. The method for inspecting a terminal lens according to claim 2, 5 or 6, wherein the battery cover assembly is a battery cover decorative ring.
8. A terminal lens inspection device, comprising:
the scanning module is used for scanning the lens by adopting line laser to obtain first scanning data corresponding to a first preset position of the lens;
a determination module for determining whether the lens meets an installation eligibility index based on the first scan data.
9. The end lens inspection device of claim 8, wherein,
the scanning module is further configured to scan the battery cover assembly adjacent to the lens by using the line laser to obtain second scanning data corresponding to a second preset location of the battery cover assembly, and each first preset location has a corresponding second preset location;
the determining module is further configured to determine whether the lens meets an installation eligibility index based on the first scan data in combination with the second scan data.
10. The method for inspecting a lens of an endpoint of claim 8, wherein the number of the first predetermined locations is at least two, each of the first predetermined locations having corresponding first scan data, the determining module comprises:
the first calculation submodule is used for calculating a first height difference and a second height difference of the lens according to first scanning data corresponding to each first preset position, wherein the first height difference is the height difference between the left side and the right side of the lens, and the second height difference is the height difference between the upper side and the lower side of the lens;
and the first determining submodule is used for determining whether the lens meets the installation qualification index according to the first height difference and the second height difference.
11. The end lens inspection device of claim 10, wherein the first determination submodule is configured to:
respectively comparing the first height difference and the second height difference with a preset value;
and if the first height difference is larger than or equal to the preset value and/or the second height difference is larger than or equal to the preset value, determining that the lens does not meet the installation qualification index.
12. The end lens inspection device of claim 9, wherein the determination module further comprises:
the second calculation submodule is used for calculating a third height difference between each first preset position and a corresponding second preset position according to first scanning data corresponding to the first preset position and second scanning data corresponding to the second preset position aiming at each first preset position and the second preset position corresponding to the first preset position;
and the second determining submodule is used for determining whether the lens meets the installation qualification index according to the third height difference.
13. The end lens inspection device of claim 12, wherein the second determination submodule is configured to:
comparing each third height difference with a preset range respectively;
and if any third height difference in all the third height differences is not within the preset range, determining that the lens does not meet the installation qualification index.
14. The device for detecting end lens of claim 9, 12 or 13, wherein the battery cover assembly is a battery cover bezel.
15. An electronic device comprising a housing, a processor, a memory, a circuit board, and a power circuit, wherein the circuit board is disposed inside a space enclosed by the housing, the processor and the memory being disposed on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the electronic equipment; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing:
scanning a lens by adopting line laser to obtain first scanning data corresponding to a first preset position of the lens;
determining whether the lens meets an installation eligibility index based on the first scan data.
16. A non-transitory computer-readable storage medium having stored thereon a computer program, wherein the program, when executed by a processor, implements the method for end lens inspection according to any one of claims 1-7.
CN201910156324.7A 2019-03-01 2019-03-01 Terminal lens detection method and device, electronic equipment and storage medium Pending CN111638230A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910156324.7A CN111638230A (en) 2019-03-01 2019-03-01 Terminal lens detection method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910156324.7A CN111638230A (en) 2019-03-01 2019-03-01 Terminal lens detection method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111638230A true CN111638230A (en) 2020-09-08

Family

ID=72328981

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910156324.7A Pending CN111638230A (en) 2019-03-01 2019-03-01 Terminal lens detection method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111638230A (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0148285A1 (en) * 1983-12-27 1985-07-17 Ibm Deutschland Gmbh Method and apparatus for measuring surface profiles
TW201217898A (en) * 2010-10-28 2012-05-01 Hon Hai Prec Ind Co Ltd Detecting system and detecting method for lens module
US20160047712A1 (en) * 2014-08-15 2016-02-18 Zygo Corporation Optical evaluation of lenses and lens molds
US20160209207A1 (en) * 2013-08-23 2016-07-21 Koh Young Technology Inc. Board inspection method and board inspection system using the same
CN205655802U (en) * 2016-05-23 2016-10-19 深圳市宽田科技有限公司 Detect equipment in car battery cap clearance
US20160377422A1 (en) * 2015-03-02 2016-12-29 Boe Technology Group Co., Ltd. Device and method for detecting flatness of surface of display panel
CN106767565A (en) * 2016-11-29 2017-05-31 浙江省计量科学研究院 One kind is used for brake block steel back plate plane degree automatic detection device and detection method
CN206740091U (en) * 2016-11-08 2017-12-12 嘉兆电子科技(珠海)有限公司 A kind of flatness detecting device
CN108802297A (en) * 2018-07-23 2018-11-13 Oppo广东移动通信有限公司 The detection method of fingerprint cover board and the detection device of fingerprint cover board
CN108961252A (en) * 2018-07-27 2018-12-07 Oppo(重庆)智能科技有限公司 It detects logo and pastes undesirable method, electronic device and computer readable storage medium
CN208296811U (en) * 2018-05-08 2018-12-28 中航锂电(洛阳)有限公司 A kind of battery module bottom plane degree detection device
CN109297431A (en) * 2018-09-10 2019-02-01 Oppo(重庆)智能科技有限公司 The center of assembling electronic equipment and method, the electronic equipment of display component

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0148285A1 (en) * 1983-12-27 1985-07-17 Ibm Deutschland Gmbh Method and apparatus for measuring surface profiles
TW201217898A (en) * 2010-10-28 2012-05-01 Hon Hai Prec Ind Co Ltd Detecting system and detecting method for lens module
US20160209207A1 (en) * 2013-08-23 2016-07-21 Koh Young Technology Inc. Board inspection method and board inspection system using the same
US20160047712A1 (en) * 2014-08-15 2016-02-18 Zygo Corporation Optical evaluation of lenses and lens molds
US20160377422A1 (en) * 2015-03-02 2016-12-29 Boe Technology Group Co., Ltd. Device and method for detecting flatness of surface of display panel
CN205655802U (en) * 2016-05-23 2016-10-19 深圳市宽田科技有限公司 Detect equipment in car battery cap clearance
CN206740091U (en) * 2016-11-08 2017-12-12 嘉兆电子科技(珠海)有限公司 A kind of flatness detecting device
CN106767565A (en) * 2016-11-29 2017-05-31 浙江省计量科学研究院 One kind is used for brake block steel back plate plane degree automatic detection device and detection method
CN208296811U (en) * 2018-05-08 2018-12-28 中航锂电(洛阳)有限公司 A kind of battery module bottom plane degree detection device
CN108802297A (en) * 2018-07-23 2018-11-13 Oppo广东移动通信有限公司 The detection method of fingerprint cover board and the detection device of fingerprint cover board
CN108961252A (en) * 2018-07-27 2018-12-07 Oppo(重庆)智能科技有限公司 It detects logo and pastes undesirable method, electronic device and computer readable storage medium
CN109297431A (en) * 2018-09-10 2019-02-01 Oppo(重庆)智能科技有限公司 The center of assembling electronic equipment and method, the electronic equipment of display component

Similar Documents

Publication Publication Date Title
KR101940936B1 (en) Point cloud merging from multiple cameras and sources in three-dimensional profilometry
KR101893180B1 (en) Calibration method and measuring tool
US5657079A (en) Correction for monitor refraction using empirically derived data
JP4894628B2 (en) Appearance inspection method and appearance inspection apparatus
CN107920246B (en) The gradient test method and device of camera module
JP2016105108A (en) Information processor, information processing method and program
EP3514758A1 (en) Stereo camera calibration method, disparity calculating device, and stereo camera
KR20060043277A (en) Lens meter
JP2019197018A (en) Flatness detection method, flatness detection device and flatness detection program
CN103185727A (en) Inspection system and inspection method
US6304680B1 (en) High resolution, high accuracy process monitoring system
JP7273726B2 (en) Surface property inspection device and surface property inspection program
CN115035031A (en) Defect detection method and device for PIN (personal identification number) PIN, electronic equipment and storage medium
CN111638230A (en) Terminal lens detection method and device, electronic equipment and storage medium
CN114494448A (en) Calibration error evaluation method and device, computer equipment and storage medium
US20120056999A1 (en) Image measuring device and image measuring method
CN108489426B (en) Detection method and detection system for assembly precision of non-rectangular display product
CN108957914B (en) Laser projection module, depth acquisition device and electronic equipment
CN102103437B (en) Optical touch device and positioning method thereof
CN109459107B (en) Non-contact type airplane fuel oil quantity measuring method and system
CN113406093B (en) Optical detection equipment and method and device for measuring object attribute thereof
CN105526993A (en) Machine vision material level meter and method adopting same for material level measurement
CN115494652A (en) Method, device and equipment for assembling head display equipment and storage medium
CN112414286B (en) Device for measuring mounting height deformation of rubber vibration isolator and using method
WO2023029438A1 (en) Dust leakage monitoring apparatus and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200908