[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN114295331B - Multi-camera module optical axis testing method, device, equipment and medium - Google Patents

Multi-camera module optical axis testing method, device, equipment and medium Download PDF

Info

Publication number
CN114295331B
CN114295331B CN202111643997.9A CN202111643997A CN114295331B CN 114295331 B CN114295331 B CN 114295331B CN 202111643997 A CN202111643997 A CN 202111643997A CN 114295331 B CN114295331 B CN 114295331B
Authority
CN
China
Prior art keywords
test
module
optical axis
determining
photosensitive image
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.)
Active
Application number
CN202111643997.9A
Other languages
Chinese (zh)
Other versions
CN114295331A (en
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.)
Kunshan Q Technology Co Ltd
Original Assignee
Kunshan Q 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 Kunshan Q Technology Co Ltd filed Critical Kunshan Q Technology Co Ltd
Priority to CN202111643997.9A priority Critical patent/CN114295331B/en
Publication of CN114295331A publication Critical patent/CN114295331A/en
Application granted granted Critical
Publication of CN114295331B publication Critical patent/CN114295331B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

The application discloses a multi-camera module optical axis testing method, a device, equipment and a medium, comprising the following steps: when the test module and the test pattern are in a target position relationship, a first photosensitive image corresponding to the test pattern on the test module is obtained; when the standard module and the test chart are in a target position relationship, a second photosensitive image corresponding to the test chart on the standard module is obtained; determining a first offset of the first photosensitive image and the second photosensitive image on the target imaging plane; and determining whether the test module passes the optical axis test according to the first offset. The application can determine whether the test module passes the optical axis test on the premise of not depending on a special platform tool, and further, does not depend on an algorithm provided by a platform tool manufacturer, and also does not meet the environmental requirement and the equipment requirement of the platform tool, thereby greatly improving the flexibility of the optical axis test and simplifying the optical axis test difficulty.

Description

Multi-camera module optical axis testing method, device, equipment and medium
Technical Field
The present invention relates to the field of image capturing devices, and in particular, to a method, an apparatus, a device, and a medium for testing an optical axis of a multi-camera module.
Background
With the continuous update of the camera technology, the conventional single-camera module (referred to as a single-camera module for short) has been developed to the present multi-camera module (referred to as a multi-camera module for short). For multi-camera modules, the process design requires that the optical axes of two adjacent camera modules be substantially parallel to each other. However, in the process of production and assembly, the optical axes between two adjacent cameras are in a non-parallel state due to the process difference of assembly, that is, an included angle exists, and if the included angle is too large, the multi-camera fusion of the multi-camera module may fail.
In the related art, the included angle of the optical axes between the multiple cameras in the multi-camera module is mainly determined by a professional platform tool, but this mode needs to meet the higher environmental requirement of the platform tool, for example, when a certain calibration platform is used, the corresponding test chart needs to be formed by splicing 4 small checkerboards, as shown in fig. 1, the following requirements (the following requirements also need to be different according to the different types of the tested multi-camera module, only take the requirement corresponding to one type as an example here to illustrate that the requirement that needs to be met by adopting the platform tool to perform the optical axis test is higher):
(1) The number of tiles within each of the 4 tiles in fig. 1 varies according to the model of the multi-camera module being tested;
(2) The patterns in the upper left corner in fig. 1 are different from the types of the other three patterns, and the patterns in the lower left corner, the upper right corner and the lower right corner are required to be arranged according to a certain rotation direction;
(3) The corresponding grid colors at the cross-shaped cross of the four grids in fig. 1 are required to meet the preset requirements. For example, the checkerboard in the upper left corner of fig. 1 should be black and the other three checkerboards should be white.
Therefore, the optical axis test difficulty of the multi-camera module is increased by a professional platform tool.
Disclosure of Invention
The embodiment of the application solves the technical problem that the difficulty of the optical axis test of the multi-camera module is high because the optical axis test of the multi-camera module can be realized by depending on a professional platform tool only on the premise of meeting the high environmental requirement of the platform tool in the prior art by providing the optical axis test method, the device, the equipment and the medium of the multi-camera module, and realizes the technical effect of reducing the optical axis test difficulty of the multi-camera module.
In a first aspect, the present application provides a method for testing an optical axis of a multi-camera module, where the method includes:
When the test module and the test pattern are in a target position relationship, a first photosensitive image corresponding to the test pattern on the test module is obtained;
when the standard module and the test chart are in a target position relationship, a second photosensitive image corresponding to the test chart on the standard module is obtained;
Determining a first offset of the first photosensitive image and the second photosensitive image on the target imaging plane;
And determining whether the test module passes the optical axis test according to the first offset.
Further, when the test module fails the optical axis test, the method further includes:
determining a first optical path presenting a first photosensitive image in the test module, wherein the first optical path corresponds to a target point of the test chart;
determining a second optical path which presents a second photosensitive image in the standard module, wherein the second optical path corresponds to the target point;
And adjusting the test module according to the first optical path and the second optical path, and determining whether the adjusted test module passes the optical axis test.
Further, adjusting the test module according to the first optical path and the second optical path includes:
determining a first deflection angle between the first optical path and the second optical path;
Determining a target movement vector of the Hall element in the test module according to the first deflection angle;
and controlling the Hall element to move according to the target movement vector so as to adjust the test module.
Further, after the adjusted test module passes the optical axis test, the method further includes:
And burning the target movement vector into the test module, so that the Hall element is controlled to execute shooting operation after moving according to the target movement vector.
Further, determining a target movement vector of the hall element in the test module according to the first deflection angle includes:
And determining a target movement vector according to the first deflection angle and the preset gyro gain of the test module.
Further, determining a first deflection angle between the first optical path and the second optical path includes:
and determining a first deflection angle according to the first offset, the pixel size, the effective focal length and the test distance, wherein the test distance refers to the shooting distance between the test module and the test chart in the relative position relation.
Further, determining whether the adjusted test module passes the optical axis test includes:
Acquiring a third photosensitive image corresponding to the test pattern on the adjusted test module;
determining a second offset of the third photosensitive image and the second photosensitive image on the target imaging plane;
And determining whether the adjusted test module passes the optical axis test or not according to the second offset.
In a second aspect, the present application provides a multi-camera module optical axis testing device, including:
The first photosensitive image acquisition module is used for acquiring a first photosensitive image corresponding to the test pattern on the test module when the test module and the test pattern are in a target position relationship;
the second photosensitive image acquisition module is used for acquiring a second photosensitive image corresponding to the test chart on the standard module when the standard module and the test chart are in a target position relationship;
a first offset determination module for determining a first offset of the first photosensitive image and the second photosensitive image on the target imaging plane;
And the optical axis test module is used for determining whether the test module passes the optical axis test according to the first offset.
In a third aspect, the present application provides an electronic device, comprising:
A processor;
A memory for storing processor-executable instructions;
the processor is configured to execute to implement a multi-camera module optical axis testing method.
In a fourth aspect, the present application provides a non-transitory computer readable storage medium, which when executed by a processor of an electronic device, enables the electronic device to perform a method of implementing a multi-camera module optical axis test.
One or more technical solutions provided in the embodiments of the present application at least have the following technical effects or advantages:
When the test module and the test pattern are in the target position relationship, a first photosensitive image of the test pattern on the test module is obtained, and when the standard module and the test pattern are in the target position relationship, a second photosensitive image of the test pattern on the standard module is obtained, and the first offset of the first photosensitive image and the second photosensitive image is determined, so that whether the test module passes the optical axis test is determined according to the first offset. Therefore, the application can determine whether the test module passes the optical axis test on the premise of not depending on a special platform tool, and further does not depend on an algorithm provided by a platform tool manufacturer, and also does not need to meet the environmental requirement and equipment requirement of the platform tool, thereby greatly improving the flexibility of the optical axis test and simplifying the optical axis test difficulty.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a test chart required by a calibration platform;
FIG. 2 is a flow chart of a method for testing an optical axis of a multi-camera module according to the present application;
FIG. 3 is a schematic illustration of a cross;
FIG. 4 is a schematic view of two cameras with parallel optical axes;
FIG. 5 is a schematic diagram of the optical axes of two cameras being non-parallel;
FIG. 6 is a schematic diagram of the positional relationship between a first point image and a second point image on a target imaging plane;
FIG. 7 is a schematic diagram of the angles between the optical axes of two cameras in a test module and a schematic diagram of the angles between the optical axes of two cameras in a standard module;
FIG. 8 is a schematic diagram of the relationship between a first optical path and a second optical path;
FIG. 9 is a schematic diagram of a multi-camera module optical axis testing device according to the present application;
fig. 10 is a schematic structural diagram of an electronic device according to the present application.
Detailed Description
The embodiment of the application solves the technical problem that the optical axis test of the multi-camera module is difficult because the optical axis test of the multi-camera module can be realized by relying on a professional platform tool only on the premise of meeting the higher environmental requirement of the platform tool in the prior art by providing the optical axis test method of the multi-camera module.
The technical scheme of the embodiment of the application aims to solve the technical problems, and the overall thought is as follows:
A multi-camera module optical axis testing method comprises the following steps: when the test module and the test pattern are in a target position relationship, a first photosensitive image corresponding to the test pattern on the test module is obtained; when the standard module and the test chart are in a target position relationship, a second photosensitive image corresponding to the test chart on the standard module is obtained; determining a first offset of the first photosensitive image and the second photosensitive image on the target imaging plane; and determining whether the test module passes the optical axis test according to the first offset.
In the embodiment, when the test module and the test chart are in the target position relationship, a first photosensitive image of the test chart on the test module is obtained, when the standard module and the test chart are in the target position relationship, a second photosensitive image of the test chart on the standard module is obtained, and the first offset of the first photosensitive image and the second photosensitive image is determined, so that whether the test module passes the optical axis test is determined according to the first offset. Therefore, the embodiment can determine whether the test module passes the optical axis test on the premise of not depending on a special platform tool, and further does not depend on an algorithm provided by a platform tool manufacturer, and also does not need to meet the environmental requirement and the equipment requirement of the platform tool, so that the flexibility of the optical axis test is greatly improved, and the optical axis test difficulty is simplified.
In order to better understand the above technical solutions, the following detailed description will refer to the accompanying drawings and specific embodiments.
First, the term "and/or" appearing herein is merely an association relationship describing associated objects, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
The multi-camera module optical axis testing method provided in the related art mainly depends on a professional platform tool and an algorithm provided by a platform tool manufacturer. In addition, the platform tool also needs to test the module to meet higher environmental requirements and equipment requirements, and redundant burning item data can be added. Therefore, the flexibility of the mode of testing the included angle of the optical axes in the multi-test module by using the platform tool is low, and the difficulty of testing the optical axes is high.
In order to solve the above-mentioned problems, the present embodiment provides a multi-camera module optical axis testing method as shown in fig. 2, which includes:
Step S21, when the test module and the test pattern are in the target position relationship, a first photosensitive image corresponding to the test pattern on the test module is obtained.
The test module is a multi-camera module which needs to test the included angle of the optical axis. The test chart may be a cross chart as shown in fig. 3 or a circle chart, and this embodiment is not limited thereto. The target positional relationship may be set according to actual conditions, which is not limited in this embodiment.
The target positional relationship refers to a relative positional relationship between the test module and the test chart. The target positional relationship may be set according to actual conditions, which is not limited in this embodiment.
When the test module and the test chart are in a target position relationship, the test chart is shot or previewed by using the test module, and a first photosensitive image can be obtained on an imaging sensor of the test module.
Step S22, when the standard module and the test chart are in the target position relationship, a second photosensitive image corresponding to the test chart on the standard module is obtained.
The standard module is a multi-camera module which passes through the test of the included angle of the optical axis and belongs to the same model as the test module. In an ideal state, the standard module refers to a module in which optical axes of a plurality of cameras are parallel to each other. For example, as shown in fig. 4, when the standard module is a dual camera module, the optical axes of the two cameras are parallel to each other.
However, the condition that the optical axes of the plurality of cameras are parallel to each other is difficult to achieve, so that in actual operation, the standard module can adopt a module in which an included angle M (refer to an angle M corresponding to the intersection of two optical axes in fig. 8) between the optical axes of the plurality of cameras is smaller than or equal to a preset included angle, where the preset included angle can be set according to actual conditions. For example, as shown in fig. 5, when the standard module is a dual-camera module, the optical axes of the two cameras may not be parallel, but the included angle between the two optical axes is required to be smaller than or equal to the preset included angle.
When the standard module and the test chart are in the target position relationship, the standard module is used for shooting or previewing the test chart, and a second photosensitive image can be obtained on an imaging sensor of the standard module.
Step S23, determining a first offset of the first photosensitive image and the second photosensitive image on the target imaging plane. For example, as shown in fig. 6, the position offset relationship between the point A1 and the point A2 is shown, where the point A1 is a first point image corresponding to the target point in the test chart in the first photosensitive image, and the point A2 is a second point image corresponding to the target point in the test chart in the second photosensitive image.
The first photosensitive image and the second photosensitive image are respectively positioned on the imaging sensors of the test module and the standard module, which means that the first photosensitive image and the second photosensitive image are not positioned on the same imaging sensor. In order to be able to compare the first and second photographic images, it is necessary to place the first and second photographic images in the same reference plane.
In this embodiment, the target imaging plane is set as the reference plane of the first photosensitive image and the second photosensitive image, and the target imaging plane may be the plane where the imaging sensor corresponding to the first photosensitive image is located, or may be the plane where the imaging sensor corresponding to the second photosensitive image is located, or may be any other reference plane.
It should be noted that the present embodiment may be applied to optical axis testing of multiple camera modules with more than 1 camera, and for convenience of description, a description will be given below by taking multiple camera modules with two cameras as an example.
When the included angle between the optical axes of the two cameras in the test module (for example, as shown in the left diagram in fig. 7, the included angle N1 is formed by the optical axes of the two cameras in the test module) is the same as the included angle between the optical axes of the two cameras in the standard module (for example, as shown in the right diagram in fig. 7, the included angle N2 is formed by the optical axes of the two cameras in the standard module), then the first photosensitive image and the second photosensitive image obtained by the test module and the standard module should be overlapped when placed on the target imaging plane, that is, the first offset is not present.
When the included angle between the optical axes of the two cameras in the test module is different from the included angle between the optical axes of the two cameras in the standard module, the first photosensitive image and the second photosensitive image on the target imaging plane are not overlapped, and the first offset exists when the first photosensitive image and the second photosensitive image are not overlapped.
When calculating the first offset, a first point image of the target point in the first photosensitive image and a second point image of the target point in the second photosensitive image can be determined according to a certain target point in the test chart as a reference point, and the first offset is determined by measuring the offset of the first point image and the second point image.
The target point may be any point in the test chart, but a specific point having a certain feature in the test chart may be used as the target point for simplifying the calculation. For example, the center of the cross in the cross diagram or the center of the circle in the circle diagram may be used, which is not limited in this embodiment.
For example, when the cross chart is used as a test chart, the cross center of the cross chart is used as a target point, a first point image of the cross center in a first photosensitive image is denoted as A1, corresponding coordinates are denoted as (X1, Y1), a second point image of the cross center in a second photosensitive image is denoted as A2, corresponding coordinates are denoted as (X2, Y2), and the first photosensitive image and the second photosensitive image are placed on the same target imaging plane, an offset relationship between the first point image and the second point image as shown in fig. 6 can be obtained.
The first offset may be a positional offset of the first photosensitive image and the second photosensitive image, or may be a parameter related to the positional offset, for example, may be a tolerance related to the positional offset, which is not limited in this embodiment.
Wherein the formula of the tolerance may refer to formula (1).
Where C is the tolerance, X 1 is the abscissa of the first point image, X 2 is the abscissa of the second point image, Y 1 is the ordinate of the first point image, and Y 2 is the ordinate of the second point image.
Step S24, determining whether the test module passes the optical axis test according to the first offset.
Comparing the first offset with a preset offset, and if the first offset is smaller than or equal to the preset offset, considering that the included angle between the optical axes of the multiple cameras in the test module is smaller than or equal to the preset included angle, wherein the test module passes through the optical axis test. If the first offset is greater than the preset offset, the included angle between the optical axes of the multiple cameras in the test module is considered to be greater than the preset included angle, and the test module fails the optical axis test.
In summary, in this embodiment, when the test module and the test chart are in the target positional relationship, the first photosensitive image of the test chart on the test module is obtained, and when the standard module and the test chart are in the target positional relationship, the second photosensitive image of the test chart on the standard module is obtained, and the first offset of the first photosensitive image and the second photosensitive image is determined, so as to determine whether the test module passes the optical axis test according to the first offset. Therefore, the embodiment can determine whether the test module passes the optical axis test on the premise of not depending on a special platform tool, and further does not depend on an algorithm provided by a platform tool manufacturer, and also does not need to meet the environmental requirement and the equipment requirement of the platform tool, so that the flexibility of the optical axis test is greatly improved, and the optical axis test difficulty is simplified.
When the first offset is larger than the preset offset, the included angle between the optical axes of the multiple cameras in the test module is considered to be larger than the preset included angle, the test module fails the optical axis test, and the test module needs to be adjusted and calibrated at the moment. The embodiment provides the following technical scheme for the test module which fails the optical axis test, so as to adjust and calibrate the test module which fails the optical axis test, and specifically comprises the steps S31-S33.
Step S31, when the test module fails the optical axis test, determining a first optical path of the first photosensitive image in the test module, wherein the first optical path corresponds to a target point of the test chart.
Step S32, determining a second light path of the second photosensitive image in the standard module, wherein the second light path corresponds to the target point.
Step S33, adjusting the test module according to the first optical path and the second optical path, and determining whether the adjusted test module passes the optical axis test.
The target point is selected from the test chart, and may be any point in the test chart, but a special point having a certain feature in the test chart may be used as the target point for simplifying the calculation. For example, the center of the cross in the cross diagram or the center of the circle in the circle diagram may be used, which is not limited in this embodiment.
A first point image of the target point in the first photosensitive image and a second point image of the target point in the second photosensitive image are determined. The first optical path forming the first point image can be determined according to the first point image and the optical center of the test module. And determining a second optical path forming the second point image according to the second point image and the optical center of the standard module.
And placing the first point image and the second point image on the same target imaging plane, and determining an included angle between the first optical path and the second optical path according to the relation between the first point image and the first optical path and the relation between the second point image and the second optical path, so that the test module can be adjusted. For the adjusted test module, the principle of step S21-step S24 can be adopted to verify whether the test module passes the optical axis test.
For example, taking the first point image A1 and the second point image A2 shown in fig. 6, which are displayed on the target imaging plane P, there corresponds to the intersection relationship between the first optical path L1 and the second optical path L2 shown in fig. 8, and the intersection point is M. Wherein fig. 6 is a front view of the target imaging plane, and fig. 8 is a top view of the target imaging plane.
Specifically, the test module is adjusted according to the first optical path and the second optical path, including step S41-step S43.
Step S41, determining a first deflection angle between the first optical path and the second optical path.
The first deflection angle (e.g., < M in fig. 8) can be determined according to the first offset, the pixel size, the effective focal length, and the test distance, where the test distance refers to the shooting distance between the test module and the test chart in the relative positional relationship.
Specifically, the first deflection angle can be calculated by the formula (2) -the formula (6).
AX=(X1-X2)*pixel size (2)
AY=(Y1-Y2)*pixel size (3)
Wherein A X is the offset component in the X direction on the target imaging plane, pixel size is the pixel size of the module, A Y is the offset component in the Y direction on the target imaging plane, B is the distance between the target imaging plane and the intersection of the first optical path and the second optical path, f is the effective focal length of the module, v is the distance between the module and the test chart in the target positional relationship, alpha X is the deflection angle of the optical axis in the X direction on the target imaging plane, alpha Y is the deflection angle of the optical axis in the Y direction on the target imaging plane
Because the test module and the standard module belong to the same type of module, the pixel sizes of the test module and the standard module are the same, and the effective focal lengths of the test module and the standard module are also the same.
And S42, determining a target movement vector of the Hall element in the test module according to the first deflection angle.
And determining a target movement vector according to the first deflection angle and the preset gyro gain of the test module.
Specifically, the target movement vector can be calculated by the formula (7) -the formula (8).
X_Hallcode=αX*gyrogain*K (7)
Y_Hallcode=αY*gyrogain*K (8)
Wherein, X_ Hallcode is the movement of the Hall element in the X direction, gyrogain is the preset gyro gain, K is the fixed coefficient, and Y_ Hallcode is the movement of the Hall element in the Y direction.
And S43, controlling the Hall element to move according to the target movement vector so as to adjust the test module.
After the Hall element in the test module moves according to the target movement vector, the adjustment of the test module is realized, and then, for the adjusted test module, whether the adjusted test module passes the optical axis test is determined according to the principles of the steps S21-S24.
For example, the following scheme may be adopted for verification of the adjusted test module (including step S51-step S53)
Step S51, a third photosensitive image corresponding to the test pattern on the adjusted test module is obtained.
Step S52, determining a second offset of the third photosensitive image and the second photosensitive image on the target imaging plane.
Step S53, determining whether the adjusted test module passes the test optical axis test according to the second offset.
After executing step S53, determining that the adjusted test module passes the optical axis test, burning the target movement vector into the test module, so that the hall element moves according to the target movement vector and then controls the test module to execute shooting operation.
In summary, the embodiment can determine whether the test module passes the optical axis test without depending on a special platform tool, and can determine the target movement vector of the hall element in the test module by determining the included angle between the first optical path forming the first photosensitive image in the test module and the second optical path forming the second photosensitive image in the standard module on the premise that the test module does not pass the optical axis test, so as to adjust the test module, and burn the corresponding target movement vector into the test module when the adjusted test module passes the optical axis test, thereby achieving the purpose of calibrating the test module. Therefore, the embodiment can calibrate the test module without depending on an algorithm provided by a platform tool manufacturer, meeting the environmental requirement and the equipment requirement of the platform tool and adding redundant burning item data, thereby greatly improving the flexibility of optical axis test and simplifying the difficulty of optical axis calibration.
Based on the same inventive concept, this embodiment provides a multi-camera module optical axis testing device as shown in fig. 9, where the device includes:
The first photosensitive image obtaining module 91 is configured to obtain a first photosensitive image corresponding to the test pattern on the test module when the test module and the test pattern are in a target positional relationship;
the second photosensitive image obtaining module 92 is configured to obtain a second photosensitive image corresponding to the test chart on the standard module when the standard module and the test chart are in the target positional relationship;
A first offset determination module 93 for determining a first offset of the first photosensitive image and the second photosensitive image on the target imaging plane;
The optical axis testing module 94 is configured to determine whether the testing module passes the optical axis test according to the first offset.
Further, the apparatus further comprises:
the first light path determining module is used for determining a first light path presenting a first photosensitive image in the test module when the test module fails the test, wherein the first light path corresponds to a target point of the test chart;
The second light path determining module is used for determining a second light path for presenting a second photosensitive image in the standard module, and the second light path corresponds to the target point;
And the adjusting module is used for adjusting the testing module according to the first optical path and the second optical path and determining whether the adjusted testing module passes the optical axis test.
Further, the adjustment module includes:
A first deflection angle determination sub-module for determining a first deflection angle between the first optical path and the second optical path;
the target movement vector determination submodule is used for determining a target movement vector of the Hall element in the test module according to the first deflection angle;
And the adjusting sub-module is used for controlling the Hall element to move according to the target movement vector so as to adjust the testing module.
Further, the apparatus further comprises:
And the burning module is used for burning the target movement vector into the testing module after the adjusted testing module passes the optical axis test, so that the Hall element moves according to the target movement vector and then controls the testing module to execute shooting operation.
Further, the target movement vector determination submodule is used for determining a target movement vector according to the first deflection angle and the preset gyro gain of the test module.
The first deflection angle determining submodule is used for determining a first deflection angle according to a first offset, a pixel size, an effective focal length and a test distance, wherein the test distance refers to a shooting distance between the test module and the test chart in a relative position relation.
The optical axis test module 94 further includes:
The third photosensitive image acquisition sub-module is used for acquiring a third photosensitive image corresponding to the test pattern on the adjusted test module;
A second offset acquisition sub-module for determining a second offset of the third photosensitive image and the second photosensitive image on the target imaging plane;
and the optical axis test sub-module is used for determining whether the adjusted test module passes the optical axis test according to the second offset.
Based on the same inventive concept, the present embodiment provides an electronic apparatus as shown in fig. 10, including:
A processor 101;
A memory 102 for storing instructions executable by the processor 101;
wherein the processor 101 is configured to execute to implement a multi-camera module optical axis testing method.
Based on the same inventive concept, the present embodiment provides a non-transitory computer-readable storage medium, which when executed by the processor 101 of the electronic device, enables the electronic device to perform a method for implementing a multi-camera module optical axis test.
Since the electronic device described in this embodiment is an electronic device used to implement the method for processing information in the embodiment of the present application, those skilled in the art will be able to understand the specific implementation of the electronic device in this embodiment and various modifications thereof based on the method for processing information described in the embodiment of the present application, so how the method in the embodiment of the present application is implemented in this electronic device will not be described in detail herein. Any electronic device used by those skilled in the art to implement the information processing method in the embodiment of the present application is within the scope of the present application.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (8)

1. A multi-camera module optical axis testing method, the method comprising:
when the test module and the test pattern are in a target position relationship, a first photosensitive image corresponding to the test pattern on the test module is obtained;
When the standard module and the test chart are in the target position relationship, a second photosensitive image corresponding to the test chart on the standard module is obtained;
determining a first offset of the first and second photosensitive images on a target imaging plane;
determining whether the test module passes an optical axis test according to the first offset;
When the test module fails the optical axis test, the method further comprises:
Determining a first optical path for presenting the first photosensitive image in the test module, wherein the first optical path corresponds to a target point of the test chart; the first optical path refers to a path between a first point image in the first photosensitive image and an optical center of the test module;
Determining a second optical path for presenting the second photosensitive image in the standard module, wherein the second optical path corresponds to the target point; the second optical path is a path between a second point image in the second photosensitive image and the optical center of the standard module;
determining a first deflection angle between the first optical path and the second optical path;
determining a target movement vector of the Hall element in the test module according to the first deflection angle;
And controlling the Hall element to move according to the target movement vector so as to adjust the test module, and determining whether the adjusted test module passes the optical axis test.
2. The method of claim 1, wherein after the adjusted test module passes the optical axis test, the method further comprises:
And burning the target movement vector into the test module, so that the Hall element is controlled to execute shooting operation after moving according to the target movement vector.
3. The method of claim 1, wherein determining the target motion vector of the hall element in the test module based on the first deflection angle comprises:
and determining the target movement vector according to the first deflection angle and the preset gyro gain of the test module.
4. The method of claim 1, wherein the determining a first deflection angle between the first optical path and the second optical path comprises:
and determining the first deflection angle according to the first offset, the pixel size, the effective focal length and the test distance, wherein the test distance refers to the shooting distance between the test module and the test chart in the relative position relation.
5. The method of claim 1, wherein determining whether the adjusted test module passes an optical axis test comprises:
Acquiring a third photosensitive image corresponding to the test pattern on the adjusted test module;
determining a second offset of the third photosensitive image and the second photosensitive image on the target imaging plane;
And determining whether the adjusted test module passes the optical axis test according to the second offset.
6. A multi-camera module optical axis testing apparatus, the apparatus comprising:
The first photosensitive image acquisition module is used for acquiring a first photosensitive image corresponding to the test pattern on the test module when the test module and the test pattern are in a target position relationship;
The second photosensitive image acquisition module is used for acquiring a second photosensitive image corresponding to the test chart on the standard module when the standard module and the test chart are in the target position relation;
A first offset determination module for determining a first offset of the first photosensitive image and the second photosensitive image on a target imaging plane;
the optical axis test module is used for determining whether the test module passes the optical axis test according to the first offset;
The first light path determining module is used for determining a first light path presenting a first photosensitive image in the test module when the test module fails the test, wherein the first light path corresponds to a target point of the test chart; the first optical path refers to a path between a first point image in the first photosensitive image and an optical center of the test module;
The second light path determining module is used for determining a second light path for presenting a second photosensitive image in the standard module, and the second light path corresponds to the target point; the second optical path is a path between a second point image in the second photosensitive image and the optical center of the standard module;
An adjustment module comprising:
A first deflection angle determination sub-module for determining a first deflection angle between the first optical path and the second optical path;
the target movement vector determination submodule is used for determining a target movement vector of the Hall element in the test module according to the first deflection angle;
And the adjusting sub-module is used for controlling the Hall element to move according to the target movement vector so as to adjust the testing module and determining whether the adjusted testing module passes the optical axis test.
7. An electronic device, comprising:
A processor;
a memory for storing the processor-executable instructions;
Wherein the processor is configured to execute to implement a multi-camera module optical axis testing method as claimed in any one of claims 1 to 5.
8. A non-transitory computer readable storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform a method of implementing a multi-camera module optical axis test as claimed in any one of claims 1 to 5.
CN202111643997.9A 2021-12-29 2021-12-29 Multi-camera module optical axis testing method, device, equipment and medium Active CN114295331B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111643997.9A CN114295331B (en) 2021-12-29 2021-12-29 Multi-camera module optical axis testing method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111643997.9A CN114295331B (en) 2021-12-29 2021-12-29 Multi-camera module optical axis testing method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN114295331A CN114295331A (en) 2022-04-08
CN114295331B true CN114295331B (en) 2024-06-18

Family

ID=80972397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111643997.9A Active CN114295331B (en) 2021-12-29 2021-12-29 Multi-camera module optical axis testing method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN114295331B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117387939B (en) * 2023-12-08 2024-02-09 珠海市钧兴机电有限公司 Gear test control method, electronic equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103018015A (en) * 2012-12-26 2013-04-03 青岛歌尔声学科技有限公司 Device and method for detecting optical-axis offset of lens in equipment

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200904147A (en) * 2007-07-09 2009-01-16 Univ Nat Central Method for adjusting lens of digital photographing module
TWI432712B (en) * 2011-08-12 2014-04-01 Altek Corp Lens calibration system with imaging technology and calibration method thereof
JP2014228621A (en) * 2013-05-21 2014-12-08 株式会社ニコン Camera-shake correcting device and photographing apparatus
WO2018000380A1 (en) * 2016-06-30 2018-01-04 华为技术有限公司 Deflection detection method for terminal camera module, jitter compensation method and device
CN107333130B (en) * 2017-08-24 2019-04-23 歌尔股份有限公司 Assemble multi-cam module testing method and system
CN109297680B (en) * 2018-08-14 2021-07-06 奥比中光科技集团股份有限公司 Method and device for detecting optical axis deviation error value
CN109922239B (en) * 2019-03-06 2024-05-28 昆山丘钛微电子科技有限公司 Camera module
CN111147844A (en) * 2019-12-31 2020-05-12 麦格纳电子(张家港)有限公司 Optical axis inspection and calibration method for assembling camera
CN113411470B (en) * 2020-03-17 2023-01-20 华为技术有限公司 Camera module and electronic equipment
CN113596441B (en) * 2021-08-17 2024-06-14 深圳市上融科技有限公司 Optical axis adjusting device, method, system and readable storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103018015A (en) * 2012-12-26 2013-04-03 青岛歌尔声学科技有限公司 Device and method for detecting optical-axis offset of lens in equipment

Also Published As

Publication number Publication date
CN114295331A (en) 2022-04-08

Similar Documents

Publication Publication Date Title
US12114107B2 (en) Projector keystone correction method, apparatus and system, and readable storage medium
US11039121B2 (en) Calibration apparatus, chart for calibration, chart pattern generation apparatus, and calibration method
US9344695B2 (en) Automatic projection image correction system, automatic projection image correction method, and non-transitory storage medium
US10319111B2 (en) Image projection device for 3D measurement and calibration method for calibration of camera and projector
JP5999615B2 (en) Camera calibration information generating apparatus, camera calibration information generating method, and camera calibration information generating program
CN110099267B (en) Trapezoidal correction system, method and projector
US11388375B2 (en) Method for calibrating image capturing sensor consisting of at least one sensor camera, using time coded patterned target
KR102149276B1 (en) Method of image registration
CN110312111B (en) Apparatus, system, and method for automatic calibration of image devices
CN109410140B (en) Distortion correction method, device and system and computer readable storage medium
WO2018019143A1 (en) Image photographing alignment method and system
KR20120083854A (en) Adjustment apparatus, laser machining apparatus, and adjustment method
CN106570907B (en) Camera calibration method and device
CN107728617B (en) Multi-view online calibration method, mobile robot and system
US11022435B2 (en) Pattern projection depth value 3D scanning device and method
WO2021134219A1 (en) Parameter calibration method and apapratus
CN114612447A (en) Image processing method and device based on data calibration and image processing equipment
CN103475820B (en) PI method for correcting position and system in a kind of video camera
CN107527336A (en) Relative position of lens scaling method and device
CN114295331B (en) Multi-camera module optical axis testing method, device, equipment and medium
CN111131801A (en) Projector correction system and method and projector
JP5561503B2 (en) Projector, program, information storage medium, and trapezoidal distortion correction method
JPWO2017203796A1 (en) INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING METHOD, AND PROGRAM
CN116051634A (en) Visual positioning method, terminal and storage medium
KR102242202B1 (en) Apparatus and Method for camera calibration

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
GR01 Patent grant
GR01 Patent grant