CN115103181A - A kind of anti-shake detection method and device - Google Patents

A kind of 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
tested
camera module
shake
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

一种防抖检测方法及装置A kind of anti-shake detection method and device

技术领域technical field

本发明涉及摄像头技术领域,尤其涉及一种防抖检测方法及装置。The present invention relates to the technical field of cameras, and in particular, to a method and device for anti-shake detection.

背景技术Background technique

目前手机的摄像模组均具有OIS(Optical Image Stabilizer,光学图像稳定器)防抖模块,在摄像模组装配至手机等其他电子设备之前,需要对摄像模组的OIS防抖模块进行检测,以确保OIS防抖模块正常运作。在传统的检测方式中,需要先将摄像模组安装在带有陀螺仪的震动台上,利用震动台模拟震动环境,通过陀螺仪测试转动角度,OIS防抖模块驱动音圈马达(Voice Coil Motor,VCM)进行对应的补偿,从而实现摄像模组的防抖测试。但是,采用震动台模拟抖动环境存在着成本高,并且一致性低的问题;另外,现有技术中有在需求无需震动台的方式,例如将标准震动台产生的震动曲线直接输入给摄像模组的OIS防抖模块,但是该种方式无法采用传统的压缩比定义方式,其结果的可靠性还有待考证。At present, the camera modules of mobile phones are equipped with OIS (Optical Image Stabilizer) anti-shake modules. Before the camera modules are assembled to other electronic devices such as mobile phones, the OIS anti-shake modules of the camera modules need to be detected. Make sure that the OIS anti-shake module is working properly. In the traditional detection method, the camera module needs to be installed on a vibration table with a gyroscope, the vibration table is used to simulate the vibration environment, the rotation angle is tested by the gyroscope, and the OIS anti-shake module drives the voice coil motor (Voice Coil Motor , VCM) to perform corresponding compensation, so as to realize the anti-shake test of the camera module. However, the use of a vibration table to simulate a shaking environment has problems of high cost and low consistency; in addition, there are methods in the prior art that do not require a vibration table, such as directly inputting the vibration curve generated by a standard vibration table to the camera module However, this method cannot adopt the traditional definition method of compression ratio, and the reliability of the result remains to be verified.

因此,目前现有技术对摄像模组的防抖测试存在成本高,可靠性低的问题。Therefore, the current technology has problems of high cost and low reliability for the anti-shake test of the camera module.

发明内容SUMMARY OF THE INVENTION

鉴于上述问题,本发明提出了一种防抖检测方法及装置,可降低摄像模组防抖测试成本,并且有较高可靠性。In view of the above problems, the present invention provides an anti-shake detection method and device, which can reduce the cost of anti-shake testing of a camera module and have high reliability.

第一方面,本申请通过一实施例提供如下技术方案:In the first aspect, the present application provides the following technical solutions through an embodiment:

一种防抖检测方法,包括:An anti-shake detection method, comprising:

在待测摄像模组关闭防抖模块时,拍摄所述图板视频拍摄中的目标对象,获得第一图像;所述图板视频中的所述目标对象按照预设的抖动数据抖动;在所述待测摄像模组开启防抖模块时,接收所述抖动数据,并拍摄所述图板视频拍摄中的目标对象,获得第二图像;基于所述第一图像和所述第二图像,获得所述待测摄像模组的压缩比;所述压缩比用于验证所述待测摄像模组的防抖性能。When the camera module to be tested turns off the anti-shake module, the target object in the video of the drawing board is photographed to obtain a first image; the target object in the video of the drawing board shakes according to preset shaking data; When the camera module to be tested turns on the anti-shake module, it receives the shaking data, and shoots the target object in the video shooting of the drawing board to obtain a second image; based on the first image and the second image, obtain The compression ratio of the camera module to be tested; the compression ratio is used to verify the anti-shake performance of the camera module to be tested.

可选的,所述目标对象为测试图板;所述目标对象的获取方式包括:Optionally, the target object is a test board; the acquisition method of the target object includes:

将预设的测试图板按照所述抖动数据进行抖动;录制所述抖动的测试图板,获得图板视频。Shake the preset test drawing board according to the shaking data; record the shaking test drawing board to obtain a drawing board video.

可选的,所述测试图板为十字图或圆点图。Optionally, the test chart is a cross chart or a dot chart.

可选的,所述在所述待测摄像模组开启防抖模块时,接收所述抖动数据,并拍摄所述图板视频拍摄中的目标对象,获得第二图像,包括:Optionally, when the camera module to be tested turns on the anti-shake module, the shaking data is received, and the target object in the video shooting of the drawing board is photographed to obtain the second image, including:

开启所述待测摄像模组的防抖功能,并将预设处理器模拟生成的所述抖动数据输出给所述待测摄像模组;所述抖动数据为角度数据;在接收到所述角度数据后,控制所述待测摄像模组对所述目标对象进行拍摄,获得所述第二图像。Turn on the anti-shake function of the camera module to be tested, and output the jitter data simulated and generated by the preset processor to the camera module to be tested; the jitter data is angle data; after receiving the angle After the data is obtained, the camera module to be tested is controlled to photograph the target object to obtain the second image.

可选的,所述基于所述第一图像和所述第二图像,获得所述待测摄像模组的压缩比,包括:Optionally, obtaining the compression ratio of the camera module to be tested based on the first image and the second image includes:

确定所述第一图像对应的第一阴影宽度和所述第二图像对应的第二阴影宽度;所述第一阴影宽度为所述第一图像中的识别标记与图像背景之间的过渡区域的宽度;所述第二阴影宽度为所述第二图像中的识别标记与图像背景之间的过渡区域的宽度;基于所述第一阴影宽度和所述第二阴影宽度,获得所述压缩比。Determine the first shadow width corresponding to the first image and the second shadow width corresponding to the second image; the first shadow width is the width of the transition area between the identification mark in the first image and the image background width; the second shadow width is the width of the transition region between the identification mark in the second image and the image background; the compression ratio is obtained based on the first shadow width and the second shadow width.

第二方面,基于同一发明构思,本申请通过一实施例提供如下技术方案:In the second aspect, based on the same inventive concept, the present application provides the following technical solutions through an embodiment:

一种防抖检测装置,包括:An anti-shake detection device, comprising:

第一图像获取模块,用于在待测摄像模组关闭防抖模块时,拍摄预设的图板视频中的目标对象,获得第一图像;所述图板视频中的所述目标对象按照预设的抖动数据抖动;第二图像获取模块,用于在所述待测摄像模组开启防抖模块时,接收所述抖动数据,并拍摄所述图板视频拍摄中的目标对象,获得第二图像;压缩比获取模块,用于基于所述第一图像和所述第二图像,获得所述待测摄像模组的压缩比;所述压缩比用于验证所述待测摄像模组的防抖性能。The first image acquisition module is configured to shoot the target object in the preset drawing board video when the anti-shake module is turned off by the camera module to be tested, and obtain a first image; the target object in the drawing board video is based on the predetermined The set shaking data shakes; the second image acquisition module is used to receive the shaking data when the camera module to be tested turns on the anti-shaking module, and shoot the target object in the video shooting of the drawing board, and obtain the second image acquisition module. image; a compression ratio acquisition module, used to obtain the compression ratio of the camera module to be tested based on the first image and the second image; the compression ratio is used to verify the protection of the camera module to be tested. jitter performance.

可选的,所述目标对象为测试图板;所述装置还包括目标对象获取模块,用于:Optionally, the target object is a test drawing board; the device further includes a target object acquisition module for:

将预设的测试图板按照所述抖动数据进行抖动;录制所述抖动的测试图板,获得图板视频。Shake the preset test drawing board according to the shaking data; record the shaking test drawing board to obtain a drawing board video.

可选的,所述第二图像获取模块,具体用于:Optionally, the second image acquisition module is specifically used for:

开启所述待测摄像模组的防抖功能,并将预设处理器模拟生成的所述抖动数据输出给所述待测摄像模组;所述抖动数据为角度数据;在接收到所述角度数据后控制所述待测摄像模组对所述目标对象进行拍摄,获得所述第二图像。Turn on the anti-shake function of the camera module to be tested, and output the jitter data simulated and generated by the preset processor to the camera module to be tested; the jitter data is angle data; after receiving the angle After obtaining the data, the camera module to be tested is controlled to photograph the target object to obtain the second image.

第三方面,基于同一发明构思,本申请通过一实施例提供如下技术方案:In the third aspect, based on the same inventive concept, the present application provides the following technical solutions through an embodiment:

一种电子设备,包括处理器和存储器,所述存储器耦接到所述处理器,所述存储器存储指令,当所述指令由所述处理器执行时使所述电子设备执行以下步骤:An electronic device includes 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 following steps:

在待测摄像模组关闭防抖模块时,拍摄预设的图板视频中的目标对象,获得第一图像;所述图板视频中的所述目标对象按照预设的抖动数据抖动;在所述待测摄像模组开启防抖模块时,接收所述抖动数据,并拍摄所述图板视频拍摄中的目标对象,获得第二图像;基于所述第一图像和所述第二图像,获得所述待测摄像模组的压缩比;所述压缩比用于验证所述待测摄像模组的防抖性能。When the camera module to be tested turns off the anti-shake module, the target object in the preset drawing board video is photographed to obtain a first image; the target object in the drawing board video shakes according to the preset shaking data; When the camera module to be tested turns on the anti-shake module, it receives the shaking data, and shoots the target object in the video shooting of the drawing board to obtain a second image; based on the first image and the second image, obtain The compression ratio of the camera module to be tested; the compression ratio is used to verify the anti-shake performance of the camera module to be tested.

第四方面,基于同一发明构思,本申请通过一实施例提供如下技术方案:In the 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, and when the program is executed by a processor, the following steps are implemented:

在待测摄像模组关闭防抖模块时,拍摄预设的图板视频中的目标对象,获得第一图像;所述图板视频中的所述目标对象按照预设的抖动数据抖动;在所述待测摄像模组开启防抖模块时,接收所述抖动数据,并拍摄所述图板视频拍摄中的目标对象,获得第二图像;基于所述第一图像和所述第二图像,获得所述待测摄像模组的压缩比;所述压缩比用于验证所述待测摄像模组的防抖性能。When the camera module to be tested turns off the anti-shake module, the target object in the preset drawing board video is photographed to obtain a first image; the target object in the drawing board video shakes according to the preset shaking data; When the camera module to be tested turns on the anti-shake module, it receives the shaking data, and shoots the target object in the video shooting of the drawing board to obtain a second image; based on the first image and the second image, obtain The compression ratio of the camera module to be tested; the compression ratio is used to verify the anti-shake performance of the camera module to be tested.

本发明实施例提供的一种防抖检测方法及装置,通过在待测摄像模组关闭防抖模块时,拍摄预设的图板视频中的目标对象,获得第一图像,且目标对象为预设的图板视频中按照预设的抖动数据进行抖动图像;在待测摄像模组开启防抖模块时,接收抖动数据,并拍摄图板视频拍摄中的目标对象,获得第二图像;基于第一图像和所述第二图像,获得待测摄像模组的压缩比,压缩比用于验证待测摄像模组的防抖性能。整个方法执行过程中,基于抖动数据来采集第一图像和第二图像,不需要震动台为待测摄像模组提供震动源。因此,针对同一类防抖要求的摄像模组,控制抖动数据不改变即可,无需再对震动台进行测试校准,极大的降低了硬件成本和时间成本,提高检测效率。An anti-shake detection method and device provided by the embodiments of the present invention, when the camera module to be tested turns off the anti-shake module, shooting a target object in a preset picture board video to obtain a first image, and the target object is a predetermined image. Shake the image according to the preset shaking data in the set board video; when the camera module to be tested turns on the anti-shake module, receive the shaking data, and shoot the target object in the board video shooting, and obtain the second image; From the first image and the second image, the compression ratio of the camera module to be tested is obtained, and the compression ratio is used to verify the anti-shake performance of the camera module to be tested. During the execution of the entire method, the first image and the second image are collected based on the shaking data, and a vibration table is not required to provide a vibration source for the camera module to be tested. Therefore, for the same type of camera module with anti-shake requirements, it is enough to control the jitter data without changing, and there is no need to test and calibrate the vibration table, which greatly reduces the hardware cost and time cost, and improves the detection efficiency.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the present invention, in order to be able to understand the technical means of the present invention more clearly, it can be implemented according to the content of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand , the following specific embodiments of the present invention are given.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。在附图中:In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative effort. In the attached image:

图1示出了本发明实施例中的一种防抖检测方法的流程图;1 shows a flowchart of an anti-shake detection method in an embodiment of the present invention;

图2示出了本发明实施例中获得的第一图像的示意图;FIG. 2 shows a schematic diagram of a first image obtained in an embodiment of the present invention;

图3示出了本发明实施例中获得的第二图像的示意图;FIG. 3 shows a schematic diagram of a second image obtained in an embodiment of the present invention;

图4示出了本发明实施例中获得的基准图像的示意图;FIG. 4 shows a schematic diagram of a reference image obtained in an embodiment of the present invention;

图5示出了本发明实施例中的一种防抖检测装置的结构示意图。FIG. 5 shows a schematic structural diagram of an anti-shake detection apparatus in an embodiment of the present invention.

具体实施方式Detailed ways

下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。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 by the embodiments set forth herein. Rather, these embodiments are provided so that the present disclosure will be more thoroughly understood, and will fully convey the scope of the present disclosure to those skilled in the art.

在本发明实施例中提供了一种防抖检测方法,可用于对摄像模组的OIS防抖模块的防抖性能进行检测,在检测过程中不必使用震动台为摄像模组提供震动环境,可保证较高的检测一致性,并且成本低。下面通过具体示例对本发明实施例方法进行详细的阐述和说明。In the embodiment of the present invention, an anti-shake detection method is provided, which can be used to detect the anti-shake performance of the OIS anti-shake module of the camera module. During the detection process, it is not necessary to use a vibration table to provide a vibration environment for the camera module. Guarantees high detection consistency and low cost. The method of the embodiment of the present invention will be described and described in detail below through specific examples.

请参阅图1,在本发明的一实施例中提供了一种防抖检测方法,该方法包括:Referring to FIG. 1, an embodiment of the present invention provides an anti-shake detection method, which includes:

步骤S10:在待测摄像模组关闭防抖模块时,拍摄预设的图板视频中的目标对象,获得第一图像;所述图板视频中的所述目标对象按照预设的抖动数据抖动;Step S10: when the camera module to be tested turns off the anti-shake module, the target object in the preset video of the board is photographed to obtain a first image; the target object in the video of the board is shaken according to the preset shaking data ;

步骤S20:在所述待测摄像模组开启防抖模块时,接收所述抖动数据,并拍摄所述图板视频拍摄中的目标对象,获得第二图像;Step S20: when the camera module to be tested turns on the anti-shake module, receiving the shaking data, and shooting the target object in the video shooting of the drawing board to obtain a second image;

步骤S30:基于所述第一图像和所述第二图像,获得所述待测摄像模组的压缩比;所述压缩比用于验证所述待测摄像模组的防抖性能。Step S30: Based on the first image and the second image, obtain a compression ratio of the camera module to be tested; the compression ratio is used to verify the anti-shake performance of the camera module to be tested.

本实施例中在步骤S10-S30中,通过获取待测摄像模组在关闭防抖模块(即OIS模块关闭)时采集第一图像,而第一图像是采集抖动的目标对象获得。由于此时待测摄像模组的防抖功能关闭,因此,此时的第一图像可相当于待测摄像模组按照抖动数据进行抖动时对静止的目标对象进行采集得到。此时,避免了使用震动台为待测摄像模组提供震动源。接着,开启待测摄像模组的防抖功能,并将抖动数据直接输入给待测摄像模组,待测摄像模组相当于获得陀螺仪采集的抖动数据;此时,待测摄像模组的驱动芯片将识别为待测摄像模组处于符合抖动数据的抖动状态,对当前的抖动状态进行防抖补偿;因此,此时相当于待测摄像模组在抖动状态下且开启防抖补偿时,对抖动的目标对象进行采集得到第二图像。以此模拟出摄像模组在抖动状态且开启防抖模块时,对静止目标对象进行拍摄的状态,从而也避免了震动台的使用。最后,基于第一图像和第二图像,就可确定待测摄像模组的压缩比,从而实现待测摄像模组的防抖性能检测。下面对本方法每个步骤的具体可能实现进行说明。In this embodiment, in steps S10-S30, the camera module to be tested collects the first image when the anti-shake module is turned off (ie, the OIS module is turned off), and the first image is obtained by collecting the shaking target object. Since the anti-shake function of the camera module to be tested is turned off at this time, the first image at this time can be equivalent to the acquisition of a stationary target object when the camera module to be tested shakes according to the shaking data. At this time, the use of a vibration table to provide a vibration source for the camera module to be tested is avoided. Next, turn on the anti-shake function of the camera module to be tested, and directly input the jitter data to the camera module to be tested. The camera module to be tested is equivalent to obtaining the jitter data collected by the gyroscope; The driver chip will recognize that the camera module to be tested is in a jitter state that matches the jitter data, and perform anti-shake compensation for the current jitter state; A second image is obtained by collecting the shaking target object. In this way, when the camera module is in a shaking state and the anti-shake module is turned on, the state of shooting a stationary target object is simulated, thereby avoiding the use of a vibration table. Finally, based on the first image and the second image, the compression ratio of the camera module to be tested can be determined, thereby realizing anti-shake performance detection of the camera module to be tested. The specific possible implementation of each step of the method is described below.

步骤S10:在待测摄像模组关闭防抖模块时,拍摄预设的图板视频中的目标对象,获得第一图像;所述图板视频中的所述目标对象按照预设的抖动数据抖动。Step S10: when the camera module to be tested turns off the anti-shake module, the target object in the preset video of the board is photographed to obtain a first image; the target object in the video of the board is shaken according to the preset shaking data .

在步骤S10中,待测摄像模组具备OIS模块,关闭防抖模块也即关闭OIS模块。抖动数据对应的抖动角度符合用于测试该待测摄像模组的测试条件,也即该抖动数据对应的抖动角度与采用标准震动台对待测摄像模组进行测试时的抖动角度对应相同。In step S10, the camera module to be tested has an OIS module, and turning off the anti-shake module means turning off the OIS module. The shaking angle corresponding to the shaking data conforms to the test conditions for testing the camera module to be tested, that is, the shaking angle corresponding to the shaking data corresponds to the shaking angle corresponding to the camera module to be tested using a standard shaking table.

在本实施例中目标对象为采用预设的图板视频进行播放的测试图板,本技术领域中称之为chart图板;例如,可将chart图板固定在一震动源上进行震动,并采用录制工具对该测试图板进行录制,得到图板视频。然后对该图板视频进行拍照采集,获得第一图像,如图2所示。具体如下:In this embodiment, the target object is a test drawing board that uses a preset drawing board video to play, which is called a chart drawing board in the technical field; for example, the chart drawing board can be fixed on a vibration source to vibrate, and Use a recording tool to record the test board to obtain a board video. Then, the video of the board is photographed and collected to obtain a first image, as shown in FIG. 2 . details as follows:

首先,将预设的测试图板按照抖动数据进行抖动。例如,可将测试图板固定在经过标准校验后的震动台上,然后控制震动台按照抖动数据对应的抖动角度曲线进行震动。接着,录制抖动状态下的测试图板,获得图板视频;该图板视频可作为目标对象。录制时,可采用高帧率录制,以实现较好的模拟效果;例如,120帧、175帧、240帧等等。该方式针对同一类测试条件下的摄像模组而言,只需要使用一次震动台,至多也只需要对震动台进行一次校准。得到的图板视频可作为目标对象反复使用,极大的降低了硬件成本和时间成本,提高检测效率。First, shake the preset test board according to the shaking data. For example, the test chart can be fixed on the vibration table after standard calibration, and then the vibration table can be controlled to vibrate according to the shaking angle curve corresponding to the shaking data. Next, record the test board in a shaking state to obtain a board video; the board video can be used as a target object. When recording, you can use high frame rate recording to achieve better analog effects; for example, 120 frames, 175 frames, 240 frames, and so on. For the camera module under the same test conditions, this method only needs to use the vibration table once, and at most only need to calibrate the vibration table once. The obtained board video can be used repeatedly as the target object, which greatly reduces the hardware cost and time cost, and improves the detection efficiency.

采用的测试图板可为十字图或圆点图,可保证能够准确的确定得到的第一图像和第二图像中的线宽或阴影宽度。本实施例中,以十字图为例进行说明。另外,也可采用其他具有识别标记图形的测试图板,不做限制。未开启防抖模块的待测摄像模组拍摄抖动状态下的该识别标记时,可得到具有识别标记阴影的第一图像。The test chart used can be a cross chart or a dot chart, which can ensure that the line width or shadow width in the obtained first image and the second image can be accurately determined. In this embodiment, a cross diagram is used as an example for description. In addition, other test charts with identification mark graphics can also be used without limitation. When the camera module to be tested without the anti-shake module turned on captures the identification mark in a shaking state, a first image with the shadow of the identification mark can be obtained.

步骤S20:在所述待测摄像模组开启防抖模块时,接收所述抖动数据,并拍摄所述图板视频拍摄中的目标对象,获得第二图像。Step S20 : when the camera module to be tested turns on the anti-shake module, the shaking data is received, and the target object in the video shooting of the drawing board is photographed to obtain a second image.

在步骤S20中,可采用一预设处理器模拟生成抖动数据,并向输出给待测摄像模组。具体的,首先开启待测摄像模组的防抖功能,并将预设处理器模拟生成的抖动数据输出给待测摄像模组。例如,可采用一MCU(Microcontroller Unit,微控制单元)按照预设的程序模拟生成抖动数据,该抖动数据可输出为积分运算得到的角度数据,角度数据

Figure BDA0003766915410000061
这样可保证待测摄像模组的驱动芯片可读取识别,无需进行二次计算,提高测试效率和准确度。然后,在接收到角度数据后控制待测摄像模组对目标对象进行拍摄,获得第二图像。此时,待测摄像模组接收到抖动数据,将对自身的状态识别为抖动状态,并且防抖模块将基于该抖动数据对目标对象进行抖动补偿,从而得到防抖补偿后的第二图像,如图3所示。In step S20, a preset processor may be used to simulate the generation of jitter data, and output the data to the camera module to be tested. Specifically, firstly, the anti-shake function of the camera module to be tested is enabled, and the jitter data simulated and generated by the preset processor is output to the camera module to be tested. For example, a MCU (Microcontroller Unit, Micro Control Unit) can be used to simulate and generate jitter data according to a preset program, and the jitter data can be output as angle data obtained by integral operation, angle data
Figure BDA0003766915410000061
In this way, the driver chip of the camera module to be tested can be read and identified, and no secondary calculation is required, thereby improving the test efficiency and accuracy. Then, after receiving the angle data, the camera module to be tested is controlled to photograph the target object to obtain a second image. At this time, the camera module to be tested receives the shaking data, and recognizes its own state as a shaking state, and the anti-shake module will perform shaking compensation on the target object based on the shaking data, so as to obtain a second image after anti-shake compensation, As shown in Figure 3.

步骤S30:基于所述第一图像和所述第二图像,获得所述待测摄像模组的压缩比;所述压缩比用于验证所述待测摄像模组的防抖性能。Step S30: Based on the first image and the second image, obtain a compression ratio of the camera module to be tested; the compression ratio is used to verify the anti-shake performance of the camera module to be tested.

在步骤S30中的一种实现方式可如下:确定第一图像对应的第一阴影宽度和第二图像对应的第二阴影宽度;第一阴影宽度为第一图像中的识别标记与图像背景之间的过渡区域的宽度;第二阴影宽度为第二图像中的识别标记与图像背景之间的过渡区域的宽度。图像背景是指识别标记之外的图像区域。最后,基于第一阴影宽度和第二阴影宽度,获得压缩比;具体的,基于SR1=20*1og10(S1/S2)计算压缩比,如图2-3所示,其中,SR1为压缩比,S1为第一阴影宽度,S2为第二阴影宽度。An implementation manner in step S30 may be as follows: determine the width of the first shadow corresponding to the first image and the width of the second shadow corresponding to the second image; the width of the first shadow is between the identification mark in the first image and the image background The width of the transition area; the width of the second shadow is the width of the transition area between the identification mark in the second image and the image background. The image background refers to the area of the image outside the identification marker. Finally, the compression ratio is obtained based on the first shadow width and the second shadow width; specifically, the compression ratio is calculated based on SR1=20*log10(S1/S2), as shown in Figure 2-3, where SR1 is the compression ratio, S1 is the first shadow width, and S2 is the second shadow width.

在另一些实现方式中还可为:获取基准图像,基准图像为待测摄像模组对静止的目标对象拍摄获得;接着获取基准图像中的基准阴影宽度,基准阴影宽度为基准图像中的识别标记与图像背景之间的过渡区域的宽度。最后,基于第一阴影宽度、第二阴影宽度和基准,获得压缩比;也即,可基于SR2=20*1og10((S1-S0)/(S2-S0))计算压缩比,如图2-4所示,其中,SR2为压缩比,S1为第一阴影宽度,S2为第二阴影宽度,S0为基准阴影宽度。In some other implementations, a reference image is obtained, and the reference image is obtained by photographing a stationary target object by the camera module to be tested; then, the reference shadow width in the reference image is obtained, and the reference shadow width is the identification mark in the reference image. The width of the transition area to and from the image background. Finally, based on the first shadow width, the second shadow width and the reference, the compression ratio is obtained; that is, the compression ratio can be calculated based on SR2=20*log10((S1-S0)/(S2-S0)), as shown in Figure 2- 4, where SR2 is the compression ratio, S1 is the first shadow width, S2 is the second shadow width, and S0 is the reference shadow width.

综上所述,本实施例中提供的一种防抖检测方法,通过获取待测摄像模组在关闭防抖模块时采集的第一图像,第一图像为采集抖动的目标对象获得,且目标对象按照预设的抖动数据进行抖动;以及,获取待测摄像模组开启防抖模块,且接收抖动数据时采集的第二图像,第一图像为采集静止的目标对象获得;基于第一图像和所述第二图像,获得待测摄像模组的压缩比,压缩比用于验证待测摄像模组的防抖性能。整个方法执行过程中,均基于抖动数据来采集第一图像和第二图像,不需要震动台为待测摄像模组提供震动源。因此,针对同一类要求的摄像模组,控制抖动数据不改变即可,无需再对震动台进行测试校准,极大的降低了硬件成本和时间成本,提高检测效率。To sum up, the anti-shake detection method provided in this embodiment is obtained by acquiring the first image collected by the camera module to be tested when the anti-shake module is turned off. The object is shaken according to the preset shaking data; and, obtaining the second image collected when the camera module to be tested turns on the anti-shaking module and receiving the shaking data, and the first image is obtained by collecting the static target object; based on the first image and the For the second image, the compression ratio of the camera module to be tested is obtained, and the compression ratio is used to verify the anti-shake performance of the camera module to be tested. During the execution of the entire method, the first image and the second image are collected based on the shaking data, and a vibration table is not required to provide a vibration source for the camera module to be tested. Therefore, for the same type of camera module, the control jitter data does not need to change, and there is no need to test and calibrate the vibration table, which greatly reduces the hardware cost and time cost, and improves the detection efficiency.

请参阅图5,基于同一发明构思,在本发明又一实施例中提供了防抖检测装置300。所述防抖检测装置300,包括:Referring to FIG. 5 , based on the same inventive concept, an anti-shake detection apparatus 300 is provided in another embodiment of the present invention. The anti-shake detection device 300 includes:

第一图像获取模块,用于在待测摄像模组关闭防抖模块时,拍摄预设的图板视频中的目标对象,获得第一图像;所述图板视频中的所述目标对象按照预设的抖动数据抖动;第二图像获取模块,用于在所述待测摄像模组开启防抖模块时,接收所述抖动数据,并拍摄所述图板视频拍摄中的目标对象,获得第二图像;压缩比获取模块,用于基于所述第一图像和所述第二图像,获得所述待测摄像模组的压缩比;所述压缩比用于验证所述待测摄像模组的防抖性能。The first image acquisition module is configured to shoot the target object in the preset drawing board video when the anti-shake module is turned off by the camera module to be tested, and obtain a first image; the target object in the drawing board video is based on the predetermined The set shaking data shakes; the second image acquisition module is used to receive the shaking data when the camera module to be tested turns on the anti-shaking module, and shoot the target object in the video shooting of the drawing board, and obtain the second image acquisition module. image; a compression ratio acquisition module, used to obtain the compression ratio of the camera module to be tested based on the first image and the second image; the compression ratio is used to verify the protection of the camera module to be tested. jitter performance.

作为一种可选的实施方式,所述目标对象为测试图板;所述装置还包括目标对象获取模块,用于:As an optional implementation manner, the target object is a test drawing board; the device further includes a target object acquisition module for:

将预设的测试图板按照所述抖动数据进行抖动;录制所述抖动的测试图板,获得图板视频。Shake the preset test drawing board according to the shaking data; record the shaking test drawing board to obtain a drawing board video.

作为一种可选的实施方式,所述第二图像获取模块302,具体用于:As an optional implementation manner, the second image acquisition module 302 is specifically configured to:

开启所述待测摄像模组的防抖功能,并将预设处理器模拟生成的所述抖动数据输出给所述待测摄像模组;所述抖动数据为角度数据;在接收到所述角度数据后控制所述待测摄像模组对所述目标对象进行拍摄,获得所述第二图像。Turn on the anti-shake function of the camera module to be tested, and output the jitter data simulated and generated by the preset processor to the camera module to be tested; the jitter data is angle data; after receiving the angle After obtaining the data, the camera module to be tested is controlled to photograph the target object to obtain the second image.

作为一种可选的实施方式,所述测试图板为十字图或圆点图。As an optional implementation manner, the test chart is a cross graph or a dot graph.

作为一种可选的实施方式,所述压缩比获取模块303,具体用于:As an optional implementation manner, the compression ratio obtaining module 303 is specifically configured to:

确定所述第一图像对应的第一阴影宽度和所述第二图像对应的第二阴影宽度;所述第一阴影宽度为所述第一图像中的识别标记与图像背景之间的过渡区域的宽度;所述第二阴影宽度为所述第二图像中的识别标记与图像背景之间的过渡区域的宽度;基于所述第一阴影宽度和所述第二阴影宽度,获得所述压缩比。Determine the first shadow width corresponding to the first image and the second shadow width corresponding to the second image; the first shadow width is the width of the transition area between the identification mark in the first image and the image background width; the second shadow width is the width of the transition region between the identification mark in the second image and the image background; the compression ratio is obtained based on the first shadow width and the second shadow width.

需要说明的是,本发明实施例所提供的防抖检测装置300,其具体实现及产生的技术效果和前述方法实施例相同,为简要描述,装置实施例部分未提及之处,可参考前述方法实施例中相应内容。It should be noted that, the specific implementation and technical effects of the anti-shake detection device 300 provided by the embodiments of the present invention are the same as those of the foregoing method embodiments. Corresponding content in the method embodiment.

基于同一发明构思,本发明的又一实施例中还提供了一种电子设备,包括处理器和存储器,所述存储器耦接到所述处理器,所述存储器存储指令,当所述指令由所述处理器执行时使所述电子设备执行前述实施例中任一项所述方法的步骤。具体的可执行如下步骤:Based on the same inventive concept, another embodiment of the present invention also provides an electronic device, including a processor and a memory, the memory is coupled to the processor, the memory stores instructions, and when the instructions are When the processor executes, the electronic device executes the steps of the method in any one of the foregoing embodiments. The specific steps are as follows:

在待测摄像模组关闭防抖模块时,拍摄预设的图板视频中的目标对象,获得第一图像;所述图板视频中的所述目标对象按照预设的抖动数据抖动;在所述待测摄像模组开启防抖模块时,接收所述抖动数据,并拍摄所述图板视频拍摄中的目标对象,获得第二图像;基于所述第一图像和所述第二图像,获得所述待测摄像模组的压缩比;所述压缩比用于验证所述待测摄像模组的防抖性能。When the camera module to be tested turns off the anti-shake module, the target object in the preset drawing board video is photographed to obtain a first image; the target object in the drawing board video shakes according to the preset shaking data; When the camera module to be tested turns on the anti-shake module, it receives the shaking data, and shoots the target object in the video shooting of the drawing board to obtain a second image; based on the first image and the second image, obtain The compression ratio of the camera module to be tested; the compression ratio is used to verify the anti-shake performance of the camera module to be tested.

需要说明的是,本发明实施例所提供的电子设备,指令被处理器执行时,每个步骤的具体实现及产生的技术效果和前述方法实施例相同,为简要描述,装置实施例部分未提及之处,可参考前述方法实施例中相应内容。It should be noted that, in the electronic device provided by the embodiment of the present invention, when the instruction is executed by the processor, the specific implementation of each step and the technical effect produced are the same as those in the foregoing method embodiment. For the sake of brief description, the device embodiment part does not mention For details, reference may be made to the corresponding contents in the foregoing method embodiments.

基于同一发明构思,本发明的又一实施例中还提供了一种可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现前述方法实施例中任一项所述方法的步骤。具体的可执行如下步骤:Based on the same inventive concept, another embodiment of the present invention also provides a readable storage medium, on which a computer program is stored, and when the program is executed by a processor, implements the method described in any one of the foregoing method embodiments. step. The specific steps are as follows:

在待测摄像模组关闭防抖模块时,拍摄预设的图板视频中的目标对象,获得第一图像;所述图板视频中的所述目标对象按照预设的抖动数据抖动;在所述待测摄像模组开启防抖模块时,接收所述抖动数据,并拍摄所述图板视频拍摄中的目标对象,获得第二图像;基于所述第一图像和所述第二图像,获得所述待测摄像模组的压缩比;所述压缩比用于验证所述待测摄像模组的防抖性能。When the camera module to be tested turns off the anti-shake module, the target object in the preset drawing board video is photographed to obtain a first image; the target object in the drawing board video shakes according to the preset shaking data; When the camera module to be tested turns on the anti-shake module, it receives the shaking data, and shoots the target object in the video shooting of the drawing board to obtain a second image; based on the first image and the second image, obtain The compression ratio of the camera module to be tested; the compression ratio is used to verify the anti-shake performance of the camera module to be tested.

需要说明的是,本发明实施例所提供的可读存储介质,其中程序被处理器执行时,每个步骤的具体实现及产生的技术效果和前述方法实施例相同,为简要描述,装置实施例部分未提及之处,可参考前述方法实施例中相应内容。It should be noted that, in the readable storage medium provided by the embodiments of the present invention, when the program is executed by the processor, the specific implementation of each step and the technical effects produced are the same as the foregoing method embodiments. For brief description, the device embodiments For parts not mentioned, reference may be made to the corresponding content in the foregoing method embodiments.

本文中出现的术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系;单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。The term "and/or" that appears in this article is only an association relationship to describe the associated objects, indicating that there can be three kinds of relationships, for example, A and/or B, it can mean that A exists alone, A and B exist simultaneously, There are three cases of B alone. In addition, the character "/" herein generally indicates that the contextual object is an "or" relationship; the word "comprising" does not exclude the presence of elements or steps not listed in the claims. 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 different elements and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. do not denote any order. These words can be interpreted as names.

本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。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, etc.) 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 in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.

尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。Although preferred embodiments of the present invention have been described, additional changes and modifications to these embodiments may occur to those skilled in the art once the basic inventive concepts are known. Therefore, the appended claims are intended to be construed to include the preferred embodiment and all changes and modifications that fall within the scope of the present invention.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit and scope of the invention. Thus, provided that these 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 these modifications and variations.

Claims (10)

1.一种防抖检测方法,其特征在于,包括:1. an anti-shake detection method, is characterized in that, comprises: 在待测摄像模组关闭防抖模块时,拍摄预设的图板视频中的目标对象,获得第一图像;所述图板视频中的所述目标对象按照预设的抖动数据抖动;When the camera module to be tested turns off the anti-shake module, the target object in the preset drawing board video is photographed to obtain a first image; the target object in the drawing board video shakes according to the preset shaking data; 在所述待测摄像模组开启防抖模块时,接收所述抖动数据,并拍摄所述图板视频拍摄中的目标对象,获得第二图像;When the camera module to be tested turns on the anti-shake module, the shaking data is received, and the target object in the video shooting of the drawing board is photographed to obtain a second image; 基于所述第一图像和所述第二图像,获得所述待测摄像模组的压缩比;所述压缩比用于验证所述待测摄像模组的防抖性能。Based on the first image and the second image, a compression ratio of the camera module to be tested is obtained; the compression ratio is used to verify the anti-shake performance of the camera module to be tested. 2.根据权利要求1所述的方法,其特征在于,所述目标对象为测试图板;所述目标对象的获取方式包括:2. The method according to claim 1, wherein the target object is a test drawing board; the acquisition method of the target object comprises: 将预设的测试图板按照所述抖动数据进行抖动;Jitter the preset test chart according to the jitter data; 录制所述抖动的测试图板,获得图板视频。A video of the board is obtained by recording the shaking test board. 3.根据权利要求2所述的方法,其特征在于,所述测试图板为十字图或圆点图。3. The method according to claim 2, wherein the test chart is a cross graph or a dot graph. 4.根据权利要求1所述的方法,其特征在于,所述在所述待测摄像模组开启防抖模块时,接收所述抖动数据,并拍摄所述图板视频拍摄中的目标对象,获得第二图像,包括:4. The method according to claim 1, wherein, when the camera module to be tested turns on the anti-shake module, the shaking data is received, and the target object in the video shooting of the drawing board is photographed, Obtain a second image, including: 开启所述待测摄像模组的防抖功能,并将预设处理器模拟生成的所述抖动数据输出给所述待测摄像模组;所述抖动数据为角度数据;Turn on the anti-shake function of the camera module to be tested, and output the jitter data simulated by the preset processor to the camera module to be tested; the jitter data is angle data; 在接收到所述角度数据后,控制所述待测摄像模组对所述目标对象进行拍摄,获得所述第二图像。After receiving the angle data, the camera module to be tested is controlled to photograph the target object to obtain the second image. 5.根据权利要求1所述的方法,其特征在于,所述基于所述第一图像和所述第二图像,获得所述待测摄像模组的压缩比,包括:5. The method according to claim 1, wherein the obtaining the compression ratio of the camera module to be tested based on the first image and the second image comprises: 确定所述第一图像对应的第一阴影宽度和所述第二图像对应的第二阴影宽度;所述第一阴影宽度为所述第一图像中的识别标记与图像背景之间的过渡区域的宽度;所述第二阴影宽度为所述第二图像中的识别标记与图像背景之间的过渡区域的宽度;Determine the first shadow width corresponding to the first image and the second shadow width corresponding to the second image; the first shadow width is the width of the transition area between the identification mark in the first image and the image background width; the width of the second shadow is the width of the transition area between the identification mark in the second image and the image background; 基于所述第一阴影宽度和所述第二阴影宽度,获得所述压缩比。The compression ratio is obtained based on the first shadow width and the second shadow width. 6.一种防抖检测装置,其特征在于,包括:6. An anti-shake detection device, characterized in that, comprising: 第一图像获取模块,用于在待测摄像模组关闭防抖模块时,拍摄预设的图板视频中的目标对象,获得第一图像;所述图板视频中的所述目标对象按照预设的抖动数据抖动;The first image acquisition module is configured to shoot the target object in the preset drawing board video when the anti-shake module is turned off by the camera module to be tested, and obtain a first image; the target object in the drawing board video is based on the predetermined Set jitter data jitter; 第二图像获取模块,用于在所述待测摄像模组开启防抖模块时,接收所述抖动数据,并拍摄所述图板视频拍摄中的目标对象,获得第二图像;a second image acquisition module, configured to receive the shaking data when the camera module to be tested turns on the anti-shake module, and shoot the target object in the video shooting of the drawing board to obtain a second image; 压缩比获取模块,用于基于所述第一图像和所述第二图像,获得所述待测摄像模组的压缩比;所述压缩比用于验证所述待测摄像模组的防抖性能。a compression ratio acquisition module, configured to obtain the compression ratio of the camera module to be tested based on the first image and the second image; the compression ratio is used to verify the anti-shake performance of the camera module to be tested . 7.根据权利要求6所述的装置,其特征在于,所述目标对象为测试图板;所述装置还包括目标对象获取模块,用于:7. The device according to claim 6, wherein the target object is a test drawing board; the device further comprises a target object acquisition module for: 将预设的测试图板按照所述抖动数据进行抖动;Jitter the preset test chart according to the jitter data; 录制所述抖动的测试图板,获得图板视频。A video of the board is obtained by recording the shaking test board. 8.根据权利要求6所述的装置,其特征在于,所述第二图像获取模块,具体用于:8. The device according to claim 6, wherein the second image acquisition module is specifically configured to: 开启所述待测摄像模组的防抖功能,并将预设处理器模拟生成的所述抖动数据输出给所述待测摄像模组;所述抖动数据为角度数据;Turn on the anti-shake function of the camera module to be tested, and output the jitter data simulated by the preset processor to the camera module to be tested; the jitter data is angle data; 在接收到所述角度数据后控制所述待测摄像模组对所述目标对象进行拍摄,获得所述第二图像。After receiving the angle data, the camera module to be tested is controlled to photograph the target object to obtain the second image. 9.一种电子设备,其特征在于,包括处理器和存储器,所述存储器耦接到所述处理器,所述存储器存储指令,当所述指令由所述处理器执行时使所述电子设备执行以下步骤:9. An electronic device comprising a processor and a memory, the memory being coupled to the processor, the memory storing instructions that when executed by the processor cause the electronic device Perform the following steps: 在待测摄像模组关闭防抖模块时,拍摄预设的图板视频中的目标对象,获得第一图像;所述图板视频中的所述目标对象按照预设的抖动数据抖动;When the camera module to be tested turns off the anti-shake module, the target object in the preset drawing board video is photographed to obtain a first image; the target object in the drawing board video shakes according to the preset shaking data; 在所述待测摄像模组开启防抖模块时,接收所述抖动数据,并拍摄所述图板视频拍摄中的目标对象,获得第二图像;When the camera module to be tested turns on the anti-shake module, the shaking data is received, and the target object in the video shooting of the drawing board is photographed to obtain a second image; 基于所述第一图像和所述第二图像,获得所述待测摄像模组的压缩比;所述压缩比用于验证所述待测摄像模组的防抖性能。Based on the first image and the second image, a compression ratio of the camera module to be tested is obtained; the compression ratio is used to verify the anti-shake performance of the camera module to be tested. 10.一种可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现以下步骤:10. A readable storage medium on which a computer program is stored, characterized in that, when the program is executed by a processor, the following steps are implemented: 在待测摄像模组关闭防抖模块时,拍摄预设的图板视频中的目标对象,获得第一图像;所述图板视频中的所述目标对象按照预设的抖动数据抖动;When the camera module to be tested turns off the anti-shake module, the target object in the preset drawing board video is photographed to obtain a first image; the target object in the drawing board video shakes according to the preset shaking data; 在所述待测摄像模组开启防抖模块时,接收所述抖动数据,并拍摄所述图板视频拍摄中的目标对象,获得第二图像;When the camera module to be tested turns on the anti-shake module, the shaking data is received, and the target object in the video shooting of the drawing board is photographed to obtain a second image; 基于所述第一图像和所述第二图像,获得所述待测摄像模组的压缩比;所述压缩比用于验证所述待测摄像模组的防抖性能。Based on the first image and the second image, a compression ratio of the camera module to be tested is obtained; the compression ratio is used to verify the anti-shake performance of the camera module to be tested.
CN202210889412.XA 2022-07-27 2022-07-27 A kind of 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 A kind of 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 A kind of 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 A kind of anti-shake detection method and device

Country Status (1)

Country Link
CN (1) CN115103181A (en)

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
TWI858899B (en) * 2023-09-04 2024-10-11 華碩電腦股份有限公司 Electronic device and method for testing image stabilization function thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017054689A1 (en) * 2015-09-29 2017-04-06 宁波舜宇光电信息有限公司 Correction device for camera module optical image stabilizer system and correction method therefor
CN110572638A (en) * 2019-09-30 2019-12-13 昆山丘钛微电子科技有限公司 Anti-shake effect testing method and device, electronic equipment and medium
CN113315965A (en) * 2021-04-23 2021-08-27 昆山丘钛微电子科技股份有限公司 Optical anti-shake test method, device, equipment and medium
CN114449084A (en) * 2021-12-28 2022-05-06 南京旭锐软件科技有限公司 Camera anti-shake testing method and related device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017054689A1 (en) * 2015-09-29 2017-04-06 宁波舜宇光电信息有限公司 Correction device for camera module optical image stabilizer system and correction method therefor
CN110572638A (en) * 2019-09-30 2019-12-13 昆山丘钛微电子科技有限公司 Anti-shake effect testing method and device, electronic equipment and medium
CN113315965A (en) * 2021-04-23 2021-08-27 昆山丘钛微电子科技股份有限公司 Optical anti-shake test method, device, equipment and medium
CN114449084A (en) * 2021-12-28 2022-05-06 南京旭锐软件科技有限公司 Camera anti-shake testing method and related device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI858899B (en) * 2023-09-04 2024-10-11 華碩電腦股份有限公司 Electronic device and method for testing image stabilization function thereof
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
CN112740652B (en) System and method for stabilizing video
CN115103181A (en) A kind of anti-shake detection method and device
JP6128389B2 (en) Imaging device
CN105635588B (en) A kind of digital image stabilization method and device
CN107409206A (en) Real time calibration for polyphaser wireless device
JP2009064421A (en) Depth data encoding method, depth map generation apparatus, and electronic apparatus
CN107950018A (en) The shallow depth of field true to nature presented by focus stack
WO2022213955A1 (en) Method and apparatus for detecting image acquisition device hijacking, and computer device
JP6098873B2 (en) Imaging apparatus and image processing apparatus
CN114286085B (en) Optical anti-shake detection method and device
CN114339206A (en) A kind of anti-shake detection method and device
CN110062165B (en) Video processing method and device of electronic equipment and electronic equipment
CN102263894B (en) filming device
CN111885297A (en) Image definition determining method, image focusing method and device
CN113873233A (en) Lens module detection method and device and electronic equipment
CN111279352A (en) Three-dimensional information acquisition system through ball throwing exercise and camera parameter calculation method
JP2007259002A (en) Image reproducing apparatus, control method therefor, and control program therefor
JP2012035824A (en) Aerial photographing system
CN110266956A (en) Shooting method, device, electronic equipment and storage medium based on attitude information
US20230143901A1 (en) Evaluation apparatus, evaluation method, and storage medium
JP2009232325A5 (en)
JP5573353B2 (en) Imaging device, image display device, and image display program
WO2021088669A1 (en) Control apparatus, photographing apparatus, control method and program
CN113438472A (en) Anti-shake test method and device and electronic equipment
JP2010157792A (en) Photographed object tracing device

Legal Events

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