CN106846401B - Detection method and equipment of double-camera module - Google Patents

Detection method and equipment of double-camera module Download PDF

Info

Publication number
CN106846401B
CN106846401B CN201611247234.1A CN201611247234A CN106846401B CN 106846401 B CN106846401 B CN 106846401B CN 201611247234 A CN201611247234 A CN 201611247234A CN 106846401 B CN106846401 B CN 106846401B
Authority
CN
China
Prior art keywords
double
detection
camera
longitudinal
camera module
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
CN201611247234.1A
Other languages
Chinese (zh)
Other versions
CN106846401A (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.)
Goertek Inc
Original Assignee
Goertek Inc
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 Goertek Inc filed Critical Goertek Inc
Priority to CN201611247234.1A priority Critical patent/CN106846401B/en
Publication of CN106846401A publication Critical patent/CN106846401A/en
Application granted granted Critical
Publication of CN106846401B publication Critical patent/CN106846401B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30244Camera pose

Abstract

The invention discloses a method and equipment for detecting a double-camera module. The double-shooting module comprises a first shooting unit and a second shooting unit, and the method comprises the following steps: after the first camera unit and the second camera unit are arranged according to the calibration positions, triggering the double-camera module to shoot double-cross patterns parallelly arranged above the double-camera module so as to obtain a first detection image shot by the first camera unit and a second detection image shot by the second camera unit; and acquiring detection parameters according to the first detection image and the second detection image so as to acquire a detection result of the double-camera module. According to the invention, the relative inclination angle and the relative rotation angle of the double-camera module can be rapidly and accurately acquired, the implementation is simple, and the popularization is easy.

Description

Detection method and equipment of double-camera module
Technical Field
The invention relates to the technical field of camera shooting, in particular to a method and equipment for detecting a double-camera module.
Background
With the development of the camera shooting technology, the application of the double-camera module comprising the first camera shooting unit and the second camera shooting unit is more and more extensive, the double-camera module can shoot images through the two camera shooting units, and higher camera shooting quality can be obtained through the synthesis of the two images.
Accordingly, the manufacturing and production requirements of the bi-camera module are very strict, for example, the positions of the first and second image capturing units of the bi-camera module affect the imaging quality of the bi-camera module, and therefore, it is often necessary to correct or compensate the offset position of the image capturing units by various methods during the manufacturing or using process of the bi-camera module, and after the first and second image capturing units are fixed at the target position during the manufacturing process of the bi-camera module, there is a possibility that a relative tilt angle (shown in fig. 1) and a relative rotation angle (shown in fig. 2) may exist between the first and second image capturing units due to various reasons, such as slight vibration during the placing process or errors in the placing operation, which also affects the imaging quality of the bi-camera module. However, in the prior art, there is no method for accurately measuring the relative tilt angle and the relative rotation angle of the pair of photographing modules.
Accordingly, the inventors have determined that there is a need for improvement of the above-described problems in the prior art.
Disclosure of Invention
One objective of the present invention is to provide a new technical solution for detecting a dual camera module.
According to a first aspect of the present invention, there is provided a method for detecting a dual camera module, the dual camera module including a first camera unit and a second camera unit, the method comprising:
after the first camera unit and the second camera unit are arranged according to the calibration positions, triggering the double-camera module to shoot double-cross patterns which are arranged above the double-camera module in parallel so as to obtain a first detection image shot by the first camera unit and a second detection image shot by the second camera unit, wherein the double-cross patterns comprise a first cross pattern and a second cross pattern, the cross center distance of the first cross pattern is in accordance with the preset interval of the camera units of the double-camera module, when the double-cross patterns are arranged above the double-camera module in parallel, the cross center of the first cross pattern vertically corresponds to the position of the first camera unit, and the cross center of the second cross pattern vertically corresponds to the position of the second camera unit;
and acquiring detection parameters according to the first detection image and the second detection image so as to acquire a detection result of the double-camera module, wherein the detection result at least comprises a relative rotation angle and a relative inclination angle between the first camera unit and the second camera unit.
Optionally, the detection parameters at least include a lateral offset and a longitudinal offset, the relative tilt angles include a relative lateral tilt angle and a relative longitudinal tilt angle, and the step of obtaining the detection parameters according to the first detection image and the second detection image at least includes:
registering the first detection image with the second detection image to obtain the lateral shift and/or the longitudinal shift.
Further optionally, the method for detecting a dual camera module further includes: calculating and obtaining the relative transverse inclination angle according to the transverse size of the double-cross pattern, the height of the double-cross pattern arranged above the double-camera module in parallel, the transverse size of an image formed by a single camera unit of the double-camera module and the transverse offset; and/or
And calculating and acquiring the relative longitudinal inclination angle according to the longitudinal size of the double cross patterns, the height of the double cross patterns arranged above the double camera module in parallel, the longitudinal size of the image formed by a single camera unit of the double camera module and the longitudinal offset.
Or, optionally, the detection parameters at least include a transverse rotation distance and a longitudinal rotation distance, and the step of obtaining the detection parameters according to the first detection image and the second detection image at least includes:
and overlapping the first detection image and the second detection image according to the image center to acquire the transverse rotation distance and the longitudinal rotation distance.
Further optionally, the method for detecting a dual camera module further includes: and calculating and obtaining the relative rotation angle according to the transverse rotation distance and the longitudinal rotation distance.
According to a second aspect of the present invention, there is provided a detection apparatus of a double camera module including a first image pickup unit and a second image pickup unit, the detection apparatus comprising:
the detection image acquisition unit is used for triggering the double-camera module to shoot double cross patterns parallelly arranged above the double-camera module after the first camera unit and the second camera unit are arranged according to the calibration positions so as to acquire a first detection image shot by the first camera unit and a second detection image shot by the second camera unit, wherein the double cross patterns comprise a first cross pattern and a second cross pattern, the cross center distance of the first cross pattern accords with the preset interval of the camera units of the double-camera module, when the double cross patterns are arranged above the double-camera module in parallel, the cross center of the first cross pattern vertically corresponds to the position of the first camera unit, and the cross center of the second cross pattern vertically corresponds to the position of the second camera unit;
and the detection parameter acquisition unit is used for acquiring detection parameters according to the first detection image and the second detection image so as to acquire a detection result of the double-camera module, wherein the detection result at least comprises a relative rotation angle and a relative inclination angle between the first camera unit and the second camera unit.
Optionally, the detection parameter at least includes a lateral offset and a longitudinal offset, the relative tilt angle includes a relative lateral tilt angle and a relative longitudinal tilt angle, and the detection parameter acquiring unit at least includes:
means for registering the first detection image with the second detection image to obtain the lateral and/or longitudinal offset.
Further optionally, the detection apparatus of the bi-camera module further includes:
the relative transverse inclination angle calculation unit is used for calculating and obtaining the relative transverse inclination angle according to the transverse size of the double-cross pattern, the height of the double-cross pattern arranged above the double-camera module in parallel, the transverse size of an image formed by a single camera unit of the double-camera module and the transverse offset; and/or
And the relative longitudinal inclination angle calculation unit is used for calculating and acquiring the relative longitudinal inclination angle according to the longitudinal size of the double cross patterns, the height of the double cross patterns arranged above the double camera module in parallel, the longitudinal size of the image formed by a single camera unit of the double camera module and the longitudinal deviation.
Or, optionally, the detection parameters at least include a transverse rotation distance and a longitudinal rotation distance, and the detection parameter acquiring unit at least includes:
means for overlapping the first detection image and the second detection image according to an image center to acquire the lateral rotation distance and the longitudinal rotation distance.
Further optionally, the detection apparatus of the bi-camera module further includes:
and the relative rotation angle calculation unit is used for calculating and acquiring the relative rotation angle according to the transverse rotation distance and the longitudinal rotation distance.
The inventor of the present invention finds that, in the prior art, there is no method and apparatus for detecting a dual camera module, which can accurately detect a relative rotation angle and a relative tilt angle of the dual camera module, and is simple to implement and easy to popularize. Therefore, the technical task to be achieved or the technical problems to be solved by the present invention are never thought or anticipated by those skilled in the art, and therefore the present invention is a new technical solution.
Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 shows a schematic diagram of the relative tilt angles of the telephoto module.
Fig. 2 shows a schematic diagram of the relative rotation angles of the telephoto module.
FIG. 3 is a block diagram showing an example of a hardware configuration of a computing system that may be used to implement an embodiment of the invention.
Fig. 4 shows a flowchart of a detection method of the camcorder unit according to the embodiment of the present invention.
Fig. 5 shows a schematic diagram of a double cross pattern of an embodiment of the invention.
Fig. 6 is a schematic diagram of a dual cross pattern disposed above a dual camera module in parallel according to an embodiment of the present invention.
Fig. 7 shows a schematic diagram of a first inspection image of an embodiment of the present invention.
Fig. 8 shows a schematic diagram of a second inspection image of an embodiment of the present invention.
Fig. 9 shows a schematic diagram of obtaining the relative tilt angle according to the embodiment of the present invention.
Fig. 10 shows a schematic diagram of acquiring the relative rotation angle according to the embodiment of the present invention.
Fig. 11 shows a schematic diagram of a detection apparatus of a camcorder unit according to an embodiment of the present invention.
Detailed Description
Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
< hardware configuration >
Fig. 3 is a block diagram showing a hardware configuration of a computer system 1000 that can implement an embodiment of the present invention.
As shown in fig. 3, computer system 1000 includes a computer 1110. The computer 1110 includes a processing unit 1120, a system memory 1130, a fixed non-volatile memory interface 1140, a mobile non-volatile memory interface 1150, a user input interface 1160, a network interface 1170, a video interface 1190, and an output peripheral interface 1195, which are connected via a system bus 1121.
The system memory 1130 includes a ROM (read only memory) and a RAM (random access memory). The BIOS (basic input output System) resides in ROM. The operating system, application programs, other program modules, and certain program data reside in RAM.
Fixed non-volatile memory, such as a hard disk, is connected to fixed non-volatile memory interface 1140. The fixed, non-volatile memory may store, for example, an operating system, application programs, other program modules, and certain program data.
Removable nonvolatile memory, such as a floppy disk drive and a CD-ROM drive, is connected to the removable nonvolatile memory interface 1150. For example, a floppy disk may be inserted into a floppy disk drive, and a CD (compact disc) may be inserted into a CD-ROM drive.
Input devices such as a mouse and keyboard are connected to the user input interface 1160.
The computer 1110 may be connected to a remote computer 1180 through a network interface 1170. For example, network interface 1170 may connect to a remote computer through a local network. Alternatively, the network interface 1170 may connect to a modem (modulator-demodulator), and the modem connects to the remote computer 1180 via a wide area network.
The remote computer 1180 may include memory, such as a hard disk, that may store remote application programs.
Video interface 1190 connects to a monitor.
Output peripheral interface 1195 is connected to a printer and speakers.
The computer system shown in FIG. 3 is illustrative only and is not intended to suggest any limitation as to the invention, its application, or use. In an embodiment of the present invention, the system memory 1130 of the computer 1110 is configured to store instructions, where the instructions are configured to control the processing unit 1120 to perform an operation to execute a method for loading a web page or a method for generating a web page according to an embodiment of the present invention. Those skilled in the art will appreciate that while a number of devices are illustrated in FIG. 3 for computer 1110, the present invention may relate to only a portion of the devices, e.g., computer 1110 may relate to only system memory 1130 and processing unit 1120. The skilled person can design the instructions according to the disclosed solution. How the instructions control the operation of the processor is well known in the art and will not be described in detail herein.
< example >
The present embodiment provides a method for detecting a dual camera module, which is applied to a dual camera module including a first camera unit and a second camera unit, as shown in fig. 4, and includes:
step S2100, after the first camera unit and the second camera unit are set according to the calibration positions, triggering the dual camera module to shoot a dual cross pattern arranged in parallel above the dual camera module, so as to obtain a first detection image shot by the first camera unit and a second detection image shot by the second camera unit.
In the manufacturing or using process of the double-camera module, the calibration positions of the first camera unit and the second camera unit are usually calibrated by referring to a calibration object or a calibration tool, so that the first camera unit and the second camera unit are arranged according to the calibration positions, the distance between the first camera unit and the second camera unit is in accordance with the preset distance between the camera units of the double-camera module, and the influence on the photographic imaging quality is avoided. The predetermined spacing of the camera units of the dual camera module is generally set according to the desired performance index of the dual camera module.
In this embodiment, after the first camera unit and the second camera unit are set according to the calibration positions, the dual camera module is triggered to shoot the dual cross pattern arranged above the dual camera module in parallel. The double-cross pattern comprises a first cross pattern and a second cross pattern, wherein the distance between centers of the two crosses is in accordance with the preset distance between the camera units of the double-camera module, as shown in fig. 5, the preset distance between the camera units of the double-camera module is D, and the distance between centers of the first cross pattern and the second cross pattern of the double-cross pattern is also D.
When the double cross patterns are arranged above the double camera module in parallel, the cross center of the first cross pattern vertically corresponds to the position of the first camera unit, and the cross center of the second cross pattern vertically corresponds to the position of the second camera unit, as shown in fig. 6. Therefore, the center of the image of the first detection image captured by the first imaging unit is the center of the first cross pattern, as shown in fig. 7, and the center of the image of the second detection image captured by the second imaging unit is the center of the second cross pattern, as shown in fig. 8. Generally, the imaging sizes of the first and second imaging units included in the dual camera module are the same, for example, as shown in fig. 7 and 8, the horizontal sizes and the vertical sizes of the first and second detection images are both X and Y.
In this embodiment, the size of the double cross pattern may be only required to satisfy that both the first cross pattern and the second cross pattern can be captured and imaged by the first image capturing unit and the second image capturing unit and in the same image, and it is not limited that the size of the double cross pattern is necessarily the same as the imaging size of the image capturing unit, so that a frame of the double cross pattern may be displayed in the corresponding captured detection image, for example, fig. 7 shows that a frame of the double cross pattern is also displayed in the first detection image, and fig. 8 shows that a frame of the double cross pattern is also displayed in the second detection image.
After the first detection image and the second detection image are obtained in step S2100, step S2200 is performed to obtain detection parameters according to the first detection image and the second detection image, so as to obtain a detection result of the dual camera module, where the detection result at least includes a relative rotation angle and a relative inclination angle between the first camera unit and the second camera unit.
In a specific example, the detecting parameters at least include a lateral offset and a longitudinal offset, the relative tilt angles include a relative lateral tilt angle and a relative longitudinal tilt angle, and the step of obtaining the detecting parameters according to the first detecting image and the second detecting image at least includes: registering the first detection image with the second detection image to obtain the lateral shift and/or the longitudinal shift.
More specifically, as shown in fig. 9, the first detection image and the second detection image have a deviation, the transverse center lines of the two detection images are respectively the imaging transverse lines of the corresponding double cross pattern, the first detection image and the second detection image are superposed, and the transverse deviation x and the longitudinal deviation y can be measured and acquired.
Further, the relative transverse inclination angle can be calculated and obtained according to the transverse size of the double-cross pattern, the height of the double-cross pattern arranged above the double-camera module in parallel, the transverse size of an image formed by a single camera unit of the double-camera module and the transverse offset; and/or calculating and acquiring the relative longitudinal inclination angle according to the longitudinal size of the double-cross pattern, the height of the double-cross pattern arranged above the double-camera module in parallel, the longitudinal size of an image formed by a single camera unit of the double-camera module and the longitudinal offset.
For example, as shown in fig. 6, the transverse dimension of the double cross pattern is B, the longitudinal dimension is a, the height above the double camera module is H, the transverse dimension of the image formed by the single image capturing unit of the double camera module is X, and the longitudinal dimension is Y (as shown in fig. 7 or 8), the transverse offset X and/or the longitudinal offset Y are measured and obtained as shown in fig. 9, and the relative transverse inclination angle U1 and/or the relative longitudinal inclination angle U2 can be calculated according to the following formula.
U1 ═ arctan (((X/X) × B)/H) (equation 1)
U2 ═ arctan (((Y/Y) × a)/H) (equation 2).
In another specific example, the detection parameters at least include a transverse rotation distance and a longitudinal rotation distance, and the step of acquiring the detection parameters according to the first detection image and the second detection image at least includes: and overlapping the first detection image and the second detection image according to the image center to acquire the transverse rotation distance and the longitudinal rotation distance.
More specifically, as shown in fig. 10, the first detection image is offset from the second detection image, the center of the first detection image is the center of the cross imaged by the first cross pattern, the center of the second detection image is the center of the cross imaged by the second cross pattern, and the first detection image and the second detection image are overlapped according to the image centers, and the first detection image can measure and acquire the transverse rotation distance L and the longitudinal rotation distance M.
Further, the relative rotation angle may be calculated and obtained according to the transverse rotation distance and the longitudinal rotation distance. Specifically, as shown in fig. 10, the lateral rotation distance L and the longitudinal rotation distance M are measured, and the relative rotation angle U3 can be calculated according to the following formula:
u3 ═ arctan (M/L) (equation 3).
The above description has been made with reference to the drawings and examples to describe the detection method of the dual camera module according to the embodiment of the present invention, and the dual camera module is triggered to shoot the dual cross pattern arranged in parallel above the dual camera module, so as to obtain the first detection image and the second detection image, and further obtain the detection parameters to obtain the relative tilt angle and the relative rotation angle of the dual camera module. For example, the method is applied to the production and manufacturing process of the double-camera module, whether the relative inclination angle and the relative rotation angle of the double-camera module meet the production and manufacturing requirements can be quickly determined, and the yield of factory products is improved.
In this embodiment, a detection apparatus 4000 for a bi-shooting module is further provided, where the bi-shooting module includes a first camera unit and a second camera unit, and as shown in fig. 11, the detection apparatus 4000 for a bi-shooting module includes a detected image obtaining unit 4100, a detected parameter obtaining unit 4200, a relative transverse tilt angle calculating unit 4300, a relative longitudinal tilt angle calculating unit 4400, and a relative rotation angle calculating unit 4500, which are used to implement the detection method for a bi-shooting module provided in this embodiment, and no further description is provided herein.
The detection apparatus 4000 of the double camera module includes:
a detected image obtaining unit 4100, configured to trigger the dual camera module to shoot a dual cross pattern parallel arranged above the dual camera module after the first camera unit and the second camera unit are set according to the calibration positions, so as to obtain a first detected image shot by the first camera unit and a second detected image shot by the second camera unit, where the dual cross pattern includes a first cross pattern and a second cross pattern, and a cross center distance of the first cross pattern corresponds to a predetermined distance between the camera units of the dual camera module;
a detection parameter acquiring unit 4200, configured to acquire a detection parameter according to the first detection image and the second detection image, so as to acquire a detection result of the dual camera module, where the detection result at least includes a relative rotation angle and a relative tilt angle between the first camera unit and the second camera unit.
In a specific example, the detection parameters at least include a lateral offset and a longitudinal offset, and the relative tilt angles include a relative lateral tilt angle and a relative longitudinal tilt angle, and the detection parameter obtaining unit 4200 at least includes:
means for registering the first detection image with the second detection image to obtain the lateral and/or longitudinal offset.
Further, in the above example, the detection apparatus 4000 of the camcorder unit further includes:
a relative transverse inclination angle calculation unit 4300, configured to calculate and obtain the relative transverse inclination angle according to a transverse size of the double cross pattern, a height at which the double cross pattern is disposed above the double camera module in parallel, a transverse size of an image formed by a single camera unit of the double camera module, and the transverse offset; and/or
Relative longitudinal inclination angle computational element 4400 is used for calculating and acquiring the relative longitudinal inclination angle according to the longitudinal size of the double cross patterns, the height of the double camera module above the double camera module in parallel arrangement, the longitudinal size of the single camera unit imaging of the double camera module and the longitudinal offset.
In another specific example, the detection parameters at least include a transverse rotation distance and a longitudinal rotation distance, and the detection parameter obtaining unit 4200 at least includes:
means for overlapping the first detection image and the second detection image according to an image center to acquire the lateral rotation distance and the longitudinal rotation distance.
Further, in the above example, the detection apparatus 4000 of the camcorder unit further includes:
a relative rotation angle calculating unit 4500, configured to calculate and acquire the relative rotation angle according to the transverse rotation distance and the longitudinal rotation distance.
The embodiments of the present invention have been described above with reference to the drawings, and according to the embodiments, the dual camera module is triggered to shoot the dual cross pattern arranged in parallel above the dual camera module, so as to obtain the first detection image and the second detection image, and further obtain the detection parameters to obtain the dual camera module. And then acquire the relative inclination and the relative rotation angle of detection parameter in order to acquire two camera module groups, it is simple to implement, and the testing result is accurate, easily promotes. For example, the method is applied to the production and manufacturing process of the double-camera module, whether the relative inclination angle and the relative rotation angle of the double-camera module meet the production and manufacturing requirements can be quickly determined, and the yield of factory products is improved.
It will be appreciated by those skilled in the art that the detection apparatus 4000 of the camcorder can be implemented in various ways. For example, the detection apparatus 4000 of the camcorder unit can be realized by an instruction configuration processor. For example, the detection apparatus 4000 of the camcorder unit may be implemented by storing instructions in a ROM and reading the instructions from the ROM into a programmable device when the apparatus is started. For example, the detection apparatus 4000 of the camcorder can be incorporated into a dedicated device (e.g., ASIC). The detection apparatus 4000 of the camcorder unit may be divided into units independent of each other, or they may be implemented by being combined together. The detection apparatus 4000 of the camcorder can be implemented by one of the various implementations described above, or can be implemented by a combination of two or more of the various implementations described above.
It is well known to those skilled in the art that with the development of electronic information technology such as large scale integrated circuit technology and the trend of software hardware, it has been difficult to clearly divide the software and hardware boundaries of a computer system. As any of the operations may be implemented in software or hardware. Execution of any of the instructions may be performed by hardware, as well as by software. Whether a hardware implementation or a software implementation is employed for a certain machine function depends on non-technical factors such as price, speed, reliability, storage capacity, change period, and the like. Accordingly, it will be apparent to those skilled in the art of electronic information technology that a more direct and clear description of one embodiment is provided by describing the various operations within the embodiment. Knowing the operations to be performed, the skilled person can directly design the desired product based on considerations of said non-technical factors.
The present invention may be a system, method and/or computer program product. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied therewith for causing a processor to implement various aspects of the present invention.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present invention may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present invention are implemented by personalizing an electronic circuit, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA), with state information of computer-readable program instructions, which can execute the computer-readable program instructions.
Aspects of the present invention are described herein 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 block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, 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/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, by software, and by a combination of software and hardware are equivalent.
Having described embodiments of the present invention, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the invention is defined by the appended claims.

Claims (10)

1. A detection method of a double-shot module is characterized in that the double-shot module comprises a first camera unit and a second camera unit, and the detection method comprises the following steps:
after the first camera unit and the second camera unit are arranged according to the calibration positions, triggering the double-camera module to shoot double-cross patterns which are arranged above the double-camera module in parallel so as to obtain a first detection image shot by the first camera unit and a second detection image shot by the second camera unit, wherein the double-cross patterns comprise a first cross pattern and a second cross pattern, the cross center distance of the first cross pattern is in accordance with the preset interval of the camera units of the double-camera module, when the double-cross patterns are arranged above the double-camera module in parallel, the cross center of the first cross pattern vertically corresponds to the position of the first camera unit, and the cross center of the second cross pattern vertically corresponds to the position of the second camera unit;
acquiring detection parameters according to the first detection image and the second detection image so as to acquire a detection result of the double-camera module; the detection parameters at least comprise a transverse offset and a longitudinal offset, or the detection parameters at least comprise a transverse rotation distance and a longitudinal rotation distance; the detection result at least comprises a relative rotation angle and a relative inclination angle between the first camera shooting unit and the second camera shooting unit.
2. The method for detecting the telephoto module according to claim 1, wherein the detection parameters at least include a lateral shift and a longitudinal shift, and the relative tilt angles include a relative lateral tilt angle and a relative longitudinal tilt angle, and the step of obtaining the detection parameters according to the first detection image and the second detection image at least includes:
registering the first detection image with the second detection image to obtain the lateral shift and/or the longitudinal shift.
3. The method for detecting a telephoto module according to claim 2, further comprising:
calculating and obtaining the relative transverse inclination angle according to the transverse size of the double-cross pattern, the height of the double-cross pattern arranged above the double-camera module in parallel, the transverse size of an image formed by a single camera unit of the double-camera module and the transverse offset; and/or
And calculating and acquiring the relative longitudinal inclination angle according to the longitudinal size of the double cross patterns, the height of the double cross patterns arranged above the double camera module in parallel, the longitudinal size of the image formed by a single camera unit of the double camera module and the longitudinal offset.
4. The method for detecting the bi-camera module according to claim 1, wherein the detection parameters at least include a transverse rotation distance and a longitudinal rotation distance, and the step of obtaining the detection parameters according to the first detection image and the second detection image at least includes:
and overlapping the first detection image and the second detection image according to the image center to acquire the transverse rotation distance and the longitudinal rotation distance.
5. The method for detecting a telephoto module according to claim 4, further comprising:
and calculating and obtaining the relative rotation angle according to the transverse rotation distance and the longitudinal rotation distance.
6. The utility model provides a check out test set of two camera modules, its characterized in that, two camera modules include first camera unit and second camera unit, check out test set includes:
the detection image acquisition unit is used for triggering the double-camera module to shoot double cross patterns parallelly arranged above the double-camera module after the first camera unit and the second camera unit are arranged according to the calibration positions so as to acquire a first detection image shot by the first camera unit and a second detection image shot by the second camera unit, wherein the double cross patterns comprise a first cross pattern and a second cross pattern, the cross center distance of the first cross pattern accords with the preset interval of the camera units of the double-camera module, when the double cross patterns are arranged above the double-camera module in parallel, the cross center of the first cross pattern vertically corresponds to the position of the first camera unit, and the cross center of the second cross pattern vertically corresponds to the position of the second camera unit;
the detection parameter acquisition unit is used for acquiring detection parameters according to the first detection image and the second detection image so as to acquire a detection result of the double-camera module; the detection parameters at least comprise a transverse offset and a longitudinal offset, or the detection parameters at least comprise a transverse rotation distance and a longitudinal rotation distance; the detection result at least comprises a relative rotation angle and a relative inclination angle between the first camera shooting unit and the second camera shooting unit.
7. The apparatus according to claim 6, wherein the detection parameters include at least a lateral shift and a longitudinal shift, and the relative tilt angles include a relative lateral tilt angle and a relative longitudinal tilt angle, and the detection parameter acquisition unit includes at least:
means for registering the first detection image with the second detection image to obtain the lateral and/or longitudinal offset.
8. The apparatus for detecting a telephoto module according to claim 7, further comprising:
the relative transverse inclination angle calculation unit is used for calculating and obtaining the relative transverse inclination angle according to the transverse size of the double-cross pattern, the height of the double-cross pattern arranged above the double-camera module in parallel, the transverse size of an image formed by a single camera unit of the double-camera module and the transverse offset; and/or
And the relative longitudinal inclination angle calculation unit is used for calculating and acquiring the relative longitudinal inclination angle according to the longitudinal size of the double cross patterns, the height of the double cross patterns arranged above the double camera module in parallel, the longitudinal size of the image formed by a single camera unit of the double camera module and the longitudinal deviation.
9. The apparatus for detecting a telephoto module according to claim 6, wherein the detection parameters include at least a transverse rotation distance and a longitudinal rotation distance, and the detection parameter acquiring unit includes at least:
means for overlapping the first detection image and the second detection image according to an image center to acquire the lateral rotation distance and the longitudinal rotation distance.
10. The apparatus for detecting a telephoto module according to claim 9, further comprising:
and the relative rotation angle calculation unit is used for calculating and acquiring the relative rotation angle according to the transverse rotation distance and the longitudinal rotation distance.
CN201611247234.1A 2016-12-29 2016-12-29 Detection method and equipment of double-camera module Active CN106846401B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611247234.1A CN106846401B (en) 2016-12-29 2016-12-29 Detection method and equipment of double-camera module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611247234.1A CN106846401B (en) 2016-12-29 2016-12-29 Detection method and equipment of double-camera module

Publications (2)

Publication Number Publication Date
CN106846401A CN106846401A (en) 2017-06-13
CN106846401B true CN106846401B (en) 2020-01-14

Family

ID=59115197

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611247234.1A Active CN106846401B (en) 2016-12-29 2016-12-29 Detection method and equipment of double-camera module

Country Status (1)

Country Link
CN (1) CN106846401B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109916328B (en) * 2017-12-13 2020-10-02 山东大学 V-shaped groove calibration plate and method for double-CCD laser measurement

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010109415A (en) * 2008-10-28 2010-05-13 Hitachi Maxell Ltd Imaging apparatus and image processing method
CN102422216A (en) * 2009-05-15 2012-04-18 株式会社尼康 Distance measuring device and image pickup device
CN105736538A (en) * 2016-05-04 2016-07-06 昆山丘钛微电子科技有限公司 Integrated automatic assembly machine stand for double-camera module
CN105847662A (en) * 2015-06-19 2016-08-10 维沃移动通信有限公司 Moving object shooting method based on mobile terminal, and mobile terminal
CN106254863A (en) * 2016-10-20 2016-12-21 广东弘景光电科技股份有限公司 Double camera module aided alignment apparatus and the calibration steps taking the photograph module of panorama

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010109415A (en) * 2008-10-28 2010-05-13 Hitachi Maxell Ltd Imaging apparatus and image processing method
CN102422216A (en) * 2009-05-15 2012-04-18 株式会社尼康 Distance measuring device and image pickup device
CN105847662A (en) * 2015-06-19 2016-08-10 维沃移动通信有限公司 Moving object shooting method based on mobile terminal, and mobile terminal
CN105736538A (en) * 2016-05-04 2016-07-06 昆山丘钛微电子科技有限公司 Integrated automatic assembly machine stand for double-camera module
CN106254863A (en) * 2016-10-20 2016-12-21 广东弘景光电科技股份有限公司 Double camera module aided alignment apparatus and the calibration steps taking the photograph module of panorama

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于双目视觉测距技术的导弹筒箱精确对接方法;刘涛;《计算机测量与控制》;20161225;第113-115页 *

Also Published As

Publication number Publication date
CN106846401A (en) 2017-06-13

Similar Documents

Publication Publication Date Title
CN106352804B (en) Method for moving a sizing device using dynamic precision compatible with the NIST standard
CN113418543B (en) Automatic driving sensor detection method and device, electronic equipment and storage medium
TWI528028B (en) Inspection apparatus, method, and computer program product for machine vision inspection
CN104428624A (en) Three-dimensional measurement method, apparatus, and system, and image processing device
CN107409206A (en) Real time calibration for polyphaser wireless device
CN104111059A (en) Distance measuring and locating device and method and terminal
KR101592798B1 (en) Resolving homography decomposition ambiguity based on orientation sensors
US20180180459A1 (en) Distance calculation method, flow volume measuring method, distance calculation apparatus, and flow volume measuring apparatus
JP2011182397A (en) Method and apparatus for calculating shift length
US10129504B2 (en) Method and system for measuring quality of video call
EP3499184B1 (en) Measurement method and apparatus
CN110460827B (en) Method and device for determining working state of galvanometer and computer storage medium
CN108235777B (en) Calibration method and device of ADAS camera, storage medium and terminal equipment
CN105203302A (en) Resolution detecting method and resolution detecting device
CN106643518A (en) Methods and apparatuses for measuring distance and size by using binocular image pickup device
JP2018173277A (en) Information processing equipment, information processing method, and, program
US20140320638A1 (en) Electronic device and method for detecting surface flaw of sample
CN106846401B (en) Detection method and equipment of double-camera module
US9449234B2 (en) Displaying relative motion of objects in an image
JP2014138332A (en) Image processing system and program
US9847011B2 (en) Warning system for sub-optimal sensor settings
CN107657663B (en) Method and device for displaying information
CN113790874A (en) Lens test system
CN109658384B (en) Screen test positioning control method, device and system
JP5760558B2 (en) Camera simulation apparatus, camera simulation method, and camera simulation program

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