CN114295331A - 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
CN114295331A
CN114295331A CN202111643997.9A CN202111643997A CN114295331A CN 114295331 A CN114295331 A CN 114295331A CN 202111643997 A CN202111643997 A CN 202111643997A CN 114295331 A CN114295331 A CN 114295331A
Authority
CN
China
Prior art keywords
test
module
optical axis
photosensitive image
determining
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.)
Granted
Application number
CN202111643997.9A
Other languages
Chinese (zh)
Other versions
CN114295331B (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

Images

Landscapes

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

Abstract

The invention discloses a method, a device, equipment and a medium for testing optical axes of a multi-camera module, wherein the method comprises the following steps: when the test module and the test chart are in the target position relation, acquiring a first photosensitive image corresponding to the test chart on the test module; when the standard module and the test chart are in the target position relation, acquiring a second photosensitive image corresponding to the test chart on the standard module; determining a first offset of the first photosensitive image and the second photosensitive image on a target imaging plane; and determining whether the test module passes the optical axis test or not according to the first offset. This application can be under the prerequisite that does not rely on special platform instrument, confirms whether the test module passes through the optical axis test, and then need not rely on the algorithm that platform tool provider provided, also need not satisfy the environmental requirement and the equipment requirement of platform instrument, has improved the flexibility of optical axis test greatly, has simplified the optical axis and has tested the degree of difficulty.

Description

Multi-camera module optical axis testing method, device, equipment and medium
Technical Field
The invention relates to the technical field of camera equipment, in particular to a method, a device, equipment and a medium for testing optical axes of multiple camera modules.
Background
With the continuous update of the camera technology, the original single camera module (referred to as a single camera module for short) has been developed to the current multi-camera module (referred to as a multi-camera module for short). For a plurality of camera modules, the optical axes of two adjacent camera modules are basically parallel to each other in process design. However, in the process of assembling the multi-camera module, due to the assembly process difference, the optical axes between two adjacent cameras are in a non-parallel state, 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 between the optical axes of the multiple cameras in the multi-camera module is mainly determined by a professional platform tool, but the method 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 4 small checkerboards also need to meet the following requirement (the following requirement also needs to be different according to the different models of the multi-camera module to be tested, and here, only the requirement corresponding to one of the models is taken as an example, so as to illustrate that the requirement that the platform tool needs to meet when being used for optical axis testing is higher):
(1) the number of squares in each of the 4 checkerboards in fig. 1 is different according to the model of the multi-camera module to be tested;
(2) in fig. 1, the type of the checkerboard at the upper left corner is different from the types of the other three checkerboards, and the checkerboards at the lower left corner, the upper right corner and the lower right corner need to be arranged according to a certain rotating direction;
(3) the color of the square grid corresponding to the cross formed by the four square grids in fig. 1 needs to meet the preset requirement. For example, the square corresponding to the grid in the upper left corner of fig. 1 should be black, and the squares corresponding to the other three grids should be white.
Therefore, the optical axis test difficulty of the multi-camera module is increased through a professional platform tool.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a medium for testing the optical axis of a multi-camera module, and solves the technical problem that in the prior art, the optical axis test of the multi-camera module can be realized only by a professional platform tool on the premise of meeting the higher environmental requirement of the platform tool, so that the difficulty of the optical axis test of the multi-camera module is high, and the technical effect of reducing the difficulty of the optical axis test of the multi-camera module is realized.
In a first aspect, the present application provides a method for testing an optical axis of a multi-camera module, the method including:
when the test module and the test chart are in the target position relation, acquiring a first photosensitive image corresponding to the test chart on the test module;
when the standard module and the test chart are in the target position relation, acquiring a second photosensitive image corresponding to the test chart on the standard module;
determining a first offset of the first photosensitive image and the second photosensitive image on a target imaging plane;
and determining whether the test module passes the optical axis test or not according to the first offset.
Further, when the test module fails the optical axis test, the method further includes:
determining a first light path in the test module for presenting a first photosensitive image, wherein the first light path corresponds to a target point of the test pattern;
determining a second light path in the standard module for presenting a second photosensitive image, wherein the second light path corresponds to the target point;
and adjusting the test module according to the first light path and the second light path, and determining whether the adjusted test module passes the optical axis test.
Further, according to the first optical path and the second optical path, adjusting the test module includes:
determining a first deflection angle between the first optical path and the second optical path;
determining a target movement vector of a Hall element in the test module according to the first deflection angle;
and controlling the Hall element to move according to the target moving vector so as to adjust the test module.
Further, after the adjusted testing module passes the optical axis test, the method further includes:
and burning the target motion vector into the test module, so that the Hall element moves according to the target motion vector and then controls the test module to execute shooting operation.
Further, according to a first deflection angle, a target motion vector of the Hall element in the test module is determined, and the method comprises the following steps:
and determining a target motion vector according to the first deflection angle and a preset gyro gain of the test module.
Further, determining a first deflection angle between the first optical path and the second optical path comprises:
and determining a first deflection angle according to the first offset, the pixel size, the 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 the relative position relationship.
Further, whether the adjusted test module passes the optical axis test or not is determined, including:
acquiring a third photosensitive image corresponding to the test image 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, the device comprising:
the first photosensitive image acquisition module is used for acquiring a first photosensitive image corresponding to the test chart on the test module when the test module and the test chart are in a target position relation;
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;
the first offset determining module is used for determining a first offset of the first photosensitive image and the second photosensitive image on the target imaging plane;
and the optical axis testing module is used for determining whether the testing module passes the optical axis test or not 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;
wherein the processor is configured to execute to realize a multi-camera module optical axis testing method.
In a fourth aspect, the present application provides a non-transitory computer readable storage medium having instructions that, when executed by a processor of an electronic device, enable 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 have at least the following technical effects or advantages:
this application is when test module and test chart are in the target position relation, acquires the first sensitization image of test chart on the test module, when standard module and test chart are in the target position relation, acquires the second sensitization image of test chart on the standard module, confirms the first offset of first sensitization image and second sensitization image, and then confirms whether the test module passes through the optical axis test according to first offset. Therefore, the optical axis testing device can determine whether the testing module passes through the optical axis test or not on the premise of not depending on a special platform tool, further does not depend on an algorithm provided by a platform tool provider, does not meet the environmental requirement and the equipment requirement of the platform tool, greatly improves the flexibility of the optical axis test, and simplifies the difficulty of the optical axis test.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
FIG. 1 is a schematic diagram of a test chart required by a certain calibration platform;
fig. 2 is a schematic 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 view of a cross;
FIG. 4 is a schematic diagram of the optical axes of two cameras being parallel;
FIG. 5 is a schematic diagram of two cameras with their optical axes not parallel;
FIG. 6 is a schematic diagram showing a positional relationship between a first point image and a second point image on an imaging plane of a target;
FIG. 7 is a schematic diagram showing an included angle between optical axes of two cameras in the test module and an included angle between optical axes of two cameras in the standard module;
FIG. 8 is a diagram illustrating the relationship between a first optical path and a second optical path;
fig. 9 is a schematic structural diagram of an optical axis testing apparatus for multiple camera modules according to the present application;
fig. 10 is a schematic structural diagram of an electronic device provided in the present application.
Detailed Description
The embodiment of the application provides a method for testing the optical axis of a multi-camera module, and solves the technical problem that in the prior art, the optical axis test of the multi-camera module can be realized only by a professional platform tool on the premise of meeting the higher environmental requirement of the platform tool, so that the difficulty of the optical axis test of the multi-camera module is high.
In order to solve the technical problems, the general idea of the embodiment of the application is as follows:
a method for testing optical axes of multiple camera modules comprises the following steps: when the test module and the test chart are in the target position relation, acquiring a first photosensitive image corresponding to the test chart on the test module; when the standard module and the test chart are in the target position relation, acquiring a second photosensitive image corresponding to the test chart on the standard module; determining a first offset of the first photosensitive image and the second photosensitive image on a target imaging plane; and determining whether the test module passes the optical axis test or not according to the first offset.
In this 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, a first offset of the first photosensitive image and the second photosensitive image is determined, and then whether the test module passes the optical axis test is determined according to the first offset. Therefore, this embodiment can confirm whether the test module passes through the optical axis test under the prerequisite that does not rely on special platform instrument, and then need not rely on the algorithm that platform tool provider provided, also need not satisfy the environmental requirement and the equipment requirement of platform instrument, has improved the flexibility that the optical axis tested greatly, has simplified the optical axis and has tested the degree of difficulty.
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
First, it is stated that the term "and/or" appearing herein is merely one type of associative relationship that describes an associated object, meaning that three types of relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in 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 provider. In addition, the platform tool also requires that the test module must meet higher environmental requirements and equipment requirements, and also increases redundant burning item data. Therefore, the flexibility of the mode of using the platform tool to test the included angle of the optical axis in the multi-test module is lower, and the difficulty of testing the optical axis is higher.
In order to solve the above problem, the present embodiment provides a method for testing an optical axis of a multi-camera module, for example, as shown in fig. 2, the method includes:
step S21, when the test module and the test chart are in the target position relationship, obtaining a first photosensitive image corresponding to the test chart on the test module.
The test module is a multi-camera module that needs to perform an optical axis angle test. The test chart may be a cross chart as shown in fig. 3, or may be a dot chart, which is not limited in this embodiment. The target position relationship may be set according to actual conditions, and this embodiment does not limit this.
The target position relation refers to the relative position relation between the test module and the test chart. The target position relationship may be set according to actual conditions, and this embodiment does not limit this.
When the test module is in the target position relation with the test chart, the test module is used for shooting or previewing the test chart, and a first photosensitive image can be obtained on an imaging sensor of the test module.
And step S22, when the standard module and the test chart are in the target position relation, acquiring a second photosensitive image corresponding to the test chart on the standard module.
The standard module is a multi-camera module which passes the optical axis included angle test and has the same model with 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 cameras are parallel to each other is difficult to achieve, so in actual operation, the standard module may adopt a module in which an included angle M (refer to ≈ M corresponding to the intersection of two optical axes in fig. 8) between the optical axes of the cameras inside the standard module is smaller than or equal to a preset included angle, where the preset included angle may be set according to an actual situation. 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 relation, 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.
In step S23, a first shift amount of the first and second photosensitive images on the target imaging plane is determined. For example, as shown in fig. 6, the positional offset relationship between the point a1 and the point a2, 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 photosensitive images, the first and second photosensitive images need to be placed in the same reference plane.
In this embodiment, the target imaging plane is set as a reference plane of the first photosensitive image and the second photosensitive image, and the target imaging plane may be a plane where the imaging sensor corresponding to the first photosensitive image is located, or may also be a plane where the imaging sensor corresponding to the second photosensitive image is located, or of course, may also be another reference plane, which is not limited in this embodiment.
It should be noted that the present embodiment can be applied to optical axis testing of multi-camera modules with the number of cameras exceeding 1, and for convenience of description, the multi-camera module with two cameras will be taken as an example to illustrate the scheme.
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 optical axes of the two cameras in the test module form an included angle × N1) 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 optical axes of the two cameras in the standard module form an included angle × N2), then the first photosensitive image and the second photosensitive image obtained by the test module and the standard module should coincide when placed on the target imaging plane, and the coincidence is that there is no first offset.
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 a first offset exists when the first photosensitive image and the second photosensitive image are not overlapped.
When the first offset amount is calculated, 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 may be determined according to a certain target point in the test chart as a reference point, and the first offset amount may be determined by measuring offsets of the first point image and the second point image.
The target point may be any point in the test chart, but for simplifying the calculation, a special point having a certain characteristic in the test chart may be used as the target point. For example, the center of the cross in the cross chart may be used, or the center of the circle in the dot chart may be used, which is not limited in this embodiment.
For example, when a cross chart is taken as a test chart, the center of a cross of the cross chart is taken as a target point, a first point image of the center of the cross in a first photosensitive image is taken as a1, corresponding coordinates are (X1, Y1), a second point image of the center of the cross in a second photosensitive image is taken as a2, and corresponding coordinates are (X2, Y2), and the first photosensitive image and the second photosensitive image are placed on the same target imaging plane, the offset relationship between the first point image and the second point image can be obtained as shown in fig. 6.
The first shift amount may be a position shift amount of the first photosensitive image and the second photosensitive image, or may be a parameter amount related to the position shift amount, for example, a tolerance related to the position shift amount, which is not limited in this embodiment.
The formula of the tolerance can refer to formula (1).
Figure BDA0003444517020000081
Wherein C is a tolerance, X1Is the abscissa, X, of the first dot image2Is the abscissa, Y, of the second point image1Is the ordinate, Y, of the first dot image2Is 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, if the first offset is smaller than or equal to the preset offset, considering that an included angle between optical axes of multiple cameras in the test module is smaller than or equal to a preset included angle, and testing the test module through the optical axes. If 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, and the test module fails in optical axis test.
In summary, in this embodiment, when the test module and the test chart are in the target position 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 position relationship, the second photosensitive image of the test chart on the standard module is obtained, the first offset of the first photosensitive image and the second photosensitive image is determined, and then whether the test module passes the optical axis test is determined according to the first offset. Therefore, this embodiment can confirm whether the test module passes through the optical axis test under the prerequisite that does not rely on special platform instrument, and then need not rely on the algorithm that platform tool provider provided, also need not satisfy the environmental requirement and the equipment requirement of platform instrument, has improved the flexibility that the optical axis tested greatly, has simplified the optical axis and has tested the degree of difficulty.
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 does not pass the optical axis test, and the test module needs to be adjusted and calibrated at the moment. The present embodiment provides the following technical solution for the test module failing the optical axis test to adjust and calibrate the test module failing the optical axis test, and specifically includes steps S31 to S33.
Step S31, when the test module fails the optical axis test, determining a first optical path in the test module, where the first optical path represents the first photosensitive image, and the first optical path corresponds to the target point of the test chart.
Step S32, determining a second optical path of the second photosensitive image presented in the standard module, where the second optical 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 the target point may be any point in the test chart, but for the sake of simplifying the calculation, a specific point having a certain characteristic in the test chart may be used as the target point. For example, the center of the cross in the cross chart may be used, or the center of the circle in the dot chart 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. Wherein, according to the first point image and the optical center of the test module, the first optical path forming the first point image can be determined. Based on the second point image and the optical center of the standard module, a second optical path forming the second point image can be determined.
And then, an included angle between the first light path and the second light path is determined according to the relationship between the first point image and the first light path and the relationship between the second point image and the second light path, so that the test module can be adjusted. For the adjusted test module, the principle of steps S21-S24 can be adopted to verify whether it passes the optical axis test.
For example, taking the first dot image a1 and the second dot image a2 presented on the target imaging plane P shown in fig. 6 as an example, the intersection point is M corresponding to the intersection relationship of the first light path L1 and the second light path L2 shown in fig. 8. 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 steps S41-S43.
In step S41, a first deflection angle between the first optical path and the second optical path is determined.
According to the first offset, the pixel size, the effective focal length and the test distance, a first deflection angle (for example, < M in fig. 8) can be determined, wherein the test distance refers to the shooting distance between the test module and the test chart in the relative position relationship.
Specifically, the first deflection angle can be calculated by formula (2) to formula (6).
AX=(X1-X2)*pixel size (2)
AY=(Y1-Y2)*pixel size (3)
Figure BDA0003444517020000101
Figure BDA0003444517020000102
Figure BDA0003444517020000103
Wherein A isXFor the offset component in the X direction in the imaging plane of the object, pixel size is the pixel size of the module, AYIs the offset component of the target imaging plane in the Y direction, B is the distance between the target imaging plane and the intersection point of the first light path and the second light path, f is the effective focal length of the module, v is the distance between the module and the test chart in the target position relationship, and alphaXIs the angle of deflection of the optical axis in the X-direction in the imaging plane of the object, alphaYFor the angle of deflection of the optical axis in the Y-direction in the imaging plane of the object
Because the test module and the standard module belong to the same model, 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 step S42, determining a target motion vector of the Hall element in the test module according to the first deflection angle.
And determining a target motion vector according to the first deflection angle and a preset gyro gain of the test module.
Specifically, the target movement vector may be calculated by formula (7) -formula (8).
X_Hallcode=αX*gyrogain*K (7)
Y_Hallcode=αY*gyrogain*K (8)
Wherein, X _ Hallcode is the movement amount of the Hall element in the X direction, gyrogain is the preset gyro gain, K is a fixed coefficient, and Y _ Hallcode is the movement amount of the Hall element in the Y direction.
And step S43, controlling the Hall element to move according to the target motion vector so as to adjust the test module.
And adjusting the test module after the Hall element in the test module moves according to the target motion vector, and determining whether the adjusted test module passes the optical axis test or not according to the principles of the steps S21-S24 aiming at the adjusted test module.
For example, the adjusted test module can be verified by the following scheme (including step S51-step S53)
And step S51, acquiring a third photosensitive image corresponding to the test chart on the adjusted test module.
In step S52, a second shift amount of the third photosensitive image and the second photosensitive image on the target imaging plane is determined.
And step S53, determining whether the adjusted test module passes the test optical axis test according to the second offset.
After step S53 is executed, it is determined that the adjusted test module passes the optical axis test, and the target motion vector is burned into the test module, so that the hall element moves according to the target motion vector and then controls the test module to execute the shooting operation.
In summary, this embodiment can determine whether the test module passes the optical axis test on the premise that the test module does not depend on the dedicated platform tool, and on the premise that the test module does not pass the optical axis test, the target moving vector of the hall element in the test module can be determined by 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, so as to adjust the test module. Therefore, the test module can be calibrated without depending on an algorithm provided by a platform tool provider, meeting the environmental requirement and the equipment requirement of the platform tool and increasing redundant burning item data, so that the flexibility of optical axis test is greatly improved, and the difficulty of optical axis calibration is simplified.
Based on the same inventive concept, the present embodiment provides a multi-camera module optical axis testing apparatus as shown in fig. 9, the apparatus comprising:
the first photosensitive image obtaining module 91 is configured to obtain a first photosensitive image corresponding to the test chart on the test module when the test module is in the target position relationship with the test chart;
a second photosensitive image obtaining module 92, 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 position relationship;
a first offset determining module 93, configured to determine a first offset of the first photosensitive image and the second photosensitive image on the target imaging plane;
and an optical axis testing module 94, 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 testing module when the testing module fails to test, and the first light path corresponds to a target point of the testing image;
the second light path determining module is used for determining a second light path which presents 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 test module according to the first light path and the second light path and determining whether the adjusted test module passes the optical axis test.
Further, the adjustment module includes:
a first deflection angle determination submodule 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 a Hall element in the test module according to the first deflection angle;
and the adjusting submodule is used for controlling the Hall element to move according to the target moving vector so as to adjust the test module.
Further, the apparatus further comprises:
and the burning module is used for burning the target moving vector into the testing module after the adjusted testing module passes the optical axis test, so that the Hall element is controlled to execute shooting operation after moving according to the target moving vector.
Further, the target motion vector determination submodule is used for determining a target motion vector according to the first deflection angle and a preset gyro gain of the test module.
The first deflection angle determining submodule is used for determining a first deflection angle according to the first offset, the pixel size, the 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 the 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 image on the adjusted test module;
the second offset acquisition submodule is used for determining a second offset of the third photosensitive image and the second photosensitive image on the target imaging plane;
and the optical axis testing submodule is used for determining whether the adjusted testing module passes the optical axis test or not according to the second offset.
Based on the same inventive concept, the present embodiment provides an electronic device 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 realize 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 instructions in the storage medium are 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 for implementing the method for processing information in this embodiment, a person skilled in the art can understand the specific implementation manner of the electronic device of this embodiment and various variations thereof based on the method for processing information described in this embodiment, and therefore, how to implement the method in this embodiment by the electronic device is not described in detail here. Electronic devices used by those skilled in the art to implement the method for processing information in the embodiments of the present application are all within the scope of the present application.
As will be appreciated by one skilled in the art, 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 flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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. Therefore, it is intended that the appended claims be interpreted as including 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 changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A method for testing an optical axis of a multi-camera module is characterized by comprising the following steps:
when the test module and the test chart are in a target position relation, acquiring a first photosensitive image corresponding to the test chart on the test module;
when the standard module and the test chart are in the target position relation, acquiring a second photosensitive image corresponding to the test chart on the standard module;
determining a first offset of the first and second light-sensitive images on a target imaging plane;
and determining whether the test module passes the optical axis test or not according to the first offset.
2. The method of claim 1, wherein when the test pattern fails an optical axis test, the method further comprises:
determining a first light path in the test module for presenting the first photosensitive image, wherein the first light path corresponds to a target point of the test chart;
determining a second light path in the standard module for presenting the second photosensitive image, the second light path corresponding 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.
3. The method of claim 2, wherein the adjusting the test module according to the first optical path and the second optical path comprises:
determining a first deflection angle between the first optical path and the second optical path;
determining a target motion vector of a Hall element in the test module according to the first deflection angle;
and controlling the Hall element to move according to the target motion vector so as to adjust the test module.
4. The method of claim 3, wherein after the adjusted test module passes the optical axis test, the method further comprises:
burning the target motion vector into the test module, so that the Hall element moves according to the target motion vector and then controls the test module to execute shooting operation.
5. The method of claim 3, wherein determining the target motion vector of the Hall element in the test module according to the first deflection angle comprises:
and determining the target motion vector according to the first deflection angle and a preset gyro gain of the test module.
6. The method of claim 3, 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 a test distance, wherein the test distance is a shooting distance between the test module and the test chart in the relative position relationship.
7. The method of claim 2, wherein the determining whether the adjusted test pattern 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 or not according to the second offset.
8. The utility model provides a many camera module optical axis testing arrangement which characterized in that, the device includes:
the first photosensitive image acquisition module is used for acquiring a first photosensitive image corresponding to the test chart on the test module when the test module and the test chart are in a target position relation;
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;
the first offset determining module is used for determining a first offset of the first photosensitive image and the second photosensitive image on a target imaging plane;
and the optical axis testing module is used for determining whether the testing module passes the optical axis test or not according to the first offset.
9. 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 7.
10. A non-transitory computer readable storage medium, instructions in which, when executed by a processor of an electronic device, enable the electronic device to perform implementing a multi-camera module optical axis testing method as claimed in any one of claims 1 to 7.
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 true CN114295331A (en) 2022-04-08
CN114295331B 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)

Cited By (1)

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

Citations (11)

* 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
TW201307821A (en) * 2011-08-12 2013-02-16 Altek Corp Lens calibration system with imaging technology and calibration method thereof
CN103018015A (en) * 2012-12-26 2013-04-03 青岛歌尔声学科技有限公司 Device and method for detecting optical-axis offset of lens in equipment
JP2014228621A (en) * 2013-05-21 2014-12-08 株式会社ニコン Camera-shake correcting device and photographing apparatus
CN107333130A (en) * 2017-08-24 2017-11-07 歌尔股份有限公司 Assemble multi-cam module testing method and system
CN108603752A (en) * 2016-06-30 2018-09-28 华为技术有限公司 Drift angle detection method, jitter compensation method and the device of the camera module of terminal
CN109297680A (en) * 2018-08-14 2019-02-01 深圳奥比中光科技有限公司 The detection method and device of light shaft offset error amount
CN109922239A (en) * 2019-03-06 2019-06-21 昆山丘钛微电子科技有限公司 Camera mould group
CN111147844A (en) * 2019-12-31 2020-05-12 麦格纳电子(张家港)有限公司 Optical axis inspection and calibration method for assembling camera
CN113411470A (en) * 2020-03-17 2021-09-17 华为技术有限公司 Camera module, electronic equipment and anti-shake control method of electronic equipment
CN113596441A (en) * 2021-08-17 2021-11-02 深圳市上融科技有限公司 Optical axis adjusting device, method, system and readable storage medium

Patent Citations (11)

* 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
TW201307821A (en) * 2011-08-12 2013-02-16 Altek Corp Lens calibration system with imaging technology and calibration method thereof
CN103018015A (en) * 2012-12-26 2013-04-03 青岛歌尔声学科技有限公司 Device and method for detecting optical-axis offset of lens in equipment
JP2014228621A (en) * 2013-05-21 2014-12-08 株式会社ニコン Camera-shake correcting device and photographing apparatus
CN108603752A (en) * 2016-06-30 2018-09-28 华为技术有限公司 Drift angle detection method, jitter compensation method and the device of the camera module of terminal
CN107333130A (en) * 2017-08-24 2017-11-07 歌尔股份有限公司 Assemble multi-cam module testing method and system
CN109297680A (en) * 2018-08-14 2019-02-01 深圳奥比中光科技有限公司 The detection method and device of light shaft offset error amount
CN109922239A (en) * 2019-03-06 2019-06-21 昆山丘钛微电子科技有限公司 Camera mould group
CN111147844A (en) * 2019-12-31 2020-05-12 麦格纳电子(张家港)有限公司 Optical axis inspection and calibration method for assembling camera
CN113411470A (en) * 2020-03-17 2021-09-17 华为技术有限公司 Camera module, electronic equipment and anti-shake control method of electronic equipment
CN113596441A (en) * 2021-08-17 2021-11-02 深圳市上融科技有限公司 Optical axis adjusting device, method, system and readable storage medium

Cited By (2)

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

Also Published As

Publication number Publication date
CN114295331B (en) 2024-06-18

Similar Documents

Publication Publication Date Title
CN103649674B (en) Measuring equipment and messaging device
JP5999615B2 (en) Camera calibration information generating apparatus, camera calibration information generating method, and camera calibration information generating program
US8360585B2 (en) Method of measuring zoom ratio of projection optical system, method of correcting projection image using the method, and projector executing the correction method
US20200177866A1 (en) Calibration apparatus, chart for calibration, chart pattern generation apparatus, and calibration method
CN107666546B (en) Image shooting alignment method and system
KR20120083854A (en) Adjustment apparatus, laser machining apparatus, and adjustment method
CN113841384B (en) Calibration device, chart for calibration and calibration method
CN107527336B (en) Lens relative position calibration method and device
CN110099267A (en) Trapezoidal correcting system, method and projector
CN103475820B (en) PI method for correcting position and system in a kind of video camera
CN109410140B (en) Distortion correction method, device and system and computer readable storage medium
CN110505468B (en) Test calibration and deviation correction method for augmented reality display equipment
CN111263142A (en) Method, device, equipment and medium for testing optical anti-shake of camera module
CN111445537B (en) Calibration method and system of camera
US11022435B2 (en) Pattern projection depth value 3D scanning device and method
CN114612447A (en) Image processing method and device based on data calibration and image processing equipment
CN110612428A (en) Three-dimensional measurement method using characteristic quantity and apparatus therefor
CN106488111A (en) Focusing position detection means and method for detecting state of focusing
CN114295331A (en) Multi-camera module optical axis testing method, device, equipment and medium
WO2021134219A1 (en) Parameter calibration method and apapratus
WO2018087424A1 (en) Determining an intersection location of an optical axis of a lens with a camera sensor
CN112055187A (en) Projection image geometric correction method, system, equipment and storage medium
CN113596441B (en) Optical axis adjusting device, method, system and readable storage medium
CN115103124A (en) Active alignment method for camera module
JP3914938B2 (en) Projector keystone distortion correction device and projector including the keystone distortion correction device

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