Display device and intelligent scene picture quality parameter adjustment method
By identifying and processing the graphics and text information of screenshots on smart TV devices, determining scene categories and adjusting image quality parameters, the problem of insufficient recognition of similar scenes and split-screen scenes is solved, and the user experience is improved.
Patent Information
- Application Number
- CN202210594569.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-27
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2042-05-27
AI Technical Summary
Existing smart TV devices have insufficient ability to recognize similar scenes and split-screen scenes when identifying content that users are watching, resulting in the inability to accurately adjust image quality parameters and affecting user experience.
By performing a screenshot operation on the display device, the graphical information and text information are identified, the mask vector is calculated and added, the scene category is determined using the normalized exponential function, and the image quality parameters are adjusted according to the scene category.
It improves the accuracy of scene recognition, avoids misrecognition and flickering of the picture, and improves the user's viewing experience.
Smart Images

Figure CN114979791B
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent image recognition technology, and in particular to a display device and an intelligent scene image quality parameter adjustment method. Background Art
[0002] Display devices refer to terminal devices that can output specific display images, such as smart TVs, mobile terminals, smart advertising screens, projectors, etc. With the rapid development of display devices, the functions of display devices will become more and more abundant, and the performance will become more and more powerful. They can realize two-way human-computer interaction functions, integrate multiple functions such as audio and video, entertainment, and data, and are used to meet the diverse and personalized needs of users.
[0003] With the development of science and technology and the continuous improvement of people's living standards, the use of various smart devices such as TV devices and network playback devices has become more and more popular, and people have higher and higher requirements for the intelligence of smart devices. AI can intelligently identify the program information of the content being watched, such as UI interface, games, animations, movies, etc. At present, there are many methods for applying deep learning to smart TVs to assist smart TVs in identifying the program information of the content being watched by users. Convolutional neural network is one of the above methods. By running a trained convolutional neural network model on a smart TV, the convolutional neural network model analyzes and notifies the smart TV of the program information of the content currently being watched by the user. For example, when a user watches a video in the movie category, it can be identified as a romance movie or an action movie.
[0004] However, the convolutional neural network model is not easy to distinguish between scenes that are relatively close. For example, when a user plays any TV source, the convolutional neural network model cannot identify whether it is a romance movie or a romance TV series. In addition, the convolutional neural network model is also unable to identify split-screen scenes. For example, if a user turns on the video function on the left and watches a live sports broadcast on the right, the convolutional neural network model will generate error information and cannot determine the user's current video scene, and thus cannot adjust the image quality parameters for different video scenes, affecting the user's visual experience. Summary of the invention
[0005] The present invention provides a display device and a method for adjusting picture quality parameters of intelligent scenes, so as to solve the problem that when a user uses a set-top box to continuously change channels, the picture is sometimes bright and sometimes dark, and it is difficult to distinguish between similar scenes, and the problem that the scene cannot be recognized when the display device is split-screen.
[0006] In a first aspect, some embodiments of the present application provide a display device, the display device comprising:
[0007] a display configured to display a user interface;
[0008] The controller is configured as:
[0009] Obtaining a control instruction input by a user for adjusting image quality parameters;
[0010] In response to the control instruction, a screenshot operation is performed on the user interface to obtain a screenshot image;
[0011] identifying graphical information and textual information in the screenshot image;
[0012] The feature vector is obtained by respectively calculating the mask vectors of the graphic information and the text information and adding the mask vectors;
[0013] Calculating the feature vector according to a normalized exponential function to obtain a scene category;
[0014] The image quality parameters are adjusted according to the scene category.
[0015] In a second aspect, some embodiments of the present application provide a method for adjusting image quality parameters of an intelligent scene, which is applied to a display device, wherein the display device includes a display and a controller, and the method includes:
[0016] Obtaining a control instruction input by a user for adjusting image quality parameters;
[0017] In response to the control instruction, a screenshot operation is performed on the user interface to obtain a screenshot image;
[0018] identifying graphical information and textual information in the screenshot image;
[0019] The feature vector is obtained by respectively calculating the mask vectors of the graphic information and the text information and adding the mask vectors;
[0020] Calculating the feature vector according to a normalized exponential function to obtain a scene category;
[0021] The image quality parameters are adjusted according to the scene category.
[0022] It can be seen from the above technical solutions that some embodiments of the present application provide a display device and an intelligent scene picture quality parameter adjustment method. After the user inputs a control instruction for adjusting the picture quality parameters, a screenshot operation can be performed on the user interface to obtain a screenshot image, and the graphic information and text information are identified from the screenshot image, and then the mask vectors of the graphic information and the text information are calculated respectively, and the mask vectors of the calculated graphic information and the mask vectors of the text information are added to obtain a feature vector, and the feature vector is calculated according to the normalized exponential function to obtain the scene category. The display device can adjust the picture quality parameters according to the scene category. The present application can not only improve the scene recognition accuracy but also enhance the user's viewing experience. Accurate scene recognition can also be performed for split-screen scenes, which can effectively avoid misrecognition, and when it is determined that the user is continuously changing channels, the picture quality parameters are not adjusted to avoid flickering images. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0024] Figure 1 shows a usage scenario of the display device 200 according to some embodiments;
[0025] Figure 2 shows a hardware configuration block diagram of a control device 100 according to some embodiments;
[0026] Figure 3 shows a hardware configuration block diagram of a display device 200 according to some embodiments;
[0027] Figure 4 shows a software configuration diagram in a display device 200 according to some embodiments;
[0028] Figure 5 A schematic diagram showing the connection relationship between the display device 200 and the external device 500 according to some embodiments;
[0029] Figure 6 A schematic diagram of a process of adjusting a method for intelligent scene image quality parameters according to some embodiments is shown;
[0030] Figure 7 A timing relationship diagram in a method for adjusting image quality parameters of an intelligent scene according to some embodiments is shown;
[0031] Figure 8 A schematic diagram of key partition clipping in a method for adjusting image quality parameters of an intelligent scene according to some embodiments is shown;
[0032] Fig. 9 A schematic diagram of a display scene of detailed image information in a method for adjusting image quality parameters of an intelligent scene according to some embodiments is shown;
[0033] Fig.10 A schematic diagram of an interface of a split-screen scene in a method for adjusting picture quality parameters of an intelligent scene in some embodiments is shown;
[0034] Fig.11 A schematic diagram of a display scene of specific text position information in a method for adjusting image quality parameters of an intelligent scene according to some embodiments is shown;
[0035] Fig.12 A schematic diagram of scene determination results in an intelligent scene image quality parameter adjustment method according to some embodiments is shown. DETAILED DESCRIPTION
[0036] In order to make the purpose, implementation mode and advantages of the present application clearer, the exemplary implementation mode of the present application will be clearly and completely described below in conjunction with the drawings in the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only part of the embodiments of the present application, rather than all the embodiments.
[0037] Based on the exemplary embodiments described in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the claims attached to this application. In addition, although the disclosure in this application is introduced according to one or several exemplary examples, it should be understood that each aspect of these disclosures can also constitute a complete implementation method separately. It should be noted that the brief description of the terms in this application is only for the convenience of understanding the implementation methods described below, and is not intended to limit the implementation methods of this application. Unless otherwise specified, these terms should be understood according to their common and usual meanings.
[0038] The terms "first", "second", "third", etc. in the specification and claims of this application and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise noted. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances.
[0039] The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to all the components expressly listed but may include other components not expressly listed or inherent to such product or device.
[0040] The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and / or software code that is capable of performing the functions associated with that element.
[0041] Figure 1 is a schematic diagram of an operation scenario between a display device 200 and a control device 100 according to one or more embodiments of the present application, such as Figure 1 As shown, the user can operate the display device 200 through the smart device 300 and the control device 100. The control device 100 can be a remote controller, and the communication between the remote controller and the display device 200 includes infrared protocol communication, Bluetooth protocol communication, wireless or other wired methods to control the display device 200. The user can input user instructions through buttons on the remote controller, voice input, control panel input, etc. to control the display device 200. In some embodiments, a mobile terminal, a tablet computer, a computer, a laptop computer, and other smart devices can also be used to control the display device 200.
[0042] In some embodiments, the smart device 300 may include any one of a tablet computer, a computer, a laptop computer, an AR / VR device, etc.
[0043] In some embodiments, the display device 200 can also be controlled in a manner other than the control device 100 and the smart device 300. For example, the user's voice command control can be directly received through a module for obtaining voice commands configured inside the display device 200, or the user's voice command control can be received through a voice control device set outside the display device 200.
[0044] In some embodiments, the display device 200 also communicates data with the server 400. The display device 200 may be allowed to communicate via a local area network (LAN), a wireless local area network (WLAN), and other networks. The server 400 may provide various content and interactions to the display device 200. The display device 200 may be a liquid crystal display, an OLED display, or a projection display device, and the server 400 may be one cluster or multiple clusters, and may include one or more types of servers.
[0045] Figure 2 Schematically shows a block diagram of a configuration of the control device 100 according to an exemplary embodiment. Figure 2As shown, the control device 100 includes a controller 110, a communication interface 130, a user input / output interface 140, a memory, and a power supply. The control device 100 can receive the user's input operation instructions, and convert the operation instructions into instructions that the display device 200 can recognize and respond to, and play an interactive intermediary role between the user and the display device 200. The communication interface 130 is used to communicate with the outside, and includes at least one of a WIFI chip, a Bluetooth module, NFC or an alternative module. The user input / output interface 140 includes at least one of a microphone, a touchpad, a sensor, a button or an alternative module.
[0046] Figure 3 FIG. 2 shows a hardware configuration block diagram of a display device 200 according to an exemplary embodiment. Figure 3 As shown, the display device 200 includes at least one of a tuner 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface 280. The controller includes a central processing unit, a video processor, an audio processor, a graphics processor, a RAM, a ROM, and a first interface to an nth interface for input / output. The display 260 can be at least one of a liquid crystal display, an OLED display, a touch display, and a projection display, and can also be a projection device and a projection screen. The tuner 210 receives broadcast television signals through wired or wireless reception, and demodulates audio and video signals from multiple wireless or wired broadcast television signals, such as and EPG (Electronic Program Guide) data signals. The detector 230 is used to collect signals of the external environment or interact with the outside. The controller 250 and the tuner-demodulator 210 may be located in different separate devices, that is, the tuner-demodulator 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.
[0047] In some embodiments, the controller 250 controls the operation of the display device 200 and responds to the user's operation through various software control programs stored in the memory. The controller 250 controls the overall operation of the display device 200. The user can input a user command in a graphical user interface (GUI) displayed on the display 260, and the user input interface receives the user input command through the graphical user interface (GUI). Alternatively, the user can input a user command by inputting a specific sound or gesture, and the user input interface recognizes the sound or gesture through a sensor to receive the user input command.
[0048] like Figure 4The software configuration diagram of the display device 200 according to one or more embodiments of the present application is shown. The system is divided into four layers, from top to bottom, respectively, the application layer (Applications) (referred to as "application layer"), the application framework layer (Application Framework) (referred to as "framework layer"), the Android runtime (Android runtime) and the system library layer (referred to as "system runtime layer"), and the kernel layer. The kernel layer includes at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power driver, etc.
[0049] In some embodiments, based on the above display device 200, the display device 200 can also establish a communication connection with an external device 500 to play the video data sent by the external device 500. The external device 500 can be a game console, a notebook, an audio-visual device, a set-top box, a TV box, etc. For example, Figure 5 As shown, a High Definition Multimedia Interface (HDMI) is provided on both the display device 200 and the external device 500. During use, the user can plug the two ends of the HDMI interface data cable into the display device 200 and the external device 500 respectively, and after starting the display device 200, set the signal source of the display device 200 to the HDMI interface, thereby realizing data transmission between the display device 200 and the external device 500.
[0050] In some embodiments, it should be noted that other connection methods may be used between the display device 200 and the external device 500. The specific connection method may be a wired connection method or a wireless connection method, such as wireless LAN, Bluetooth connection, infrared, etc.
[0051] In some embodiments, the user can not only use the display device 200 to play any source, but also play videos through an external device 500, such as a set-top box, a TV box, and a game console. Since the current display device 200 has a split-screen function, the screen can be split into two or more parts according to the needs of the user. The screen display ratio of each part after the split is adjusted according to the actual needs of the user, and the applications displayed in each part after the split do not affect each other. For example, the user can start a video call on the left and watch live sports on the right, but for such a split-screen scene, the display device 200 cannot accurately identify the scene category of the current user interface, and it is also impossible to adjust the image quality parameters, which affects the user's visual experience.
[0052] Therefore, in order to enable the display device 200 to obtain better picture effects in different scenes, a method for adjusting the picture quality parameters of an intelligent scene is provided in some embodiments of the present application. The method can be used in the display device 200, so that the display device 200 can identify the scene category of the current user playback interface by taking a screenshot of the user's current playback interface, and can intelligently adjust the picture quality parameters of the scene image according to the scene category. Figure 6 As shown, the display device 200 should include at least a display 260 and a controller 250. The display 260 is used to display a user interface and can also display video data sent from an external device 500. The controller 250 can implement the intelligent scene quality parameter adjustment method by running an application corresponding to the intelligent scene quality parameter adjustment method, such as Figure 7 As shown, specifically including the following:
[0053] In some embodiments, the display device 200 obtains a control instruction for automatically adjusting the picture quality parameters input by the user when displaying any content. The display device 200 is controlled to take a screenshot of the currently displayed picture, identify the currently displayed picture scene, classify the current picture scene, and adjust the picture quality parameters accordingly according to the scene category. For example, when a user is watching a TV program, the user inputs an instruction to adjust the picture quality parameters through the control device 100. When the display device 200 receives the instruction to adjust the picture quality parameters, the display device 200 takes a screenshot of the currently displayed TV picture. For example, if the current user screen is playing "xxx troubles", a screenshot is taken to obtain a screenshot picture, that is, the content played on the current screen is stored in the memory of the display device 200 in the form of a picture, and the scene recognition is performed on the screenshot picture. In the screenshot picture, it can be identified that the picture scene category in the picture belongs to a movie, and then the picture quality parameters are adjusted according to the scene category, that is, the corresponding picture quality parameters of the movie are adjusted to achieve the best effect that meets the user's viewing.
[0054] In some embodiments, when the display device 200 is displaying any content, when the display device 200 has a built-in intelligent voice interaction system, the user can input voice content such as "adjust image quality" or "image quality parameters", and the display device 200 responds to the user's voice such as "adjust image quality" to control the display device 200 to take a screenshot of the currently displayed image. The user can also control the display device 200 to take a screenshot of the currently displayed image by pressing buttons, and identify the scene category of the screenshot, and then adjust the corresponding image quality parameters according to the identified scene category. The voice interaction method can also trigger the display device 200 to perform image quality parameter adjustment, that is, input a control instruction for automatically adjusting the image quality parameters.
[0055] In some embodiments, the user plays a video or plays a game by connecting an external device 500, and can control the display device 200 to play the video data sent by the external device 500 and trigger automatic adjustment of the image quality parameters by inputting a series of interactive actions. For example, after a game device is connected to the HDMI interface of the display device 200, the user can control the display device 200 to switch the signal source through the "signal source" button on the control device 100, or the direction key and the confirmation key and based on the signal source selection interface, so that the signal source of the display device 200 is the HDMI interface. After setting the signal source, the display device 200 can receive the game screen generated by the game device from the HDMI interface, and play the game screen on the display device 200, that is, when the user controls the display device 200 to switch the signal source through the control device 100, the control instruction for adjusting the image quality parameters is input.
[0056] It should be noted that the above-mentioned interaction methods can all complete the input of control instructions. In actual applications, the display device 200 can support a combination of one or more of the above-mentioned interaction methods according to its own hardware conditions, so that the user can conveniently and quickly complete the input of control instructions to trigger the display device 200 to adjust the image quality parameters. In addition, in order to trigger the display device 200 to adjust the image quality parameters, the display device 200 can also input the control instructions for adjusting the image quality parameters through other interaction forms other than the above-mentioned interaction methods. Therefore, the above-mentioned interaction methods are only used as some examples and do not limit the specific input methods of the control instructions of this application.
[0057] After obtaining the control instruction input by the user for adjusting the image quality parameters, the display device 200 performs a screenshot operation on the user's current playback interface in response to the control instruction input by the user, wherein the screenshot refers to capturing the screen of the entire content currently displayed on the display to obtain a screenshot image. For example, at a certain time point, when the user is watching a video program, the control instruction for adjusting the image quality parameters is triggered by the user input, and the display device 200 is controlled to first take a screenshot of the current user playback interface; for another example, when the user is watching a system homepage that does not contain a video screen, the control instruction for adjusting the image quality parameters is triggered by the user input, and the display device 200 is controlled to take a screenshot of the currently displayed user interface, and a frame of 512×288×3 RGB screen playback source screenshot, i.e., a screenshot image, is obtained.
[0058] After obtaining the screenshot image, the graphic information and text information are identified in the screenshot image. Among them, the graphic information refers to the set of all graphic contents appearing in the identified screenshot image, and the text information refers to the set of all text contents in the identified screenshot image. It is explained that the present application not only recognizes all graphic contents appearing in the screenshot image but also recognizes all text contents in the screenshot image, so as to achieve the purpose of improving the accuracy of scene recognition in the screenshot image. Among them, the graphic information also includes global image information and detailed image information. Global image information refers to the classification of all images, such as the classification of human objects in the image as human beings. Detailed image information refers to the detailed distinction of all graphic contents, such as through the image recognition model, the station logo graphics appearing in the image can be identified, that is, the special logo used to represent TV stations, TV channels, radio stations or digital traditional media. Among them, the image recognition model can be obtained by training the initial model based on the "graphic-label" sample data.
[0059] The text information also includes text divergence information and specific position text information. The text divergence information is calculated by a specific formula, which will not be described in detail here. The calculation process will be described in detail in the following discussion. The specific position text information refers to the specific text in the specified text selection box. For example, by using the optical character recognition (OCR) algorithm, many words that appear in the screenshot image can be identified. Each word can be set with its own text box, and the text in the text box can be identified by selecting a text box at a specific position on the display device 200. For example, when the user turns on the smart TV, the main page of the TV will pop up, and applications, search and education will appear in the top column of the TV main page. Then, applications, search and education will each have a virtual text box, that is, a virtual text box that cannot be seen on the TV interface. By performing text recognition on the selected text box, text such as application, search and education can be identified. Through the text information of application, search and education, it can be predicted that the interface scene currently displayed on the TV may be a UI interface. In order to further determine the current playback interface scene, it is also necessary to comprehensively analyze the scene category predicted by the text divergence information and the scene category predicted by the detailed image information, so as to finally determine the specific scene of the user's current playback interface.
[0060] In some embodiments, before the recognition operation is performed on the screenshot image, it is also necessary to perform continuous image accumulation on the screenshot image according to the preset interval time to obtain a continuous image. For example, the display device 200 accumulates the screenshot image at every interval of 3 seconds. Through the uninterrupted accumulation of screenshot images, 5 screenshot images can be accumulated or 8 screenshot images can be accumulated together. After the accumulation of the screenshot images, it is found that these 5 or 8 screenshot images are continuous images that have not changed. It means that the user did not change the channel or switch the channel of the display device 200 through the control device 100 in the preset interval time, so the accumulated screenshot images are a continuous image in the time sequence. If it is found that the screenshot image from the third screenshot image is completely inconsistent with the first two screenshot images and the image screen is discontinuous during the continuous accumulation of the screenshot images, then the obtained image is not a continuous image, which means that the user is continuously changing the channel or switching the TV channel of the display device 200 through the control device 100, and the display device 200 will not adjust the image quality parameters of the displayed image.
[0061] In some embodiments, after determining that the screenshot image is a continuous image, basic image feature extraction is performed on the continuous image to obtain image type and text features. Image type refers to image information containing a certain resolution and some global image features, and text features refer to certain text content and some text features. Among them, basic image feature extraction refers to obtaining the image matrix of the continuous image, and then reducing the resolution of the image matrix through convolution operation. The convolution operation here is a 7x7 convolution kernel depth separable convolution. The 7x7 convolution kernel is a weight parameter that can be trained by back propagation. The update of the weight parameter includes the understanding and feature extraction of the image information in the continuous image, and finally obtains the shallow image feature matrix. The shallow image feature matrix obtained by the convolution operation will not have a feature matrix with a large error value. Thereby, it is possible to quickly compress the excessive redundant detail information in the continuous image and reduce the image resolution.
[0062] In some embodiments, a middle-layer image feature matrix is obtained by performing a convolution operation on a shallow image feature matrix. The convolution operation here is a 1x1 convolution kernel operation, and its purpose is to extract features from continuous images again. Compared with a 7x7 convolution kernel, a 1x1 convolution kernel not only pays more attention to the feature extraction of single pixel information in continuous images, but also reduces the amount of calculation. Then a convolution operation is performed on the middle-layer image feature matrix to obtain an underlying image feature matrix. The convolution operation here is still a 1x1 convolution kernel, which ensures that the input and output continuous image feature dimensions are consistent. The 1x1 convolution kernel can reduce the matrix resolution of the continuous image by 2 times. Then, basic image feature extraction is performed based on the underlying image feature matrix to obtain image type and text features. The purpose of performing basic image feature extraction on continuous images is to be able to continuously convert the two-dimensional image feature information of the space into one-dimensional image feature information by continuously compressing the image resolution during the convolution operation.
[0063] In some embodiments, since the image type contains image information of a certain resolution and some global image features, global image information is obtained by performing global detection on the image type, and detailed image information is obtained by performing first granularity detection on the image type. The first granularity detection is performed by performing key partition clipping on the image type to obtain a feature area. Figure 8 As shown, the key partition clipping is mainly performed by clipping the 7 partitions of the display device 200 to obtain 7 small-scale three-dimensional matrices. That is, the four corners of the display device 200, the center of the display device 200, the long strip area above the center of the display device 200, and the long strip area below the center of the display device 200, which are 7 feature areas, then each feature area is a small-scale three-dimensional matrix, and then the 7 feature areas are aligned to obtain a feature matrix.
[0064] Among them, regional alignment refers to the use of the nearest neighbor interpolation method, that is, by performing the nearest neighbor interpolation method on the three-dimensional matrix of each feature area, a feature matrix of each feature area is obtained. Then a convolution operation is performed on the feature matrix, an image classification vector is output, and the image classification vector is calculated by a normalized exponential function to finally obtain the detailed image information. The significance of using a normalized exponential function is to normalize the image classification vector, highlight the largest value therein and suppress other components that are far below the maximum value. At this time, the output detailed image information may be a face, black corners, and a station logo, etc. For example, if the output detailed image information is a face, it is predicted that the playback scene of the current display device 200 may be a scene such as news, video calls, or TV series.
[0065] If the output detail image information is black corners, such as Fig. 9As shown, the black corners refer to covering the upper and lower sides of the original standard frame. The generation of black corners is related to the ratio of the TV screen. Generally, the ratio of a TV screen is 16:9, while the ratio of most movies is 2.35:1. Therefore, two black areas will appear on the top and bottom or left and right of the display device 200. Fig. 9 In the example shown in the figure, black areas appear in the upper and lower parts of the display device 200. In another case, black areas appear on the left and right sides of the display device 200. The upper and lower black areas overlap with the left and right black areas, that is, the four corners of the display device 200, which are the black corners mentioned in this application. It is predicted that the current playback scene of the display device 200 may be a movie. If the output detailed image information logo is a station logo, the current playback scene of the display device 200 may be a sports program, a variety show, or a cartoon program.
[0066] In some embodiments, after determining that the screenshot image is a continuous image, a second granularity detection is performed on the continuous image to obtain a two-dimensional vector. The second granularity detection refers to further compressing the continuous image. The purpose of the second granularity detection is to determine whether the current user interface is a split-screen scene. After the second granularity detection, a two-dimensional vector will be output. By using a normalized exponential function to perform calculations on the two-dimensional vector, a first value and a second value can be obtained. If the first value is greater than the second value, the scene category corresponding to the continuous image is marked as a split-screen scene, indicating that the current user interface is not a complete user interface. After determining that it is a split-screen scene, the continuous image can be divided according to the number of split screens to obtain an equally divided image.
[0067] For example, Fig.10 As shown, the screen display area of the display device 200 is divided into two or four equal parts, and the split screen area obtained by the two-part division is used to display the equally divided image A and the equally divided image B respectively. As for whether the equally divided image A and the equally divided image B are displayed vertically or horizontally, this application does not limit it, as long as the equally divided image A and the equally divided image B can obtain a good display ratio. It is also possible to divide the screen display area into four equal parts, and the obtained split screen area is used to display the equally divided image A, the equally divided image B, the equally divided image C and the equally divided image D respectively. These four split screen areas correspond to different application scenarios. For example, the equally divided image A may be a video call, the equally divided image B may be watching a movie, the equally divided image C may be watching a variety show, and the equally divided image D may be playing a game scene. Then, a screenshot is taken of the entire content of the current display area, and then the basic image feature extraction is performed on each equally divided image. For each equally divided image, the image type and text feature of each equally divided image will be obtained, and the previous steps are repeated to obtain the scene category of each equally divided image.
[0068] In some embodiments, if the first value is less than or equal to the second value, it is determined that the scene category corresponding to the continuous image is not a split-screen scene, indicating that the current user interface displays a complete user interface, and basic image features can be directly extracted from the continuous image.
[0069] In some embodiments, text position detection is performed on text features to obtain text position information. The text position information refers to the coordinates of the actual text position selection box in the continuous image. Feature cropping is performed on the continuous image based on the text position information. The cropped features are aligned in size to a uniform resolution image to obtain a text image. The text image is subjected to a convolution operation to output a text feature vector. The text feature vector refers to the feature vector of multiple elements in the text image. A deep self-attention network calculation is performed based on the text feature vector to obtain text information at a specific position, that is, the text content at a specific text position. The text information at a specific position may be an application or search, gold coins or experience, for example. Fig.11 As shown, if application or search appears in the specific position text information, it means that the current scene of the display device 200 may be a scene of the UI interface. If gold coins or experience appear in the specific position text information, it means that the current scene of the display device 200 may be a scene where the user is playing games.
[0070] In some embodiments, text divergence detection is performed on text features to obtain text divergence information. Text density detection is performed according to text features to obtain text density information. Among them, text density detection is to predict the density information of relevant text in text features, that is, to divide the continuous image into 20x20 small portions, predict each small portion to determine whether there is text in each small portion area, and mark the confidence with a floating point value. The higher the confidence, the greater the possibility of the existence of text in this area. By setting the threshold area, the number of areas with a greater possibility of the existence of text is counted, and the number of areas exceeding the threshold is the text density information. For example, if the threshold area is set to 10, then the number of areas with text is 22, and the number exceeding is 12, then the text content exceeding the number 12 is the text density information. Text divergence detection is performed according to the text density information and the text position information, that is, the text density information and the text position information are input into the text divergence detection calculation formula, and the text divergence information is finally output. The text divergence information can be judged by setting a hyperparameter threshold. Generally, the hyperparameter threshold is set to 5. A value less than or equal to 5 is low-divergence text information, and a value greater than 5 is high-divergence text information. For high-divergence text information, it indicates that the current scene of the display device 200 may be a document or UI interface scene. For low-divergence text information, it indicates that the current scene of the display device 200 may be a movie or TV series scene.
[0071] In some embodiments, based on the predicted scenes determined by the above text divergence information, the text information at a specific location, and the detailed image information, the mask vectors of the text divergence information and the text information at a specific location are first calculated and added to obtain the mask vector of the text information. Fig.12 As shown, it is a schematic diagram of the scene determination result provided by an embodiment of the present application. When the text divergence information is determined to be low-divergence text information, the possible scene is a movie, and a mask vector of [0,0.6,0] is output. The text information obtained from the text information at a specific position is gold coins or experience, indicating that the scene may be a game scene, and a mask vector of [0.03,0,0.02] is output. The mask vector of the text information can be obtained by adding the mask vectors output from the text divergence information and the text information at a specific position. The detail image information is then calculated using a normalized exponential function to obtain the mask vector of the detail image information. For example, if the detail image information determines that there are black corners, a mask vector of [0.07,0.84,0.09] is output, which is the mask vector of the detail image information. The obtained mask vector of the text information is added to the mask vector of the detail image information to obtain a scene feature mask. That is, add [0, 0.6, 0], [0.03, 0, 0.02] and [0.07, 0.84, 0.09], and output [0.1, 1.44, 0.11], which is the scene feature mask. Finally, by calculating the intermediate vector of the global image information, the output [0.08, 0.61, 0.31] is calculated and added to the scene feature mask to obtain the feature vector of [0.18, 2.05, 0.42]. Then the feature vector is calculated according to the normalized exponential function, and the output is [0.1, 0.75, 0.15]. Finally, the scene category is determined to be a movie scene. In the embodiment of the present application, the scene categories include but are not limited to scenes such as UI interfaces, documents, games, movies, TV series, cartoons, variety shows, news, sports and cameras.
[0072] In some embodiments, the intermediate layer is called according to the scene category to adjust the image quality parameters of the scene. For different scenes, the intermediate layer adjusts the picture including but not limited to multiple image quality parameters such as brightness, contrast, chroma, hue, clarity, motion picture compensation and image noise reduction. The possible related parameters are shown in Table 1:
[0073] Table 1: Image quality parameters for different scenes
[0074] brightness Contrast Chroma Clarity Motion Compensation Image Noise Reduction default 50 50 50 10 close close UI 50 48 50 12 close close document 52 50 50 14 close close game 50 50 50 0 high close Movie 50 48 48 6 middle middle TV drama 50 46 46 6 close middle Cartoon 50 45 50 5 Low close Variety Show 50 45 45 6 middle middle news 50 45 50 10 close Low physical education 50 55 55 10 high middle Camera 55 52 50 5 close high
[0075] In some embodiments, the default parameters refer to the image quality parameters initially set by the display device 200 by default. After judging the scene category, the image quality parameters are adjusted by calling the intermediate layer for the scene category corresponding to the transformed scene. The brightness, contrast, chroma, clarity and other parameters are linearly gradient to the image quality parameters to be adjusted rather than sudden changes, and the linear gradient is to add or subtract a value per second.
[0076] In some embodiments, the middle layer is composed of key-value pairs, and the image quality parameters of the scene screen are adjusted according to the key-value pairs of the middle layer. For example, when the final scene category is determined to be a game scene, the default image quality parameters are adjusted to game image quality parameters, specifically, the clarity is reduced by 1 from 10 per second until it is adjusted to 0, and high motion compensation is turned on at the same time; if the final scene category is determined to be a camera, the camera scene means that the user is currently opening a video call or video conference, and some applications are scenes that require the camera to be turned on and are identified as camera scenes. Then the default image quality parameters are adjusted to camera image quality parameters, specifically, the brightness is increased by 1 from 50 per second until it is adjusted to 52, the contrast is increased by 1 from 50 per second until it is adjusted to 52, and the clarity is reduced by 1 from 10 per second until it is adjusted to 5, and high image noise reduction is turned on at the same time.
[0077] In some embodiments, since different scene categories require different image quality parameter adjustments, when the scene category of the display device 200 changes, the image quality parameters need to be adjusted to adapt to the new scene category. For example, when the scene category currently played by the display device 200 is switched from a movie to a game scene, the corresponding image quality parameters are also switched from image quality parameters that meet the movie to image quality parameters that meet the game scene.
[0078] In some embodiments, when the user uses the split screen scene, all the above steps are performed on each equally divided image after the display device 200 is split, and the scene category of each equally divided image is obtained, and then the intermediate layer is called according to the scene category to adjust the image quality parameters of each scene. For example, if the screen display area of the display device 200 is divided into four equal parts, namely, the upper left corner area, the lower left corner area, the upper right corner area and the lower right corner area. The scene categories are obtained by performing scene recognition on these four areas respectively, and the scenes of the four areas are finally obtained as "game", "movie", "TV series" and "variety show", wherein the corresponding key-value pairs are ("LeftTop", "game") ("LeftBottom", "movie"), ("RightTop", "TV series"), ("RightBottom", "variety show"), and the image quality parameters of the four scenes of the display device 200 are adjusted according to these key-value pairs, so that the four scenes can achieve better visual effects respectively, so as to achieve the purpose of satisfying the user's visual effects.
[0079] Based on the above embodiments, the embodiments of the present application provide a method for adjusting the image quality parameters of an intelligent scene, and the embodiments of the present application also provide a display device 200. The display device 200 includes: a display 260 and a controller 250. The display 260 is configured to display a user interface, and the controller 250 is configured to perform the following program steps:
[0080] Get the control instruction input by the user for adjusting the image quality parameters.
[0081] In response to the control instruction, a screenshot operation is performed on the user interface to obtain a screenshot image.
[0082] Graphical information and textual information are identified in the screenshot image.
[0083] The mask vectors of the graphic information and the text information are calculated respectively and the mask vectors are added to obtain a feature vector. The feature vector is calculated according to a normalized exponential function to obtain a scene category, and the image quality parameter is adjusted according to the scene category.
[0084] It can be seen from the above technical solution that the display device 200 provided in the above embodiment can perform a screenshot operation on the user interface after the user inputs a control instruction for adjusting the image quality parameters by executing the intelligent scene image quality parameter adjustment method to obtain a screenshot image, and then respectively calculate the mask vectors of the graphic information and the text information by identifying the screenshot image, and then respectively calculate the mask vectors of the graphic information and the text information, and add the calculated mask vectors to obtain a feature vector, calculate the feature vector according to the normalized exponential function, and obtain the scene category. The display device 200 can adjust the image quality parameters according to the scene category. The present application can not only improve the scene recognition accuracy but also enhance the user's viewing experience. Accurate scene recognition can also be performed for split-screen scenes, which can effectively avoid the occurrence of misrecognition, and when it is determined that the user is continuously changing channels, the image quality parameters are not adjusted to avoid the situation where the picture is flickering.
[0085] The same and similar parts between the various embodiments in this specification can be referenced to each other and will not be described again here.
[0086] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., and includes 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 of various embodiments of the present invention or certain parts of the embodiments.
[0087] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
[0088] For ease of explanation, the above description has been made in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or limit the embodiments to the specific forms disclosed above. Based on the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are intended to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various different variations of the embodiments suitable for specific use considerations.
Claims
1. A display device, It is characterized in that include: a display configured to display a user interface; The controller is configured as: Obtaining a control instruction input by a user for adjusting image quality parameters; In response to the control instruction, a screenshot operation is performed on the user interface to obtain a screenshot image; Identifying graphic information and text information in the screenshot image; the graphic information includes global image information and detailed image information, and the text information includes text divergence information and specific position text information; Performing continuous image accumulation on the screenshot images at preset intervals to obtain continuous images; Performing basic image feature extraction on the continuous images to obtain image types and text features; Performing a global detection on the image type to obtain the global image information, and performing a first granularity detection on the image type to obtain the detail image information; Performing text divergence detection on the text feature to obtain the text divergence information, and performing text position detection on the text feature to obtain the specific position text information; By respectively calculating the mask vectors of the graphic information and the text information, and adding the mask vector of the graphic information to the mask vector of the text information, a feature vector is obtained; Calculating the feature vector according to a normalized exponential function to obtain a scene category; The image quality parameters are adjusted according to the scene category.
2. The display device according to claim 1, It is characterized in that The controller is further configured to: Before the step of performing basic image feature extraction on the continuous images to obtain image types and text features, performing a second granularity detection on the continuous images to obtain a two-dimensional vector; Using the normalized exponential function to perform calculation on the two-dimensional vector to obtain a first value and a second value; If the first value is greater than the second value, marking the scene category corresponding to the continuous images as a split-screen scene; Divide the continuous image according to the number of split screens to obtain equally divided images; Perform basic image feature extraction on the equally divided images to obtain the image type and the text feature.
3. The display device according to claim 1, It is characterized in that The controller is also configured to: In the step of performing basic image feature extraction on the continuous images to obtain image types and text features, an image matrix of the continuous images is obtained; Reducing the resolution of the image matrix by convolution operation to obtain a shallow image feature matrix; Performing a convolution operation on the shallow image feature matrix to obtain a middle image feature matrix; Performing a convolution operation on the middle-layer image feature matrix to obtain a bottom-layer image feature matrix; The basic image features are extracted according to the underlying image feature matrix to obtain the image type and the text features.
4. The display device according to claim 1, It is characterized in that The controller is also configured to: In the step of performing text position detection on the text feature to obtain the text information at the specific position, performing text position detection on the text feature to obtain text position information; Perform feature clipping on the text position information to obtain a text image; Perform a convolution operation on the text image to obtain a text feature vector; A deep self-attention network calculation is performed according to the text feature vector to obtain the text information at the specific position.
5. The display device according to claim 4, It is characterized in that The controller is also configured to: In the step of performing text divergence detection on the text features to obtain the text divergence information, performing text density detection according to the text features to obtain text density information; Text divergence detection is performed according to the text density information and the text position information to obtain the text divergence information.
6. The display device according to claim 1, It is characterized in that The controller is also configured to: In the step of performing a first granularity detection on the image type to obtain the detailed image information, performing key partition clipping on the image type to obtain a feature area; Performing region alignment on the feature regions to obtain a feature matrix; Performing a convolution operation on the feature matrix to obtain an image classification vector; The image classification vector is calculated by using the normalized exponential function to obtain the detailed image information.
7. The display device according to claim 1, It is characterized in that The controller is also configured to: In the step of respectively calculating the mask vectors of the graphic information and the text information and adding the mask vectors of the graphic information and the text information to obtain a feature vector, the mask vectors of the text divergence information and the text information at the specific position are calculated and added to obtain the mask vector of the text information; Calculating the detail image information by using the normalized exponential function to obtain a mask vector of the detail image information; Adding the mask vector of the text information to the mask vector of the detail image information to obtain a scene feature mask; The feature vector is obtained by calculating an intermediate vector of the global image information and adding it to the scene feature mask.
8. The display device according to claim 1, It is characterized in that The controller is also configured to: In the step of adjusting the image quality parameters according to the scene category, an intermediate layer is called according to the scene category; the intermediate layer is composed of key-value pairs; The image quality parameters are adjusted according to the key-value pairs of the intermediate layer.
9. A method for adjusting image quality parameters of an intelligent scene, It is characterized in that Applied to a display device, the display device includes a display and a controller, and the method includes: Obtaining a control instruction input by a user for adjusting image quality parameters; In response to the control instruction, a screenshot operation is performed on the user interface to obtain a screenshot image; Identifying graphic information and text information in the screenshot image; the graphic information includes global image information and detailed image information, and the text information includes text divergence information and specific position text information; Performing continuous image accumulation on the screenshot images at preset intervals to obtain continuous images; Performing basic image feature extraction on the continuous images to obtain image types and text features; Performing a global detection on the image type to obtain the global image information, and performing a first granularity detection on the image type to obtain the detail image information; Performing text divergence detection on the text feature to obtain the text divergence information, and performing text position detection on the text feature to obtain the specific position text information; The feature vector is obtained by respectively calculating the mask vectors of the graphic information and the text information and adding the mask vectors; Calculating the feature vector according to a normalized exponential function to obtain a scene category; The image quality parameters are adjusted according to the scene category.
