CN115103181A - Anti-shake detection method and device - Google Patents

Anti-shake detection method and device Download PDF

Info

Publication number
CN115103181A
CN115103181A CN202210889412.XA CN202210889412A CN115103181A CN 115103181 A CN115103181 A CN 115103181A CN 202210889412 A CN202210889412 A CN 202210889412A CN 115103181 A CN115103181 A CN 115103181A
Authority
CN
China
Prior art keywords
image
shake
camera module
tested
target object
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210889412.XA
Other languages
Chinese (zh)
Inventor
丁杰
马领
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202210889412.XA priority Critical patent/CN115103181A/en
Publication of CN115103181A publication Critical patent/CN115103181A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/002Diagnosis, testing or measuring for television systems or their details for television cameras

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses an anti-shake detection method and an anti-shake detection device, wherein the method comprises the following steps: when the anti-shake module of the camera module to be tested is closed, shooting a target object in a preset picture plate video to obtain a first image; dithering a target object in the picture video according to preset dithering data; when the anti-shake module is started by the camera module to be tested, shake data are received, a target object in picture board video shooting is shot, and a second image is obtained; obtaining the compression ratio of the camera module to be tested based on the first image and the second image; the compression ratio is used for verifying the anti-shake performance of the camera module to be tested. The method can reduce the anti-shake test cost of the camera module and has higher reliability.

Description

Anti-shake detection method and device
Technical Field
The invention relates to the technical field of cameras, in particular to an anti-shake detection method and device.
Background
At present, camera modules of mobile phones are provided with an OIS (Optical Image Stabilizer) anti-shake module, and before the camera modules are assembled to other electronic devices such as a mobile phone, the OIS anti-shake module of the camera modules needs to be detected to ensure that the OIS anti-shake module operates normally. In a traditional detection mode, the camera module is required to be installed on a vibration table with a gyroscope, the vibration table is used for simulating a vibration environment, and the OIS anti-shake module drives a Voice Coil Motor (VCM) to perform corresponding compensation through the gyroscope for testing the rotation angle, so that the anti-shake test of the camera module is realized. However, the shaking table is adopted to simulate the shaking environment, so that the problems of high cost and low consistency exist; in addition, there is a method that needs no vibration table in the prior art, for example, a vibration curve generated by a standard vibration table is directly input to an OIS anti-shake module of a camera module, but this method cannot adopt a traditional compression ratio definition method, and reliability of the result is still to be examined.
Therefore, the anti-shake test of the camera module in the prior art has the problems of high cost and low reliability.
Disclosure of Invention
In view of the above problems, the present invention provides an anti-shake detection method and apparatus, which can reduce the anti-shake testing cost of the camera module and have high reliability.
In a first aspect, the present application provides the following technical solutions through an embodiment:
an anti-shake detection method comprising:
when the anti-shake module of the camera module to be tested is closed, shooting a target object in the picture plate video shooting to obtain a first image; dithering the target object in the picture board video according to preset dithering data; when the anti-shake module of the camera module to be tested is started, receiving the shake data, and shooting a target object in the picture board video shooting to obtain a second image; obtaining the compression ratio of the camera module to be tested based on the first image and the second image; the compression ratio is used for verifying the anti-shake performance of the camera module to be tested.
Optionally, the target object is a test chart board; the target object obtaining mode comprises the following steps:
dithering a preset test chart according to the dithering data; and recording the jittered test chart to obtain a chart video.
Optionally, the test chart board is a cross chart or a dot chart.
Optionally, when the module of making a video recording that awaits measuring opens anti-shake module, receive the shake data to shoot the target object in the picture board video shooting obtains the second image, include:
starting an anti-shake function of the camera module to be tested, and outputting shake data generated by simulating of a preset processor to the camera module to be tested; the jitter data is angle data; and after receiving the angle data, controlling the camera module to be tested to shoot the target object to obtain the second image.
Optionally, the obtaining the compression ratio of the to-be-measured camera module based on the first image and the second image includes:
determining a first shadow width corresponding to the first image and a second shadow width corresponding to the second image; the first shadow width is the width of a transition region between an identification mark in the first image and an image background; the second shadow width is the width of a transition region between an identification mark in the second image and an image background; obtaining the compression ratio based on the first shadow width and the second shadow width.
In a second aspect, based on the same inventive concept, the present application provides the following technical solutions through an embodiment:
an anti-shake detection apparatus comprising:
the first image acquisition module is used for shooting a target object in a preset picture plate video to obtain a first image when the anti-shake module of the camera module to be tested is closed; dithering the target object in the picture board video according to preset dithering data; the second image acquisition module is used for receiving the jitter data when the anti-jitter module of the camera module to be tested is started, shooting a target object in the picture board video shooting and acquiring a second image; the compression ratio obtaining module is used for obtaining the compression ratio of the camera module to be tested based on the first image and the second image; the compression ratio is used for verifying the anti-shake performance of the camera module to be tested.
Optionally, the target object is a test chart board; the apparatus further comprises a target object acquisition module configured to:
dithering a preset test chart according to the dithering data; and recording the jittered test chart to obtain a chart video.
Optionally, the second image obtaining module is specifically configured to:
starting an anti-shake function of the camera module to be tested, and outputting shake data generated by simulating a preset processor to the camera module to be tested; the jitter data is angle data; and after receiving the angle data, controlling the camera module to be tested to shoot the target object to obtain the second image.
In a third aspect, based on the same inventive concept, the present application provides the following technical solutions through an embodiment:
an electronic device comprising a processor and a memory coupled to the processor, the memory storing instructions that, when executed by the processor, cause the electronic device to perform the steps of:
when the anti-shake module of the camera module to be tested is closed, shooting a target object in a preset picture plate video to obtain a first image; dithering the target object in the picture board video according to preset dithering data; when the anti-shake module of the camera module to be tested is started, receiving the shake data, and shooting a target object in the picture board video shooting to obtain a second image; obtaining the compression ratio of the camera module to be tested based on the first image and the second image; the compression ratio is used for verifying the anti-shake performance of the camera module to be tested.
In a fourth aspect, based on the same inventive concept, the present application provides the following technical solutions through an embodiment:
a readable storage medium on which a computer program is stored which, when executed by a processor, performs the steps of:
when the anti-shake module of the camera module to be tested is closed, shooting a target object in a preset picture plate video to obtain a first image; dithering the target object in the picture board video according to preset dithering data; when the anti-shake module of the camera module to be tested is started, receiving the shake data, and shooting a target object in the picture board video shooting to obtain a second image; obtaining the compression ratio of the camera module to be tested based on the first image and the second image; the compression ratio is used for verifying the anti-shake performance of the camera module to be tested.
According to the anti-shake detection method and device provided by the embodiment of the invention, when the anti-shake module is closed by the camera module to be detected, the target object in the preset picture board video is shot to obtain the first image, and the target object is a shake image in the preset picture board video according to the preset shake data; when the anti-shake module is started by the camera module to be tested, shake data are received, a target object in picture board video shooting is shot, and a second image is obtained; based on the first image and the second image, obtaining a compression ratio of the camera module to be tested, wherein the compression ratio is used for verifying the anti-shake performance of the camera module to be tested. In the whole method execution process, the first image and the second image are collected based on the jitter data, and a vibration source is not required to be provided for the camera module to be detected by the vibration table. Therefore, for the camera module with the same anti-shake requirement, the control shake data is not changed, the shaking table is not required to be tested and calibrated, the hardware cost and the time cost are greatly reduced, and the detection efficiency is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below 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. In the drawings:
FIG. 1 is a flow chart of an anti-shake detection method according to an embodiment of the present invention;
FIG. 2 shows a schematic view of a first image obtained in an embodiment of the invention;
FIG. 3 shows a schematic view of a second image obtained in an embodiment of the invention;
FIG. 4 shows a schematic diagram of a reference image obtained in an embodiment of the present invention;
fig. 5 shows a schematic structural diagram of an anti-shake detection apparatus in an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The embodiment of the invention provides an anti-shake detection method which can be used for detecting the anti-shake performance of an OIS anti-shake module of a camera module, does not need to use a shaking table to provide a shaking environment for the camera module in the detection process, can ensure higher detection consistency and has low cost. The method of the embodiments of the present invention will be illustrated and described in detail below by specific examples.
Referring to fig. 1, in an embodiment of the present invention, an anti-shake detection method is provided, including:
step S10: when the anti-shake module of the camera module to be tested is closed, shooting a target object in a preset picture plate video to obtain a first image; dithering the target object in the picture board video according to preset dithering data;
step S20: when the anti-shake module of the camera module to be tested is started, receiving the shake data, and shooting a target object in the picture board video shooting to obtain a second image;
step S30: obtaining the compression ratio of the camera module to be tested based on the first image and the second image; the compression ratio is used for verifying the anti-shake performance of the camera module to be tested.
In the present embodiment, in steps S10-S30, the first image is acquired by acquiring the camera module to be tested when the anti-shake module is turned off (i.e., the OIS module is turned off), and the first image is acquired by acquiring a shake-acquired target object. Because the anti-shake function of the camera module to be tested is closed at this time, the first image at this time can be acquired by collecting the static target object when the camera module to be tested shakes according to the shake data. At the moment, the vibration source provided by the vibration table for the camera module to be tested is avoided. Then, starting the anti-shake function of the camera module to be tested, and directly inputting shake data to the camera module to be tested, wherein the camera module to be tested is equivalent to obtain shake data collected by a gyroscope; at the moment, the driving chip of the camera module to be detected recognizes that the camera module to be detected is in a shaking state according with shaking data, and anti-shaking compensation is carried out on the current shaking state; therefore, at this time, it is equivalent to that the camera module to be tested acquires the jittered target object to obtain the second image when the anti-shake compensation is started in the jittering state. Therefore, the state that the camera module shoots a static target object in a shaking state and when the anti-shaking module is started is simulated, and the use of a shaking table is also avoided. And finally, based on the first image and the second image, the compression ratio of the camera module to be detected can be determined, so that the anti-shake performance detection of the camera module to be detected is realized. A specific possible implementation of each step of the method is described below.
Step S10: when the anti-shake module of the camera module to be tested is closed, shooting a target object in a preset picture plate video to obtain a first image; and the target object in the picture plate video shakes according to preset shaking data.
In step S10, the camera module to be measured includes an OIS module, and the anti-shake module is turned off, that is, the OIS module is turned off. The jitter angle corresponding to the jitter data meets the test condition for testing the camera module to be tested, namely the jitter angle corresponding to the jitter data is the same as the jitter angle when the standard shaking table is adopted to test the camera module to be tested.
In this embodiment, the target object is a test chart played by using a preset chart video, and is referred to as a chart in the technical field; for example, the chart board may be fixed to a vibration source for vibration, and the recording tool may be used to record the test chart board to obtain the chart board video. Then, the picture board video is photographed and collected to obtain a first image, as shown in fig. 2. The method comprises the following specific steps:
firstly, a preset test chart is dithered according to dithering data. For example, the test chart board may be fixed on a vibration table after standard verification, and then the vibration table is controlled to vibrate according to a vibration angle curve corresponding to the vibration data. Then, recording a test chart under a jitter state to obtain a chart video; the picture video may be a target object. During recording, high frame rate recording can be adopted to realize better simulation effect; e.g., 120 frames, 175 frames, 240 frames, etc. The mode only needs to use the shaking table once and only needs to calibrate the shaking table once at most for the camera module under the same type of test condition. The obtained picture plate video can be used as a target object repeatedly, so that the hardware cost and the time cost are greatly reduced, and the detection efficiency is improved.
The adopted test chart board can be a cross chart or a circular point chart, and the line width or the shadow width in the obtained first image and the second image can be ensured to be accurately determined. In this embodiment, a cross-shaped drawing is used as an example for description. In addition, other test pattern boards with identification mark patterns can be used without limitation. When the camera module to be tested which does not start the anti-shake module shoots the identification mark in the shake state, a first image with the identification mark shadow can be obtained.
Step S20: and when the anti-shake module of the camera module to be tested is started, receiving the shake data, shooting the target object in the picture board video shooting, and obtaining a second image.
In step S20, a preset processor may be used to simulate the generation of the shaking data and output the shaking data to the camera module to be tested. Specifically, the anti-shake function of the camera module to be tested is started, and shake data generated by simulating of the preset processor is output to the camera module to be tested. For example, a Micro Controller Unit (MCU) may be used to simulate and generate the jitter data according to a preset program, where the jitter data may be output as the angle data obtained by integrating operation
Figure BDA0003766915410000061
Can guarantee like this that the driver chip of the module of making a video recording that awaits measuring can read discernment, need not to carry out secondary calculation, improve efficiency of software testing and degree of accuracy. And then, after receiving the angle data, controlling the camera module to be tested to shoot the target object to obtain a second image. At this time, the camera module to be tested receives the shake data, recognizes the state of the camera module to be tested as a shake state, and the anti-shake module performs shake compensation on the target object based on the shake data, so as to obtain a second image after the shake compensation, as shown in fig. 3.
Step S30: obtaining the compression ratio of the camera module to be tested based on the first image and the second image; the compression ratio is used for verifying the anti-shake performance of the camera module to be tested.
One implementation in step S30 may be as follows: determining a first shadow width corresponding to the first image and a second shadow width corresponding to the second image; the first shadow width is the width of a transition region between the identification mark in the first image and the image background; the second shadow width is the width of the transition region between the identification mark in the second image and the background of the image. The image background refers to an image area other than the identification mark. Finally, obtaining a compression ratio based on the first shadow width and the second shadow width; specifically, the compression ratio is calculated based on SR1 ═ 20 × 1og10(S1/S2), as shown in fig. 2-3, where SR1 is the compression ratio, S1 is the first shaded width, and S2 is the second shaded width.
In other implementations, it may also be: acquiring a reference image, wherein the reference image is obtained by shooting a static target object by a camera module to be tested; then, a reference shadow width in the reference image is obtained, wherein the reference shadow width is the width of a transition region between the identification mark in the reference image and the image background. Finally, obtaining a compression ratio based on the first shadow width, the second shadow width and the reference; that is, the compression ratio may be calculated based on SR2 ═ 20 × 1og10((S1-S0)/(S2-S0)), as shown in fig. 2-4, where SR2 is the compression ratio, S1 is the first shaded width, S2 is the second shaded width, and S0 is the reference shaded width.
In summary, in the anti-shake detection method provided in this embodiment, a first image acquired by the camera module to be detected when the anti-shake module is turned off is acquired, the first image is acquired for acquiring a target object to be shaken, and the target object is shaken according to preset shaking data; acquiring a second image acquired when the camera module to be tested starts the anti-shake module and receives shake data, wherein the first image is acquired by acquiring a static target object; and obtaining the compression ratio of the camera module to be tested based on the first image and the second image, wherein the compression ratio is used for verifying the anti-shake performance of the camera module to be tested. In the whole method executing process, the first image and the second image are acquired based on the shaking data, and a shaking table is not needed for providing a shaking source for the camera module to be detected. Therefore, for the camera module with the same requirement, the control jitter data is not changed, the vibration table is not required to be tested and calibrated, the hardware cost and the time cost are greatly reduced, and the detection efficiency is improved.
Referring to fig. 5, an anti-shake apparatus 300 is provided in another embodiment of the present invention based on the same inventive concept. The anti-shake detection apparatus 300 includes:
the first image acquisition module is used for shooting a target object in a preset picture plate video to obtain a first image when the anti-shake module of the camera module to be tested is closed; dithering the target object in the picture board video according to preset dithering data; the second image acquisition module is used for receiving the jitter data and shooting a target object in the picture plate video shooting when the anti-jitter module is started by the camera module to be tested to obtain a second image; the compression ratio obtaining module is used for obtaining the compression ratio of the camera module to be tested based on the first image and the second image; and the compression ratio is used for verifying the anti-shake performance of the camera module to be tested.
As an optional implementation, the target object is a test chart board; the apparatus further comprises a target object acquisition module configured to:
dithering a preset test chart according to the dithering data; and recording the jittered test chart to obtain a chart video.
As an optional implementation manner, the second image obtaining module 302 is specifically configured to:
starting an anti-shake function of the camera module to be tested, and outputting shake data generated by simulating of a preset processor to the camera module to be tested; the jitter data is angle data; and after receiving the angle data, controlling the camera module to be tested to shoot the target object to obtain the second image.
As an alternative embodiment, the test chart board is a cross chart or a dot chart.
As an optional implementation manner, the compression ratio obtaining module 303 is specifically configured to:
determining a first shadow width corresponding to the first image and a second shadow width corresponding to the second image; the first shadow width is the width of a transition region between an identification mark in the first image and an image background; the second shadow width is the width of a transition region between an identification mark in the second image and an image background; obtaining the compression ratio based on the first shadow width and the second shadow width.
It should be noted that, the anti-shake detection apparatus 300 provided in the embodiment of the present invention is implemented and produces the same technical effects as the foregoing method embodiment, and for brevity, reference may be made to corresponding contents in the foregoing method embodiment for the parts that are not mentioned in the embodiment of the apparatus.
Based on the same inventive concept, there is also provided in yet another embodiment of the present invention an electronic device comprising a processor and a memory coupled to the processor, the memory storing instructions that, when executed by the processor, cause the electronic device to perform the steps of the method of any of the preceding embodiments. The method can specifically execute the following steps:
when the anti-shake module of the camera module to be tested is closed, shooting a target object in a preset picture plate video to obtain a first image; dithering the target object in the picture board video according to preset dithering data; when the anti-shake module of the camera module to be tested is started, receiving the shake data, and shooting a target object in the picture board video shooting to obtain a second image; obtaining the compression ratio of the camera module to be tested based on the first image and the second image; the compression ratio is used for verifying the anti-shake performance of the camera module to be tested.
It should be noted that, in the electronic device provided in the embodiment of the present invention, when the instructions are executed by the processor, the specific implementation and the resulting technical effect of each step are the same as those in the foregoing method embodiment, and for the sake of brief description, reference may be made to corresponding contents in the foregoing method embodiment where no mention is made in part of the apparatus embodiment.
Based on the same inventive concept, a readable storage medium is also provided in yet another embodiment of the present invention, on which a computer program is stored, which when executed by a processor implements the steps of the method of any of the preceding method embodiments. The method can specifically execute the following steps:
when the anti-shake module of the camera module to be tested is closed, shooting a target object in a preset picture plate video to obtain a first image; dithering the target object in the picture board video according to preset dithering data; when the anti-shake module of the camera module to be tested is started, receiving the shake data, and shooting a target object in the picture board video shooting to obtain a second image; obtaining the compression ratio of the camera module to be tested based on the first image and the second image; the compression ratio is used for verifying the anti-shake performance of the camera module to be tested.
It should be noted that, in the readable storage medium provided by the embodiment of the present invention, when the program is executed by the processor, the specific implementation of each step and the generated technical effect are the same as those of the foregoing method embodiment, and for the sake of brief description, no mention may be made in part of the apparatus embodiment, and reference may be made to the corresponding contents in the foregoing method embodiment.
The term "and/or" appearing herein is merely one type of associative relationship that describes an associated object, meaning that three 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 associated objects are in an "or" relationship; the word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
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. An anti-shake detection method, comprising:
when the anti-shake module of the camera module to be tested is closed, shooting a target object in a preset picture plate video to obtain a first image; dithering the target object in the picture board video according to preset dithering data;
when the anti-shake module of the camera module to be tested is started, receiving the shake data, and shooting a target object in the picture board video shooting to obtain a second image;
obtaining the compression ratio of the camera module to be tested based on the first image and the second image; the compression ratio is used for verifying the anti-shake performance of the camera module to be tested.
2. The method of claim 1, wherein the target object is a test chart; the target object obtaining mode comprises the following steps:
dithering a preset test chart according to the dithering data;
and recording the jittered test chart to obtain a chart video.
3. The method of claim 2, wherein the test chart board is a cross chart or a dot chart.
4. The method according to claim 1, wherein the receiving the shake data and shooting the target object in the picture frame video shooting to obtain the second image when the camera module to be tested starts the anti-shake module comprises:
starting an anti-shake function of the camera module to be tested, and outputting shake data generated by simulating a preset processor to the camera module to be tested; the jitter data is angle data;
and after receiving the angle data, controlling the camera module to be tested to shoot the target object to obtain the second image.
5. The method according to claim 1, wherein the obtaining the compression ratio of the camera module under test based on the first image and the second image comprises:
determining a first shadow width corresponding to the first image and a second shadow width corresponding to the second image; the first shadow width is the width of a transition region between an identification mark in the first image and an image background; the second shadow width is the width of a transition region between the identification mark in the second image and the image background;
obtaining the compression ratio based on the first shadow width and the second shadow width.
6. An anti-shake detection apparatus, comprising:
the first image acquisition module is used for shooting a target object in a preset picture plate video to obtain a first image when the anti-shake module of the camera module to be tested is closed; dithering the target object in the picture board video according to preset dithering data;
the second image acquisition module is used for receiving the jitter data when the anti-jitter module of the camera module to be tested is started, shooting a target object in the picture board video shooting and acquiring a second image;
the compression ratio obtaining module is used for obtaining the compression ratio of the camera module to be tested based on the first image and the second image; the compression ratio is used for verifying the anti-shake performance of the camera module to be tested.
7. The apparatus of claim 6, wherein the target object is a test chart; the apparatus further comprises a target object acquisition module configured to:
dithering a preset test chart according to the dithering data;
and recording the jittered test chart to obtain a chart video.
8. The apparatus of claim 6, wherein the second image acquisition module is specifically configured to:
starting an anti-shake function of the camera module to be tested, and outputting shake data generated by simulating of a preset processor to the camera module to be tested; the jitter data is angle data;
and after receiving the angle data, controlling the camera module to be tested to shoot the target object to obtain the second image.
9. An electronic device comprising a processor and a memory coupled to the processor, the memory storing instructions that, when executed by the processor, cause the electronic device to perform the steps of:
when the anti-shake module of the camera module to be tested is closed, shooting a target object in a preset picture plate video to obtain a first image; dithering the target object in the picture board video according to preset dithering data;
when the anti-shake module of the camera module to be tested is started, receiving the shake data, and shooting a target object in the picture board video shooting to obtain a second image;
obtaining the compression ratio of the camera module to be tested based on the first image and the second image; the compression ratio is used for verifying the anti-shake performance of the camera module to be tested.
10. A readable storage medium on which a computer program is stored, which program, when executed by a processor, performs the steps of:
when the anti-shake module of the camera module to be tested is closed, shooting a target object in a preset picture plate video to obtain a first image; dithering the target object in the picture board video according to preset dithering data;
when the camera module to be tested opens the anti-shake module, receiving the shake data, and shooting a target object in the picture board video shooting to obtain a second image;
obtaining the compression ratio of the camera module to be tested based on the first image and the second image; and the compression ratio is used for verifying the anti-shake performance of the camera module to be tested.
CN202210889412.XA 2022-07-27 2022-07-27 Anti-shake detection method and device Pending CN115103181A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210889412.XA CN115103181A (en) 2022-07-27 2022-07-27 Anti-shake detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210889412.XA CN115103181A (en) 2022-07-27 2022-07-27 Anti-shake detection method and device

Publications (1)

Publication Number Publication Date
CN115103181A true CN115103181A (en) 2022-09-23

Family

ID=83298373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210889412.XA Pending CN115103181A (en) 2022-07-27 2022-07-27 Anti-shake detection method and device

Country Status (1)

Country Link
CN (1) CN115103181A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117191357A (en) * 2023-11-02 2023-12-08 南通蓬盛机械有限公司 Performance evaluation method and system of optical lens

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117191357A (en) * 2023-11-02 2023-12-08 南通蓬盛机械有限公司 Performance evaluation method and system of optical lens
CN117191357B (en) * 2023-11-02 2024-04-05 南通蓬盛机械有限公司 Performance evaluation method and system of optical lens

Similar Documents

Publication Publication Date Title
CN112767489B (en) Three-dimensional pose determining method and device, electronic equipment and storage medium
CN107635098B (en) High dynamic range images noise remove method, device and equipment
CN111314607B (en) Optical anti-shake calibration method and device, electronic equipment and medium
CN104067166B (en) Shaking amount detection device, imaging device, and shaking amount detection method
CN105635588B (en) A kind of digital image stabilization method and device
CN104081756B (en) Evaluation method and evaluating apparatus
CN103947185B (en) Assay method and measure device
CN110049246A (en) Video anti-fluttering method, device and the electronic equipment of electronic equipment
CN103947186B (en) Assay method, measure device and camera
CN110062165B (en) Video processing method and device of electronic equipment and electronic equipment
CN106249508A (en) Atomatic focusing method and system, filming apparatus
CN101122544A (en) MTF measuring system, MTF measuring method, MTF measuring unit and MTF measuring program
CN115103181A (en) Anti-shake detection method and device
CN114543797B (en) Pose prediction method and device, equipment and medium
CN111881764A (en) Target detection method and device, electronic equipment and storage medium
CN114339206A (en) Anti-shake detection method and device
CN118037602B (en) Image quality optimization method, device, electronic equipment, medium and program product
CN115209133A (en) Anti-shake test method, device and system, electronic equipment and storage medium
CN113329223B (en) Method and device for testing anti-shake effect, electronic equipment and medium
US9473695B2 (en) Close focus with GPU
CN105847689A (en) Focusing method, focusing device and mobile terminal
CN110266956A (en) Image pickup method, device, electronic equipment and storage medium based on posture information
CN113873233A (en) Lens module detection method and device and electronic equipment
CN113856196B (en) Method and device for determining motion trail of virtual camera and computer equipment
CN105100593B (en) Photographic device and its control method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination