Response delay test method, device and system of target equipment and storage medium
By using a dynamic visual sensor DVS camera to detect the image change of the target equipment, combined with the information changes of the test environment, the problem of complexity and high cost of the target equipment in the existing technology, the simple and efficient test method, improved Test accuracy.
Patent Information
- Application Number
- CN202310892335.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-19
- Publication Date
- 2025-01-21
AI Technical Summary
The existing target equipment delay testing methods are complex, with difficult design, complex assembly, high cost and bulky equipment, making it difficult to effectively reduce the cost and detection difficulty of response delay testing.
Use a dynamic visual sensor DVS camera to obtain image information by recording the brightness changes in the scene to detect the display image change of the target equipment, obtain the second time information, and combine the first time information of the test environment to determine the response of the target equipment Delay.
The cost and difficulty of testing the target equipment response delay testing, making the test simpler and efficient, and improved the test accuracy.
Smart Images

Figure CN119335266A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of information technology, and in particular to a method, device, system and storage medium for testing a response delay of a target device. Background Art
[0002] Some existing target devices will have certain delays due to slow processor speed, slow sensor response speed, network delay, visual system problems and software problems. Therefore, it is necessary to perform delay testing on the target device. In the current device delay testing method, the system used for delay testing is complex, requiring high-speed cameras, high-precision shafts and other devices, which has problems such as difficult design, complex assembly, high cost, and bulky equipment.
[0003] In view of the above problems in the prior art, the present disclosure proposes a method, apparatus, system and storage medium for testing a response delay of a target device. Summary of the invention
[0004] The present disclosure provides a method, device, system and storage medium for testing a response delay of a target device. According to a first aspect of an embodiment of the present disclosure, a method for testing a response delay of a target device is provided, comprising:
[0005] Acquiring first-time information of test environment changes; wherein the target device collects and displays images collected by the test environment;
[0006] Using a dynamic vision sensor DVS camera, detecting a change in a display image of the target device to obtain second time information;
[0007] A response delay of the target device is determined according to the first time information and the second time information.
[0008] Optionally, the method further includes:
[0009] The DVS camera is used to obtain first time information of the test environment.
[0010] Optionally, the using the DVS camera to obtain the first time information of the test environment includes: using a first area of the DVS camera to collect changes in the test environment to obtain the first time information output by the DVS camera;
[0011] The method of using a dynamic vision sensor DVS camera to detect a change in a display image of the target device to obtain the second time information includes:
[0012] Using the second area of the DVS camera to collect changes in the display image of the target device to obtain second time information;
[0013] The second region is different from the first region.
[0014] Optionally, the first area and the second area each include a plurality of sub-areas;
[0015] The method further comprises:
[0016] When a change in a sub-region reaches a preset condition, determining a brightness change corresponding to the sub-region;
[0017] The first time information and / or the second time information is determined according to a brightness change of the sub-area.
[0018] Optionally, the change in the sub-area meets a preset condition, including at least one of the following:
[0019] The proportion of the area in the sub-region where brightness changes occurs reaches a first proportion threshold;
[0020] The proportion of pixels in the sub-region whose brightness changes reaches a second proportion threshold;
[0021] The number of pixels in the sub-region whose brightness changes reaches a first quantity threshold;
[0022] The number of pixels in the sub-region that undergo brightness changes and are continuously distributed reaches a second quantity threshold. Optionally, there is a target object in the test environment; the method includes:
[0023] The target object is controlled to switch between a static state and a moving state; wherein the target device captures an image of the target object.
[0024] Optionally, a display device is provided in the test environment;
[0025] The method further comprises:
[0026] The display device is controlled to switch a display screen; wherein the target device captures an image of the display screen of the display device.
[0027] According to a second aspect of an embodiment of the present disclosure, a response delay test device of a target device is provided, comprising:
[0028] The acquisition module allows the user to obtain the first-hand information of the test environment changes; wherein the target device acquires and displays the image acquired by the test environment;
[0029] A detection module, configured to use a dynamic vision sensor DVS camera to detect a change in a display image of the target device to obtain second time information;
[0030] A determination module is used to determine a response delay of the target device according to the first time information and the second time information.
[0031] According to a third aspect of the disclosure of the present application, a response delay test system for a target device is provided, comprising:
[0032] a support member, located within the test environment;
[0033] A dynamic vision sensor DVS camera is installed on a support and is used to detect changes in a display image of a target device to obtain second time information; wherein the target device collects and displays the image collected by the test environment; the second time information and the first time information of the change in the test environment are used for the response delay of the target device.
[0034] Optionally, the dynamic vision sensor DVS camera includes:
[0035] A sensor, wherein the sensor comprises:
[0036] a first region and a second region; the second region being different from the first region;
[0037] The first area is used to collect changes in the test environment and obtain first time information output by the DVS camera;
[0038] The second area is used to collect changes in the display image of the target device to obtain second time information.
[0039] Optionally, the DVS further includes:
[0040] A processor is connected to the sensor and is used to determine a response delay of the target device according to the first time information and the second time information.
[0041] Optionally, the system further includes:
[0042] The display device is used to change the test environment by displaying a screen.
[0043] According to a fourth aspect of an embodiment of the present disclosure, a storage medium for response delay testing of a target device is provided. When instructions in the storage medium are executed by a processor of a delay testing apparatus, the apparatus is enabled to execute the delay testing method described in the first aspect above.
[0044] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0045] In an embodiment of the present disclosure, a dynamic visual sensor DVS camera is used to detect changes in the display image of the target device to obtain second time information, and the response delay of the target device is determined based on the first time information and the second time information. The dynamic visual sensor DVS camera obtains image information by recording brightness change events in the scene, which can achieve low power consumption, high speed and high dynamic range image acquisition, and has the advantages of fast response. By using a dynamic visual sensor DVS camera to perform delay testing, the cost and detection difficulty of the response delay test of the target device can be reduced, making the target device delay test simpler and more efficient, and improving the test accuracy.
[0046] 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
[0047] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0048] Figure 1 The figure is a schematic diagram showing a target device delay test apparatus according to an exemplary embodiment.
[0049] Figure 2 The figure is a flowchart showing a target device delay test according to an exemplary embodiment.
[0050] Figure 3 The figure is a flowchart showing another target device delay test according to an exemplary embodiment.
[0051] Figure 4 The figure is a flowchart showing another target device delay test according to an exemplary embodiment.
[0052] Figure 5 The figure is a schematic diagram showing the distribution of a first area and a second area according to an exemplary embodiment.
[0053] Figure 6 The present invention is a flowchart showing a target device delay testing apparatus according to an exemplary embodiment.
[0054] Figure 7 The diagram is a schematic diagram of a target device delay test system according to an exemplary embodiment.
[0055] Figure 8 The figure is a schematic diagram showing a target device delay test process according to an exemplary embodiment.
[0056] Fig. 9The figure is a schematic diagram showing a target device delay test display interface according to an exemplary embodiment. DETAILED DESCRIPTION
[0057] 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.
[0058] Figure 1 It is an exemplary target device delay test device. In the target device device delay test method, the system used for delay test is complex, requiring high-speed cameras, high-precision shafts and other devices, and has problems such as difficult design, complex assembly, high cost, and bulky equipment.
[0059] The embodiments of the present disclosure provide a method, apparatus, system and storage medium for testing the response delay of a target device.
[0060] Figure 2 is a flow chart of a method for testing a response delay of a target device according to an exemplary embodiment. Figure 2 As shown, the response delay test method of the target device includes:
[0061] S201: Acquire first time information of test environment changes; wherein the target device collects and displays images collected by the test environment;
[0062] S202: Using a dynamic vision sensor DVS camera, detecting a change in a display image of the target device to obtain second time information;
[0063] S203: Determine a response delay of the target device according to the first time information and the second time information.
[0064] The target device response delay test method can be used for any fixed device and / or mobile device including the target device. Exemplarily, the fixed device and / or mobile device including the target device may include: medical equipment, military equipment, industrial maintenance equipment, equipment for restoration of ancient monuments and protection of digital cultural heritage, mobile phones, tablet computers, wearable devices, vehicle-mounted devices, smart office equipment, smart home equipment, smart robots, etc.
[0065] Exemplarily, the target device may be: a virtual reality device (Virtual Reality, VR), an augmented reality device (Augmented Reality, AR), a mixed reality device (Mixed Reality, MR), an extended display device (Extended Reality, XR), etc.
[0066] Changes in the test environment may include, but are not limited to, changes in motion, edges, textures, etc. in the scene.
[0067] The first time information can be used to indicate the time and other information related to the test environment change. Exemplarily, the first time information indicates the test environment change time information, for example, the first time information indicates the test environment change start time and / or the test environment change end time.
[0068] S201 may include at least one of the following:
[0069] Using a timer to record the time when the test environment changes, to obtain the first time information;
[0070] The device that changes the test environment is used to record the time of change to obtain the first time information.
[0071] In summary, there are many ways to obtain the first time information, and the specific implementation is not limited to the above examples.
[0072] The target device has a camera and a display. The camera of the target device is used to capture the test environment, and the display of the target device is used to display the captured image of the test environment. The camera of the target device captures the test environment, so that the captured image of the target image will record the changes in the test environment, and then when the target device displays the captured image, the changes in the test environment will be displayed through the target device.
[0073] The dynamic vision sensor DVS camera is an event-based vision sensor, also known as Event Camera. The DVS camera acquires image information by recording brightness change events in the test environment, so it can achieve low-power, high-speed, high-dynamic range image acquisition, and has the characteristics of fast response. It is widely used in robotics, autonomous driving, AR or VR and other fields. The DVS camera can generate high-quality images and motion trajectory data, and can also perform well in low-light environments.
[0074] Use a dynamic vision sensor DVS camera to collect the display image of the target device. The DVS camera senses the brightness pixel by pixel, and if the brightness change reaches the threshold, an output will be generated. Therefore, the DVS camera can be used to easily record the time information when the display image of the target device changes, thereby obtaining the second time information.
[0075] The second time information can be used to indicate information such as the time when a change occurs in an image captured by the target device. Exemplarily, the second time information indicates the time when the display image of the target device changes, for example, the second time information indicates the start time when the display image of the target device changes and / or the end time when the display image of the target device changes.
[0076] The first time information indicates information such as the time when the test environment changes, and the second time information indicates information such as the time when the image captured by the target device changes. There is a time difference between the two, and the time when the target device delays responding can be determined based on the time difference.
[0077] Figure 2 In the response delay test method shown, S201 and S202 are executed sequentially, or S201 and S202 can be executed simultaneously. In this way, a dynamic visual sensor DVS camera is used to detect changes in the display image of the target device to obtain second time information, and the response delay of the target device is determined according to the first time information and the second time information. The dynamic visual sensor DVS camera obtains image information by recording brightness change events in the scene, which can achieve low power consumption, high speed and high dynamic range image acquisition, and has the advantages of fast response. By using a dynamic visual sensor DVS camera to perform delay testing, the cost and detection difficulty of the response delay test of the target device can be reduced, making the target device delay test simpler and more efficient, and improving the test accuracy.
[0078] like Figure 3 As shown, the method also includes:
[0079] S301: Use the DVS camera to obtain first time information of the test environment.
[0080] In this embodiment, a DVS camera is used to obtain information such as the time when changes occur in the test environment, so as to achieve low-power, high-speed and high-dynamic range image acquisition, further improve the test accuracy of the target device delay test method, and reduce the cost and detection difficulty of the target device response delay test.
[0081] In some embodiments, a first DVS camera may be used to acquire first time information when a test environment changes.
[0082] In S302 , a second DVS camera may be used to detect a change in a display image of the target device to obtain second time information.
[0083] At this time, the second DVS camera and the first DVS camera are different cameras.
[0084] like Figure 4 As shown, in some embodiments, the using the DVS camera to obtain the first time information of the test environment includes: using the first area of the DVS camera to collect the change of the test environment to obtain the first time information output by the DVS camera;
[0085] The using a dynamic vision sensor DVS camera to detect the change of the display image of the target device to obtain the second time information includes: using a second area of the DVS camera to collect the change of the display image of the target device to obtain the second time information;
[0086] The second region is different from the first region.
[0087] In the embodiment of the present disclosure, the changes of the test environment collected by the DVS camera and the changes of the images collected by the target device are respectively used to obtain the first change information and the second change information.
[0088] The first area of the DVS camera is used to collect changes in the test environment to obtain first time information output by the DVS camera. The second area of the DVS camera is used to collect changes in the display image of the target device to obtain second time information.
[0089] The second region is different from the first region. For example, the area of the first region may be greater than, less than, or equal to the area of the second region. Figure 5 An example of a distribution method of the first area and the second area is shown.
[0090] By using different areas to respectively collect the first time information of the test environment changes and the second time information of the target device display image, the changes in the test environment and the target device display image can be better read, further improving the test accuracy of the target device delay test method.
[0091] By respectively collecting images of the test environment and the target image in different areas of a DVS camera, first time information and second time information are obtained respectively, and errors in test accuracy introduced by errors of different DVS cameras can be reduced.
[0092] In some embodiments, the first area includes N sub-areas; the first time information indicates a moment when the first area of the DVS camera detects brightness changes in M sub-areas, wherein M is greater than a first threshold and M is less than or equal to N.
[0093] The first area includes N sub-areas, and the first area is divided into N sub-areas. A first threshold is preset to determine whether the brightness of M sub-areas exceeding the first threshold changes during the process of the DVS camera detecting the brightness change in the first area. If so, it means that the brightness of the entire first area changes, where M is less than or equal to N.
[0094] For example, the first area is divided into N sub-areas, and the object in the test environment is controlled to simulate the process of moving to stillness. The DVS camera is used to detect the brightness changes of the N sub-areas in the first area, and the observation values are output. If the brightness changes of M sub-areas exceeding the first threshold value and the observation values are output, it means that the first area as a whole has changed. At this time, the first time information of the change of the first area is recorded.
[0095] In this way, the interference of noise or burr can be reduced, and the judgment errors caused by the disturbance of noise or burr can be reduced, thereby further improving the detection accuracy of the test environment delay test method.
[0096] In some embodiments, the second area includes S sub-areas; the second time information indicates the moment when the second area of the DVS camera detects brightness changes in P sub-areas, wherein P is greater than a second threshold and P is less than or equal to S.
[0097] The second area includes S sub-areas, and the second area is divided into S sub-areas. A second threshold is preset to determine whether P sub-areas with brightness changes exceeding the second threshold have brightness changes in the process of the DVS camera detecting the brightness change in the second area. If so, it means that the brightness of the entire first area has changed, where P is less than or equal to S.
[0098] For example, the second area is divided into S sub-areas, the object in the test environment is controlled to simulate the process of going from motion to stillness, the DVS camera is used to detect the brightness changes of the S sub-areas in the second area, and the observation values are output. If the brightness changes of P sub-areas exceeding the second threshold value and the observation values are output, it means that the second area as a whole has changed. At this time, the second time information of the change of the second area is recorded.
[0099] In this way, the influence of noise can be reduced and the detection accuracy of the test environment delay test method can be further improved.
[0100] In some embodiments, the value of S is equal to the value of N, and the value of P is equal to the value of M. In this way, dividing the first area and the second area into the same number of sub-areas can reduce external interference in the test environment and further improve the accuracy of the test.
[0101] In some embodiments, the first area and the second area each include multiple sub-areas; the method also includes: when the change in one of the sub-areas reaches a preset condition, determining the brightness change of the corresponding sub-area; and determining the first time information and / or the second time information based on the brightness change of the sub-area.
[0102] In the disclosed embodiment, the first area and the second area include a plurality of sub-areas, and when the change in the sub-area reaches a preset condition, it is determined that the brightness of the sub-area has changed. Exemplarily, the preset condition may be that when more than 90% of the area of the sub-area has a brightness change, it is determined that the brightness of the sub-area has changed; if less than 90% of the area of the sub-area has a brightness change, it is determined that the brightness of the sub-area has not changed. Specifically, when 98% of the area of a sub-area has a brightness change, it is determined that the brightness of the sub-area has changed. In this way, the interference of noise on the test environment can be reduced, and the accuracy of the delay test of the target device is further improved.
[0103] In some embodiments, the change in the sub-region meets a preset condition, including at least one of the following:
[0104] The proportion of the area in the sub-region where brightness changes occurs reaches a first proportion threshold;
[0105] The proportion of pixels in the sub-region whose brightness changes reaches a second proportion threshold;
[0106] The number of pixels in the sub-region whose brightness changes reaches a first quantity threshold;
[0107] The number of pixels in the sub-region that undergo brightness changes and are continuously distributed reaches a second quantity threshold.
[0108] Exemplarily, the change in the sub-region meets the preset conditions, including: the area of the sub-region with brightness change accounts for more than 90%; the pixel proportion of the sub-region with brightness change accounts for more than 90%; the number of pixels with brightness change in the sub-region reaches 90% of the total number of pixels; the number of pixels with brightness change and continuous distribution in the sub-region reaches 90% of the total number of pixels. In this way, by judging whether the change in the sub-region meets the preset conditions, it is possible to more accurately determine whether the brightness change occurs in the first region and the second region, further improving the accuracy of the target device delay test.
[0109] In some embodiments, there is a target object in the test environment; the method includes: controlling the target object to switch between a static state and a moving state; wherein the target device captures an image of the target object.
[0110] There is a target object in the test environment, which is an object that can be easily controlled to move or be still, and is used to simulate the moving or still scenes in real life. For example, a swingable object is placed in the test environment for motion simulation. The target object is controlled to switch between the still and moving states, and the target device is used to collect images of the still and moving states simulated by the target object.
[0111] In some embodiments, the target object may include: a controllable object that can swing. The swing of the object may be controlled by circuit or by remote control. When the test starts, the target object is controlled from static to moving, and then from moving to static. By controlling the target object to switch between static and moving states, the target device is used to capture images of the static and moving states simulated by the target object. There are many ways to control the swing of the object, which are not limited here.
[0112] In some embodiments, the test environment has a display device; the method further includes: controlling the display device to switch a display screen; wherein the target device captures an image of the display screen of the display device.
[0113] The test environment has a display device, which can switch the display screen to simulate the motion or static scene in real life. For example, a large screen is placed in the test environment to play a motion video for motion simulation. The motion video is controlled to play or stop playing the motion video to switch between motion and static states, and the target device is used to collect images of the static and motion states simulated by the display device.
[0114] Exemplarily, the display device is controlled to change the test environment, that is, the playing of the motion video is turned off. At this time, the simulated test environment changes from motion to stillness. Since turning off the playing is controllable, the first time information can be directly obtained. In other embodiments, the brightness change information of the test environment can also be collected by a DVS camera to obtain the first time information. At the same time, the brightness change information of the display interface of the target device is collected by the DVS camera to obtain the second time information. According to the first time information and the second time information, the response delay of the target device is determined.
[0115] The present application also provides a device for testing the response delay of a target device. Figure 6 As shown, the response delay test device of the target device includes:
[0116] 601: an acquisition module, in which a user acquires first-time information of a test environment change; wherein the target device acquires and displays an image acquired by the test environment;
[0117] 602: a detection module, configured to use a dynamic vision sensor DVS camera to detect a change in a display image of the target device to obtain second time information;
[0118] 603: A determination module, configured to determine a response delay of the target device according to the first time information and the second time information.
[0119] In some embodiments, the acquisition module is further used to: use the DVS camera to acquire first time information of the test environment.
[0120] In some embodiments, the acquisition module is specifically used to: use the first area of the DVS camera to collect changes in the test environment to obtain first time information output by the DVS camera; the detection module is specifically used to: use the second area of the DVS camera to collect changes in the display image of the target device to obtain second time information; wherein the second area is different from the first area.
[0121] In some embodiments, the apparatus further comprises: a control module. The control module is used to: control the target object to switch between a static state and a moving state; wherein the target device collects an image of the target object.
[0122] In some other embodiments, the control module is used to: control the display device to switch the display screen; wherein the target device collects the image of the display screen of the display device. In this way, using the above-mentioned target device response delay test device, the target device delay test can be made simpler and more efficient, and the test accuracy can be improved.
[0123] The present application also provides a target device response delay test system. Figure 7 As shown, the response delay test system of the target device includes:
[0124] a support member, located within the test environment;
[0125] A dynamic vision sensor DVS camera is installed on a support and is used to detect changes in a display image of a target device to obtain second time information; wherein the target device collects and displays the image collected by the test environment; the second time information and the first time information of the change in the test environment are used for the response delay of the target device.
[0126] The support is placed in the test environment to support and fix the DVS camera and the target device.
[0127] Exemplarily, the material of the support member can be one of metal, wood, carbon fiber, and plastic. The support member can be a triangular support member, a cylindrical support member, or a table, a fork, etc. The support member includes a base, a support portion, and a fixing portion. The support portion is perpendicular to the base, and the support portion contains a retractable structure for adjusting the height; the fixing portion is connected to the support portion through a rotating shaft and is used to fix the device.
[0128] The target device includes a camera and a display, which are used to capture and display images of the test environment.
[0129] In the disclosed embodiment, a DVS camera is used to collect time information. The DVS camera and the target device are respectively mounted on different supports, and the target device is placed between the target object and the DVS camera. The DVS camera can be at the same height as the target device. In this case, the DVS camera only needs to collect the second time information of the display interface of the target device, and the first time information of the change in the test environment can be directly obtained through control. In other embodiments, the height of the DVS camera can be controlled to be higher than the target device and the target object. By adjusting the height of the DVS camera, the DVS camera can simultaneously collect the first time information in the test environment and the second time information on the display interface of the target device.
[0130] In other embodiments, multiple DVS cameras may be used to collect time information. For example, two DVS cameras are used to collect time information from the test environment and the display interface of the target device to obtain the first time information and the second time information. Alternatively, two DVS cameras are used to collect time information from the left and right display interfaces of the target device, and the heights of the two DVS cameras are adjusted so that the DVS cameras can collect the first time information in the test environment and the second time information on the display interface of the target device at the same time.
[0131] A response delay of the target device is determined according to the first time information and the second time information.
[0132] The second time information and the first time information of the test environment change are used to detect the response delay of the target device.
[0133] In some embodiments, the dynamic vision sensor DVS camera includes: a sensor,
[0134] Wherein, the sensor comprises: a first area and a second area; the second area is different from the first area;
[0135] The first area is used to collect changes in the test environment and obtain first time information output by the DVS camera;
[0136] The second area is used to collect changes in the display image of the target device to obtain second time information.
[0137] A DVS camera is a camera that obtains image information by recording brightness change events in a scene. The dynamic vision sensor DVS camera includes: a sensor, wherein the first area of the sensor is used to collect brightness changes in the test environment, and first time information is obtained and output according to the brightness change information of the first area. The second area of the sensor is used to collect brightness changes of an image collected and displayed by a target device, and second time information is obtained and output according to the brightness change information of the second area. The second area and the first area are different areas that do not overlap with each other.
[0138] In this way, the cost and detection difficulty of the response delay test of the target device can be reduced, making the test system simpler and more efficient.
[0139] In some embodiments, the DVS further comprises:
[0140] A processor is connected to the sensor and is used to determine a response delay of the target device according to the first time information and the second time information.
[0141] The types of processors include but are not limited to: central processing unit (CPU), graphics processing unit (GPU), field programmable gate array (FPGA), application specific integrated circuit (ASIC), digital signal processing chip (DSP), etc.
[0142] In the disclosed embodiment, the processor is connected to the sensor and is used to perform data processing on the first time information and the second time information, and determine the response delay of the target device according to the processing result.
[0143] In some embodiments, the system further includes: a display device, configured to change the test environment by displaying a display screen.
[0144] Exemplarily, a display device capable of playing motion videos is placed in the test system, and changes in the external environment are simulated by switching the display screen.
[0145] The embodiment of the present disclosure also provides a storage medium for testing a response delay of a target device. When instructions in the storage medium are executed by a processor of a delay testing apparatus, the apparatus is enabled to perform the delay testing method.
[0146] For example, Figure 8 As shown, specific examples of the test method and system shown according to the above system and method are as follows, including the construction of the test environment, the test method and process, and the calculation of system delay:
[0147] First, build the test environment, which includes: target device, two DVS cameras, bracket, and an external object that can simulate motion or stillness.
[0148] The bracket is used to fix the target device and two DVS cameras, so that the two DVS cameras can capture the two display interfaces of the target device. Place the external object in front of the target device and the DVS camera to ensure that the DVS camera can capture images of the target device and the external object at the same time. Use the DVS camera to capture images of the external object in the process of moving from static to static and then to static. At this time, the captured image contains both the external object and the display interface of the target device.
[0149] Use the test environment built above to test. The method and process are as follows:
[0150] S810: Control the external object to be still, and the target device uses its own camera to take a photo of the external object and displays it on the display interface;
[0151] S820: Control the external object to be still, and use the DVS camera to capture an image that includes both the external object and the display interface of the target device, such as Fig. 9 As shown, no information is output at this time;
[0152] S830: Control the movement of the external object, use the DVS camera to collect an image containing both the external object and the display interface of the target device, and then output information;
[0153] S840: Control the external object from moving to being still, and use the DVS camera to capture an image that includes both the external object and the display interface of the target device; and select n candidate regions from the external object region and the display interface region of the target device on the captured image respectively;
[0154] S850: determining the moment when the external object region is stationary according to the moment when the output value of the region where the n candidate regions of the external object region exceed the first threshold is 0, and recording it as the first time information;
[0155] S860: Determine the moment when the target device display interface area is stationary according to the moment when the output value of the region exceeding the second threshold in the n candidate regions of the target device display interface area is 0, and record it as the second time information;
[0156] S870: Subtract the second time information from the first time information to obtain the delay time of the target device.
[0157] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure 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.
[0158] 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 method for testing the response delay of a target device, characterized in that: include: Acquiring first-time information of test environment changes; wherein the target device collects and displays images collected by the test environment; Using a dynamic vision sensor DVS camera, detecting a change in a display image of the target device to obtain second time information; A response delay of the target device is determined according to the first time information and the second time information.
2. The method according to claim 1, characterized in that The method further comprises: The DVS camera is used to obtain first time information of the test environment.
3. The method according to claim 2, characterized in that The using the DVS camera to obtain the first time information of the test environment includes: using a first area of the DVS camera to collect changes in the test environment to obtain the first time information output by the DVS camera; The using a dynamic vision sensor DVS camera to detect the change of the display image of the target device to obtain the second time information includes: using a second area of the DVS camera to collect the change of the display image of the target device to obtain the second time information; The second region is different from the first region.
4. The method according to claim 3, characterized in that The first area and the second area each include a plurality of sub-areas; The method further comprises: When a change in a sub-region reaches a preset condition, determining a brightness change corresponding to the sub-region; The first time information and / or the second time information is determined according to a brightness change of the sub-area.
5. The method according to claim 4, characterized in that The change in the sub-area meets the preset condition, including at least one of the following: The proportion of the area in the sub-region where brightness changes occurs reaches a first proportion threshold; The proportion of pixels in the sub-region whose brightness changes reaches a second proportion threshold; The number of pixels in the sub-region whose brightness changes reaches a first quantity threshold; The number of pixels in the sub-region that undergo brightness changes and are continuously distributed reaches a second quantity threshold.
6. The method according to any one of claims 1 to 5, characterized in that: The test environment has a target object; the method comprises: The target object is controlled to switch between a static state and a moving state; wherein the target device captures an image of the target object.
7. The method according to any one of claims 1 to 6, characterized in that: The test environment has a display device; The method further comprises: The display device is controlled to switch a display screen; wherein the target device captures an image of the display screen of the display device.
8. A response delay test device for a target device, characterized in that: include: The acquisition module allows the user to obtain the first-hand information of the test environment changes; wherein the target device acquires and displays the image acquired by the test environment; A detection module, configured to use a dynamic vision sensor DVS camera to detect a change in a display image of the target device to obtain second time information; A determination module is used to determine a response delay of the target device according to the first time information and the second time information.
9. A response delay test system for a target device, characterized in that: include: a support member, located within the test environment; A dynamic vision sensor DVS camera is installed on a support and is used to detect changes in a display image of a target device to obtain second time information; wherein the target device collects and displays the image collected by the test environment; the second time information and the first time information of the change in the test environment are used for the response delay of the target device.
10. The test system according to claim 9, characterized in that: The dynamic vision sensor DVS camera includes: A sensor, wherein the sensor comprises: a first region and a second region; the second region being different from the first region; The first area is used to collect changes in the test environment and obtain first time information output by the DVS camera; The second area is used to collect changes in the display image of the target device to obtain second time information.
11. The test system according to claim 10, characterized in that: The DVS also includes: A processor is connected to the sensor and is used to determine a response delay of the target device according to the first time information and the second time information.
12. The test system according to claim 11, characterized in that: The system further comprises: The display device is used to change the test environment by displaying a screen.
13. A storage medium storing a computer program, characterized in that: The program is executed by a processor to implement the method steps described in any one of claims 1 to 7.