Method for detecting change of television poster

The image difference detection algorithm and the connection domain algorithm detect changes in smart TV posters, which solves the problem of low efficiency in the existing technology, achieves high accuracy and automated analysis, and reduces labor costs.

CN119295421APending Publication Date: 2025-01-10SICHUAN CHANGHONG ELECTRIC CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411444610.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-16
Publication Date
2025-01-10

AI Technical Summary

Technical Problem

The prior art is difficult to detect changes in smart TV posters quickly and accurately, resulting in low manual recognition efficiency and difficult to meet the needs of rapid iteration.

Method used

The image difference detection algorithm is used to detect the changes of TV posters. By obtaining screenshots, converting them into grayscale images, calculating the difference values, using the connectivity domain algorithm to detect the change areas, and comparing them with the poster position template to determine the change poster, combining timed acquisition of screenshots and automation Click Test.

Benefits of technology

Improve the accuracy and efficiency of change identification, reduce labor costs, and realize automated analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119295421A_ABST
    Figure CN119295421A_ABST
Patent Text Reader

Abstract

The invention relates to the field of intelligent television detection, and provides a television poster change detection method in order to improve the change identification accuracy, which comprises the following steps of: performing screenshot on a page to be detected, comparing the difference between two pictures through an image difference detection algorithm to obtain a change position, and determining a changed poster based on the change position. Automatic analysis is realized through screenshot comparison, the change identification accuracy and efficiency are improved, and the labor cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of intelligent television detection, and in particular to a method for detecting changes in television posters. Background Art

[0002] With the rapid development of smart technology, smart devices have penetrated into all walks of life, especially smart TVs, which have gradually become the core of home entertainment. On the launcher homepage of smart TVs, there are a wide variety of columns (such as TV series, movies, variety shows, animations, etc.), and the posters displayed under the columns are even more diverse. Users only need to touch the poster to watch the corresponding program immediately.

[0003] However, whether the video can be played correctly when clicking on the poster, how fast it loads, etc., directly affect the user experience. For example, when a user clicks on a poster in a TV series column, if the corresponding video fails to start normally, their satisfaction will inevitably be greatly reduced. In the past, when testing the click function of these posters, they often manually identified the changed posters and then conducted the test. Due to the large amount of data, the manual identification efficiency was low and it was easy to miss the test, which made it difficult to meet the needs of rapid iteration. Summary of the invention

[0004] In order to improve the accuracy of change recognition, the present application provides a method for detecting changes in television posters.

[0005] The technical solution adopted by the present invention to solve the above problems is:

[0006] The method for detecting changes in TV posters includes:

[0007] Step 1: Get a screenshot of the page to be tested;

[0008] Step 2: Detect the two screenshots based on the image difference detection algorithm to determine the area that has changed;

[0009] Step 3: Determine the changed poster based on the changed area.

[0010] Furthermore, the step 2 is specifically as follows:

[0011] Step 21: Convert the previous and next screenshots into grayscale images;

[0012] Step 22: Calculate the difference between each corresponding pixel in the two screenshots, and determine the changed pixel based on the difference;

[0013] Step 23: Based on the changed pixels, a connected domain algorithm is used to detect all changed areas in the screenshot.

[0014] Furthermore, the step 22 further includes setting a threshold value, and if the difference value is greater than the threshold value, the pixel point has changed.

[0015] Furthermore, the step 1 also includes creating a poster position template based on the page to be detected;

[0016] The step 3 specifically includes: comparing the changed area with the poster position template to determine the changed poster.

[0017] Furthermore, screenshots of the page to be detected are obtained at regular intervals.

[0018] Furthermore, the method also includes step 4 of performing an automated click test on the changed posters.

[0019] Compared with the prior art, the invention has the following beneficial effects: screenshots are taken of the page to be detected, the difference between the two pictures before and after is compared by an image difference detection algorithm to obtain the changed position, and the changed poster is determined based on the changed position. Automatic analysis is achieved through screenshot comparison, which improves the accuracy and efficiency of change recognition and reduces labor costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 The present invention is a flow chart of a method for detecting changes in television posters. DETAILED DESCRIPTION

[0021] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0022] like Figure 1 As shown, the method for detecting changes in TV posters includes:

[0023] Step 1: Get a screenshot of the page to be tested. The TV homepage generally includes multiple columns, such as TV series, movies, variety shows, animation, etc. According to the test requirements, screenshots of each column are taken regularly. The screenshots contain several posters and the screenshots are stored by column category.

[0024] Step 2: Detect the two screenshots based on the image difference detection algorithm to determine the changed area.

[0025] Taking the TV series column as an example, specifically: convert the newly acquired screenshot of the TV series column and the screenshot of the TV series column acquired last time into grayscale images, and use the image difference detection algorithm (such as cv2.absdiff()) to calculate the difference value of each pixel in the two pictures; if the difference value is small, the poster may not have changed, because the screenshot has a high resolution and image quality, so that small changes can also be accurately captured, so this embodiment sets a threshold to filter out noise with small changes to improve detection accuracy; based on the changed pixels, use the connected region algorithm (such as cv2.findContours()) to detect all changed areas in the picture.

[0026] Step 3, determine the changed poster based on the changed area. The position and size of the posters in each column are fixed. After obtaining the position information of the changed area, the changed poster can be calculated. In order to simplify the calculation process, this embodiment sets a poster position template according to the poster position and size. The poster position template stores the specific position of the poster. The changed poster can be determined by comparing the changed area with the poster position template. The poster position template can be created according to the column design requirements, or it can be created based on the screenshot when the screenshot is taken for the first time, and there is no limitation here.

[0027] The above process is generally completed based on an external test device. In this embodiment, the external test device is connected to the TV device to be tested in an adb manner.

[0028] Furthermore, after the changed posters are determined, an automated click test may be performed on the changed posters.

Claims

1. A method for detecting changes in television posters, characterized in that: include: Step 1: Get a screenshot of the page to be tested; Step 2: Detect the two screenshots based on the image difference detection algorithm to determine the area where changes have occurred; Step 3: Determine the changed poster based on the changed area.

2. The method for detecting changes in television posters according to claim 1, characterized in that: The step 2 is specifically as follows: Step 21: Convert the previous and next screenshots into grayscale images; Step 22: Calculate the difference between each corresponding pixel in the two screenshots, and determine the changed pixel based on the difference; Step 23: Based on the changed pixels, a connected domain algorithm is used to detect all changed areas in the screenshot.

3. The method for detecting changes in television posters according to claim 2, characterized in that: The step 22 further includes setting a threshold. If the difference value is greater than the threshold, the pixel point has changed.

4. The method for detecting changes in television posters according to claim 2, characterized in that: The step 1 also includes creating a poster position template based on the page to be detected; The step 3 specifically includes: comparing the changed area with the poster position template to determine the changed poster.

5. The method for detecting changes in television posters according to claim 1, characterized in that: Get screenshots of the page to be tested regularly.

6. The method for detecting changes in television posters according to any one of claims 1 to 5, characterized in that: The method also includes step 4, performing automated click testing on the changed posters.