Television environment perception function test method and device and storage medium

By using the TV camera to take the target portrait picture and calculate the distance between it and the TV, automated testing of the TV environment perception function is achieved, solving the problems of high cost and low efficiency of existing test solutions, reducing labor costs and improving testing efficiency.

CN119420899APending Publication Date: 2025-02-11SICHUAN CHANGHONG ELECTRIC CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411552048.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-01
Publication Date
2025-02-11

AI Technical Summary

Technical Problem

The existing TV environment perception function test scheme is costly and inefficient, and testers need to stand in front of the TV for a long time to conduct testing, resulting in high human resources consumption and difficulty in conducting long-term continuous uninterrupted pressure testing.

Method used

By using the TV's camera to capture the image of the target portrait, determine the focal length and target surface width when the camera captures the image, determine the eye distance of the target portrait, calculate the distance between the target portrait and the TV, conduct environmental perception function testing, and Tests at different distances are completed by adjusting the focal length of the camera.

Benefits of technology

Reduces labor costs for testing, improves testing efficiency, avoids the problem of requiring testers to stand in front of the TV for a long time to test, and changes the distance between the target portrait picture and the TV by adjusting the focal length of the camera, without manually adjusting the target portrait. Location of the picture.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119420899A_ABST
    Figure CN119420899A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of television function testing, discloses a television environment perception function testing method and device and a storage medium, and aims at solving the problems that an existing television environment perception function testing scheme is high in cost and low in efficiency. The focal length and the target surface width when a camera shoots an image are determined, the eye distance of a target portrait in the image is determined, and the target portrait picture is placed at a preset position in front of a television; the distance between the target portrait picture and the television is calculated according to the focal length, the target surface width and the eye distance, and the television environment perception function under the distance is tested; and after the focal length of the camera is adjusted, repeating the steps to complete the test of the television environment sensing function under different distances. The television environment perception function testing efficiency is improved, the testing cost is reduced, and the method is particularly suitable for television factory testing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of television function testing, and in particular to a testing method, device and storage medium for a television environment perception function. Background Art

[0002] The environmental perception function of the TV is mainly realized through AI technology, which can automatically adjust various parameters of the TV to adapt to different viewing environments. The main content of the environmental perception function includes intelligently adjusting the volume, channel, chroma, saturation and other parameters of the TV according to the user's viewing distance, realizing the adjustment of volume, brightness and picture style, thereby improving viewing comfort.

[0003] The environmental perception function of a television needs to be tested before it leaves the factory. The current testing solution requires testers to stand at different positions and angles. This method consumes a lot of manpower and it is difficult to conduct long-term continuous and uninterrupted stress testing, resulting in high costs and low efficiency. Summary of the invention

[0004] The present application aims to solve the problems of high cost and low efficiency of existing environmental perception function testing solutions for televisions, and proposes a testing method, device and storage medium for the environmental perception function of televisions.

[0005] The technical solution adopted by this application to solve the above technical problems is:

[0006] In a first aspect, the present application provides a method for testing a television environment perception function, the method comprising:

[0007] S1, using a camera of a television to capture an image of a target person's portrait, determining the focal length and target width of the camera when capturing the image, and determining the eye distance of the target person's portrait in the image, wherein the target person's portrait is placed at a preset position in front of the television;

[0008] S2, calculating the distance between the target portrait image and the TV according to the focal length, the target surface width and the eye distance, and testing the TV environment perception function at the distance;

[0009] S3. After adjusting the focal length of the camera, repeat S1 to S2 to complete the test of the TV environment perception function at different distances.

[0010] Furthermore, determining the eye distance of the target person in the image specifically includes:

[0011] Use the face detection model to extract facial feature points in the image;

[0012] The facial feature points of the image area of ​​the left and right eyes are extracted, and the eye distance is calculated according to the coordinates of the facial feature points corresponding to the left and right eyes.

[0013] Furthermore, the eye distance of the target portrait is the outer width of the eyes, the inner width of the eyes, the width of the palpebral fissure or the pupil distance.

[0014] Furthermore, the distance calculation formula between the target portrait image and the TV is as follows:

[0015]

[0016] Among them, D represents the distance between the target portrait image and the TV, B represents the eye distance of the target portrait in the image, f represents the focal length of the camera, and w represents the target width of the camera.

[0017] Furthermore, the test of the TV environment perception function specifically includes:

[0018] Obtaining a pre-built mapping relationship between the distance between the target portrait image and the TV and the adjustment parameters;

[0019] Determining corresponding adjustment parameters according to the distance between the target portrait image and the television and based on the mapping relationship, and adjusting the television according to the determined adjustment parameters;

[0020] Determine whether the TV environment perception function is normal based on the adjustment results.

[0021] Furthermore, the adjustment parameters include one or more of a volume adjustment parameter, a channel adjustment parameter, a chroma adjustment parameter, and a saturation adjustment parameter.

[0022] In a second aspect, the present application provides a device for testing a television environment perception function, the device comprising:

[0023] A target person portrait image placed at a preset position in front of the TV;

[0024] A camera, used to capture an image of a target person's portrait;

[0025] The controller is used to determine the focal length and target width of the camera when shooting an image, and determine the eye distance of the target portrait in the image; calculate the distance between the target portrait image and the TV according to the focal length, target width and eye distance, and test the TV environment perception function at this distance; and adjust the focal length of the camera to complete the test of the TV environment perception function at different distances.

[0026] In a third aspect, the present application provides another device for testing a television environment perception function, wherein the device is used to implement the steps of the method for testing a television environment perception function as described in the first aspect.

[0027] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed, the steps of the method for testing the television environment perception function as described in the first aspect are implemented.

[0028] The beneficial effects of the present application are as follows: the testing method, device and storage medium for the television environment perception function provided by the present application, by setting a target portrait picture that can be recognized as a portrait by the television camera, avoids the problem of requiring testers to stand in front of the television for a long time for testing, reduces the manpower cost of the test and improves the test efficiency, and by adjusting the focal length of the camera to change the distance between the target portrait picture and the television, there is no need to manually adjust the position of the target portrait picture, further improving the test efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 A flowchart of a method for testing a television environment perception function provided in an embodiment of the present application;

[0030] Figure 2 A schematic diagram of the structure of a testing device for a television environment perception function provided in an embodiment of the present application. DETAILED DESCRIPTION

[0031] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0032] In some of the processes described in the specification of this application and the above-mentioned figures, multiple operations appearing in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this article or may be executed in parallel. The sequence numbers of the operations are only used to distinguish different operations, and the sequence numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel.

[0033] The technical solution of the embodiment of the present application is applicable to application scenarios where the environmental perception function of a television needs to be tested, such as factory testing of a television.

[0034] Since the current testing scheme for the TV environment perception function requires testers to stand in front of the TV for a long time, the human resource consumption is large, resulting in high costs. In addition, it is difficult for testers to stand for a long time, so uninterrupted testing is impossible, resulting in low testing efficiency.

[0035] Based on this, the technical solution of the present application is proposed. In an embodiment of the present application, an image of a target portrait picture is captured by a camera of a television, the focal length and target surface width of the camera when capturing the image are determined, and the eye distance of the target portrait in the image is determined, and the target portrait picture is placed at a preset position in front of the television; the distance between the target portrait picture and the television is calculated according to the focal length, target surface width and eye distance, and the environmental perception function of the television at this distance is tested; the above operations are repeated after adjusting the focal length of the camera to complete the test of the environmental perception function of the television at different distances.

[0036] Specifically, the embodiment of the present application first places a target portrait image at a preset position in front of the TV, and the target portrait head piece can be recognized as a portrait by the TV camera, and then uses the TV camera to capture the image of the target portrait image, and at the same time determines the focal length and target surface width of the camera when capturing the image, as well as the eye distance of the target portrait in the image, and then calculates the distance between the target portrait image and the TV according to the focal length, target surface width and eye distance. The TV uses this distance as the user viewing distance to test the TV environment perception function, and finally adjusts the user viewing distance recognized by the TV by adjusting the camera focal length, thereby realizing the test of the TV environment perception function at different distances. The present application avoids the problem of requiring testers to stand in front of the TV for a long time for testing, reduces the labor cost of the test and improves the test efficiency, and changes the distance between the target portrait image and the TV by adjusting the focal length of the camera, without the need to manually adjust the position of the target portrait image, further improving the test efficiency.

[0037] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.

[0038] Figure 1 For a flow chart of a method for testing a television environment perception function provided in an embodiment of the present application, please refer to Figure 1 , the method comprises the following steps:

[0039] S1. Use a camera of a television to capture an image of a target portrait, determine the focal length and target width of the camera when capturing the image, and determine the eye distance of the target portrait in the image. The target portrait is placed at a preset position in front of the television.

[0040] It can be understood that the target portrait image must ensure that it can be recognized as a portrait by the TV camera, the camera is electrically connected to the TV, the camera is set on the TV panel and has a focus adjustment function.

[0041] In practical applications, the target portrait image is first placed at a preset position in front of the TV, and then the camera shoots the target portrait image according to the current focal length and target surface width. After the camera obtains the image of the target portrait image, the eye distance of the target portrait in the image is determined.

[0042] The focal length of a camera refers to the distance from the optical center of the lens to the focal point where light gathers. The longer the focal length, the larger the image; the shorter the focal length, the smaller the image. The target width of a camera refers to the width of the target surface of the camera sensor. Different sizes will affect the imaging quality and applicable scenarios of the camera.

[0043] In the embodiment of the present application, the eye distance of the target portrait can be the outer width of the two eyes, the inner width of the two eyes, the width of the interocular fissure or the pupil distance. In practical applications, the eye distance can be determined using the OpenCV and Mediapipe methods, that is, first use Mediapipe to install the library, then use OpenCV to read the image of the target portrait picture, and finally use the face detection model in Mediapipe to detect the eyes and calculate the distance. The calculation process specifically includes:

[0044] The face detection model is used to extract the facial feature points in the image; the facial feature points in the image area of ​​the left and right eyes are extracted, and the eye distance is calculated according to the coordinates of the facial feature points corresponding to the left and right eyes.

[0045] S2. Calculate the distance between the target portrait image and the TV according to the focal length, target surface width and eye distance, and test the TV environment perception function at the distance.

[0046] In the embodiment of the present application, the calculation formula for calculating the distance between the target portrait image and the TV according to the focal length, the target surface width and the eye distance is as follows:

[0047]

[0048] Among them, D represents the distance between the target portrait image and the TV, B represents the eye distance of the target portrait in the image, f represents the focal length of the camera, and w represents the target width of the camera.

[0049] After calculating the distance between the target portrait image and the TV, the TV uses this distance as the user's viewing distance to test the TV's environmental perception function, including:

[0050] First, a pre-constructed mapping relationship between the distance between the target portrait image and the TV and the adjustment parameters is obtained; then, the corresponding adjustment parameters are determined according to the distance between the target portrait image and the TV and based on the mapping relationship, and the TV is adjusted according to the determined adjustment parameters; finally, whether the TV environment perception function is normal is determined according to the adjustment result, thereby completing the test of the TV environment perception function at the current distance.

[0051] The adjustment parameters include one or more of volume adjustment parameters, channel adjustment parameters, chroma adjustment parameters and saturation adjustment parameters. By adjusting the adjustment parameters, the volume, brightness and picture style of the TV can be adjusted. After adjusting the adjustment parameters, whether the TV achieves the expected adjustment effect can be used to determine whether the TV environment perception function at the current distance is normal.

[0052] S3. After adjusting the focal length of the camera, repeat S1 to S2 to complete the test of the TV environment perception function at different distances.

[0053] Specifically, after adjusting the focal length of the camera, the calculated distance between the target portrait image and the TV will also change, thereby changing the user viewing distance recognized by the TV. The TV then retests the environmental perception function at the changed distance. By repeating the above steps, the test of the TV's environmental perception function at different distances can be completed.

[0054] In summary, the testing method for the television environment perception function provided in the embodiment of the present application avoids the problem of requiring testers to stand in front of the TV for a long time for testing, reduces the manpower cost of the test and improves the test efficiency. By adjusting the focal length of the camera to change the distance between the target portrait image and the TV, there is no need to manually adjust the position of the target portrait image, which further improves the test efficiency.

[0055] See also Figure 2 Based on the above technical solution, the embodiment of the present application also provides a testing device for the environment perception function of a television, the device comprising:

[0056] A target person portrait image placed at a preset position in front of the TV;

[0057] A camera, used to capture an image of a target person's portrait;

[0058] The controller is used to determine the focal length and target width of the camera when shooting an image, and determine the eye distance of the target portrait in the image; calculate the distance between the target portrait image and the TV according to the focal length, target width and eye distance, and test the TV environment perception function at this distance; and adjust the focal length of the camera to complete the test of the TV environment perception function at different distances.

[0059] Based on the above technical solution, the embodiment of the present application also provides another testing device for the television environment perception function, which is used to implement the steps of the testing method for the television environment perception function as described in the embodiment of the present application.

[0060] It can be understood that since the device described in the embodiments of the present application is a device for implementing the method described in the embodiments, for the device disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple. For relevant parts, please refer to the partial description of the method, which will not be repeated here.

[0061] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

Claims

1. A method for testing a television environment perception function, characterized in that: The method comprises: S1, using a camera of a television to capture an image of a target person's portrait, determining the focal length and target width of the camera when capturing the image, and determining the eye distance of the target person's portrait in the image, wherein the target person's portrait is placed at a preset position in front of the television; S2, calculating the distance between the target portrait image and the TV according to the focal length, the target surface width and the eye distance, and testing the TV environment perception function at the distance; S3. After adjusting the focal length of the camera, repeat S1 to S2 to complete the test of the TV environment perception function at different distances.

2. The method for testing the television environment perception function according to claim 1, characterized in that: Determining the eye distance of the target person in the image specifically includes: Use the face detection model to extract facial feature points in the image; The facial feature points of the image area of ​​the left and right eyes are extracted, and the eye distance is calculated according to the coordinates of the facial feature points corresponding to the left and right eyes.

3. The method for testing the television environment perception function according to claim 1 or 2, characterized in that: The eye distance of the target portrait is the outer width of the two eyes, the inner width of the two eyes, the width of the eye fissure or the pupil distance.

4. The method for testing the television environment perception function according to claim 1, characterized in that: The distance calculation formula between the target portrait image and the TV is as follows: Among them, D represents the distance between the target portrait image and the TV, B represents the eye distance of the target portrait in the image, f represents the focal length of the camera, and w represents the target width of the camera.

5. The method for testing the television environment perception function according to claim 1, characterized in that: The TV environment perception function test specifically includes: Obtaining a pre-built mapping relationship between the distance between the target portrait image and the TV and the adjustment parameters; Determining corresponding adjustment parameters according to the distance between the target portrait image and the television and based on the mapping relationship, and adjusting the television according to the determined adjustment parameters; Determine whether the TV environment perception function is normal based on the adjustment results.

6. The method for testing the television environment perception function according to claim 5, characterized in that: The adjustment parameters include one or more of a volume adjustment parameter, a channel adjustment parameter, a chroma adjustment parameter, and a saturation adjustment parameter.

7. A device for testing the environment perception function of a television, characterized in that: The device comprises: A target person portrait image placed at a preset position in front of the TV; A camera, used to capture an image of a target person's portrait; The controller is used to determine the focal length and target width of the camera when shooting an image, and determine the eye distance of the target portrait in the image; calculate the distance between the target portrait image and the TV according to the focal length, target width and eye distance, and test the TV environment perception function at this distance; and adjust the focal length of the camera to complete the test of the TV environment perception function at different distances.

8. A device for testing the environment perception function of a television, characterized in that: The device is used to implement the steps of the method for testing the television environment perception function as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the steps of the method for testing the television environment perception function according to any one of claims 1 to 6 are implemented.