CN115585988A - Method and device for testing DFOV of camera module, storage medium and equipment - Google Patents

Method and device for testing DFOV of camera module, storage medium and equipment Download PDF

Info

Publication number
CN115585988A
CN115585988A CN202211213154.XA CN202211213154A CN115585988A CN 115585988 A CN115585988 A CN 115585988A CN 202211213154 A CN202211213154 A CN 202211213154A CN 115585988 A CN115585988 A CN 115585988A
Authority
CN
China
Prior art keywords
dfov
camera module
test image
test
area
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
CN202211213154.XA
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.)
Dongguan Huabei Electronic Technology Co Ltd
Original Assignee
Dongguan Huabei Electronic 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 Dongguan Huabei Electronic Technology Co Ltd filed Critical Dongguan Huabei Electronic Technology Co Ltd
Priority to CN202211213154.XA priority Critical patent/CN115585988A/en
Publication of CN115585988A publication Critical patent/CN115585988A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M11/00Testing of optical apparatus; Testing structures by optical methods not otherwise provided for
    • G01M11/02Testing optical properties
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/002Diagnosis, testing or measuring for television systems or their details for television cameras

Abstract

The invention discloses a method, a device, a storage medium and equipment for testing a camera module DFOV, which are used for solving the technical problem that the existing camera module has low testing efficiency on a diagonal field angle (DFOV). The invention includes: the method includes the steps that S1, a test image of a test chart acquired by a camera module to be tested is acquired, wherein the test chart comprises a background plate and a dotted frame drawn on the background plate, mark point scales are drawn on four side edges of the dotted frame, and each mark point scale comprises a plurality of mark points Pn; s2, calculating the position coordinates of the marking points Pn at the four side edges of the test image based on the test image; and S3, calculating to obtain the area of the actual field range of the test image through the position coordinates of the four marking points Pn, comparing the area of the actual field range with the area of the preset field range corresponding to the marking points Pn, and obtaining the actual DFOV value of the camera module.

Description

Method and device for testing DFOV of camera module, storage medium and equipment
Technical Field
The invention relates to the technical field of camera module testing, in particular to a method and a device for testing a camera module DFOV, a storage medium and equipment.
Background
The field of view (FOV) refers to the range that can be covered by the lens in the camera module, and an object cannot be contained in the lens when exceeding the FOV. As shown in fig. 3, the field angle in the related art is specifically classified into DFOV (diagonal field angle), HFOV (horizontal field angle), and VFOV (vertical field angle).
In current camera module production process, after camera module production was accomplished, need pass through each item data test, because the operation of the DFOV test of current camera module is comparatively difficult, and needs professional laboratory staff to test, efficiency of software testing is very low. Therefore, manufacturers generally submit batches of camera modules to a professional optical laboratory for sampling test, and the quality of each finished camera module cannot be guaranteed in the above process.
Therefore, it is an important subject to be studied by those skilled in the art to find a solution to the above-mentioned technical problems.
Disclosure of Invention
The embodiment of the invention discloses a method, a device, a storage medium and equipment for testing a camera module DFOV, which are used for solving the technical problem that the existing camera module has low testing efficiency on a diagonal view angle (DFOV).
The embodiment of the invention provides a DFOV testing method for a camera module, which comprises the following steps:
the method comprises the following steps of S1, obtaining a test image of a test chart acquired by a camera module at a preset distance, wherein the test chart comprises a background plate and a dotted frame drawn on the background plate, mark point scales are drawn on four side edges of the dotted frame, each mark point scale comprises a plurality of mark points Pn, different mark points Pn respectively correspond to different preset DFOV values, and different DFOV values correspond to different areas of preset view field ranges;
s2, calculating the position coordinates of the marking points Pn at the four side edges of the test image based on the test image;
and S3, calculating to obtain the area of the actual field range of the test image according to the position coordinates of the four mark points Pn, comparing the area of the actual field range with the area of the preset field range corresponding to the mark points Pn, and obtaining the actual DFOV value of the camera module.
Optionally, the mark point Pn in the test chart has a significant contrast with the background plate.
Optionally, the step S2 specifically includes:
and confirming the positions of the marking points Pn on the four side edges of the test image according to the contrast between the marking points Pn and the background plate, and calculating the position coordinates of the marking points Pn on the four side edges of the test image.
Optionally, before the step S2, the method further includes:
and converting the format of the test image obtained in the step S1, and converting the test image from the RAW format to the BMP format.
Optionally, in step S1, a plurality of obliquely arranged rectangles are further drawn in the dashed frame of the test chart.
Optionally, after the step S1, the method further includes:
and analyzing the SFR value of the camera module through the bevel edge of the rectangle in the test image based on the test image.
Optionally, in the step S3, the process of comparing the area of the actual field range with the area of the preset field range corresponding to the mark point Pn to obtain the actual DFOV value of the camera module specifically includes:
and obtaining the ratio of the area of the actual field range to the area of the preset field range corresponding to the marking point Pn, and then multiplying the DFOV value corresponding to the marking point Pn by the ratio to obtain the actual DFOV value of the camera module.
The embodiment of the invention provides a DFOV testing method for a camera module, which is characterized by comprising the following steps:
the image acquisition unit is used for acquiring a test image of a test chart acquired by a camera module at a preset distance, wherein the test chart comprises a background plate and a dotted frame drawn on the background plate, a plurality of mark points Pn are drawn on four side edges of the dotted frame, different mark points Pn respectively correspond to different preset DFOV values, and different DFOV values correspond to different areas of preset view field ranges;
the image processing unit is used for calculating the position coordinates of the marking points Pn at the edges of the four sides of the test image based on the test image;
and the analysis and calculation unit is used for calculating the area of the actual field range of the test image by the position coordinates of the four mark sides Pn, comparing the area of the actual field range with the area of the preset field range corresponding to the mark points Pn and obtaining the actual DFOV value of the camera module.
An embodiment of the present invention provides a storage medium, where a computer program is stored in the storage medium, and the processor is configured to execute the method when running.
An embodiment of the present invention provides an apparatus, which includes a memory and a processor, and is characterized in that the memory stores a computer program, and the processor is configured to execute the computer program to perform the above method.
According to the technical scheme, the embodiment of the invention has the following advantages:
the DFOV testing method for the camera module in the embodiment comprises the following steps: the method comprises the following steps of S1, obtaining a test image of a test chart acquired by a camera module at a preset distance, wherein the test chart comprises a background plate and a dotted frame drawn on the background plate, mark point scales are drawn on four side edges of the dotted frame, each mark point scale comprises a plurality of mark points Pn, different mark points Pn respectively correspond to different preset DFOV values, and different DFOV values correspond to different areas of preset view field ranges; s2, calculating the position coordinates of the mark points Pn at the four side edges of the test image based on the test image; and S3, calculating to obtain the area of the actual field range of the test image through the position coordinates of the four marking points Pn, comparing the area of the actual field range with the area of a preset field range corresponding to the marking points Pn, and obtaining the actual DFOV value of the camera module. Through foretell design, can be simpler, obtain the DFOV numerical value that needs test camera module more efficiently, make the producer can test large batch camera module, guarantee every camera module off-the-shelf production quality better.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic flow chart of a DFOV test method for a camera module according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a test chart in a DFOV test method for a camera module according to an embodiment of the present invention;
FIG. 3 is a schematic view of a field angle of a camera module according to the prior art;
illustration of the drawings: a test chart 1; a dashed box 2; mark point scale 3; a marker point 301; a background plate 4; camera module A.
Detailed Description
The embodiment of the invention discloses a method, a device, a storage medium and equipment for testing a camera module DFOV, which are used for solving the technical problem that the existing camera module has low testing efficiency on a diagonal view angle (DFOV).
In order that those skilled in the art will better understand the disclosure, reference will now be made in detail to the embodiments of the disclosure as illustrated in the accompanying drawings. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Referring to fig. 1 and fig. 2, a DFOV test method for a camera module according to an embodiment of the present invention includes the following steps:
the method comprises the following steps of S1, obtaining a test image of a test chart acquired by a camera module at a preset distance, wherein the test chart comprises a background plate and a dotted frame drawn on the background plate, mark point scales are drawn on four side edges of the dotted frame, each mark point scale comprises a plurality of mark points Pn, different mark points Pn respectively correspond to different preset DFOV values, and different DFOV values correspond to different areas of preset view field ranges;
s2, calculating the position coordinates of the mark points Pn at the four side edges of the test image based on the test image;
and S3, calculating to obtain the area of the actual field range of the test image according to the position coordinates of the four mark points Pn, comparing the area of the actual field range with the area of the preset field range corresponding to the mark points Pn, and obtaining the actual DFOV value of the camera module.
It should be noted that, as shown in fig. 2, the dashed line frame on the test chart card is substantially a range that can be covered by the standard diagonal view angle DFOV value of the camera module at the preset distance, for example, when the preset distance is 40CM, the standard DFOV value of the camera is 80 °, and the area in the dashed line frame is the area of the view field range corresponding to the DFOV value of 80 °, which may be preset to 539 × 407mm. That is, the range of 539 × 407mm that can be captured by a standard camera module at a distance of 40 cm.
In addition, as shown in fig. 2, there are mark points Pn on four sides of the dashed line frame, P5 in fig. 2 is on the side of the dashed line frame, n values of the mark points Pn outside the dashed line frame decrease sequentially, for example, P4, P3, P2, and P1, n values of the mark points Pn inside the dashed line frame increase sequentially, for example, P6, P7, P8, and P9, where the mark point P5 represents a standard DFOV value of 80 °, and the mark point P1 represents a DFOV value of 84 °, the mark point P2 represents a DFOV value of 83 °, the mark point P3 represents a DFOV value of 82 °, the mark point P4 represents a DFOV value of 81 °, the mark point P6 represents a DFOV value of 79 °, the mark point P7 represents a DFOV value of 78 °, the mark point P8 represents a DFOV value of 77 °, and the mark point P9 represents an ovv value of 76 °. The DFOV values represented by the above mentioned marking points are all set by the designer according to the production standard error of the camera module product, and if different camera module products are tested, the DFOV values represented by the above mentioned marking points will be changed, which is not limited in this embodiment.
Through foretell design, can be simpler, obtain the DFOV numerical value that needs test camera module more efficiently, make the producer can test large batch camera module, guarantee every camera module off-the-shelf production quality better.
Further, the mark point Pn in the test chart in this embodiment has a significant contrast with the background plate.
It should be noted that, through the above design, the operator can find the specific position of the mark point Pn more easily, for example, the background plate in this embodiment is a white background, and the mark point Pn is a black font, under the above condition, the operator can quickly confirm the position of the mark point Pn in the test image, so as to perform the next step.
Further, step S2 in this embodiment specifically includes:
and confirming the positions of the marking points Pn on the four side edges of the test image according to the contrast between the marking points Pn and the background plate, and calculating the position coordinates of the marking points Pn on the four side edges of the test image.
It should be noted that, in this embodiment, the position coordinate of each mark point Pn may be confirmed by testing a pixel point in an image, and the manner of confirming the specific position coordinate in the image is the prior art, so detailed description of the manner of confirming the specific position coordinate is not described in this embodiment.
Further, before the step S2, the method further includes:
and converting the format of the test image obtained in the step S1, and converting the test image from the RAW format to the BMP format.
It should be noted that the test image of the test graphic card taken by the camera module is specifically in RAW format, and because the RAW file records the RAW information of the digital camera sensor, before step S2, the RAW format of the test image needs to be converted into a visual BMP format.
Further, in step S1 of this embodiment, a plurality of obliquely arranged rectangles are drawn in the dashed frame of the test chart.
After the step S1, the method further includes:
and analyzing the SFR value of the camera module through the bevel edge of the rectangle in the test image based on the test image.
It should be noted that, through the above design, the testing method can determine the diagonal field angle of the camera module and analyze the SFR verticality of the camera module, and the process of analyzing the SFR numerical value of the camera module through the oblique side of the rectangle in the test image is a common SFR analysis method for camera modules in the existing camera module production industry, which is not described in more detail in this embodiment.
Further, in the step S3, the process of comparing the area of the actual field range with the area of the preset field range corresponding to the mark point Pn to obtain the actual DFOV value of the camera module specifically includes:
and obtaining the ratio of the area of the actual field range to the area of the preset field range corresponding to the marking point Pn, and then multiplying the DFOV value corresponding to the marking point Pn by the ratio to obtain the actual DFOV value of the camera module.
The above is a description of a specific flow of the DFOV test method for the camera module provided in this embodiment, and the following will further describe the test method in this embodiment by using a specific test example, specifically:
an operator places a camera module to be tested into the tool fixture, and places a test graphic card in front of the camera module, wherein the test graphic card is separated from the camera module by a preset distance;
then, the operator controls the tool fixture to light the camera module, so that the camera module can complete shooting of the test chart to obtain a test image;
after the test image is obtained, through related computer hardware devices and software, the mark points P4 appearing at the four side edges of the test image are observed, and the position coordinates of the mark points P4 at the four side edges of the test image are calculated. It should be noted that, in this test example, the following description will be made by taking the case where the mark point P4 appears at the four side edges of the test image.
And calculating to obtain a ratio (strue/strue) of the area strue of the actual field range of the test image to the area strue of the preset field range corresponding to the mark point P4 through the position coordinates of the four mark points P4, and multiplying the DFOV value 81 degrees corresponding to the mark point P4 by the ratio (strue/strue), thereby obtaining the actual DFOV value of the camera module.
Example two
Referring to fig. 1 and fig. 2, an apparatus for testing a camera module group angular field angle according to an embodiment of the present invention includes:
the image acquisition unit is used for acquiring a test image of a test chart acquired by the camera module at a preset distance, wherein the test chart comprises a background plate and a dotted frame drawn on the background plate, a plurality of mark points Pn are drawn on four side edges of the dotted frame, different mark points Pn correspond to different preset DFOV values respectively, and different DFOV values correspond to different areas of preset view field ranges;
the image processing unit is used for calculating the position coordinates of the marking points Pn at the edges of the four sides of the test image based on the test image;
and the analysis and calculation unit is used for calculating the area of the actual field range of the test image by the position coordinates of the four mark sides Pn, comparing the area of the actual field range with the area of the preset field range corresponding to the mark points Pn and obtaining the actual DFOV value of the camera module.
Through foretell design, can be simpler, obtain the DFOV numerical value that needs test camera module more efficiently, make the producer can test large batch camera module, guarantee every camera module off-the-shelf production quality better.
EXAMPLE III
Referring to fig. 1 and fig. 2, a storage medium storing a computer program according to an embodiment of the present invention is provided, and the processor is configured to execute the method according to the first embodiment when the processor is running.
Example four
Referring to fig. 1 and fig. 2, an apparatus provided in an embodiment of the present invention includes a memory and a processor, where a computer program is stored in the memory, and the processor is configured to execute the computer program to perform the method described in the first embodiment.
As described above, the DFOV test method, apparatus, storage medium and device for a camera module according to the present invention are described in detail, and those skilled in the art will appreciate that the concepts of the embodiments of the present invention may be modified in the specific embodiments and applications.

Claims (10)

1. A DFOV test method for a camera module is characterized by comprising the following steps:
the method comprises the following steps of S1, obtaining a test image of a test chart acquired by a camera module at a preset distance, wherein the test chart comprises a background plate and a dotted frame drawn on the background plate, mark point scales are drawn on four side edges of the dotted frame, each mark point scale comprises a plurality of mark points Pn, different mark points Pn respectively correspond to different preset DFOV values, and different DFOV values correspond to different areas of preset view field ranges;
s2, calculating the position coordinates of the marking points Pn at the four side edges of the test image based on the test image;
and S3, calculating to obtain the area of the actual field range of the test image according to the position coordinates of the four mark points Pn, comparing the area of the actual field range with the area of the preset field range corresponding to the mark points Pn, and obtaining the actual DFOV value of the camera module.
2. The DFOV test method of claim 1, wherein the marked points Pn in the test chart have a sharp contrast with the background plate.
3. The DFOV testing method of a camera module according to claim 2, wherein the step S2 specifically includes:
and confirming the positions of the marking points Pn on the four side edges of the test image according to the contrast between the marking points Pn and the background plate, and calculating the position coordinates of the marking points Pn on the four side edges of the test image.
4. The DFOV testing method of claim 1, further comprising, prior to the step S2:
and converting the format of the test image obtained in the step S1, and converting the test image from the RAW format to the BMP format.
5. The method for testing the DFOV of the camera module according to claim 1, wherein in step S1, a plurality of obliquely arranged rectangles are further drawn in a dashed box of the test chart.
6. The DFOV testing method of claim 5, wherein after the step S1, further comprising:
and analyzing the SFR value of the camera module through the bevel edge of the rectangle in the test image based on the test image.
7. The method for testing the DFOV of the camera module according to claim 1, wherein in the step S3, the step of comparing the area of the actual field of view range with the area of the preset field of view range corresponding to the marking point Pn to obtain the actual DFOV value of the camera module specifically comprises:
and obtaining the ratio of the area of the actual field range to the area of the preset field range corresponding to the mark point Pn, and then multiplying the DFOV value corresponding to the mark point Pn by the ratio to obtain the actual DFOV value of the camera module.
8. The utility model provides a camera module group is to angle of view field testing arrangement which characterized in that includes:
the image acquisition unit is used for acquiring a test image of a test chart acquired by a camera module at a preset distance, wherein the test chart comprises a background plate and a dotted frame drawn on the background plate, a plurality of mark points Pn are drawn on four side edges of the dotted frame, different mark points Pn respectively correspond to different preset DFOV values, and different DFOV values correspond to different areas of preset view field ranges;
the image processing unit is used for calculating the position coordinates of the marking points Pn at the edges of the four sides of the test image based on the test image;
and the analysis and calculation unit is used for calculating the area of the actual field range of the test image by the position coordinates of the four mark sides Pn, comparing the area of the actual field range with the area of the preset field range corresponding to the mark points Pn and obtaining the actual DFOV value of the camera module.
9. A storage medium, in which a computer program is stored, wherein the processor is arranged to perform the method of any of claims 1 to 7 when executed.
10. An apparatus comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 7.
CN202211213154.XA 2022-09-30 2022-09-30 Method and device for testing DFOV of camera module, storage medium and equipment Pending CN115585988A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211213154.XA CN115585988A (en) 2022-09-30 2022-09-30 Method and device for testing DFOV of camera module, storage medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211213154.XA CN115585988A (en) 2022-09-30 2022-09-30 Method and device for testing DFOV of camera module, storage medium and equipment

Publications (1)

Publication Number Publication Date
CN115585988A true CN115585988A (en) 2023-01-10

Family

ID=84778688

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211213154.XA Pending CN115585988A (en) 2022-09-30 2022-09-30 Method and device for testing DFOV of camera module, storage medium and equipment

Country Status (1)

Country Link
CN (1) CN115585988A (en)

Similar Documents

Publication Publication Date Title
CN102506772B (en) Method and device for quickly detecting area of leaf blade based on mobile phone
CN111307727B (en) Water body water color abnormity identification method and device based on time sequence remote sensing image
CN109886928B (en) Target cell marking method, device, storage medium and terminal equipment
CN114266773B (en) Display panel defect positioning method, device, equipment and storage medium
CN115909059A (en) Natural resource sample library establishing method and device
CN104132897A (en) Measuring method and device for nitrogen content of plant leaf on basis of handheld equipment
CN113688817A (en) Instrument identification method and system for automatic inspection
CN114519743A (en) Panel defect area extraction method, device, equipment and storage medium
CN110596118A (en) Print pattern detection method and print pattern detection device
US8274597B2 (en) System and method for measuring a border of an image of an object
CN115585988A (en) Method and device for testing DFOV of camera module, storage medium and equipment
CN111738936A (en) Image processing-based multi-plant rice spike length measuring method
CN108564571B (en) Image area selection method and terminal equipment
CN107578001B (en) Method and device for testing resolution of fingerprint acquisition equipment
CN115115596A (en) Electronic component detection method and device and automatic quality inspection equipment
CN111815552A (en) Workpiece detection method and device, readable storage medium and terminal equipment
CN114998912A (en) Data extraction method and device, electronic equipment and storage medium
CN111445431B (en) Image segmentation method, terminal equipment and computer readable storage medium
CN103279953A (en) Machine vision calibration system based on LabVIEW platform
CN112507838A (en) Pointer meter identification method and device and power inspection robot
CN109712547B (en) Display screen plane brightness measuring method and device, computer equipment and storage medium
CN114663681A (en) Method for reading pointer type meter and related product
CN113034620A (en) Correction method, correction device, computer-readable storage medium, and computer apparatus
CN112935562A (en) Laser precision machining method based on paraxial offline measurement
CN112730427B (en) Product surface defect detection method and system based on machine vision

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