Test method and device and test equipment
By controlling the image sensing module in the test equipment to generate images under different conditions, the impact of the display screen to be tested on the front camera imaging is evaluated, and the negative impact of the display opening area on the captured image in the prior art is solved, and the safety and design efficiency of portrait recognition are improved.
Patent Information
- Application Number
- CN202311389097.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-24
- Publication Date
- 2025-04-25
AI Technical Summary
The captured images of the front camera in existing test equipment are affected by the opening area of the display screen, resulting in safety hazards in scenes such as portrait recognition.
By controlling the image sensing module to generate the first image and the second image based on the light projected by the lens assembly, the test results of the display screen to be tested are determined, respectively, when the display screen to be tested are not set and provided, indicating the degree of influence of the media in the opening area on the imaging effect.
The test results evaluate the display screen to be tested, and the target display screen with the least impact on the captured image is selected from multiple display screens to improve the design efficiency and user experience, and ensure the safety of the portrait recognition scene.
Smart Images

Figure CN119893076A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of testing technology, and in particular to a testing method, a testing device and a testing equipment. Background Art
[0002] With the widespread application of test equipment, more and more test equipment is provided with a camera module, which includes a rear camera and / or a front camera. Taking the front camera as an example, a user can use the front camera to take selfies or perform portrait recognition and other scenes.
[0003] In existing test equipment, a display screen is set above the front camera. The light needs to pass through the display screen before entering the front camera, and the front camera then outputs the image.
[0004] However, the opening area of the display screen in existing testing equipment will affect the transmission path of light, thereby affecting the images taken by the front camera, resulting in safety hazards in scenarios such as portrait recognition. Summary of the invention
[0005] The present disclosure provides a testing method, a device and a testing equipment to solve the above technical problems.
[0006] According to a first aspect of the present disclosure, there is provided a testing method, comprising:
[0007] In response to the fact that no display screen to be tested is arranged in the framing area of the lens assembly, controlling the image sensing module to generate a first image based on the light projected by the lens assembly;
[0008] In response to a display screen to be tested including an opening area being arranged in a framing area of the lens assembly, controlling the image sensing module to generate a second image based on the light projected by the lens assembly;
[0009] A test result of the display screen to be tested is determined according to the first image and the second image; the test result is used to indicate the degree of influence of the medium in the opening area of the display screen to be tested on the imaging effect of the lens assembly.
[0010] Optionally, determining a test result of the display screen to be tested according to the first image and the second image includes:
[0011] Acquire an MTF curve corresponding to the first image to obtain a reference MTF curve;
[0012] Obtaining an MTF curve corresponding to the second image to obtain an MTF curve to be measured;
[0013] The MTF curve to be tested is normalized based on the reference MTF curve to obtain a normalized curve as a test result of the display screen to be tested.
[0014] Optionally, the method further comprises:
[0015] Select a target normalized curve with the largest MTF value from multiple normalized curves; the media in the opening area of the display screen to be tested corresponding to any two normalized curves are different;
[0016] The display screen to be tested corresponding to the target normalized curve is determined as the target display screen that matches the lens assembly in the test device.
[0017] Optionally, the method further comprises:
[0018] Controlling the lens assembly to focus so that the lens assembly meets the target focusing requirement;
[0019] Controlling the image sensor module to generate a first image based on the light projected by the lens assembly includes:
[0020] Receiving, through the image sensor module, a first light projected by the lens assembly with a target focus parameter;
[0021] Controlling the image sensing module to generate a first image based on the first light;
[0022] Controlling the image sensor module to generate a second image based on the light projected by the lens assembly includes:
[0023] Receiving, through the image sensor module, a second light projected by the lens assembly with a target focus parameter;
[0024] The image sensing module is controlled to generate a second image based on the second light, and the target focus parameter corresponds to satisfying the target focus requirement.
[0025] Optionally, controlling the lens assembly to focus includes:
[0026] In response to loading the lens assembly into the lens assembly fixture, adjusting the position of the lens assembly;
[0027] In response to the appearance of a crosshair in the focusing window of the lens assembly, it is determined that the target focus parameter of the lens assembly meets the target focus requirement; the crosshair indicates that the lens assembly focuses parallel light emitted by a parallel light source onto the center point of the image sensor module.
[0028] Optionally, the method further comprises:
[0029] The parallel light source is controlled to emit parallel light, and the parallel light passes through the opening area of the screen fixture or the display screen to be tested, and is converged to the image sensor module by the lens assembly.
[0030] Optionally, the method further includes: the target focusing requirement includes that the focus of the lens assembly is located at a center point of a photosensitive area of an image sensor module.
[0031] According to a second aspect of the present disclosure, a testing device is provided, comprising:
[0032] A first image acquisition module, configured to control the image sensing module to generate a first image based on the light projected by the lens assembly in response to the fact that no display screen to be tested is arranged in the viewing area of the lens assembly;
[0033] A second image acquisition module, configured to control the image sensing module to generate a second image based on the light projected by the lens assembly in response to a display screen to be tested including an opening area being arranged in the framing area of the lens assembly;
[0034] The test result acquisition module is used to determine the test result of the display screen to be tested according to the first image and the second image; the test result is used to indicate the influence of the medium in the opening area of the display screen to be tested on the imaging effect of the lens assembly.
[0035] Optionally, the test result acquisition module includes:
[0036] A reference curve acquisition submodule, used to acquire an MTF curve corresponding to the first image to obtain a reference MTF curve;
[0037] A curve acquisition submodule to be measured is used to acquire the MTF curve corresponding to the second image to obtain the MTF curve to be measured;
[0038] The test result acquisition submodule is used to normalize the MTF curve to be tested based on the reference MTF curve to obtain a normalized curve as the test result of the display screen to be tested.
[0039] Optionally, the test result acquisition module further includes:
[0040] The target curve acquisition submodule is used to select a target normalized curve with the largest MTF value from multiple normalized curves; the media in the opening area of the display screen to be tested corresponding to any two normalized curves are different;
[0041] The target display screen determination submodule is used to determine the display screen to be tested corresponding to the target normalized curve as the target display screen that matches the lens assembly.
[0042] Optionally, the device further comprises:
[0043] A focusing module, used to control the lens assembly to focus so that the lens assembly meets the target focusing requirement;
[0044] The first image acquisition module comprises:
[0045] A first image acquisition submodule, configured to receive, through the image sensing module, a first light projected by the lens assembly with a target focus parameter, and control the image sensor to generate a first image based on the first light;
[0046] The second image acquisition module comprises:
[0047] The second image acquisition submodule is used to receive the second light projected by the lens assembly with the target focus parameter through the image sensing module, and control the image sensing module to generate a second image based on the second light, and the target focus parameter corresponds to satisfying the target focus requirement.
[0048] Optionally, the focusing module includes:
[0049] The lens assembly position adjustment submodule is used to adjust the position of the lens assembly in response to the lens assembly being loaded in the lens assembly fixture;
[0050] The focus determination submodule is used to determine whether the target focus parameter of the lens assembly meets the target focus requirement in response to the appearance of a cross mark in the focus adjustment window of the lens assembly; the cross mark indicates that the parallel light emitted by the parallel light source of the lens assembly is focused onto the center point of the image sensor module.
[0051] Optionally, the device further comprises:
[0052] The light source control module is used to control the parallel light source to emit parallel light, and the parallel light passes through the opening area of the screen fixture or the display screen to be tested, and is converged to the image sensor module by the lens assembly.
[0053] Optionally, the target focusing requirement includes that the focus of the lens assembly is located at the center point of the photosensitive area of the image sensor module.
[0054] According to a third aspect of the present disclosure, there is provided a testing device, comprising: a parallel light source, a screen fixture, a lens assembly, a lens assembly fixture, an aperture stop, and an image sensor module;
[0055] The screen fixture is used to fix the display screen to be tested;
[0056] The parallel light source is used to emit parallel light to the opening area of the display screen to be tested to obtain a first light beam;
[0057] The lens assembly is used to converge the first light beam to obtain a second light beam;
[0058] The lens assembly fixture is used to fix the lens assembly;
[0059] The aperture stop is used to adjust the transmission channel of the second light beam to obtain a third light beam;
[0060] The image sensing module is used to sense the third light beam to obtain the first image and / or the second image.
[0061] Optionally, it further includes a processor, wherein the processor is electrically connected to the image sensor module;
[0062] The processor is used for testing the display screen to be tested according to the first image and the second image to obtain a test result.
[0063] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising: a display screen and a lens assembly; the display screen and the lens assembly are matched based on the test method as described in any one of the first aspects.
[0064] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0065] The solution of this embodiment can control the image sensing module to generate a first image based on the light projected by the lens assembly in response to the fact that there is no display screen to be tested in the viewing area of the lens assembly; then, in response to the fact that there is a display screen to be tested including an opening area in the viewing area of the lens assembly, control the image sensing module to generate a second image based on the light projected by the lens assembly; then, determine the test result of the display screen to be tested based on the first image and the second image; the test result is used to indicate the degree of influence of the medium in the opening area of the display screen to be tested on the imaging effect of the lens assembly. In this way, this embodiment can evaluate the display screen to be tested through the test results, thereby selecting the target display screen with the least influence on the captured image from multiple display screens to be tested, which is conducive to improving design efficiency and user experience.
[0066] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] Figure 1 The present invention is a block diagram of a testing device according to an embodiment of the present invention.
[0068] Figure 2 The figure is a focusing diagram of a lens assembly according to an embodiment of the present disclosure.
[0069] Figure 3 The present invention is a schematic structural diagram of a display screen according to an embodiment of the present invention.
[0070] Figure 4 The figure is a schematic diagram of multiple normalized curves according to an embodiment of the present disclosure.
[0071] Figure 5 The present invention is a flowchart of a testing method according to an embodiment of the present invention.
[0072] Figure 6 A schematic diagram of an MTF curve according to an embodiment of the present disclosure.
[0073] Figure 7 The present invention is a block diagram of a testing device according to an embodiment of the present invention.
[0074] Figure 8 The present invention is a block diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0075] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices consistent with some aspects of the present disclosure as detailed in the appended claims.
[0076] In order to solve the above technical problems, the present disclosure provides a testing method and device, and a testing device. The above testing method can be applied to the testing device, Figure 1 The figure is a schematic diagram of the structure of a testing device according to an embodiment of the present disclosure.
[0077] See also Figure 1 A test device includes: a parallel light source 11, a screen fixture 12, a lens assembly 14, a lens assembly fixture 15, an aperture stop 16 and an image sensor module 17. Among them,
[0078] The screen fixture 12 is used to fix the display screen 13 to be tested;
[0079] The parallel light source 11 is used to emit parallel light to the opening area 131 of the display screen 13 to be tested, so as to obtain a first light beam;
[0080] The lens assembly 14 is used to converge the first light beam to obtain a second light beam;
[0081] The lens assembly fixture 15 is used to fix the lens assembly 14;
[0082] The aperture stop 16 is used to adjust the transmission channel of the second light beam to obtain the third light beam;
[0083] The image sensor module 17 is used to sense the third light beam to obtain a captured image, ie, a subsequent first image and / or a second image.
[0084] Continue to see Figure 1 , the testing device also includes a processor 18, and the processor 18 is electrically connected to the image sensor module 17;
[0085] The processor 18 is used to acquire the captured image and test the display screen to be tested according to the captured image to obtain the test result.
[0086] Combination Figure 1 Describe the working process of the above test equipment, including:
[0087] First, focus the lens assembly 14 and adjust the position of the lens assembly 14, such as Figure 1 The lens assembly is adjusted up, down, left, right, and front and back until the target focus requirement is met, and the target focus requirement includes that the focus of the lens assembly is located at the center point of the image sensor module. When the lens assembly is loaded in the lens assembly fixture, the position of the lens assembly can be adjusted to determine that the target focus parameters of the lens assembly meet the target focus requirement; the cross marks indicate that the parallel light emitted by the parallel light source is focused on the center point of the image sensor module by the lens assembly, see Figure 2 , the crosshairs in the lens assembly coincide with the center point of the image sensing module (box). The size of the aperture diaphragm 16 is adjusted synchronously to adjust the size of the light channel. It should be noted that the lens assembly only needs to be focused once during each test, and there is no need to refocus during subsequent tests; when the lens assembly is replaced, the updated lens assembly can be refocused. It is understandable that when testing multiple display screens to be tested, the same lens assembly needs to be used to avoid the test results being affected by the replacement of the lens assembly.
[0088] Second, the display screen to be tested is not placed in the screen fixture 12 .
[0089] Third, the parallel light source 11 is controlled to start up to emit parallel light; the parallel light can reach the lens assembly through the screen fixture 12. The lens assembly can converge the parallel light and reach the image sensor module 17. At this time, the image sensor module 17 can output the captured image, which is subsequently referred to as the first image. The image sensor module 17 can send the first image to the processor.
[0090] Fourth, the processor may calculate an MTF curve of the lens assembly based on the first image, which will be referred to as a reference MTF curve later.
[0091] Fifth, each of the at least one display screen to be tested is sequentially placed into the screen fixture 12. The filling media of the opening areas of any two display screens to be tested are different, such as air, resin, transparent glass, etc. Figure 3 The display screen 13 to be tested includes a cover plate 21, a low-temperature polysilicon layer 23, and a pixel area 22 and an opening area 131 therebetween. The filling medium of the opening area 131 is air, resin, etc., which can be selected according to the specific scene and is not limited here.
[0092] Sixth, the image sensor module 17 can output the captured image, which is hereinafter referred to as the second image. The image sensor module 17 can send the second image to the processor.
[0093] Seventh, the processor can calculate the MTF curve of the lens assembly according to the second image, that is, the MTF curve corresponding to the second image, which is hereinafter referred to as the MTF curve to be measured.
[0094] Eighth, the processor may perform normalization processing on at least one MTF curve to be tested based on the reference MTF curve, and obtain a normalized curve as a test result of the display screen to be tested.
[0095] Ninth, the processor may select a target normalized curve having a maximum MTF value from among the multiple normalized curves.
[0096] See also Figure 4 , at the same frequency, the MTF value of curve 1 is greater than that of curve 2, and the MTF value of curve 2 is greater than that of curve 3. Among them, Figure 4 The unit of frequency in is lp / mm. At this time, curve 1 can be used as the target normalized curve.
[0097] Tenth, the processor may determine the display screen to be tested corresponding to the target normalized curve as the target display screen that matches the lens assembly in the test device. Figure 4 When curve 1 is used as the target normalized curve, the display screen to be tested corresponding to curve 1 is used as the target display screen matching the lens assembly. In other words, the filling medium in the opening area of the target display screen has the least influence on the imaging of the image sensor module.
[0098] Based on the above method, the processor can select a matching target display screen for each lens assembly, thereby improving the matching efficiency of the lens assembly and the display screen in the electronic device and improving the design effect of the electronic device.
[0099] Based on the above test equipment, the embodiment of the present disclosure also provides a test method: Figure 5 Flow chart of a testing method according to an embodiment of the present disclosure. Figure 5 , a testing method, comprising steps 51 to 53.
[0100] In step 51, in response to the fact that no display screen to be tested is disposed in the viewing area of the lens assembly, the image sensor module is controlled to generate a first image based on the light projected by the lens assembly.
[0101] In this step, the processor detects the focusing operation of the lens assembly and adjusts the position of the lens assembly so that the lens assembly projects (such as converges) light and passes through the aperture diaphragm to finally reach the image sensor module. Since each test process selects a display screen that matches each lens assembly, it is only necessary to perform a focusing operation on the lens assembly once the lens assembly is determined.
[0102] In this step, the screen fixture in the test equipment is not set (or loaded) to be tested. The parallel light source of the test equipment can generate parallel light, which passes through the screen fixture, lens assembly and aperture diaphragm in sequence and then enters the image sensor module. After sensing the above light beam, the image sensor module can generate a captured image, i.e., a first image, and send it to the processor. In this way, the processor can obtain the first image, which is used as a reference image.
[0103] In step 52, in response to a display screen to be tested including an opening area being arranged in the framing area of the lens assembly, the image sensing module is controlled to generate a second image based on the light projected by the lens assembly.
[0104] In this step, a display screen to be tested is placed in the screen fixture in the test equipment in turn. The parallel light source of the test equipment can generate parallel light, which passes through the display screen to be tested, the lens assembly and the aperture stop in turn and is incident on the image sensing module. After sensing the above light beam, the image sensing module can generate a captured image, i.e., a second image, and send it to the processor. In this way, the processor can obtain the second image, which is used as the image to be tested. It is understandable that the second image is relative to the first image, and the image sensing module is substantially affected by the filling medium in the opening area of the display screen to be tested when shooting the second image.
[0105] In step 53, a test result of the display screen to be tested is determined according to the first image and the second image; the test result is used to indicate the degree of influence of the medium in the opening area of the display screen to be tested on the imaging effect of the lens assembly.
[0106] In this step, after acquiring the first image, the processor can obtain the MTF (Modulation Transfer Function) curve corresponding to the first image as a reference MTF curve. The MTF curve is used to evaluate image contrast and image sharpness. The calculation method can refer to the relevant technology. The MTF curve can be as follows: Figure 6 See Figure 6 In the MTF curve, the horizontal axis is the frequency (unit: lp / mm), and the vertical axis is the MTF value.
[0107] In this step, after acquiring the second image, the processor can acquire the MTF curve corresponding to the second image to obtain the MTF curve to be measured. The acquisition method of the MTF curve to be measured is the same as the acquisition method of the reference MTF curve, which will not be repeated here.
[0108] In this step, the processor can normalize the MTF curve to be tested based on the reference MTF curve. For example, at the same frequency, the MTF value of the MTF curve to be tested is used as the numerator and the MTF value of the reference MTF curve is used as the denominator to calculate the ratio. The ratio is the normalized value at the frequency, thereby obtaining the normalized curve as the test result of the display screen to be tested.
[0109] In this step, the processor can obtain multiple normalized curves based on the above processing process, and the effect is shown in Figure 4. In this way, the processor can select the target normalized curve with the largest MTF value from multiple normalized curves, such as Figure 4 Curve 1 among the three curves shown can be used as a target normalized curve. In addition, the processor can determine the display screen to be tested corresponding to the target normalized curve as a target display screen that matches the image sensor module lens assembly in the test device.
[0110] In one embodiment, the processor can generate a prompt message, which is used to remind the user to replace the image sensor module and retest each display screen to be tested, and finally determine the target display screen that matches each lens assembly, which is conducive to improving the design efficiency of electronic equipment.
[0111] At this point, the scheme of this embodiment can control the image sensing module to generate a first image based on the light projected by the lens assembly in response to the fact that there is no display screen to be tested in the framing area of the lens assembly; then, in response to the fact that there is a display screen to be tested including an opening area in the framing area of the lens assembly, control the image sensing module to generate a second image based on the light projected by the lens assembly; thereafter, determine the test result of the display screen to be tested according to the first image and the second image; the test result is used to indicate the degree of influence of the medium in the opening area of the display screen to be tested on the imaging effect of the lens assembly. In this way, this embodiment can evaluate the display screen to be tested through the test results, thereby selecting the target display screen with the least influence on the captured image from multiple display screens to be tested, which is conducive to improving design efficiency and user experience. Moreover, in this embodiment, high-quality images can be captured, thereby meeting the needs of portrait recognition scenarios and improving recognition experience.
[0112] In the present disclosure, a test method is provided. The present disclosure also provides a test device. Figure 7 , the device comprises:
[0113] A first image acquisition module 71, configured to control the image sensing module to generate a first image based on the light projected by the lens assembly in response to the fact that no display screen to be tested is arranged in the viewing area of the lens assembly;
[0114] A second image acquisition module 72, configured to control the image sensing module to generate a second image based on the light projected by the lens assembly in response to a display screen to be tested including an opening area being arranged in the framing area of the lens assembly;
[0115] The test result acquisition module 73 is used to determine the test result of the display screen to be tested according to the first image and the second image; the test result is used to indicate the influence of the medium in the opening area of the display screen to be tested on the imaging effect of the lens assembly.
[0116] In one embodiment, the test result acquisition module includes:
[0117] A reference curve acquisition submodule, used to acquire an MTF curve corresponding to the first image to obtain a reference MTF curve;
[0118] A curve acquisition submodule to be measured is used to acquire the MTF curve corresponding to the second image to obtain the MTF curve to be measured;
[0119] The test result acquisition submodule is used to normalize the MTF curve to be tested based on the reference MTF curve to obtain a normalized curve as the test result of the display screen to be tested.
[0120] In one embodiment, the test result acquisition module further includes:
[0121] The target curve acquisition submodule is used to select a target normalized curve with the largest MTF value from multiple normalized curves; the media in the opening area of the display screen to be tested corresponding to any two normalized curves are different;
[0122] The target display screen determination submodule is used to determine the display screen to be tested corresponding to the target normalized curve as the target display screen that matches the lens assembly in the test device.
[0123] Optionally, the device further comprises:
[0124] The focusing module is used to focus the lens assembly in the test device once before obtaining each MTF curve; and there is no need to refocus during the process of focusing and obtaining each MTF curve.
[0125] Optionally, the same lens assembly in the test device is used when acquiring the first image and the second image, and the lens assembly is used to converge the light beam to the image sensor module.
[0126] It should be noted that the device embodiment shown in this embodiment matches the content of the above method embodiment, and the content of the above method embodiment can be referred to, which will not be repeated here.
[0127] Figure 8 800 is a block diagram of a test device according to an exemplary embodiment. For example, the test device 800 may be a smart phone, a computer, a digital broadcast terminal, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0128] Reference Figure 8 The test device 800 may include one or more of the following image sensing modules: a processing image sensing module 802, a memory 804, a power image sensing module 806, a multimedia image sensing module 808, an audio image sensing module 810, an input / output (I / O) interface 812, a sensor image sensing module 814, a communication image sensing module 816, and an image sensing module 818.
[0129] The processing image sensor module 802 generally controls the overall operation of the test device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing image sensor module 802 may include one or more processors 820 to execute computer programs. In addition, the processing image sensor module 802 may include one or more modules to facilitate interaction between the processing image sensor module 802 and other image sensor modules. For example, the processing image sensor module 802 may include a multimedia module to facilitate interaction between the multimedia image sensor module 808 and the processing image sensor module 802.
[0130] The memory 804 is configured to store various types of data to support operations on the test device 800. Examples of such data include computer programs for any application or method operating on the test device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0131] The power image sensor module 806 provides power to various image sensor modules of the test device 800. The power image sensor module 806 may include a power management system, one or more power supplies, and other image sensor modules associated with generating, managing, and distributing power for the test device 800. The power image sensor module 806 may include a power chip, and the controller may communicate with the power chip to control the power chip to turn on or off the first switch device, so that the battery supplies power to the mainboard circuit or not.
[0132] The multimedia image sensing module 808 includes a screen that provides an output interface between the test device 800 and the target object. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input information from the target object. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor can not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. The above-mentioned screen may include an aperture area, in which a filling medium is arranged; and the aperture area is arranged opposite to the lens assembly so that light is incident on the image sensing module, and the image sensing module may include a charge coupled device (CCD) or CMOS, etc.
[0133] The audio image sensing module 810 is configured to output and / or input audio file information. For example, the audio image sensing module 810 includes a microphone (MIC), and when the test device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive external audio file information. The received audio file information can be further stored in the memory 804 or sent via the communication image sensing module 816. In some embodiments, the audio image sensing module 810 also includes a speaker for outputting audio file information.
[0134] The I / O interface 812 provides an interface between the image sensor module 802 and a peripheral interface module, which may be a keyboard, a click wheel, a button, etc.
[0135] The sensor image sensing module 814 includes one or more sensors for providing various aspects of status evaluation for the test device 800. For example, the sensor image sensing module 814 can detect the open / closed state of the test device 800, the relative positioning of the image sensing module, such as the image sensing module is the display screen and keypad of the test device 800, and the sensor image sensing module 814 can also detect the position change of the test device 800 or an image sensing module, the presence or absence of contact between the target object and the test device 800, the orientation or acceleration / deceleration of the test device 800 and the temperature change of the test device 800. In this example, the sensor image sensing module 814 can include a magnetic sensor, a gyroscope and a magnetic field sensor, and can also include an inertial sensor, an image sensor, etc., wherein the magnetic field sensor includes at least one of the following: a Hall sensor, a thin film magnetoresistive sensor, and a magnetic liquid acceleration sensor.
[0136] The communication image sensing module 816 is configured to facilitate wired or wireless communication between the test device 800 and other devices. The test device 800 can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G, 5G, or a combination thereof. In an exemplary embodiment, the communication image sensing module 816 receives broadcast information or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication image sensing module 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0137] The image sensor module 818 includes a lens assembly and an image sensor module; the lens assembly is arranged opposite to the above-mentioned screen, and the lens assembly matches the above-mentioned screen (i.e., the above-mentioned target display screen). The meaning of the lens assembly matching the above-mentioned screen is the target display screen matched for the lens assembly using the above-mentioned test method.
[0138] In an exemplary embodiment, the test device 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components.
[0139] In an exemplary embodiment, the present disclosure also provides a non-transitory computer-readable storage medium, and when an executable computer program in the storage medium is executed by a processor, the above-mentioned method can be implemented.
[0140] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0141] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A testing method, characterized in that: include: In response to the fact that no display screen to be tested is arranged in the framing area of the lens assembly, controlling the image sensing module to generate a first image based on the light projected by the lens assembly; In response to a display screen to be tested including an opening area being arranged in a framing area of the lens assembly, controlling the image sensing module to generate a second image based on the light projected by the lens assembly; A test result of the display screen to be tested is determined according to the first image and the second image; the test result is used to indicate the degree of influence of the medium in the opening area of the display screen to be tested on the imaging effect of the lens assembly.
2. The testing method according to claim 1, characterized in that: Determining a test result of the display screen to be tested according to the first image and the second image includes: Acquire an MTF curve corresponding to the first image to obtain a reference MTF curve; Obtaining an MTF curve corresponding to the second image to obtain an MTF curve to be measured; The MTF curve to be tested is normalized based on the reference MTF curve to obtain a normalized curve as a test result of the display screen to be tested.
3. The testing method according to claim 2, characterized in that: The method further comprises: Select a target normalized curve with the largest MTF value from multiple normalized curves; the media in the opening area of the display screen to be tested corresponding to any two normalized curves are different; The display screen to be tested corresponding to the target normalized curve is determined as the target display screen that matches the lens assembly.
4. The testing method according to claim 1, characterized in that: The method further comprises: Controlling the lens assembly to focus so that the lens assembly meets the target focusing requirement; Controlling the image sensor module to generate a first image based on the light projected by the lens assembly includes: Receiving, through the image sensor module, a first light projected by the lens assembly with a target focus parameter; Controlling the image sensing module to generate a first image based on the first light; Controlling the image sensor module to generate a second image based on the light projected by the lens assembly includes: Receiving, through the image sensor module, a second light projected by the lens assembly with a target focus parameter; The image sensing module is controlled to generate a second image based on the second light, and the target focus parameter corresponds to satisfying the target focus requirement.
5. The testing method according to claim 4, characterized in that: Control the lens assembly to focus, including: In response to loading the lens assembly into the lens assembly fixture, adjusting the position of the lens assembly; In response to the appearance of a crosshair in the focusing window of the lens assembly, it is determined that the target focus parameter of the lens assembly meets the target focus requirement; the crosshair indicates that the lens assembly focuses parallel light emitted by a parallel light source onto the center point of the image sensor module.
6. The testing method according to claim 5, characterized in that: The method further comprises: The parallel light source is controlled to emit parallel light, and the parallel light passes through the opening area of the screen fixture or the display screen to be tested, and is converged to the image sensor module by the lens assembly.
7. The testing method according to claim 4, characterized in that: The target focusing requirement includes that the focus of the lens assembly is located at the center point of the photosensitive area of the image sensor module.
8. A testing device, characterized in that: include: A first image acquisition module, configured to control the image sensing module to generate a first image based on the light projected by the lens assembly in response to the fact that no display screen to be tested is arranged in the viewing area of the lens assembly; A second image acquisition module, configured to control the image sensing module to generate a second image based on the light projected by the lens assembly in response to a display screen to be tested being arranged in the framing area of the lens assembly; The test result acquisition module is used to determine the test result of the display screen to be tested according to the first image and the second image; the test result is used to indicate the influence of the medium in the opening area of the display screen to be tested on the imaging effect of the lens assembly.
9. A testing device, characterized in that: include: Parallel light source, screen fixture, lens assembly, lens assembly fixture, aperture stop and image sensor module; The screen fixture is used to fix the display screen to be tested; The parallel light source is used to emit parallel light to the opening area of the display screen to be tested to obtain a first light beam; The lens assembly is used to converge the first light beam to obtain a second light beam; The lens assembly fixture is used to fix the lens assembly; The aperture stop is used to adjust the transmission channel of the second light beam to obtain a third light beam; The image sensing module is used to sense the third light beam to obtain the first image and / or the second image.
10. The testing device according to claim 9, characterized in that Also includes a processor, the processor is electrically connected to the image sensor module; The processor is used for testing the display screen to be tested according to the first image and the second image to obtain a test result.
11. An electronic device, characterized in that: include: Display screen and lens assembly; the display screen and the lens assembly are matched based on the testing method according to any one of claims 1 to 7.