Display device and control method thereof
By integrating an image sensor and controller into the display device, global gesture detection is achieved, solving the problem of inconvenient control in case of lost remote control or emergency, and providing convenient mute, play, and pause operations, thus improving the user experience.
Patent Information
- Application Number
- CN202211074967.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-08
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-02-08
AI Technical Summary
The current display devices rely on remote controls, which makes them inconvenient to control in case the remote is lost or in an emergency, thus affecting the user experience.
By integrating an image acquisition unit and controller into the display device, a global gesture detection function is achieved to recognize user gestures and control the display device, including mute, play, and pause operations.
Efficient control of display devices can be achieved through gestures without the need for a remote control, improving the user experience.
Smart Images

Figure CN115291792B_ABST
Abstract
Description
[0001] This application is a divisional of the application filed on February 8, 2021, with application number 202110184228.0. Technical Field
[0002] The present application relates to the field of smart TV interaction technology, and in particular to a display device and a control method thereof. Background Art
[0003] 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. At present, display devices include smart TVs, smart set-top boxes, smart boxes, and other products with smart display screens. Taking smart TVs as an example, smart TVs provide traditional TV functions and can play different TV programs.
[0004] When using a display device, users can globally mute and unmute the display device based on usage needs, and control the play and pause of a video when playing a video file. Currently, operations such as muting a display device, playing or pausing a video, etc. are usually implemented using a remote control configured therefor, and the display device is controlled to perform operations such as muting, playing or pausing a video, etc. by triggering corresponding buttons on the remote control.
[0005] However, this control method requires the use of a remote control. If the remote control is lost or the corresponding operation cannot be performed in time through the remote control in an emergency, the control of the display device is not convenient enough, which affects the user experience. Summary of the invention
[0006] The present application provides a display device and a control method thereof to solve the problem that the existing control method is not convenient enough to control the display device and affects the user experience.
[0007] In a first aspect, the present application provides a display device, comprising:
[0008] a display configured to present a user interface;
[0009] An image collector or a user input interface connectable to the image collector, wherein the image collector is configured to collect user images;
[0010] A controller connected to the display and the image collector respectively, wherein the controller is configured as follows:
[0011] In response to a switch-on instruction generated when a global gesture switch in the user interface is triggered, detecting whether the image collector is occupied by a designated application that needs to start the image collector;
[0012] If the image collector is occupied by a designated application that needs to start the image collector, the global gesture detection function is not enabled;
[0013] If the image collector is not occupied by a designated application that needs to start the image collector, a global gesture detection function is enabled, wherein the global gesture detection function is used to detect a user image including a user gesture and to control the display device accordingly based on the user gesture.
[0014] In some embodiments of the present application, the controller is further configured to:
[0015] Obtaining the attribute status value of the image collector;
[0016] If the attribute status value is a first value, determining that the image collector is occupied by a designated application that needs to start the image collector;
[0017] If the attribute status value is the second value, it is determined that the image collector is not occupied by a designated application that needs to start the image collector.
[0018] In a second aspect, the present application further provides a display device, including:
[0019] a display configured to present a user interface displaying a video file;
[0020] An image collector or a user input interface connectable to the image collector, wherein the image collector is configured to collect user images;
[0021] A controller connected to the display and the image collector respectively, wherein the controller is configured as follows:
[0022] When the global gesture detection function is turned on, obtaining a user image including the user gesture collected by the image collector;
[0023] When it is detected that the user gesture in the user image is a play pause control gesture, obtaining a play mode broadcast for playing the video file;
[0024] If the broadcasting of the playing mode represents a full-screen playing mode, responding to the control instruction generated by the playing and pausing control gesture, performing a playing operation or a pausing operation on the video file;
[0025] If the play mode broadcast represents a small window play mode, then the control instruction generated by the play pause control gesture will not be responded to.
[0026] In some embodiments of the present application, before executing the acquisition of the broadcasting of the playback mode of the playback video file, the controller is further configured to:
[0027] Get the signal source ID used to identify the channel type;
[0028] If the signal source ID represents the first channel type, obtaining a play mode broadcast of playing the video file, and determining whether to respond to a control instruction generated by the play pause control gesture based on the play mode represented by the play mode broadcast;
[0029] If the signal source ID represents the second channel type, then the control instruction generated by the play-pause control gesture is not responded to.
[0030] In a third aspect, the present application further provides a display device, including:
[0031] a display configured to present a user interface;
[0032] An image collector or a user input interface connectable to the image collector, wherein the image collector is configured to collect user images;
[0033] A controller connected to the display and the image collector respectively, wherein the controller is configured as follows:
[0034] When the global gesture detection function is turned on, obtaining a user image including the user gesture collected by the image collector;
[0035] If the user gesture is a play-pause control gesture, executing a play operation or a pause operation in response to a control instruction corresponding to the play-pause control gesture;
[0036] If the user gesture is a mute control gesture, a mute operation or an anti-mute operation is performed in response to a control instruction corresponding to the mute control gesture.
[0037] In some embodiments of the present application, when executing the step of executing if the user gesture is a play pause control gesture, responding to a control instruction corresponding to the play pause control gesture to perform a play operation or a pause operation, the controller is further configured as follows:
[0038] Recognize a user gesture in the user image, and determine whether the user gesture is a play pause control gesture;
[0039] When the user gesture is a play-pause control gesture, calculating a first effective success frame rate of the play-pause control gesture;
[0040] If the first effective success frame rate of the play-pause control gesture exceeds a first effective threshold, a play operation or a pause operation is performed in response to a control instruction corresponding to the play-pause control gesture.
[0041] In some embodiments of the present application, the controller is further configured to:
[0042] Matching the user gesture with a preset control gesture, wherein the preset control gesture includes a play pause control gesture and a mute control gesture;
[0043] If the user gesture matches the play pause control gesture, calculating the play pause gesture confidence of the user gesture and the play pause control gesture;
[0044] If the play-pause gesture confidence exceeds the gesture success threshold, the user gesture is determined to be a play-pause control gesture.
[0045] In some embodiments of the present application, when the user gesture is a play pause control gesture, the controller calculates the first effective success frame rate of the play pause control gesture, and is further configured to:
[0046] When the user gesture is a play pause control gesture, obtaining a total gesture recognition frame number of the user image collected within the first detection duration and a gesture success frame number of the user image corresponding to the play pause control gesture;
[0047] The ratio of the number of gesture success frames to the total number of gesture recognition frames is calculated, and the ratio is determined as a first effective success frame rate of the play-pause control gesture.
[0048] In some embodiments of the present application, the controller is further configured to:
[0049] When a first effective success frame rate of the play-pause control gesture exceeds a first effective threshold, acquiring a user image collected within a second detection duration;
[0050] Calculate a second effective success frame rate of the play / pause control gesture in the user image collected within the second detection time period;
[0051] If the second effective success frame rate of the play-pause control gesture exceeds a third effective threshold, executing a play operation or a pause operation in response to a control instruction corresponding to the play-pause control gesture;
[0052] If the second effective success frame rate of the play-pause control gesture does not exceed the third effective threshold, the execution of the play operation or the pause operation in response to the control instruction corresponding to the play-pause control gesture is canceled.
[0053] In some embodiments of the present application, the controller is further configured to:
[0054] In response to a play pause control instruction generated when the second effective success frame rate of the play pause control gesture exceeds a third effective threshold, obtaining a play format broadcast of a play video file;
[0055] If the broadcast playing mode represents a full-screen playing mode, in response to the play pause control instruction, a play operation or a pause operation is performed on the video file;
[0056] If the play mode broadcast represents a small window play mode, the play pause control instruction will not be responded to.
[0057] In some embodiments of the present application, when executing the if the playback mode broadcast represents a full-screen playback mode, the controller responds to the playback pause control instruction and performs a playback operation or a pause operation on the video file, and is further configured to:
[0058] In the playback mode broadcast representing the full-screen playback mode, obtaining the current playback state of the video file;
[0059] If the current playing state is a video playing state, in response to the playing pause control instruction, performing a pause operation on the video file;
[0060] If the current playing state is a video pause state, a playing operation is performed on the video file in response to the playing pause control instruction.
[0061] In some embodiments of the present application, when executing the step of executing if the user gesture is a mute control gesture, responding to a control instruction corresponding to the mute control gesture to perform a mute operation or an anti-mute operation, the controller is further configured to:
[0062] Recognizing a user gesture in the user image, and determining whether the user gesture is a mute control gesture;
[0063] When the user gesture is a mute control gesture, calculating a first effective success frame rate of the mute control gesture;
[0064] If the first effective success frame rate of the mute control gesture exceeds a second effective threshold, a mute operation or an anti-mute operation is performed in response to a control instruction corresponding to the mute control gesture.
[0065] In some embodiments of the present application, the controller is further configured to:
[0066] Matching the user gesture with a preset control gesture, wherein the preset control gesture includes a play pause control gesture and a mute control gesture;
[0067] If the user gesture matches the mute control gesture, calculating the mute gesture confidence of the user gesture and the mute control gesture;
[0068] If the mute gesture confidence exceeds the gesture success threshold, the user gesture is determined to be a mute control gesture.
[0069] In some embodiments of the present application, when the user gesture is a mute control gesture, the controller calculates the first effective success frame rate of the mute control gesture, and is further configured to:
[0070] When the user gesture is a mute control gesture, obtaining a total number of gesture recognition frames of the user image collected within the first detection duration and a number of gesture success frames of the user image corresponding to the user gesture being the mute control gesture;
[0071] The ratio of the number of gesture success frames to the total number of gesture recognition frames is calculated, and the ratio is determined as a first effective success frame rate of the mute control gesture.
[0072] In some embodiments of the present application, the controller is further configured to:
[0073] When the first effective success frame rate of the mute control gesture exceeds the second effective threshold, acquiring a user image collected within a second detection duration;
[0074] Calculating a second effective success frame rate of the mute control gesture in the user image collected within the second detection time period;
[0075] If the second effective success frame rate of the mute control gesture exceeds a third effective threshold, performing a mute operation or an anti-mute operation in response to a control instruction corresponding to the mute control gesture;
[0076] If the second effective success frame rate of the mute control gesture does not exceed the third effective threshold, the execution of the mute operation or the anti-mute operation in response to the control instruction corresponding to the mute control gesture is canceled.
[0077] In some embodiments of the present application, the controller is further configured to:
[0078] In response to a mute control instruction generated when the second effective success frame rate of the mute control gesture exceeds a third effective threshold, acquiring a current mute flag of the system;
[0079] If the current mute flag is True, performing an anti-mute operation in response to the mute control instruction;
[0080] If the current mute flag is False, a mute operation is performed in response to the mute control instruction.
[0081] In some embodiments of the present application, the controller is further configured to:
[0082] When it is determined that the user gesture is a play-pause control gesture, or when it is determined that the user gesture is a mute control gesture, a gesture detection prompt interface is presented in the user interface, wherein gesture recognition success prompt information and a gesture pattern are presented in the gesture detection prompt interface;
[0083] When acquiring the user image collected within the second detection duration, the gesture pattern is displayed in the form of a buffered animation, and the display duration of the buffered animation is the second detection duration.
[0084] In some embodiments of the present application, the controller is further configured to:
[0085] After executing a play operation or a pause operation, or a mute operation or an anti-mute operation control process, the next frame of the user image including the user gesture collected by the image collector is obtained at a preset time interval;
[0086] When the user gesture in the next frame of the user image is a play-pause control gesture, the next play operation or pause operation is performed in response to the control instruction corresponding to the play-pause control gesture;
[0087] When the user gesture in the next frame of user image is a mute control gesture, the next mute operation or anti-mute operation is performed in response to the control instruction corresponding to the mute control gesture.
[0088] In some embodiments of the present application, the controller is further configured to:
[0089] After executing a play operation or a pause operation, or a mute operation or an anti-mute operation control process, an operation completion prompt interface is presented in the user interface, and the operation completion prompt interface displays an operation completion pattern and operation completion prompt information.
[0090] In a fourth aspect, the present application further provides a method for controlling a display device, the method comprising:
[0091] In response to a switch-on instruction generated when a global gesture switch in the user interface is triggered, detecting whether the image collector is occupied by a designated application that needs to start the image collector;
[0092] If the image collector is occupied by a designated application that needs to start the image collector, the global gesture detection function is not enabled;
[0093] If the image collector is not occupied by a designated application that needs to start the image collector, a global gesture detection function is enabled, wherein the global gesture detection function is used to detect a user image including a user gesture and to control the display device accordingly based on the user gesture.
[0094] In a fifth aspect, the present application also provides a method for controlling a display device, the method comprising:
[0095] When the global gesture detection function is turned on, obtaining a user image including the user gesture collected by the image collector;
[0096] When it is detected that the user gesture in the user image is a play pause control gesture, obtaining a play mode broadcast for playing the video file;
[0097] If the broadcasting of the playing mode represents a full-screen playing mode, responding to the control instruction generated by the playing and pausing control gesture, performing a playing operation or a pausing operation on the video file;
[0098] If the play mode broadcast represents a small window play mode, then the control instruction generated by the play pause control gesture will not be responded to.
[0099] In a sixth aspect, the present application further provides a method for controlling a display device, the method comprising:
[0100] When the global gesture detection function is turned on, obtaining a user image including the user gesture collected by the image collector;
[0101] If the user gesture is a play-pause control gesture, executing a play operation or a pause operation in response to a control instruction corresponding to the play-pause control gesture;
[0102] If the user gesture is a mute control gesture, a mute operation or an anti-mute operation is performed in response to a control instruction corresponding to the mute control gesture.
[0103] In a seventh aspect, the present application further provides a storage medium, which can store a program. When the program is executed, it can implement some or all of the steps in each embodiment of the control method of the display device provided in the present application.
[0104] It can be seen from the above technical solutions that the present application provides a display device and a control method thereof. After the global gesture switch is turned on, if the image collector is not occupied by a specified application that needs to start the image collector, the global gesture detection function is turned on, and the user image including the user gesture collected by the image collector is obtained. When it is detected that the user gesture in the user image is a play pause control gesture, and the playback mode broadcast represents the full-screen playback mode, the control instruction generated by the play pause control gesture is responded to, and the video file is played or paused; when the user gesture in the detected user image is a mute control gesture, the control instruction corresponding to the mute control gesture is responded to, and the mute operation or anti-mute operation is performed. It can be seen that the method and display device provided by the embodiment of the present invention realize efficient control of the display device based on gesture recognition. Even in the absence of a remote control, the user can conveniently control the display device to improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0105] 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.
[0106] Figure 1 shows a usage scenario of a display device according to some embodiments;
[0107] Figure 2 shows a hardware configuration block diagram of a control device 100 according to some embodiments;
[0108] Figure 3 shows a hardware configuration block diagram of a display device 200 according to some embodiments;
[0109] Figure 4 shows a software configuration diagram in a display device 200 according to some embodiments;
[0110] Figure 5 shows an icon control interface display diagram of an application in a display device 200 according to some embodiments;
[0111] Figure 6 A first flow chart showing a method for controlling a display device according to some embodiments;
[0112] Figure 7 A schematic diagram of an interface presenting a global gesture switch in a user interface according to some embodiments is shown;
[0113] Figure 8 A second flow chart showing a method for controlling a display device according to some embodiments;
[0114] Fig. 9 A third flow chart of a method for controlling a display device according to some embodiments is shown;
[0115] Fig.10 A general flow chart of a method for controlling a display device according to some embodiments is shown;
[0116] Fig.11 A flow chart of a method for controlling a display device to perform a play operation or a pause operation according to some embodiments is shown;
[0117] Fig.12 A data flow diagram showing a control display device to perform a play operation or a pause operation according to some embodiments is shown;
[0118] Fig.13 A schematic diagram of a gesture detection prompt interface in a playback pause scenario according to some embodiments is shown;
[0119] Fig.14 Another schematic diagram of a gesture detection prompt interface in a playback pause scenario according to some embodiments is shown;
[0120] Fig.15 A schematic diagram showing an operation completion prompt interface presented in a user interface according to some embodiments is shown;
[0121] Fig.16 A flow chart of a method for controlling a display device to perform a mute operation or an anti-mute operation according to some embodiments is shown;
[0122] Fig.17 A data flow diagram showing a control display device to perform a mute operation or an anti-mute operation according to some embodiments is shown;
[0123] Fig.18 A schematic diagram of a gesture detection prompt interface in a silent scenario according to some embodiments is shown;
[0124] Fig.19 Another schematic diagram of a gesture detection prompt interface in a silent scenario according to some embodiments is shown;
[0125] Fig. 20 A flow chart of a volume adjustment method according to some embodiments is shown;
[0126] Fig.21 A data flow diagram showing a volume adjustment method according to some embodiments;
[0127] Fig. 22 A flow chart of a method for displaying a volume bar on a user interface according to some embodiments is shown;
[0128] Fig.23A schematic diagram showing a volume adjustment gesture prompt interface in a user interface according to some embodiments is shown;
[0129] Fig.24 A schematic diagram showing a volume adjustment interface in a user interface according to some embodiments is shown;
[0130] Fig.25 A flow chart of a method for adjusting the volume corresponding to a volume bar according to some embodiments is shown;
[0131] Fig.26 A schematic diagram showing calculation of abscissa variation according to some embodiments is shown;
[0132] Fig. 27 A schematic diagram showing volume adjustment status prompt information displayed in a user interface according to some embodiments is shown;
[0133] Fig.28 A schematic diagram showing a volume adjustment completion interface in a user interface according to some embodiments is shown;
[0134] Fig.29 Another flow chart of a volume adjustment method according to some embodiments is shown. DETAILED DESCRIPTION
[0135] In order to make the purpose and implementation method of the present application clearer, the exemplary implementation method 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.
[0136] It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their common and usual meanings.
[0137] 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.
[0138] 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.
[0139] 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.
[0140] Figure 1 FIG. 4 shows a usage scenario of a display device according to some embodiments. Figure 1 As shown, the display device 200 also performs data communication with the server 400 , and the user can operate the display device 200 through the smart device 300 or the control apparatus 100 .
[0141] In some embodiments, the control device 100 may be a remote controller, and the communication between the remote controller and the display device includes infrared protocol communication or Bluetooth protocol communication, and at least one of other short-range communication methods, to control the display device 200 wirelessly or wired. The user may control the display device 200 by inputting user commands through at least one of buttons on the remote controller, voice input, and control panel input.
[0142] In some embodiments, the smart device 300 may include any one of a mobile terminal, a tablet computer, a computer, a laptop computer, an AR / VR device, etc.
[0143] In some embodiments, the smart device 300 may also be used to control the display device 200. For example, the display device 200 may be controlled using an application running on the smart device.
[0144] In some embodiments, the smart device 300 and the display device may also be used to communicate data.
[0145] 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.
[0146] 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 server 400 may be one cluster or multiple clusters, and may include one or more types of servers.
[0147] In some embodiments, the software steps executed by a step execution subject can be migrated to another step execution subject in data communication with it as needed for execution. Exemplarily, the software steps executed by a server can be migrated to a display device in data communication with it as needed for execution, and vice versa.
[0148] Figure 2 FIG. 1 shows a hardware configuration block diagram of a control device 100 according to some embodiments. Figure 2 As 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 input operation instructions from the user, and convert the operation instructions into instructions that the display device 200 can recognize and respond to, playing the role of an interactive intermediary between the user and the display device 200.
[0149] In some embodiments, the communication interface 130 is used for communicating with the outside, and includes at least one of a WIFI chip, a Bluetooth module, NFC or an alternative module.
[0150] In some embodiments, the user input / output interface 140 includes at least one of a microphone, a touch pad, a sensor, a button, or alternative modules.
[0151] Figure 3 2 shows a hardware configuration block diagram of a display device 200 according to some embodiments. Figure 3 In some embodiments, the display device 200 includes at least one of a tuner and demodulator 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.
[0152] In some embodiments, 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.
[0153] In some embodiments, the display 260 includes a display screen component for presenting images, and a driving component for driving image display, for receiving image signals output from a controller, and for displaying video content, image content, and a menu control interface component and a user control UI interface.
[0154] In some embodiments, the display 260 may be at least one of a liquid crystal display, an OLED display, and a projection display, and may also be a projection device and a projection screen.
[0155] In some embodiments, the tuner-demodulator 210 receives broadcast television signals via wired or wireless reception, and demodulates audio and video signals, such as EPG data signals, from a plurality of wireless or wired broadcast television signals.
[0156] In some embodiments, the communicator 220 is a component for communicating with an external device or server according to various communication protocol types. For example, the communicator may include at least one of a Wifi module, a Bluetooth module, a wired Ethernet module, and other network communication protocol chips or near field communication protocol chips, and an infrared receiver. The display device 200 can establish transmission and reception of control signals and data signals with the control device 100 or the server 400 through the communicator 220.
[0157] In some embodiments, the detector 230 is used to collect signals of the external environment or external interaction. For example, the detector 230 includes a light receiver, a sensor for collecting the intensity of ambient light; or, the detector 230 includes an image collector, such as a camera, which can be used to collect external environment scenes, user attributes or user interaction gestures; or, the detector 230 includes a sound collector, such as a microphone, etc., for receiving external sounds.
[0158] In some embodiments, the external device interface 240 may include, but is not limited to, any one or more of the following interfaces: a high-definition multimedia interface (HDMI), an analog or digital high-definition component input interface (component), a composite video input interface (CVBS), a USB input interface (USB), an RGB port, etc. It may also be a composite input / output interface formed by the above multiple interfaces.
[0159] In some embodiments, 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.
[0160] In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in the memory. The controller 250 controls the overall operation of the display device 200. For example: In response to receiving a user command for selecting a UI object to be displayed on the display 260, the controller 250 can perform operations related to the object selected by the user command.
[0161] In some embodiments, the object may be any one of the selectable objects, such as a hyperlink, an icon or other operable controls. Operations related to the selected object include: displaying a page, document, image, etc. connected to the hyperlink, or executing a program corresponding to the icon.
[0162] In some embodiments, the controller includes at least one of a central processing unit (CPU), a video processor, an audio processor, a graphics processing unit (GPU), RAM Random Access Memory (RAM), ROM (Read-Only Memory, ROM), a first interface to an nth interface for input / output, a communication bus (Bus), etc.
[0163] The CPU processor is used to execute the operating system and application instructions stored in the memory, and to execute various applications, data and content according to various interactive instructions received from the outside, so as to finally display and play various audio and video contents. The CPU processor may include multiple processors. For example, it may include a main processor and one or more sub-processors.
[0164] In some embodiments, the graphics processor is used to generate various graphic objects, such as at least one of icons, operation menus, and user input command display graphics. The graphics processor includes an operator, which performs operations by receiving various interactive instructions input by the user and displays various objects according to display attributes; and a renderer, which renders various objects obtained based on the operator, and the rendered objects are used to be displayed on the display.
[0165] In some embodiments, the video processor is used to receive an external video signal and perform at least one of the following video processing operations, such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, and image synthesis, according to a standard codec protocol of the input signal, to obtain a signal that can be directly displayed or played on the display device 200.
[0166] In some embodiments, the video processor includes at least one of a demultiplexing module, a video decoding module, an image synthesis module, a frame rate conversion module, and a display formatting module. The demultiplexing module is used to demultiplex the input audio and video data stream. The video decoding module is used to process the demultiplexed video signal, including decoding and scaling. The image synthesis module, such as an image synthesizer, is used to superimpose and mix the GUI signal generated by the graphics generator according to the user input or itself with the scaled video image to generate an image signal for display. The frame rate conversion module is used to convert the input video frame rate. The display formatting module is used to receive the video output signal after frame rate conversion and change the signal to conform to the display format signal, such as outputting an RGB data signal.
[0167] In some embodiments, the audio processor is used to receive an external audio signal, perform decompression and decoding according to a standard codec protocol of the input signal, and perform at least one of noise reduction, digital-to-analog conversion, and amplification processing to obtain a sound signal that can be played in a speaker.
[0168] In some embodiments, the user may input a user command through 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 may input a user command by inputting a specific sound or gesture, and the user input interface receives the user input command by recognizing the sound or gesture through a sensor.
[0169] In some embodiments, "user interface" is a medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. A common form of user interface is a graphical user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be an interface element such as an icon, window, or control displayed on a display screen of an electronic device, wherein a control may include at least one of icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, and other visual interface elements.
[0170] In some embodiments, the user interface 280 is an interface that can be used to receive control input (such as a physical button on the display device body, or other interfaces).
[0171] In some embodiments, the system of the display device may include a kernel, a command parser (shell), a file system, and an application. The kernel, shell, and file system together form the basic operating system structure, which allows users to manage files, run programs, and use the system. After power-on, the kernel starts, activates the kernel space, abstracts the hardware, initializes hardware parameters, etc., runs and maintains virtual memory, schedulers, signals, and inter-process communication (IPC). After the kernel starts, the shell and user applications are loaded. After startup, the application is compiled into machine code to form a process.
[0172] Figure 4 FIG. 2 shows a software configuration diagram of the display device 200 according to some embodiments. Figure 4In some embodiments, the system is divided into four layers, from top to bottom, namely, the application layer (Applications) layer (referred to as "application layer"), the application framework layer (Application Framework) layer (referred to as "framework layer"), the Android runtime (Android runtime) and system library layer (referred to as "system runtime library layer"), and the kernel layer.
[0173] In some embodiments, at least one application is running in the application layer, and these applications can be window programs, system settings programs, clock programs, etc. provided by the operating system, or applications developed by third-party developers. In specific implementations, the application packages in the application layer are not limited to the above examples.
[0174] The framework layer provides application programming interfaces (APIs) and programming frameworks for applications. The application framework layer includes some predefined functions. The application framework layer is equivalent to a processing center that determines the actions that applications in the application layer take. Through the API interface, applications can access system resources and obtain system services during execution.
[0175] like Figure 4 As shown, in the embodiment of the present application, the application framework layer includes managers, providers, network management systems, etc., wherein the manager includes at least one of the following modules: an activity manager for interacting with all activities running in the system; a location manager for providing system services or applications with access to system location services; a package manager for retrieving various information related to the application packages currently installed on the device; a notification manager for controlling the display and clearing of notification messages; and a window manager for managing icons, windows, toolbars, wallpapers, and desktop widgets on the user interface.
[0176] In some embodiments, the activity manager is used to manage the life cycle of each application and the common navigation back function, such as controlling the exit, opening, and back of the application. The window manager is used to manage all window programs, such as obtaining the display screen size, determining whether there is a status bar, locking the screen, capturing the screen, and controlling the display window changes (for example, reducing the display window, shaking the display, distorting the display, etc.).
[0177] In some embodiments, the system runtime layer provides support for the upper layer, namely the framework layer. When the framework layer is used, the Android operating system will run the C / C++ library contained in the system runtime layer to implement the functions to be implemented by the framework layer.
[0178] In some embodiments, the kernel layer is a layer between hardware and software. Figure 4 As shown, 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.
[0179] Figure 5 FIG. 2 shows an icon control interface display diagram of an application in a display device 200 according to some embodiments. In some embodiments, after the display device is started, the interface of a preset video-on-demand program can be directly entered. The interface of the video-on-demand program can be as shown in FIG. Figure 5 As shown in , at least a navigation bar 510 and a content display area located below the navigation bar 510 are included, and the content displayed in the content display area changes with the change of the selected control in the navigation bar. The program in the application layer can be integrated into the video-on-demand program and displayed through a control in the navigation bar, or further displayed after the application control in the navigation bar is selected.
[0180] In some embodiments, after the display device is started, it can directly enter the display interface of the last selected signal source, or the signal source selection interface, where the signal source can be a preset video on demand program, or at least one of an HDMI interface, a live TV interface, etc. After the user selects a different signal source, the display can display the content obtained from different signal sources.
[0181] In some embodiments, when a display device is used to implement a smart TV function or a video playback function, different TV programs or different video files, audio files, etc. can be played in the display device. In the process of using the display device, the user can control the display device, for example, play a video, pause a video, mute or unmute operations, etc. Among them, the unmute operation refers to the operation of canceling the mute, that is, switching the mute state to the output volume state.
[0182] Currently, the display device is usually controlled by using a remote controller configured therewith. If the remote controller is lost or the corresponding operation cannot be performed in time through the remote controller in an emergency, the control of the display device is not convenient enough, which affects the user experience.
[0183] Currently, a large number of smart TVs support external cameras and built-in cameras, which provides a basis for detecting gestures by taking images with the camera. Therefore, in order to improve the control efficiency of the display device, the embodiment of the present invention provides a gesture recognition method for controlling mute and video playback pause by recognizing gestures with the camera.
[0184] The intelligent method for realizing global muting, anti-muting, and controlling the pause of video playback in a full-screen scenario based on gesture recognition provided in an embodiment of the present invention can realize efficient control of the display device and can determine whether to cancel or continue the corresponding operation by calculating the effective frame rate during the gesture detection process.
[0185] Figure 6 The first flow chart of the control method of the display device according to some embodiments is shown. A display device provided by an embodiment of the present invention includes: a display configured to present a user interface; an image collector or a user input interface 140 that can be connected to the image collector, the image collector is configured to collect user images, the user input interface 140 is used to implement the user command input function through voice, touch, gesture, pressing and other actions, the input interface converts the received analog signal into a digital signal, and the digital signal into a corresponding command signal, and sends it to the image collector; a controller connected to the display and the image collector respectively, in executing Figure 6 When the control method of the display device is shown, the controller is configured to perform the following steps:
[0186] S11 . In response to a switch-on instruction generated when a global gesture switch in a user interface is triggered, detecting whether an image collector is occupied by a designated application that needs to start the image collector.
[0187] When implementing control of a display device based on gesture recognition, a global gesture detection function needs to be configured in the display device, and the implementation of the global gesture detection function can be implemented by configuring a global gesture switch of the display device. If the global gesture switch is turned on, the global gesture detection function of the display device can be turned on to implement corresponding control of the display device according to the recognized user gesture; if the global gesture switch is turned off, the global gesture detection function of the display device can be turned off.
[0188] Figure 7 FIG. 1 shows a schematic diagram of an interface presenting a global gesture switch in a user interface according to some embodiments. Figure 7 In (a), if the display device is configured with the global gesture detection function, the AI setting button is displayed in the user interface. The AI setting button is triggered, and the AI setting interface is displayed in the user interface. The global gesture switch control button is displayed in the AI setting interface. Click the global gesture switch control button, and the following is displayed in the user interface: Figure 7In the global gesture setting interface shown in (b), a gesture control switch is displayed in the global gesture setting interface, which is the global gesture switch. Click the gesture control switch to turn on the global gesture switch of the display device. To control the display device based on gesture recognition, the global gesture switch can be turned on.
[0189] After the global gesture switch is turned on, the display device can perform the global gesture detection function. However, since the global gesture detection function requires calling the image collector (camera) to collect user images including user gestures in real time, the display device can be controlled by identifying the type of user gestures in the user image, such as play, pause, mute, unmute, etc. Therefore, it is necessary to ensure that the image collector is not occupied when the global gesture detection function is implemented.
[0190] The application that can call the image collector is the designated application that needs to start the image collector. The designated application refers to the application that needs to use the camera to implement the corresponding function during operation, such as the mirror application. If the image collector is occupied by the designated application that needs to start the image collector, it means that the image collector cannot perform real-time image acquisition. Therefore, the global gesture detection function can only be realized when the image collector is not occupied by the designated application that needs to start the image collector.
[0191] In order to accurately determine whether the display device can implement the global gesture detection function after the global gesture switch is turned on, it is necessary to first determine whether the image collector is occupied by a designated application that needs to start the image collector. Specifically, in some embodiments, the controller is further configured to perform the following steps when performing the detection of whether the image collector is occupied by a designated application that needs to start the image collector:
[0192] Step 111: Obtain the attribute status value of the image collector.
[0193] Step 112: If the attribute status value is the first value, it is determined that the image collector is occupied by a designated application that needs to start the image collector.
[0194] Step 113: If the attribute status value is the second value, it is determined that the image collector is not occupied by a designated application that needs to start the image collector.
[0195] Whether the image collector is occupied by a designated application that needs to start the image collector can be judged based on its attribute status value. When the global gesture switch is in the on state, the attribute status value of the image collector is obtained. The attribute status value can include two values, namely a first value and a second value, depending on whether it is occupied. In some embodiments, the first value can be 1 and the second value can be 0.
[0196] If the attribute status value is the first value, that is, 1, it is determined that the image collector is occupied by the specified application that needs to start the image collector. If the attribute status value is the second value, that is, 0, it is determined that the image collector is not occupied by the specified application that needs to start the image collector.
[0197] S12: If the image collector is occupied by a designated application that needs to start the image collector, the global gesture detection function is not enabled.
[0198] S13. If the image collector is not occupied by a designated application that needs to start the image collector, a global gesture detection function is enabled, where the global gesture detection function is used to detect a user image including a user gesture and to control the display device accordingly based on the user gesture.
[0199] When the image collector is occupied by a designated application that needs to start the image collector, it means that the image collector cannot collect user images. At this time, the global gesture detection function is not enabled, that is, the global gesture detection process is not performed. When the image collector is not occupied by a designated application that needs to start the image collector, it means that the image collector can collect user images in real time. At this time, the global gesture detection function is enabled, that is, the global gesture detection process is performed.
[0200] When the display device performs global gesture detection, the image collector can collect user images including user gestures in real time, and perform gesture recognition on the user gestures in the user images to achieve corresponding control of the display device according to the recognized specified gestures.
[0201] In some embodiments, in order to realize the control of the display device based on gesture recognition, the control gesture corresponding to each control may be pre-configured. For example, when realizing the mute and unmute operations of controlling the display device, the control gesture may be preset as a single-handed number 1 (mute control gesture), such as using the index finger to represent the number 1; when realizing the play and pause operations of controlling the display device, the control gesture may be preset as a single-handed five-finger gesture (play and pause control gesture), such as the palm of a single hand.
[0202] For example, when the display device is operating normally, you can achieve global mute by pressing the number 1 with one hand, and achieve un-mute by pressing the number 1 with one hand again; when playing a video in full-screen playback mode other than the physical channel, you can pause the current playback by making a five-finger gesture with one hand, and continue playing the video by making the five-finger gesture with one hand again.
[0203] It can be seen that the control of the display device can be achieved through gesture recognition without the involvement of a remote control. The user can control the display device by making corresponding gestures with his hands, thereby improving the control efficiency of the display device and providing a good user experience.
[0204] In some embodiments, when a video file is played using a display device, two playback modes may be used, namely, full-screen playback mode and small-window playback mode. The full-screen playback mode refers to globally displaying the video screen in the user interface (full-screen interface), and the small-window playback mode refers to generating a small window in the user interface to display the video screen locally.
[0205] In order to accurately control the play and pause of video files, it can be set to play or pause the display device based on gesture recognition only in full-screen playback mode. Therefore, when the user gesture in the user image is recognized as a play and pause control gesture, it is necessary to determine the playback mode of the video file in the current display device.
[0206] Figure 8 A second flow chart of a control method for a display device according to some embodiments is shown. A display device provided by an embodiment of the present invention includes: a display configured to present a user interface displaying a video file; an image collector or a user input interface 140 that can be connected to the image collector, the image collector is configured to collect user images, the user input interface 140 is used to implement a user command input function through voice, touch, gesture, pressing and other actions, the input interface converts the received analog signal into a digital signal, and the digital signal into a corresponding command signal, and sends it to the image collector; a controller connected to the display and the image collector respectively, in executing Figure 8 When the control method of the display device is shown, the controller is configured to perform the following steps:
[0207] S21. When the global gesture detection function is enabled, obtain a user image including user gestures collected by an image collector.
[0208] When the display device is controlled based on gesture recognition, the global gesture switch must be turned on first, and the global gesture detection process is turned on when the image collector is not occupied. At this time, the image collector collects the user image in the detection area in real time.
[0209] When a user uses a display device, if a gesture is needed to control the display device, the user can stand in the detection area of the image collector (camera) and make gestures with his fingers. The image collector collects the user image in the detection area, and the user image includes the user gesture. The controller performs gesture recognition on the user image including the user gesture and determines whether the user gesture is a play pause control gesture or a mute control gesture.
[0210] The play and pause control gesture is used to play or pause the video on the display device. In some embodiments, the play and pause control gesture can be set as a five-finger gesture. The mute control gesture is used to mute and unmute the display device. In some embodiments, the mute control gesture can be set as a number 1 gesture. The play and pause control gesture or the mute control gesture can also be customized according to the user's usage habits, which is not specifically limited in this embodiment.
[0211] The image collector collects user images in the detection area in real time at a preset frequency and sends them to the controller in sequence. The controller performs gesture recognition on each frame of the user image. In some embodiments, the preset frequency of the image collector is 30-40ms / frame, that is, the image collector takes 30-40ms to collect one frame of the user image.
[0212] S22: When it is detected that the user gesture in the user image is a play pause control gesture, a play mode broadcast of the video file is obtained.
[0213] In some embodiments, the device for recognizing user gestures in user images may be an image collector. When the image collector detects that the user gesture in the user image is a play pause control gesture, the detection result may be sent to the controller, and the controller controls the display device to implement corresponding operations based on the play pause control gesture.
[0214] In some embodiments, the device for recognizing a user gesture in a user image may also be a controller, which performs gesture recognition on the user image after receiving the user image sent by the image collector. If the user gesture in the user image is detected to be a play pause control gesture, the display device may be controlled to perform a corresponding operation based on the play pause control gesture.
[0215] Since the video playback or pause operation of the display device based on gesture control needs to be in a full-screen playback scenario, therefore, when it is determined that the user gesture in the user image is a play-pause control gesture, it means that the user needs to play or pause the video file played in the display device. At this time, it is necessary to obtain the playback mode adopted by the display device when playing the video file, so as to determine whether the video file can be played or paused based on the control instruction generated by the play-pause control gesture.
[0216] The video file playback mode can be obtained in the form of broadcast. The controller obtains the playback mode broadcast of the video file. If the received playback mode broadcast is: com.hisense.show.fivefingermenu, it means that the video file is played in full screen mode. If the received playback mode broadcast is: com.hisense.hide.fivefingermenu, it means that the video file is played in small window mode.
[0217] S23: If the broadcast playing mode indicates a full-screen playing mode, respond to the control instruction generated by the play and pause control gesture to perform a play operation or a pause operation on the video file.
[0218] S24: If the play mode broadcast indicates a small window play mode, then the control instruction generated by the play pause control gesture is not responded to.
[0219] Since the present invention limits the play and pause operation scenarios to full-screen playback, if a single-hand five-finger gesture (play and pause control gesture) is detected in the user image captured by the image collector, it is necessary to determine the application scenario.
[0220] When it is determined that the video file's playback mode is in full-screen playback mode, it means that the display device can be controlled based on gestures in this scenario, that is, the control instructions generated by the play and pause control gestures can be responded to to play or pause the video file. When it is determined that the video file's playback mode is in small-window playback mode, it means that the display device cannot be controlled based on gestures in this scenario. At this time, the control instructions generated by the play and pause control gestures cannot be responded to, and the video file cannot be played or paused.
[0221] In some embodiments, the method for determining whether the current playback mode is a full-screen playback interface can be determined by obtaining the playback mode broadcast and channel monitoring. By monitoring the channel, it can be determined whether the current channel is a physical channel or an Android channel, and by the playback mode broadcast, it can be determined whether it is a full-screen window playback or a small window playback.
[0222] The physical channel refers to the channel that connects the signal source when the display device outputs the picture, such as the HDMI interface, TV box, etc. The Android channel refers to the channel that connects the Android system to output the picture.
[0223] If the display device uses the Android channel and is full-screen broadcasting when playing the video file, it is judged to be a full-screen playback interface. At this time, the five-finger gesture with one hand will work, and you can respond to the control instructions generated by the play and pause control gesture to play or pause the video file.
[0224] If a small window broadcast is received, or the channel is monitored to be switched to a physical channel, the one-hand five-finger gesture will no longer work, that is, it will not respond to the control instructions generated by the play and pause control gestures, and the video file cannot be played or paused. Only global mute and unmute operations can be performed.
[0225] In some embodiments, before executing the acquisition of the broadcasting of the playing form of the playing video file, the controller is further configured to perform the following steps:
[0226] Step 221: Obtain a signal source ID for identifying a channel type.
[0227] Step 222: If the signal source ID represents the first channel type, a play mode broadcast of the video file is obtained, and based on the play mode represented by the play mode broadcast, it is determined whether to respond to a control instruction generated by a play pause control gesture.
[0228] Step 223: If the signal source ID represents the second channel type, then do not respond to the control instruction generated by the play-pause control gesture.
[0229] When the user gesture in the user image is detected as a play / pause control gesture, it indicates that the current application scenario requires the display device to play or pause the video. At this time, it is necessary to determine whether the display device is playing the video file in a full-screen interface.
[0230] In some embodiments, whether the full-screen playback scene is in progress is determined by obtaining the playback mode broadcast and channel monitoring, that is, first determining the channel type of the display device, and then determining the playback mode broadcast of the video file.
[0231] When determining the channel type of the display device, the signal source ID used to identify the channel type in the system can be directly obtained. The channel types include physical channels and Android channels. The signal source ID of the Android channel is 2562, and the signal source ID of the physical channel is 64 or other values other than 2562.
[0232] If the acquired signal source ID represents the first channel type, for example, 2562, it means that the channel type of the current display device is an Android channel. At this time, it can be further determined whether the mode of playing the video file is full-screen playback or small window playback. Specifically, the playback mode broadcast of the video file is obtained, and based on the playback mode represented by the playback mode broadcast, it is determined whether to respond to the control instruction generated by the play pause control gesture. The specific implementation process of determining the playback mode can refer to the content of the aforementioned embodiment, which will not be repeated here.
[0233] If the video file is played in the Android channel and in full-screen playback mode, the control instructions generated by the play and pause control gestures can be responded to to play or pause the video file. If the video file is played in the Android channel but in small window playback mode, the control instructions generated by the play and pause control gestures cannot be responded to to play or pause the video file.
[0234] If the acquired signal source ID represents the second channel type, for example, 64 or other values except 2562, it indicates that the channel type of the current display device is a physical channel. In this case, there is no need to determine whether the video file is played in full screen or in a small window. The control instructions generated by the play and pause control gestures can be directly ignored, and the video file cannot be played or paused.
[0235] It can be seen that the display device provided by the embodiment of the present invention, when using gestures to control the display device, if the user gesture is recognized as a play pause control gesture based on the user image collected by the image collector, the signal type is monitored and the broadcast of the playback mode of the video is obtained to determine whether the playback mode of the video file is a full-screen playback mode or a small window playback mode. In the case of an Android channel and full-screen broadcast, the control instruction generated by the play pause control gesture can be responded to to play or pause the video file; if it is a small window playback mode or in a physical channel, the control instruction generated by the play pause control gesture will not be responded to. Therefore, in the scenario of controlling the playback or pause of the display device, it is determined based on the channel type and the playback mode whether the control instruction of the play pause control gesture can be responded to, so as to efficiently control the display device and improve the user experience.
[0236] When controlling a display device based on a gesture recognition method, if gesture recognition is performed on the collected user image and the recognized user gesture is a play-pause control gesture, the display device is controlled to perform a play operation or a pause operation; if the recognized user gesture is a mute control gesture, the display device is controlled to perform a mute operation or an unmute operation. The above gesture recognition method can realize efficient control of the display device, and the user can conveniently control the display device even without a remote control, thereby improving the user experience.
[0237] Fig. 9 A third flow chart of a method for controlling a display device according to some embodiments is shown; Fig.10The overall flow chart of the control method of the display device according to some embodiments is shown. In order to accurately perform corresponding control on the display device based on the recognized user gesture, an embodiment of the present invention provides a display device, including: a display, configured to present a user interface; an image collector or a user input interface 140 that can be connected to the image collector, the graphic collector is configured to collect user images, the user input interface 140 is used to implement the user command input function through voice, touch, gesture, pressing and other actions, the input interface converts the received analog signal into a digital signal, and the digital signal into a corresponding command signal, and sends it to the image collector; a controller connected to the display and the image collector respectively, in the execution Fig. 9 and Fig.10 When the control method of the display device is shown, the controller is configured to perform the following steps:
[0238] S31. When the global gesture detection function is enabled, obtain a user image including user gestures collected by an image collector.
[0239] When the display device is controlled based on gesture recognition, the global gesture switch must be turned on first, and the global gesture detection process is turned on when the image collector is not occupied. At this time, the image collector collects the user image in the detection area in real time.
[0240] When a user uses a display device, if a gesture is needed to control the display device, the user can stand in the detection area of the image collector (camera) and make gestures with his fingers. The image collector collects the user image in the detection area, and the user image includes the user gesture. The controller performs gesture recognition on the user image including the user gesture and determines whether the user gesture is a play pause control gesture or a mute control gesture.
[0241] The play and pause control gesture is used to play or pause the video on the display device. In some embodiments, the play and pause control gesture can be set as a five-finger gesture. The mute control gesture is used to mute and unmute the display device. In some embodiments, the mute control gesture can be set as a number 1 gesture. The play and pause control gesture or the mute control gesture can also be customized according to the user's usage habits, which is not specifically limited in this embodiment.
[0242] The image collector collects user images in the detection area in real time at a preset frequency and sends them to the controller in sequence. The controller performs gesture recognition on each frame of the user image. In some embodiments, the preset frequency of the image collector is 30-40ms / frame, that is, the image collector takes 30-40ms to collect one frame of the user image.
[0243] S32: If the user gesture is a play-pause control gesture, executing a play operation or a pause operation in response to a control instruction corresponding to the play-pause control gesture.
[0244] S33: If the user gesture is a mute control gesture, execute a mute operation or an anti-mute operation in response to a control instruction corresponding to the mute control gesture.
[0245] In some embodiments, the device for recognizing user gestures in user images may be an image collector. When the image collector detects that the user gesture in the user image is a play pause control gesture or a mute control gesture, the detection result may be sent to a controller, and the controller controls the display device to implement corresponding operations based on the play pause control gesture or the mute control gesture.
[0246] In some embodiments, the device for recognizing a user gesture in a user image may also be a controller, which performs gesture recognition on the user image after receiving the user image sent by the image collector. If the user gesture in the user image is detected to be a play pause control gesture or a mute control gesture, the display device may be controlled to implement a corresponding operation based on the play pause control gesture or the mute control gesture.
[0247] Therefore, when the user gesture in the user image is identified as a play / pause control gesture, it means that the user needs to use a gesture to play or pause the video on the display device. At this time, the display device can respond to the control instruction corresponding to the play / pause control gesture and perform the play operation or the pause operation. When the user gesture in the user image is identified as a mute control gesture, it means that the user needs to use a gesture to mute or unmute the display device. At this time, the display device can respond to the control instruction corresponding to the mute control gesture and perform the mute operation or unmute operation.
[0248] It can be seen that, in the display device provided by the embodiment of the present invention, when the global gesture detection function is turned on, the image collector collects the user image in real time, and the controller obtains the user image including the user gesture collected by the image collector, and performs gesture recognition on the user image; if it is recognized as a play pause control gesture, the corresponding play operation or pause operation is executed; if it is recognized as a mute control gesture, the corresponding mute operation or anti-mute operation is executed. Therefore, this embodiment can realize efficient control of the display device based on the gesture recognition method, and the user can conveniently control the display device even without a remote control, thereby improving the user experience.
[0249] When implementing the control of the display device, different control gestures are responded to based on different control results. Therefore, when different control gestures (play pause control gesture and mute control gesture) are recognized based on the user image, different gesture recognition methods are used.
[0250] Fig.11 A flow chart of a method for controlling a display device to perform a play operation or a pause operation according to some embodiments is shown; Fig.12 FIG. 4 shows a data flow diagram for controlling a display device to perform a play operation or a pause operation according to some embodiments. Fig.11 and Fig.12 In some embodiments, when the controller executes step S32, i.e., if the user gesture is a play pause control gesture, then the controller executes a play operation or a pause operation in response to a control instruction corresponding to the play pause control gesture, the controller is further configured as follows:
[0251] S321: Identify a user gesture in the user image, and determine whether the user gesture is a play-pause control gesture.
[0252] S322: When the user gesture is a play-pause control gesture, calculate a first effective success frame rate of the play-pause control gesture.
[0253] S323: If the first effective success frame rate of the play-pause control gesture exceeds the first effective threshold, execute a play operation or a pause operation in response to a control instruction corresponding to the play-pause control gesture.
[0254] Although the user is within the detection area of the image collector, for example, the user stands in front of the display device, the image collector collects the user image including the user gesture for AI intelligent detection. However, if the user gesture made by the user is not a gesture to control the display device, but other gestures made inadvertently, there is no need to start the gesture detection process for controlling the display device.
[0255] Gesture recognition is performed on each frame of the captured user image. Since the operations for controlling the display device include play (pause) operation and mute (unmute) operation, the corresponding preset control gestures are play pause control gesture and mute gesture. Therefore, it is necessary to determine whether the user gesture is a play pause control gesture or a mute control gesture based on the gesture result of the user image. In the play pause scenario, it is necessary to determine whether the user gesture identified from the user image is a play pause control gesture.
[0256] In some embodiments, the controller is further configured to perform the following steps when executing step S321, i.e., determining whether the user gesture is a play pause control gesture:
[0257] Step 3211: Match the user gesture with the preset control gesture, where the preset control gesture includes a play pause control gesture and a mute control gesture.
[0258] Step 3212: If the user gesture matches the play-pause control gesture, calculate the play-pause gesture confidence of the user gesture and the play-pause control gesture.
[0259] Step 3213: If the play-pause gesture confidence exceeds the gesture success threshold, determine that the user gesture is a play-pause control gesture.
[0260] Since the subject that can perform gesture recognition on the user image can be an image collector or a controller. Therefore, when the image collector or the controller recognizes the user gesture in each frame of the user image, the user gesture in each frame of the user image is matched with the preset control gestures, which include the play pause control gesture and the mute control gesture, so as to determine whether the user gesture in the current frame of the user image is to control the display device to perform a play (pause) operation or a mute (anti-mute) operation.
[0261] If the user gesture is recognized to match the play / pause control gesture, it means that the user wants to control the display device to play or pause. However, if the effect of the user gesture is not in place, for example, when the play / pause control gesture is a one-hand five-finger gesture, if at least one of the user's fingers is bent, the user's gesture does not look like a one-hand five-finger gesture. At this time, this ambiguous user gesture will make it impossible to accurately determine whether the user gesture is recognized as a play / pause control gesture, resulting in misrecognition, which will lead to the inability to control the display device in a timely manner.
[0262] Therefore, in order to ensure timely and effective control of the display device, it is necessary to determine whether the user image that recognizes the user gesture is a successful gesture frame of the play pause control gesture, that is, the user gesture must be determined as a play pause control gesture only when the similarity between the user gesture and the play pause control gesture exceeds a threshold.
[0263] Calculate the play pause gesture confidence, i.e., similarity, of the user gesture and the play pause control gesture in each frame of the user image. Determine whether each play pause gesture confidence exceeds the gesture success threshold. In some embodiments, the gesture success threshold can be set to 99%. If a play pause gesture confidence does not exceed 99%, it is determined that the user gesture is not a play pause control gesture; if a play pause gesture confidence exceeds 99%, the user gesture corresponding to the play pause gesture confidence is determined to be a play pause control gesture to avoid misrecognition.
[0264] At the same time, the user image of the user gesture whose confidence of the play pause gesture exceeds the gesture success threshold is determined as a gesture success frame. During the gesture detection process, the number of gesture success frames and the total number of gesture recognition frames of all collected user images are counted.
[0265] In the gesture detection process, it is not considered that the gesture recognition is successful when the user gesture in a certain frame of the user image is recognized as a play pause control gesture, that is, the corresponding control instruction is executed to control the display device to perform the corresponding operation. Instead, it is necessary to continuously detect several frames of user images, and when the ratio of gesture success frames corresponding to the play pause control gesture exceeds a certain threshold, it can be judged that the gesture recognition is successful, and then the corresponding control instruction is executed to control the display device to perform the corresponding operation.
[0266] When determining whether gesture recognition is successful, calculations are performed based on several frames of continuously captured user images, which can ensure efficient control of the display device and prevent the user from making a play or pause control gesture and then immediately putting it down. The display device has already recognized the gesture and responds to the corresponding control instruction to perform the corresponding operation. In fact, in the scenario where the user immediately puts down the gesture, there is no need to control the display device, which affects the user experience.
[0267] Therefore, when the user gesture is recognized as a play pause control gesture, the first effective success frame rate of the play pause control gesture is calculated to determine whether the current scene can be regarded as a successful gesture recognition, so as to accurately control the display device.
[0268] In some embodiments, when the controller executes step S322, i.e., when the user gesture is a play pause control gesture, calculating the first effective success frame rate of the play pause control gesture, the controller is further configured to:
[0269] Step 3221: When the user gesture is a play pause control gesture, obtain the total gesture recognition frames of the user image collected within the first detection duration and the gesture success frames of the user image corresponding to the play pause control gesture.
[0270] Step 3222: Calculate the ratio of the number of gesture success frames to the total number of gesture recognition frames, and determine the ratio as the first effective success frame rate of the play-pause control gesture.
[0271] When the confidence level of the play pause gesture corresponding to the user gesture exceeds 99%, the corresponding user gesture can be determined as a play pause control gesture, and the user image where the user gesture is located is a successful gesture frame. The first effective successful frame rate of the play pause control gesture in all user images collected by the image collector within the first detection time period following the moment when the successful gesture frame is detected is calculated.
[0272] To this end, the total number of gesture recognition frames of the user image collected within the first detection duration and the number of gesture success frames of the user image corresponding to the play pause control gesture are obtained. In some embodiments, the duration corresponding to the process of determining whether the gesture recognition is successful during the gesture detection process is the first detection duration. The starting time of the first detection duration is the time when the gesture success frame is detected. The first detection duration can be set to 500ms. The first detection duration can also be set to other durations according to actual applications, which are not specifically limited here.
[0273] The first detection duration is the maximum duration that the image collector continuously collects user images including user gestures during the gesture detection process. The image collector sends the multiple frames of user images collected within the first detection duration to the controller in sequence. The controller can count the total number of gesture recognition frames of the multiple frames of user images received within the first detection duration.
[0274] The ratio of the number of successful gesture frames to the total number of gesture recognition frames is calculated, that is, the ratio of the number of successful frames of the play pause control gesture detected by the controller within the first detection time period to the total number of gesture recognition frames is calculated, and the ratio is determined as the first effective success frame rate of the play pause control gesture.
[0275] For example, when the AI intelligent detection method detects that the user gesture in a frame of the user image is a play pause control gesture, a 500ms (first detection duration) counter is started, and each frame of the user image within 500ms is detected. If a play pause control gesture is detected, the number of successful gesture frames (DetectedFrames) and the total number of gesture recognition frames (TotalFrames) corresponding to the play pause control gesture are respectively increased by one. If the detected gesture is not a play pause control gesture, only the total number of gesture recognition frames (TotalFrames) is increased by one. When the 500ms time is reached, the ratio of the number of successful gesture frames to the total number of frames is calculated (SuccessRate = DetectedFrames / TotalFrames) to determine the first effective success frame rate of the play pause control gesture.
[0276] In some embodiments, in order to prevent the user from making a play / pause control gesture and then releasing it after only a short time, so that the controller cannot determine whether the corresponding operation needs to be performed, a first effective threshold can be set to facilitate accurate control of the display device, so that among the multiple frames of user images collected by the image collector within the first detection time, only when the first effective success frame rate of the play / pause control gesture exceeds the first effective threshold, the gesture recognition can be regarded as successful.
[0277] If the first valid success frame rate of the play pause control gesture does not exceed the first valid threshold, it means that the user only briefly made the play pause control gesture and then released it. At this time, it means that the gesture recognition was unsuccessful and subsequent control operations cannot be performed; if the first valid success frame rate of the play pause control gesture exceeds the first valid threshold, it means that the gesture recognition was successful. At this time, the play operation or pause operation is performed in response to the control instruction corresponding to the play pause control gesture, and the counts of DetectedFrames and TotalFrames are cleared to zero for the next detection.
[0278] In some embodiments, the first effective threshold can be set to 95%. If the recognition success rate exceeds 95% of the first effective threshold, it means that the gesture recognition is successful during the current gesture detection process (within the first detection duration). At this time, the play operation or pause operation can be performed in response to the control instruction corresponding to the play and pause control gesture. The first effective threshold can also be set to other values according to actual application conditions, which are not specifically limited here.
[0279] In some embodiments, when the gesture recognition of the play pause control gesture in the user image is successful, in order to promptly prompt the user that the current gesture recognition is successful, please maintain the play pause control gesture to avoid the play pause operation being canceled midway, and a gesture detection prompt interface may be presented in the user interface.
[0280] Fig.13 A schematic diagram of a gesture detection prompt interface in a playback pause scenario according to some embodiments is shown. Fig.13 The controller is further configured to: when determining that the user gesture is a play pause control gesture, present a gesture detection prompt interface in the user interface, and present gesture recognition success prompt information and a gesture pattern in the gesture detection prompt interface.
[0281] The first effective success frame rate of the play / pause control gesture in the user image collected within the first detection time exceeds the first effective threshold, indicating that the gesture recognition is successful. At this time, a gesture detection prompt interface is presented in the user interface. The gesture detection prompt interface presents gesture recognition success prompt information and gesture pattern. The gesture recognition success prompt information is used to prompt the user that the user is currently in the gesture detection process. The prompt information content may be "Try to make a gesture to pause the video." The gesture recognition success prompt information may be selectively configured or not displayed. The gesture pattern is used to identify the UI form of the play / pause control gesture. Normally, the UI form of the pattern is the same as the gesture made by the user's fingers. For example, if the play / pause control gesture is a one-hand five-finger gesture, the play / pause control gesture pattern is a "palm" pattern.
[0282] In some embodiments, after the gesture recognition is successful, the play operation or pause operation can be executed in response to the control instruction corresponding to the play pause control gesture. However, in order to further ensure that the user consistently maintains the play pause control gesture after the gesture recognition is successful, and does not release it halfway, the second effective success frame rate of the play pause control gesture within 500ms can be calculated again after the gesture recognition is successful.
[0283] Specifically, when the controller executes step S323, that is, executes the play operation or the pause operation in response to the control instruction corresponding to the play and pause control gesture, the controller is further configured to execute the following steps:
[0284] Step 3241: When the first effective success frame rate of the play pause control gesture exceeds the first effective threshold, obtain a user image collected within a second detection duration.
[0285] Step 3242: Calculate a second effective success frame rate of the play / pause control gesture in the user image collected within the second detection duration.
[0286] Step 3243: If the second effective success frame rate of the play-pause control gesture exceeds the third effective threshold, a play operation or a pause operation is performed in response to the control instruction corresponding to the play-pause control gesture.
[0287] Step 3244: If the second effective success frame rate of the play-pause control gesture does not exceed the third effective threshold, cancel the execution of the play operation or the pause operation in response to the control instruction corresponding to the play-pause control gesture.
[0288] When the gesture recognition is successful, that is, when the first effective success frame rate of the play pause control gesture is detected to exceed the first effective threshold, the second effective success frame rate of the play pause control gesture within the second detection duration is recalculated, and at this time, the user image collected by the image collector within the second detection duration is obtained. The calculation method of the second effective success frame rate is the same as the calculation method of the first effective success frame rate, which will not be repeated here.
[0289] The start time of the second detection time is the time when the gesture recognition is detected successfully, and the second detection time can be set to 500ms. The second detection time can also be set to other time according to the actual application, which is not specifically limited here.
[0290] During the second calculation of the effective success frame rate, in order to facilitate accurate control of the display device, a third effective threshold can be set so that among the multiple frames of user images collected by the image collector within the second detection period, only the second effective success frame rate of the play pause control gesture exceeds the third effective threshold. In this way, the play operation or pause operation can be performed in response to the control instruction corresponding to the play pause control gesture.
[0291] In some embodiments, the third effective threshold can be set to 70%. If the recognition success rate exceeds the third effective threshold of 70%, it means that the gesture recognition is successful during the current gesture detection process (within the second detection duration). At this time, the play operation or pause operation can be performed in response to the control instruction corresponding to the play and pause control gesture. The third effective threshold can also be set to other values according to actual application conditions, which are not specifically limited here.
[0292] Therefore, when it is determined that the second effective success frame rate of the play pause control gesture exceeds the third effective threshold, the play operation or the pause operation is performed in response to the control instruction corresponding to the play pause control gesture. When it is determined that the second effective success frame rate of the play pause control gesture does not exceed the third effective threshold, indicating that the user puts down the gesture halfway, it is determined that the user cancels the corresponding operation, and at this time, the execution of the play operation or the pause operation in response to the control instruction corresponding to the play pause control gesture is canceled.
[0293] During the second calculation of the effective success frame rate, in order to remind the user that gesture recognition is currently in progress, a buffer animation can be presented in the gesture detection prompt interface. That is, after the gesture recognition is successful, a 500ms buffer animation is immediately executed after the gesture detection prompt interface is presented in the user interface. The display duration of the buffer animation is the duration of the second judgment of gesture recognition success, that is, the second detection duration.
[0294] Fig.14 Another schematic diagram of a gesture detection prompt interface in a playback pause scenario according to some embodiments is shown. Fig.14 The controller is configured to execute: when acquiring the user image collected within the second detection duration, the gesture pattern is displayed in the form of a buffered animation, and the display duration of the buffered animation is the second detection duration.
[0295] The gesture recognition success prompt information in the gesture detection prompt interface in this scenario is used to inform the user that the specified gesture that can currently realize the play and pause operation control has been successfully recognized. The prompt information content can be "Gesture recognition in progress..." After the user sees the prompt information, he can know that the display device can be controlled to perform a play operation or a pause operation based on the play and pause control gesture.
[0296] The gesture pattern is displayed in the form of a buffer animation, which can be a circular form, starting from the vertex of the gesture pattern and rotating clockwise. The duration of one circle of the buffer animation is the second detection duration.
[0297] It should be noted that Fig.13 The gesture detection prompt interface shown and Fig.14 The gesture detection prompt interface shown is in a continuous display state. When the first gesture recognition is successful, it is displayed in the user interface. Fig.13The gesture detection prompt interface shown in the figure is displayed immediately in the user interface after the first gesture recognition is successful. Fig.14 The gesture detection prompt interface shown is that after the gesture pattern appears in the user interface, the cache animation circle effect is immediately performed. Fig.14 The display process of the gesture detection prompt interface shown is the process of performing the second gesture recognition.
[0298] In some embodiments, when it is determined that the second effective success frame rate of the play pause control gesture does not exceed the third effective threshold, indicating that the user has dropped the gesture midway, it is determined that the user canceled the corresponding operation. At this time, the buffering animation of the gesture pattern is no longer executed, the gesture detection prompt interface is canceled, and the corresponding operation is no longer performed subsequently, that is, the execution of the play operation or pause operation in response to the control instruction corresponding to the play pause control gesture is canceled.
[0299] In some embodiments, after the second gesture recognition is successful, the display device can respond to the control instruction corresponding to the play and pause control gesture to perform a play operation or a pause operation. Since the play and pause scenario is limited to full-screen playback, it is necessary to determine whether to respond to the control instruction corresponding to the play and pause control gesture based on the playback mode of the current video file.
[0300] Specifically, the controller is further configured to execute the play operation or the pause operation in response to the control instruction corresponding to the play pause control gesture:
[0301] Step 3251: In response to the play pause control instruction generated when the second effective success frame rate of the play pause control gesture exceeds the third effective threshold, obtain a play format broadcast of the play video file.
[0302] Step 3252: If the play mode broadcast represents a full-screen play mode, in response to a play pause control instruction, perform a play operation or a pause operation on the video file.
[0303] Step 3253: If the play mode broadcast represents the small window play mode, then the play pause control instruction will not be responded.
[0304] If the second gesture recognition is successful, that is, when the second effective success frame rate of the play / pause control gesture exceeds the third effective threshold, it means that the display device can be played or paused, and a play / pause control instruction is generated. The play / pause control instruction is sent in the form of a virtual button on the remote control.
[0305] The controller responds to the play pause control instruction and obtains the play mode broadcast of the video file. When it is determined that the play mode broadcast of the video file represents the full-screen play mode, it means that the display device can be controlled based on gestures in this scenario, that is, the video file can be played or paused in response to the control instruction generated by the play pause control gesture. When it is determined that the play mode broadcast of the video file represents the small-window play mode, it means that the display device cannot be controlled based on gestures in this scenario. At this time, the control instruction generated by the play pause control gesture is not responded to, and the video file cannot be played or paused.
[0306] In some embodiments, the method for determining whether the current playback mode is a full-screen playback interface can be determined by obtaining the playback mode broadcast and channel monitoring. By monitoring the channel, it can be determined whether the current channel is a physical channel or an Android channel, and by the playback mode broadcast, it can be determined whether it is a full-screen window playback or a small window playback.
[0307] If the video file is played in the Android channel and in full-screen playback mode, the control instruction generated by the play and pause control gesture can be responded to, and the video file can be played or paused. If the video file is played in the Android channel but in small-window playback mode, the control instruction generated by the play and pause control gesture cannot be responded to, and the video file cannot be played or paused. If the channel type of the display device is a physical channel, at this time, there is no need to determine whether the video file is played in full-screen playback mode or small-window playback mode, and the control instruction generated by the play and pause control gesture can be directly not responded to, and the video file cannot be played or paused. The specific implementation process can refer to steps S21 to S23 and related contents provided in the aforementioned embodiment, which will not be repeated here.
[0308] In order to determine whether to perform a play operation or a pause operation, it is necessary to first determine the state of the current display device. If the current display device is in a play state, the control instruction corresponding to the play pause control gesture is responded to and the pause operation is performed; if the current display device is in a pause state, the control instruction corresponding to the play pause control gesture is responded to and the play operation is performed.
[0309] In some embodiments, when executing step 3252, i.e., executing if the play mode broadcast represents the full screen play mode, in response to the play pause control instruction, performing a play operation or a pause operation on the video file, the controller is further configured to perform the following steps:
[0310] Step 3261: In the playback mode broadcast representing the full-screen playback mode, obtain the current playback status of the video file.
[0311] Step 3262: If the current playback state is the video playback state, in response to the playback pause control instruction, a pause operation is performed on the video file.
[0312] Step 3263: If the current playback state is the video pause state, in response to the playback pause control instruction, perform a playback operation on the video file.
[0313] When it is determined that the current display device is playing a video file in a full-screen playback mode, the current playback state of the display device when playing the video file is obtained. If the current playback state is a video playback state, it means that the gesture made by the current user can perform a pause operation, and the video file can be paused in response to the playback pause control instruction. If the current playback state is a video pause state, it means that the gesture made by the current user can perform a playback operation, and the video file can be played in response to the playback pause control instruction.
[0314] The current playback status of the display device can be determined by simulating the sending of the remote control center key value. When the full-screen video is playing, the user makes a play and pause control gesture, such as a five-finger gesture, and after the detection is successful, the remote control Center key value is simulated and sent. When the system receives the Center key, it will determine whether the current video is in the playback state based on whether the interface videoview.isplaying is true.
[0315] If videoview.isplaying is true, it means that the video is currently in the playing state. At this time, the system will respond to the play pause control command, call the videoview.pause interface and then perform the pause operation; if videoview.isplaying is false, it means that the current video is in the video pause state. At this time, the system will respond to the play pause control command and call videoview.start to perform the play operation.
[0316] In some embodiments, after completing a process of controlling a display device to perform a play operation or a pause operation based on the aforementioned method, an operation completion prompt interface may be presented in the user interface to prompt the user that the control has been completed.
[0317] Fig.15 A schematic diagram showing an operation completion prompt interface presented in a user interface according to some embodiments is shown. Fig.15 After completing the control of the display device once, an operation completion prompt interface is presented in the user interface. The operation completion prompt interface displays an operation completion pattern and an operation completion prompt message. The operation completion pattern can be in the form of a "check mark" UI, and the content of the operation completion prompt message can be "operation successful" or the like.
[0318] It can be seen that the display device provided by the embodiment of the present invention, when the display device is controlled based on the gesture recognition method, if the gesture recognition is performed on the collected user image, and the recognized user gesture is a play pause control gesture, then the display device is controlled to perform a play operation or a pause operation. And when the control operation is performed, the confidence of the play pause gesture needs to exceed the gesture success threshold, the first effective success frame rate of the play pause control gesture within the first detection time length needs to exceed the first effective threshold, the second effective success frame rate of the play pause control gesture within the second detection time length needs to exceed the third effective threshold, and, in the scenario of full-screen playback, the control instruction corresponding to the play pause control gesture can be responded to, and the play operation or the pause operation can be performed, so that the control operation is more accurate. The above-mentioned gesture recognition method can realize efficient control of the display device, and even in the absence of a remote control, the user can conveniently control the display device to improve the user experience.
[0319] Fig.16 A flow chart of a method for controlling a display device to perform a mute operation or an anti-mute operation according to some embodiments is shown; Fig.17 A data flow diagram for controlling a display device to perform a mute operation or an anti-mute operation according to some embodiments is shown. Fig.16 and Fig.17 In some embodiments, when executing step S33, i.e., if the user gesture is a mute control gesture, then executing a mute operation or an anti-mute operation in response to a control instruction corresponding to the mute control gesture, the controller is further configured to execute the following steps:
[0320] S331: Identify a user gesture in the user image, and determine whether the user gesture is a mute control gesture.
[0321] S332: When the user gesture is a mute control gesture, calculate a first effective success frame rate of the mute control gesture.
[0322] S333: If the first effective success frame rate of the mute control gesture exceeds the second effective threshold, perform a mute operation or an anti-mute operation in response to a control instruction corresponding to the mute control gesture.
[0323] Although the user is within the detection area of the image collector, for example, the user stands in front of the display device, the image collector collects the user image including the user gesture for AI intelligent detection. However, if the user gesture made by the user is not a gesture to control the display device, but other gestures made inadvertently, there is no need to start the gesture detection process for controlling the display device.
[0324] Gesture recognition is performed on each frame of the captured user image. Since the operations for controlling the display device include play (pause) operation and mute (unmute) operation, the corresponding preset control gestures are play pause control gesture and mute gesture. Therefore, it is necessary to determine whether the user gesture is a play pause control gesture or a mute control gesture based on the gesture result of the user image. In the mute scenario, it is necessary to determine whether the user gesture identified from the user image is a mute control gesture.
[0325] In some embodiments, the controller is further configured to perform the following steps when executing step S331, i.e., determining whether the user gesture is a mute control gesture:
[0326] Step 3311: Match the user gesture with the preset control gesture, where the preset control gesture includes a play pause control gesture and a mute control gesture.
[0327] Step 3312: If the user gesture matches the mute control gesture, calculate the mute gesture confidence of the user gesture and the mute control gesture.
[0328] Step 3313: If the mute gesture confidence exceeds the gesture success threshold, determine that the user gesture is a mute control gesture.
[0329] When the image collector or controller recognizes the user gesture in each frame of the user image, the user gesture in each frame of the user image is matched with the preset control gestures, which include the play pause control gesture and the mute control gesture, to determine whether the user gesture in the current frame of the user image is to control the display device to perform a play (pause) operation or a mute (unmute) operation.
[0330] If the user gesture is recognized to match the mute control gesture, it means that the user wants to control the display device to perform a mute operation or an unmute operation. However, if the effect of the user gesture is not in place, for example, when the mute control gesture is a single-handed number 1 gesture, if the user's fingers are bent, the user's gesture does not look like a single-handed number 1 gesture. At this time, this ambiguous user gesture will make it impossible to accurately determine whether the user gesture is recognized as a mute control gesture, resulting in misrecognition, which will lead to the inability to control the display device in a timely manner.
[0331] Therefore, in order to ensure timely and effective control of the display device, it is necessary to determine whether the user image that recognizes the user gesture is a successful gesture frame of the mute control gesture, that is, the user gesture must be determined as a mute control gesture only when the similarity between the user gesture and the mute control gesture exceeds a threshold.
[0332] Calculate the mute gesture confidence, i.e., similarity, of the user gesture and the mute control gesture in each frame of the user image. Determine whether each mute gesture confidence exceeds the gesture success threshold. In some embodiments, the gesture success threshold can be set to 99%. If a mute gesture confidence does not exceed 99%, it is determined that the user gesture is not a mute control gesture; if a mute gesture confidence exceeds 99%, the user gesture corresponding to the mute gesture confidence is determined to be a mute control gesture to avoid misrecognition.
[0333] At the same time, the user image of the user gesture whose mute gesture confidence exceeds the gesture success threshold is determined as a gesture success frame. During the gesture detection process, the number of gesture success frames and the total number of gesture recognition frames of all collected user images are counted.
[0334] In the gesture detection process, it is not considered that the gesture recognition is successful when the user gesture in a certain frame of the user image is recognized as a mute control gesture, that is, the corresponding control instruction is executed to control the display device to perform the corresponding operation. Instead, it is necessary to continuously detect several frames of user images, and when the ratio of gesture success frames corresponding to the mute control gesture exceeds a certain threshold, it can be judged that the gesture recognition is successful, and then the corresponding control instruction is executed to control the display device to perform the corresponding operation.
[0335] When determining whether gesture recognition is successful, calculations are performed based on several frames of continuously captured user images, which can ensure efficient control of the display device and prevent the user from making a mute control gesture and then immediately putting it down. The display device has already recognized the gesture and responds to the corresponding control instruction to perform the corresponding operation. In fact, in the scenario where the user immediately puts down the gesture, there is no need to control the display device, which affects the user experience.
[0336] Therefore, when the user gesture is recognized as a mute control gesture, the first effective success frame rate of the mute control gesture is calculated to determine whether the current scene can be regarded as a successful gesture recognition, so as to accurately control the display device.
[0337] In some embodiments, when the controller executes step S332, i.e., when the user gesture is a mute control gesture, calculating the first effective success frame rate of the mute control gesture, the controller is further configured to:
[0338] Step 3321: when the user gesture is a mute control gesture, obtain the total gesture recognition frames of the user image collected within the first detection time and the gesture success frames of the user image corresponding to the mute control gesture;
[0339] Step 3322: Calculate the ratio of the number of gesture success frames to the total number of gesture recognition frames, and determine the ratio as the first effective success frame rate of the mute control gesture.
[0340] When the confidence level of the silent gesture corresponding to the user gesture exceeds 99%, the corresponding user gesture can be determined as a silent control gesture, and the user image where the user gesture is located is a successful gesture frame. The first effective successful frame rate of the silent control gesture in all user images collected by the image collector within the first detection time period following the moment when the successful gesture frame is detected is calculated.
[0341] To this end, the total number of gesture recognition frames of the user image collected within the first detection duration and the number of gesture success frames of the user image corresponding to the user gesture being a mute control gesture are obtained. In some embodiments, the duration corresponding to the process of determining whether the gesture recognition is successful during the gesture detection process is the first detection duration. The starting time of the first detection duration is the time when the gesture success frame is detected. The first detection duration can be set to 500ms. The first detection duration can also be set to other durations according to actual applications, which are not specifically limited here.
[0342] The first detection duration is the maximum duration that the image collector continuously collects user images including user gestures during the gesture detection process. The image collector sends the multiple frames of user images collected within the first detection duration to the controller in sequence. The controller can count the total number of gesture recognition frames of the multiple frames of user images received within the first detection duration.
[0343] The ratio of the number of successful gesture frames to the total number of gesture recognition frames is calculated, that is, the ratio of the number of successful frames of the silent control gesture detected by the controller within the first detection time period to the total number of gesture recognition frames is calculated, and the ratio is determined as the first effective successful frame rate of the silent control gesture.
[0344] For example, when the AI intelligent detection method detects that the user gesture in a frame of the user image is a silent control gesture, a 500ms (first detection duration) counter is started, and each frame of the user image within 500ms is detected. If a silent control gesture is detected, the number of successful gesture frames (DetectedFrames) and the total number of gesture recognition frames (TotalFrames) corresponding to the silent control gesture are respectively increased by one. If the detected gesture is not a silent control gesture, only the total number of gesture recognition frames (TotalFrames) is increased by one. When the 500ms time is reached, the ratio of the number of successful gesture frames to the total number of frames is calculated (SuccessRate = DetectedFrames / TotalFrames) to determine the first effective success frame rate of the silent control gesture.
[0345] In some embodiments, in order to prevent the user from making a mute control gesture and then releasing it after only a short time, so that the controller cannot determine whether the corresponding operation needs to be performed, a second effective threshold can be set to facilitate accurate control of the display device, so that among the multiple frames of user images collected by the image collector within the first detection time, only when the first effective success frame rate of the mute control gesture exceeds the second effective threshold, the gesture recognition can be regarded as successful.
[0346] If the first effective success frame rate of the mute control gesture does not exceed the second effective threshold, it means that the user only briefly made the mute control gesture and then put it down. At this time, it means that the gesture recognition is unsuccessful and subsequent control operations cannot be performed; if the first effective success frame rate of the mute control gesture exceeds the second effective threshold, it means that the gesture recognition is successful. At this time, the mute operation or anti-mute operation is performed in response to the control instruction corresponding to the mute control gesture, and the counts of DetectedFrames and TotalFrames are cleared to wait for the next detection.
[0347] In some embodiments, the second effective threshold can be set to 85%. If the recognition success rate exceeds 85% of the second effective threshold, it means that the gesture recognition is successful during the current gesture detection process (within the first detection duration). At this time, the mute operation or anti-mute operation can be performed in response to the control instruction corresponding to the mute control gesture. The second effective threshold can also be set to other values according to actual application conditions, which are not specifically limited here.
[0348] In some embodiments, when the gesture recognition of the mute control gesture in the user image is successful, in order to promptly prompt the user that the current gesture recognition is successful, please maintain the mute control gesture to avoid the mute operation being canceled midway, a gesture detection prompt interface may be presented in the user interface.
[0349] Fig.18 A schematic diagram of a gesture detection prompt interface in a silent scenario according to some embodiments is shown. Fig.18 The controller is further configured to: when determining that the user gesture is a mute control gesture, present a gesture detection prompt interface in the user interface, and present gesture recognition success prompt information and a gesture pattern in the gesture detection prompt interface.
[0350] If the first effective success frame rate of the mute control gesture in the user image collected within the first detection time exceeds the second effective threshold, it means that the gesture recognition is successful. At this time, a gesture detection prompt interface is presented in the user interface. The gesture detection prompt interface presents gesture recognition success prompt information and gesture pattern. The gesture recognition success prompt information is used to prompt the user that the user is currently in the gesture detection process. The prompt information content may be "Try to make a gesture to mute the sound." The gesture recognition success prompt information may be optionally configured or not displayed. The gesture pattern is used to identify the UI form of the mute control gesture. Usually, the UI form of the pattern is the same as the gesture made by the user's fingers. For example, if the mute control gesture is a single-handed number 1 gesture, the mute control gesture pattern is the "index finger 1" pattern.
[0351] In some embodiments, after the gesture recognition is successful, the mute operation or anti-mute operation can be performed in response to the control instruction corresponding to the mute control gesture. However, in order to further ensure that the user maintains the mute control gesture consistently after the gesture recognition is successful, and does not drop it halfway, the second effective success frame rate of the mute control gesture within 500ms can be calculated again after the gesture recognition is successful.
[0352] Specifically, when the controller executes step S333, that is, executes the mute operation or the anti-mute operation in response to the control instruction corresponding to the mute control gesture, the controller is further configured to:
[0353] Step 3341: When the first effective success frame rate of the mute control gesture exceeds the second effective threshold, obtain a user image collected within a second detection duration.
[0354] Step 3342: Calculate a second effective success frame rate of the mute control gesture in the user image collected within the second detection time period.
[0355] Step 3343: If the second effective success frame rate of the mute control gesture exceeds the third effective threshold, a mute operation or an anti-mute operation is performed in response to the control instruction corresponding to the mute control gesture.
[0356] Step 3344: If the second effective success frame rate of the mute control gesture does not exceed the third effective threshold, cancel the execution of the mute operation or the anti-mute operation in response to the control instruction corresponding to the mute control gesture.
[0357] When the gesture recognition is successful, that is, when the first effective success frame rate of the mute control gesture is detected to exceed the second effective threshold, the second effective success frame rate of the mute control gesture within the second detection duration is recalculated, and at this time, the user image collected by the image collector within the second detection duration is obtained. The calculation method of the second effective success frame rate is the same as the calculation method of the first effective success frame rate, which will not be repeated here.
[0358] The start time of the second detection time is the time when the gesture recognition is detected successfully, and the second detection time can be set to 500ms. The second detection time can also be set to other time according to the actual application, which is not specifically limited here.
[0359] During the second calculation of the effective success frame rate, in order to facilitate accurate control of the display device, a third effective threshold can be set so that among the multiple frames of user images captured by the image collector within the second detection period, only the second effective success frame rate of the mute control gesture exceeds the third effective threshold. In this way, a mute operation or an anti-mute operation can be performed in response to the control instruction corresponding to the mute control gesture.
[0360] In some embodiments, the third effective threshold can be set to 70%. If the recognition success rate exceeds the third effective threshold of 70%, it means that the gesture recognition is successful during the current gesture detection process (within the second detection duration). At this time, the mute operation or anti-mute operation can be performed in response to the control instruction corresponding to the mute control gesture. The third effective threshold can also be set to other values according to actual application conditions, which are not specifically limited here.
[0361] Therefore, when it is determined that the second effective success frame rate of the mute control gesture exceeds the third effective threshold, a mute operation or an anti-mute operation is performed in response to the control instruction corresponding to the mute control gesture. When it is determined that the second effective success frame rate of the mute control gesture does not exceed the third effective threshold, indicating that the user puts down the gesture halfway, it is determined that the user cancels the corresponding operation. At this time, the execution of the mute operation or the anti-mute operation in response to the control instruction corresponding to the mute control gesture is canceled.
[0362] During the second calculation of the effective success frame rate, in order to remind the user that gesture recognition is currently in progress, a buffer animation can be presented in the gesture detection prompt interface. That is, after the gesture recognition is successful, a 500ms buffer animation is immediately executed after the gesture detection prompt interface is presented in the user interface. The display duration of the buffer animation is the duration of the second judgment of gesture recognition success, that is, the second detection duration.
[0363] Fig.19 Another schematic diagram of a gesture detection prompt interface in a silent scenario according to some embodiments is shown. Fig.19 The controller is configured to execute: when acquiring the user image collected within the second detection duration, the gesture pattern is displayed in the form of a buffered animation, and the display duration of the buffered animation is the second detection duration.
[0364] The gesture recognition success prompt information in the gesture detection prompt interface in this scenario is used to inform the user that the specified gesture that can currently realize the mute operation control has been successfully recognized. The prompt information content can be "Gesture recognition..." After the user sees the prompt information, he can know that the display device can be controlled to perform a mute operation or an anti-mute operation based on the mute control gesture.
[0365] The gesture pattern is displayed in the form of a buffer animation, which can be a circular form, starting from the vertex of the gesture pattern and rotating clockwise. The duration of one circle of the buffer animation is the second detection duration.
[0366] It should be noted that Fig.18 The gesture detection prompt interface shown and Fig.19 The gesture detection prompt interface shown is in a continuous display state. When the first gesture recognition is successful, it is displayed in the user interface. Fig.18 The gesture detection prompt interface shown in the figure is displayed immediately in the user interface after the first gesture recognition is successful. Fig.19 The gesture detection prompt interface shown is that after the gesture pattern appears in the user interface, the cache animation circle effect is immediately performed. Fig.19 The display process of the gesture detection prompt interface shown is the process of performing the second gesture recognition.
[0367] In some embodiments, when it is determined that the second effective success frame rate of the mute control gesture does not exceed the third effective threshold, indicating that the user has dropped the gesture midway, it is determined that the user cancels the corresponding operation. At this time, the buffering animation of the gesture pattern is no longer executed, the gesture detection prompt interface is canceled, and the corresponding operation is no longer performed subsequently, that is, the execution of the mute operation or anti-mute operation in response to the control instruction corresponding to the mute control gesture is canceled.
[0368] In order to determine whether to perform a mute operation or an anti-mute operation, it is necessary to first determine the current state of the display device. If the current display device is in a mute state, the anti-mute operation is performed in response to the control instruction corresponding to the mute control gesture; if the current display device is in an anti-mute state, the mute operation is performed in response to the control instruction corresponding to the mute control gesture.
[0369] In some embodiments, the controller is further configured to:
[0370] Step 3351: In response to the mute control instruction generated when the second effective success frame rate of the mute control gesture exceeds the third effective threshold, obtain the current mute flag of the system.
[0371] Step 3352: If the current mute flag is True, an anti-mute operation is performed in response to the mute control instruction.
[0372] Step 3353: If the current mute flag is False, a mute operation is performed in response to the mute control instruction.
[0373] If the second gesture recognition is successful, that is, when the second effective success frame rate of the mute control gesture exceeds the third effective threshold, it means that the display device can be muted or unmute, and at this time, a mute control instruction is generated. The mute control instruction is sent in the form of a virtual button on the remote control.
[0374] The controller responds to the mute control instruction and obtains the current mute flag of the system. If the current mute flag is True, it means that the current system is in a mute state, so the gesture made by the user can perform an anti-mute operation, and the display device can respond to the mute control instruction to perform an anti-mute operation. If the current mute flag is False, it means that the current system is in an anti-mute state, so the gesture made by the user can perform a mute operation, and the display device can respond to the mute control instruction to perform a mute operation.
[0375] When the user gesture is a mute control gesture, such as the number 1, after the gesture recognition is successful, the remote control mute key value is simulated and sent. After the system receives the mute key value of the remote control, it calls getmuteflag to obtain the current muteflag (mute flag). If the current muteflag is True, it indicates that the display device is in a mute state at this time. After receiving the mute key value, the display device cancels the mute, that is, performs an anti-mute operation, and sets mueflge to False. If the current muteflag obtained is False, it indicates that the display device is in a non-mute state at this time. After receiving the mute key value, the display device performs a mute operation and sets mueflag to True.
[0376] In some embodiments, after the process of controlling the display device to perform a mute operation or an anti-mute operation is completed once based on the above method, an operation completion prompt interface may be presented in the user interface to prompt the user that the control has been completed. Fig.15 As shown, the operation completion prompt interface displays an operation completion pattern and an operation completion prompt message. The operation completion pattern may be in the form of a "check mark" UI, and the content of the operation completion prompt message may be "operation successful" or the like.
[0377] It can be seen that the display device provided by the embodiment of the present invention, when controlling the display device based on the gesture recognition method, if gesture recognition is performed on the collected user image and the recognized user gesture is a mute control gesture, the display device is controlled to perform a mute operation or an anti-mute operation. And during the control operation, the mute gesture confidence must exceed the gesture success threshold, the first effective success frame rate of the mute control gesture must exceed the second effective threshold within the first detection time, and the second effective success frame rate of the mute control gesture must exceed the third effective threshold within the second detection time, before the control instruction corresponding to the mute control gesture can be responded to, and the mute operation or the anti-mute operation can be performed to make the control operation more accurate. The above-mentioned gesture recognition method can realize efficient control of the display device, and the user can conveniently control the display device even without a remote control, thereby improving the user experience.
[0378] In some embodiments, in order to avoid continuously responding to the play pause control command or the mute control command, the control method implemented by the present invention needs to wait a preset time interval after executing an operation process before executing the next operation.
[0379] Specifically, after completing an operation control, the controller is further configured to perform the following steps:
[0380] Step 41: After executing a play operation or a pause operation, or a mute operation or an anti-mute operation control process, obtain the next frame of the user image including the user gesture collected by the image collector at a preset time interval.
[0381] Step 42: When the user gesture in the next frame of the user image is a play-pause control gesture, the next play operation or pause operation is performed in response to the control instruction corresponding to the play-pause control gesture.
[0382] Step 43: When the user gesture in the next frame of the user image is a mute control gesture, the next mute operation or anti-mute operation is performed in response to the control instruction corresponding to the mute control gesture.
[0383] After the current play operation or pause operation, or mute operation or anti-mute operation process is completely completed, if the user makes a user gesture again in the detection area of the image collector, the image collector collects the next frame of user image including the user gesture and sends it to the controller. After receiving a new frame of user image, the controller re-judges the control gesture, and when it is determined that the user gesture in the new user image is a play pause control gesture, it responds to the control instruction corresponding to the play pause control gesture to perform the next play operation or pause operation; when it is determined that the user gesture in the new user image is a mute control gesture, it responds to the control instruction corresponding to the mute control gesture to perform the next mute operation or anti-mute operation. The specific play operation or pause operation, or mute operation or anti-mute operation control process can refer to the content of the aforementioned embodiment, which will not be repeated here.
[0384] In some embodiments, the preset duration of the interval can be set to 2 seconds, or can be set to other values according to actual application conditions, which is not specifically limited here.
[0385] Regardless of whether a control operation is successfully completed or not, that is, the operation is canceled midway, the next frame of user image must be captured after an interval of 2 seconds to prevent users from frequently starting gesture-based control operations of the display device in a short period of time.
[0386] It can be seen from the above technical solutions that a display device provided by an embodiment of the present invention, after the global gesture switch is turned on, if the image collector is not occupied by a specified application that needs to start the image collector, then the global gesture detection function is turned on, and the user image including the user gesture collected by the image collector is obtained. When it is detected that the user gesture in the user image is a play pause control gesture, and the playback mode broadcast represents the full-screen playback mode, then the control instruction generated by the play pause control gesture is responded to, and the video file is played or paused; when the user gesture in the detected user image is a mute control gesture, then the control instruction corresponding to the mute control gesture is responded to, and the mute operation or anti-mute operation is performed. It can be seen that the display device provided by the embodiment of the present invention realizes efficient control of the display device based on gesture recognition, and the user can conveniently control the display device even without a remote control, thereby improving the user experience.
[0387] Figure 6 A first flow chart of a method for controlling a display device according to some embodiments is shown. Figure 6 The present application also provides a method for controlling a display device, which is executed by a controller in the display device provided by the above embodiment, and the method includes:
[0388] S11, in response to a switch-on instruction generated when the global gesture switch in the user interface is triggered, detecting whether the image collector is occupied by a designated application that needs to start the image collector;
[0389] S12: If the image collector is occupied by a designated application that needs to start the image collector, the global gesture detection function is not enabled;
[0390] S13. If the image collector is not occupied by a designated application that needs to start the image collector, a global gesture detection function is enabled, wherein the global gesture detection function is used to detect a user image including a user gesture and to control the display device accordingly based on the user gesture.
[0391] Figure 8 A second flow chart of a method for controlling a display device according to some embodiments is shown. Figure 8 The present application also provides a method for controlling a display device, which is executed by a controller in the display device provided by the above embodiment, and the method includes:
[0392] S21, when the global gesture detection function is turned on, obtaining a user image including a user gesture collected by an image collector;
[0393] S22, when it is detected that the user gesture in the user image is a play pause control gesture, obtaining a play mode broadcast for playing the video file;
[0394] S23, if the broadcast playing mode represents a full-screen playing mode, responding to the control instruction generated by the play and pause control gesture, performing a play operation or a pause operation on the video file;
[0395] S24: If the play mode broadcast represents a small window play mode, then the control instruction generated by the play pause control gesture is not responded to.
[0396] Fig. 9 FIG. 4 is a flowchart showing a third method for controlling a display device according to some embodiments. Fig. 9 The present application also provides a method for controlling a display device, which is executed by a controller in the display device provided by the above embodiment, and the method includes:
[0397] S31, when the global gesture detection function is turned on, obtaining a user image including a user gesture collected by an image collector;
[0398] S32: if the user gesture is a play-pause control gesture, executing a play operation or a pause operation in response to a control instruction corresponding to the play-pause control gesture;
[0399] S33: If the user gesture is a mute control gesture, executing a mute operation or an anti-mute operation in response to a control instruction corresponding to the mute control gesture.
[0400] It can be seen from the above technical solutions that an embodiment of the present invention provides a display device and a control method thereof. After the global gesture switch is turned on, if the image collector is not occupied by a specified application that needs to start the image collector, the global gesture detection function is turned on, and the user image including the user gesture collected by the image collector is obtained. When it is detected that the user gesture in the user image is a play pause control gesture, the playback mode broadcast represents the full-screen playback mode, then the control instruction generated by the play pause control gesture is responded to, and the video file is played or paused; when the user gesture in the detected user image is a mute control gesture, the control instruction corresponding to the mute control gesture is responded to, and the mute operation or anti-mute operation is performed. It can be seen that the method and display device provided by the embodiment of the present invention realize efficient control of the display device based on gesture recognition. Even in the absence of a remote control, the user can conveniently control the display device to improve the user experience.
[0401] In some embodiments, when a display device is used to implement a smart TV function or a video playback function, the display device may play different TV programs or different video files, audio files, etc. In the process of using the display device, the user may adjust the output volume of the display device based on usage requirements so that the user can immerse himself in the TV program or audio and video.
[0402] Since the volume adjustment method of the display device is usually achieved by using the remote control configured therewith, it is not convenient enough and affects the user experience. Therefore, in order to improve the efficiency of adjusting the output volume of the display device, an embodiment of the present invention provides a set of intelligent algorithms for volume adjustment through gesture recognition, using AI image detection technology to identify the gestures of people in the image and their positions in the image, and adjusting the volume by changing the position of the gestures of people in the image. Currently, smart TVs already support a large number of external cameras and built-in cameras, which provides a basis for detecting gestures by shooting images with cameras.
[0403] The intelligent algorithm for volume adjustment based on gesture recognition provided by the embodiment of the present invention can not only realize volume adjustment, but also avoid the problem of unsmooth volume adjustment caused by frame loss, freeze, and slow detection during gesture detection even when the system CPU load is too large. The volume adjustment can be smoothly realized on the display device by recognizing sliding gestures.
[0404] Fig. 20 A flow chart of a volume adjustment method according to some embodiments is shown; Fig.21The data flow diagram of the volume adjustment method according to some embodiments is shown. In order to realize the intelligent volume adjustment by identifying sliding gestures on the TV by using the built-in camera of the TV through gesture interactive recognition of the captured image, the embodiment of the present invention provides a display device, including: a display, which is configured to present a user interface; an image collector or a user input interface 140 that can be connected to the image collector, the graphic collector is configured to collect user images, the user input interface 140 is used to implement the user command input function through voice, touch, gesture, pressing and other actions, the input interface converts the received analog signal into a digital signal, and the digital signal into a corresponding command signal, and sends it to the image collector; a controller connected to the display and the image collector respectively, in the execution Fig. 20 and Fig.21 When the volume adjustment method is shown, the controller is configured to perform the following steps:
[0405] S41. Acquire a user image including a user gesture collected by an image collector.
[0406] When a user uses a display device, if the volume of the display device needs to be adjusted, the user can stand in the detection area of the image collector (camera) and make gestures with his fingers. The image collector collects the user image in the detection area, and the user image includes the user gesture. The controller performs gesture recognition on the user image including the user gesture and determines whether the user gesture is a volume adjustment gesture.
[0407] The volume adjustment gesture is used to realize intelligent adjustment of the volume of the display device. In some embodiments, the volume adjustment gesture can be set as an OK gesture. The volume adjustment gesture can also be customized according to the user's usage habits, for example, it can also be set as a palm gesture, a finger bending gesture, etc., which is not specifically limited in this embodiment.
[0408] The image collector collects user images in the detection area in real time at a preset frequency and sends them to the controller in sequence. The controller performs gesture recognition on each frame of the user image. If the success rate of the volume adjustment gesture recognized within the first time period is greater than the first threshold, the gesture recognition is considered successful, and the volume of the display device can be intelligently adjusted according to the recognized volume adjustment gesture.
[0409] In some embodiments, the preset frequency of the image collector is 30-40 ms / frame, that is, the time taken by the image collector to collect one frame of user image is 30-40 ms.
[0410] S42: If the user gesture in the user image is identified as a volume adjustment gesture, a volume bar is displayed in the user interface.
[0411] The controller performs gesture recognition on each frame of the user image received to determine whether the user gesture in the user image is a volume adjustment gesture, so that when the user gesture is recognized as a volume adjustment gesture, the controller starts the intelligent adjustment function of the volume of the display device by sliding the volume adjustment gesture. At the same time, the volume bar control is called up and displayed in the user interface, so that the user can perceive the intuitive effect of the current volume adjustment.
[0412] Fig. 22 A flow chart of a method for displaying a volume bar in a user interface according to some embodiments is shown. Fig. 22 In some embodiments, when the controller recognizes that the user gesture in the user image is a volume adjustment gesture, the controller displays a volume bar in the user interface, and is further configured to:
[0413] S421: Identify a user gesture in the user image.
[0414] S422: When the user gesture is a volume adjustment gesture, calculate a recognition success rate of the volume adjustment gesture.
[0415] S423: If the recognition success rate of the volume adjustment gesture exceeds a first threshold, display a volume bar in the user interface.
[0416] Although the image collector captures the user image including the user gesture within the detection area, if the user gesture made by the user is not a gesture for volume adjustment but other unintentional gestures, there is no need to start the gesture detection process for volume adjustment, that is, there is no need to turn up the volume bar to adjust the volume.
[0417] In addition, if the gesture made by the user is a gesture for adjusting the volume, but the effect of the gesture is not in place, for example, when the volume adjustment gesture is an OK gesture, the user's middle finger, ring finger and little finger should be in a straight state, but the user makes these three fingers in a bent state, resulting in the user's gesture not looking like an OK gesture. At this time, such an ambiguous user gesture will make it impossible to accurately determine whether the user gesture is recognized as a volume adjustment gesture, resulting in misrecognition, which will cause the volume to be unable to be adjusted in time.
[0418] Therefore, when the controller performs gesture recognition on each frame of the user image, it must first determine whether the user gesture in the user image is a volume adjustment gesture, that is, the user gesture must be identified as a volume adjustment gesture only when the similarity exceeds a threshold. In addition, during the gesture detection process, the user image to which the user gesture is identified as a volume adjustment gesture must account for a ratio of more than a threshold to the total number of user images, which indicates that the user needs to activate the volume adjustment function. Otherwise, the volume adjustment process will not be performed.
[0419] In some embodiments, when the user gesture is a volume adjustment gesture, the controller calculates the recognition success rate of the volume adjustment gesture, and is further configured to:
[0420] Step 4221: Match the user gesture with the volume adjustment gesture, and calculate the gesture confidence of the user gesture and the volume adjustment gesture.
[0421] Step 4222: If the gesture confidence exceeds the second threshold, determine that the user gesture is a volume adjustment gesture.
[0422] Step 4223: Obtain the total number of gesture recognition frames of the user image collected within the first time period and the number of successful gesture frames of the user image corresponding to the volume adjustment gesture.
[0423] Step 4224: Calculate the ratio of the number of gesture success frames to the total number of gesture recognition frames, and determine the ratio as the recognition success rate of the volume adjustment gesture.
[0424] When identifying the user gesture in each frame of the user image, the controller matches the user gesture in each frame of the user image with the volume adjustment gesture to calculate the gesture confidence, that is, the similarity, of each user gesture and the volume adjustment gesture.
[0425] Determine whether the confidence of each gesture exceeds the second threshold. In some embodiments, the second threshold can be set to 95%. If the confidence of a gesture exceeds 95%, the user gesture corresponding to the gesture confidence is determined as a volume adjustment gesture to avoid misrecognition.
[0426] At the same time, the user image to which the user gesture belongs whose gesture confidence exceeds the second threshold is determined as a gesture success frame. During the gesture detection process, the number of gesture success frames and the total number of gesture recognition frames of all collected user images are counted.
[0427] In some embodiments, the duration corresponding to the gesture detection process is the first duration, which can be set to 1 second. The first duration can also be set to other durations according to actual applications, which are not specifically limited here.
[0428] The first duration is the maximum duration for which the image collector continuously collects user images including user gestures. The image collector sends the multiple frames of user images collected within the first duration to the controller in sequence. The controller can count the total number of gesture recognition frames of the multiple frames of user images received within the first duration.
[0429] The controller performs gesture recognition on each frame of the user image respectively. If the gesture confidence of the user gesture and the volume adjustment gesture of a certain frame of the user image is recognized to exceed the second threshold, the user gesture is determined to be a volume adjustment gesture, and the number of successful gesture frames of the user image corresponding to the user gesture being the volume adjustment gesture within the first time length is counted.
[0430] The ratio of the number of successful gesture frames to the total number of gesture recognition frames is calculated, that is, the ratio of the number of successful frames in which the controller detects the OK gesture to the total number of gesture recognition frames within the first time period is calculated, and the ratio is determined as the recognition success rate of the volume adjustment gesture.
[0431] In some embodiments, in order to prevent the user from making a volume adjustment gesture and then releasing the gesture only for a short time, so that the controller cannot determine whether it is necessary to call up the volume bar for volume adjustment. Therefore, in order to facilitate the controller to call up the volume bar in time for volume adjustment, a first threshold can be set, so that in the multiple frames of user images collected by the image collector within the first time period, only when the recognition success rate of the volume adjustment gesture exceeds the first threshold, the gesture recognition can be regarded as successful, and then the volume bar control can be called up to perform the subsequent volume adjustment process.
[0432] Therefore, after determining the recognition success rate of the corresponding volume adjustment gesture within the first duration, it is determined whether the recognition success rate of the volume adjustment gesture exceeds the first threshold. In some embodiments, the first threshold can be set to 90%. If the recognition success rate exceeds the first threshold of 90%, it means that the gesture recognition is successful during the current gesture detection process (within the first duration). At this time, the volume bar can be displayed in the user interface. The first threshold can also be set to other values according to actual application conditions, which are not specifically limited here.
[0433] If the recognition success rate of the volume adjustment gesture is less than the first threshold, it means that the gesture recognition detection fails and the volume adjustment gesture of the same user currently being detected may be lost. In this case, re-detection is performed immediately.
[0434] Before calling out the volume bar control for display, the controller needs to first perform the steps to determine whether the gesture recognition is successful. Therefore, in order to allow the user to clearly know that the current gesture recognition is successful, the controller can display a volume adjustment gesture prompt interface in the user interface.
[0435] In some embodiments, when the controller performs the step of displaying a volume bar in the user interface if the recognition success rate of the volume adjustment gesture exceeds a first threshold, the controller is further configured to:
[0436] Step 4231: If the recognition success rate of the volume adjustment gesture exceeds a first threshold, a volume adjustment gesture prompt interface is presented in the user interface, and gesture recognition success prompt information and a volume adjustment gesture pattern are presented in the volume adjustment gesture prompt interface.
[0437] Step 4232: When the display duration of the volume adjustment gesture prompt interface exceeds a second duration, cancel the display of the volume adjustment gesture prompt interface, and display the volume adjustment interface in the user interface, where the volume adjustment interface includes a volume bar and volume adjustment operation prompt information.
[0438] When the recognition success rate of the volume adjustment gesture exceeds the first threshold, it indicates that the current gesture recognition is successful, and a subsequent sliding operation based on the volume adjustment gesture can be performed to trigger the volume adjustment process. At this time, a feedback is provided for the volume adjustment gesture made by the user, and a volume adjustment gesture prompt interface can be generated and displayed in the user interface.
[0439] Fig.23 A schematic diagram showing a volume adjustment gesture prompt interface in a user interface according to some embodiments is shown. Fig.23 When the gesture recognition is successful, a gesture recognition success prompt message and a volume adjustment gesture pattern are presented in the volume adjustment gesture prompt interface. The gesture recognition success prompt message is used to inform the user that the specified gesture that can currently achieve volume adjustment has been recognized successfully. The prompt message content may be "gesture recognition in progress..." After seeing the prompt message, the user can know that the subsequent sliding operation based on the volume adjustment gesture can be triggered by the volume adjustment process.
[0440] The volume adjustment gesture pattern is used to identify the UI form of the volume adjustment gesture. Usually, the UI form of the pattern is the same as the gesture made by the user with his fingers. For example, if the volume adjustment gesture is an OK gesture, the volume adjustment gesture pattern is an "OK" pattern.
[0441] After the user sees the gesture recognition success prompt message and the volume adjustment gesture pattern, the user knows that the result of the volume adjustment gesture detection process is that the gesture recognition is successful. At this time, the controller notifies the system to call out the volume bar control by sending a broadcast while presenting the volume adjustment gesture prompt interface in the user interface. The volume bar control is displayed in the user interface to prompt the user that the current volume adjustment process has started.
[0442] Since the volume adjustment gesture prompt interface is first displayed in the user interface when the gesture recognition is successful, in order to facilitate the system to automatically display it in the user interface after calling up the volume bar, the display duration of the volume adjustment gesture prompt interface can be set. When the display duration of the volume adjustment gesture prompt interface reaches a threshold, the display of the volume adjustment gesture prompt interface is canceled, and the volume bar is displayed in the user interface at the same time. In this implementation process, the user's viewing effect is that the content presented in the user interface switches from the volume adjustment gesture prompt interface to the volume bar.
[0443] In some embodiments, the display duration of the volume adjustment gesture prompt interface is set to a second duration, which may be 500ms. After the display duration of the volume adjustment gesture prompt interface exceeds 500ms, the display of the volume adjustment gesture prompt interface may be canceled, and the volume adjustment interface may be displayed in the user interface, wherein the volume adjustment interface includes a volume bar and volume adjustment operation prompt information.
[0444] Fig.24 FIG. 1 is a schematic diagram showing a volume adjustment interface in a user interface according to some embodiments. Fig.24 When the display time of the volume adjustment gesture prompt interface reaches a threshold, the volume adjustment interface is switched to be displayed in the user interface. The volume adjustment interface includes a volume bar and volume adjustment operation prompt information. The volume bar is used to present the output volume of the current display device. The volume adjustment operation prompt information is used to prompt the user to use the volume adjustment gesture to adjust the volume of the display device. For example, the prompt information content may be "Move left and right gesture to adjust the volume."
[0445] After the user sees the volume adjustment operation prompt information in the user interface, the user can perform a corresponding gesture operation according to the prompt content to start the volume adjustment process.
[0446] S43: In response to a volume adjustment instruction generated when the user performs a specified action based on the volume adjustment gesture, adjust the volume value corresponding to the volume bar.
[0447] When the volume adjustment gesture made by the user meets the requirements for starting the volume adjustment process, the user can perform corresponding operations according to the volume adjustment operation prompt information presented in the user interface. That is, after the gesture recognition detection is successful, the user maintains the volume adjustment gesture and adjusts the volume by performing a specified action. In some embodiments, the specified action can be a left and right sliding gesture.
[0448] For example, the user can adjust the volume by holding an OK gesture with his finger and sliding left and right horizontally in front of the display device (within the detection area of the image collector).
[0449] When the user maintains the volume adjustment gesture to perform a specified action, such as sliding horizontally left and right, the position of the user's finger changes, and the effect presented in the user image is that the horizontal coordinate changes caused by the gesture. At this time, when the position changes, a volume adjustment instruction can be generated. In response to the volume adjustment instruction, the controller can adjust the volume of the volume bar in real time according to the horizontal coordinate change. At this time, the volume value displayed on the volume bar changes accordingly, such as increasing or decreasing.
[0450] Fig.25 A flow chart of a method for adjusting the volume corresponding to the volume bar according to some embodiments is shown. Fig.25 In some embodiments, the controller, when executing a volume adjustment instruction generated in response to a user performing a specified action based on a volume adjustment gesture, adjusts the volume value corresponding to the volume bar, is further configured as follows:
[0451] S431. Receive a volume adjustment instruction generated when a user performs a specified action based on a volume adjustment gesture, where the specified action refers to an action generated by the user based on the volume adjustment operation prompt information.
[0452] S432: In response to the volume adjustment instruction, obtain the starting coordinate value and the ending coordinate value of the user performing the designated action presented in the user image within the third time period.
[0453] S433. Based on the starting coordinate value and the ending coordinate value, calculate the horizontal coordinate change amount generated when the user performs a specified action based on the volume adjustment gesture.
[0454] S434: Determine the volume adjustment value and volume adjustment direction of the volume bar based on the horizontal coordinate change.
[0455] S435: Adjust the volume value corresponding to the volume bar based on the volume adjustment value and the volume adjustment direction of the volume bar.
[0456] The user performs the specified action according to the volume adjustment operation prompt information presented in the user interface. For example, the user holds the OK gesture with his finger and slides left and right horizontally in front of the display device (within the detection area of the image collector), resulting in a position change, at which time a volume adjustment instruction is generated.
[0457] Normally, it takes 30-40ms for the image collector to capture a frame of user image. Therefore, in order to ensure the real-time performance of volume adjustment, when performing the gesture detection algorithm, the position change caused by the user holding the volume adjustment gesture to perform the specified action is calculated every 100ms, so as to linearly adjust the volume according to the position change information.
[0458] Therefore, after responding to the volume adjustment instruction, the controller can obtain the starting coordinate value and the ending coordinate value of the user performing the specified action presented in the user image within the third time period, so as to calculate the horizontal coordinate change amount generated when the user performs the specified action based on the volume adjustment gesture. In some embodiments, the third time period can be set to 100ms, and the position change generated by the user's sliding gesture can be equivalent to the horizontal coordinate change amount generated in the user image.
[0459] The image collector collects the user image at the initial moment when the user performs the specified action and the user image at the end moment within the third time period in real time. A rectangular coordinate system is established with the upper left corner of the user image as the coordinate origin, from left to right as the positive direction of the X axis, and from top to bottom as the positive direction of the Y axis.
[0460] In a rectangular coordinate system, the pixel coordinate value of the volume adjustment gesture in the user image collected at the initial moment is the starting coordinate value, and the pixel coordinate value of the volume adjustment gesture in the user image collected at the end moment is the end coordinate value. Based on the abscissa value of the starting coordinate value and the abscissa value of the end coordinate value, the abscissa change is calculated. The coordinate values are all expressed in pixel coordinates.
[0461] The termination time refers to the time corresponding to each image acquisition process within the third time period. For example, after the initial time, after 30-40ms, the image collector acquires a frame of user image, and the time when the image acquisition is completed is the termination time; after another 30-40ms, the image collector acquires another frame of user image, and the time when the second image acquisition is completed is another termination time. Since a termination time is generated each time a frame of user image is acquired, the final termination time is the time corresponding to when the horizontal coordinate change rate meets the threshold condition.
[0462] Fig.26 FIG. 4 is a schematic diagram showing how to calculate the horizontal coordinate variation according to some embodiments. Fig.26 , when the user initially performs the specified action, the corresponding volume adjustment gesture is located at point A. At this time, the starting coordinate value is A (x0, y0); within the third time period, after two image acquisition processes, the positions reached by the user's sliding gesture are points B1 and B2 respectively. At this time, the ending coordinate values are B1 (x1, y1) and B2 (x2, y2) respectively.
[0463] When B1 is the ending coordinate value, the horizontal coordinate change amount L1=x1-x0 generated when the corresponding user performs the specified action based on the volume adjustment gesture. When B2 is the ending coordinate value, the horizontal coordinate change amount L2=x2-x0 generated when the corresponding user performs the specified action based on the volume adjustment gesture.
[0464] In some embodiments, to prevent the image collector from jittering, losing frames, or freezing during image acquisition, a threshold condition may be set when determining the volume adjustment value and direction of the volume bar based on the change in the horizontal axis.
[0465] Specifically, when determining the volume adjustment value and the volume adjustment direction of the volume bar based on the horizontal coordinate change, the controller is further configured to perform the following steps:
[0466] Step 4341: If the horizontal coordinate change is greater than the third threshold, determine that the volume adjustment value of the volume bar is a specified adjustment amount, and the adjustment direction is to increase the volume.
[0467] Step 4342: If the horizontal coordinate change is less than the fourth threshold, determine that the volume adjustment value of the volume bar is a specified adjustment amount, and the adjustment direction is to reduce the volume.
[0468] In some embodiments, the third threshold and the fourth threshold may be set according to the adjustment effects of increasing the volume and decreasing the volume, the third threshold may be 8, and the fourth threshold may be -8. The threshold 8 represents 8 pixels.
[0469] If the horizontal coordinate change rate is greater than the third threshold value 8, it means that the user keeps sliding the volume adjustment gesture to the right, and at this time, the adjustment direction of the volume bar is determined to increase the volume. If the horizontal coordinate change rate is less than the fourth threshold value -8, it means that the user keeps sliding the volume adjustment gesture to the left, and at this time, the adjustment direction of the volume bar is determined to decrease the volume.
[0470] To achieve linear volume adjustment, the volume adjustment value can be set to 3 volumes each time the volume is adjusted. For example, if the horizontal axis change is greater than the third threshold, the volume of the volume bar is increased by 3 volumes based on the current value; if the horizontal axis change is less than the fourth threshold, the volume of the volume bar is reduced by 3 volumes based on the current value.
[0471] by Fig.26 Taking the state shown as an example, the user swipes to the left based on the volume adjustment gesture, and the image collector collects two frames of user images within the third time period. At this time, the horizontal coordinate change generated when the user performs the specified action based on the volume adjustment gesture presented in the first frame image (corresponding to the B1 point position) and the user image corresponding to the starting moment (corresponding to the A point position) is calculated as L1=x1-x0, and the horizontal coordinate change generated when the user performs the specified action based on the volume adjustment gesture presented in the second frame image (corresponding to the B2 point position) and the user image corresponding to the starting moment (corresponding to the A point position) is calculated as L2=x2-x0.
[0472] If L1>-8 (the fourth threshold), it means that the position change from point A to point B1 when the user keeps the volume adjustment gesture is not enough to trigger the volume adjustment process. At this time, the volume of the volume bar is not adjusted. If L2<-8 (the fourth threshold), it means that the position change from point A to point B2 when the user keeps the volume adjustment gesture is enough to trigger the volume adjustment process. At this time, the volume of the volume bar can be adjusted.
[0473] After determining the volume adjustment value and volume adjustment direction of the volume bar, the volume adjustment corresponding to the volume bar can be realized. For example, when the volume adjustment value is 3 and the volume adjustment direction is to increase the volume, 3 volume values are added based on the current volume value of the volume bar. When the volume adjustment value is 3 and the volume adjustment direction is to decrease the volume, 3 volume values are reduced based on the current volume value of the volume bar.
[0474] In some embodiments, when the controller linearly adjusts the volume of the volume bar according to the change in the horizontal axis within a third time period, that is, when the horizontal axis change corresponding to the user's sliding gesture is detected within 100ms, a volume adjustment process is performed, and 3 volume values are adjusted each time.
[0475] The adjustment direction of the volume can be determined according to the positive or negative value of the change in the 8 detected pixels. For example, if the value corresponding to the 8 detected pixels is a negative number, it means that the volume needs to be reduced; if the value corresponding to the 8 detected pixels is a positive number, it means that the volume needs to be increased.
[0476] It should be noted that the set gesture detection duration (the third duration), the position change thresholds of 8 pixels (the third threshold, the fourth threshold), and the 3 volume adjustment values (specified adjustment amounts) can also be set to other values according to actual application conditions. They are only used as examples here and are not specifically limited.
[0477] In some embodiments, during the volume adjustment process, the display device CPU is often over-occupied, resulting in gesture detection frame loss and freezes during gesture sliding, causing the user gesture to move within the third time period (100ms) but no corresponding horizontal coordinate change in the user image, resulting in the volume not being adjusted, affecting the accuracy of volume adjustment.
[0478] Therefore, in order to ensure accurate volume adjustment even when there are frame drops and freezes, the controller is further configured as follows when determining the starting and ending coordinate values:
[0479] Step 4321: If the change in the horizontal axis is zero within the third time period, the gesture detection time period is extended according to the third time period.
[0480] Step 4322: Based on the total duration corresponding to the gesture detection duration, obtain the starting coordinate value and the ending coordinate value when the user performs a specified action based on the volume adjustment gesture. The total duration of the gesture detection duration refers to the total duration corresponding to several third durations. The starting coordinate value is the starting coordinate value corresponding to the first third duration, and the ending coordinate value is the ending coordinate value corresponding to the last third duration.
[0481] When the volume adjustment process is started, the controller performs gesture detection in real time based on the user image collected by the image collector to determine the horizontal coordinate change generated when the gesture slides. If no position change is detected within the third time length (100ms) during the gesture detection process, that is, the horizontal coordinate change is zero, the third time length (100ms) will continue to be delayed until the volume adjustment threshold is reached (the horizontal coordinate change meets the third threshold or the fourth threshold).
[0482] At this time, the total gesture detection duration is the duration corresponding to the extended third duration. At this time, the starting coordinate value generated when the user performs the specified action based on the volume adjustment gesture is still the starting coordinate value corresponding to the initial moment. The initial moment is the moment corresponding to the start of the sliding gesture in the first third duration; the ending coordinate value is the ending coordinate value corresponding to the ending moment in the last third duration, and the ending moment refers to the moment corresponding to the horizontal coordinate change rate in the last third duration that meets the threshold condition.
[0483] For example, if no horizontal coordinate change is detected within the first 100ms during gesture detection, a delay of 100ms is applied again. If the horizontal coordinate change generated at the 150ms moment (within the second 100ms) meets the threshold condition, the pixel coordinates corresponding to the gesture position detected at the initial moment of the gesture sliding within the first 100ms are the starting coordinate values, and the pixel coordinates corresponding to the gesture position detected at 150ms (the end moment) are the end coordinate values.
[0484] It can be seen that if the horizontal axis change is not detected within the gesture detection duration (the third duration), the duration corresponding to the third duration will continue to be delayed until the horizontal axis change reaches the volume adjustment threshold (the third threshold or the fourth threshold). This method can effectively solve the problem of poor volume adjustment tracking caused by frame loss and freeze in the user image captured by the image collector, thereby improving the accuracy of volume adjustment.
[0485] In some embodiments, when the user performs a sliding action to adjust the volume of the display device based on a volume adjustment gesture, volume adjustment status prompt information may be displayed in the user interface to remind the user that the volume adjustment process is currently in progress.
[0486] Fig. 27 A schematic diagram showing volume adjustment status prompt information in a user interface according to some embodiments is shown. Fig. 27 During the volume adjustment process, the controller is further configured to: in response to the volume adjustment instruction, switch the volume adjustment operation prompt information presented in the user interface to the volume adjustment state prompt information.
[0487] During the volume adjustment process, the volume adjustment interface is always displayed in the user interface. Specifically, the volume bar is always displayed in the user interface, and the volume value corresponding to the volume bar changes accordingly with the sliding operation of the user's volume adjustment gesture, such as increasing or decreasing.
[0488] In order to remind the user that the volume is currently being adjusted, the volume adjustment operation prompt information in the volume adjustment interface can be cancelled and replaced by the volume adjustment status prompt information, and the prompt content of the volume adjustment status prompt information can be "volume adjustment in progress..." and the like.
[0489] In some embodiments, after the user adjusts the volume of the display device to the volume they require, the user will release the maintained volume adjustment gesture. At this time, the image collector will no longer include the volume adjustment gesture in the next frame of user image captured, indicating that the user's volume adjustment process is completed.
[0490] Since there is no gesture sliding, the volume bar no longer follows the gesture sliding left and right, that is, the volume is no longer adjusted. Therefore, after the user completes the volume adjustment process, the volume adjustment interface (volume bar) displayed in the user interface is cancelled. After the controller listens to the volume bar disappearance broadcast, it generates a volume adjustment completion interface and displays it in the user interface to prompt the user that the volume adjustment is completed.
[0491] Fig.28 FIG. 1 is a schematic diagram showing a volume adjustment completion interface in a user interface according to some embodiments. Fig.28 In order to prompt the user that the volume adjustment is completed, a volume adjustment completion pattern and a volume adjustment completion prompt message are displayed in the volume adjustment completion interface. The volume adjustment completion pattern can be in the form of a "check mark" UI, and the content of the volume adjustment completion prompt message can be "volume adjustment successful" or the like.
[0492] In some embodiments, when a user performs a sliding operation based on a volume adjustment gesture to adjust the volume, if the user maintains the volume adjustment gesture but does not slide, at this time, the horizontal axis change is zero, indicating that the volume of the volume bar has not increased or decreased. Since the volume is not adjusted in the current state, the controller can identify this state as a volume adjustment completion state to avoid the volume adjustment interface being displayed in the user interface all the time, affecting the user's normal use of the display device.
[0493] To ensure that the controller can accurately detect whether the volume adjustment process is completed, the duration of the state in which the horizontal coordinate change rate is zero can be limited. Specifically, the controller is further configured to: within the fourth time period, when the horizontal coordinate change generated when the user performs a specified action based on the volume adjustment gesture is zero, the display of the volume bar is cancelled, and a volume adjustment completion interface is presented in the user interface, and the volume adjustment completion interface includes a volume adjustment completion pattern and a volume adjustment completion prompt message.
[0494] In some embodiments, the duration of the state in which the horizontal axis change rate is zero is set as the fourth duration, which refers to the duration from the moment when the volume of the volume bar last changed to the current moment, and also refers to the duration from the moment when the user stops sliding after maintaining the volume adjustment gesture to the current moment. The fourth duration can be set to 2 seconds or other values, which can be set according to actual application conditions and is not specifically limited here.
[0495] If the user adjusts the volume once and the change in the horizontal axis remains zero after the fourth time period, it means that the user's gesture has not slid within 2 seconds, and the volume has not increased or decreased. Therefore, the volume adjustment interface (volume bar) displayed in the user interface is cancelled, and after the controller monitors the broadcast that the volume bar disappears, it generates a volume adjustment completion interface and displays it in the user interface to prompt the user that the volume adjustment is completed. Fig.28 shown.
[0496] In some embodiments, if the user completes a complete volume adjustment process, that is, after the volume adjustment completion interface is displayed in the user interface, if the user makes a volume adjustment gesture again, the controller can immediately respond to the sliding operation of the gesture to adjust the volume value of the display device. A complete volume adjustment process refers to the process of user image acquisition, gesture recognition, successful recognition of the volume adjustment gesture, activation of the volume adjustment function by sliding gesture, activation of the gesture sliding volume adjustment, and completion of the volume adjustment.
[0497] Specifically, after completing a complete volume adjustment process, the controller is further configured to perform the following steps:
[0498] Step 441: After the current volume adjustment process is completed, the next frame of user image including the user gesture collected by the image collector is obtained.
[0499] Step 442: When the user gesture in the next frame of the user image is a volume adjustment gesture, execute the next volume adjustment process.
[0500] After the current volume adjustment process is fully completed, if the user makes a user gesture again within the detection area of the image collector, the image collector collects the next frame of the user image including the user gesture and sends it to the controller. After receiving a new frame of the user image, the controller re-judges the volume adjustment gesture, and when it is determined that the user gesture in the new user image is a volume adjustment gesture, it immediately responds to the volume adjustment instruction based on the volume adjustment instruction generated by the user performing the specified action based on the volume adjustment gesture to execute the next volume adjustment process. The specific volume adjustment process can refer to the content of the aforementioned embodiment, which will not be repeated here.
[0501] In some embodiments, if during the gesture recognition stage, the user immediately puts down a gesture after making it, and the user does not hold the gesture for the first time, but immediately makes the gesture again after putting it down, the controller frequently recognizes the user gesture in each frame of the user image, affecting the normal operation of the display device. Therefore, when the process of starting the volume adjustment is forcibly terminated and the user frequently activates the volume adjustment function, the controller will not immediately perform gesture recognition on the user image, but will perform gesture recognition after a period of time.
[0502] Specifically, in the case where the user frequently makes gestures in a short period of time, causing the volume adjustment process to stop halfway, the controller is further configured to: if the user gestures are not included in the user image acquired within the first time period, then after an interval of the fifth time period, acquire the next frame of the user image acquired by the image collector.
[0503] The user makes a gesture and then immediately puts it down. At this time, the time the user maintains the gesture does not reach the first time length. Therefore, after the user makes the gesture for the first time, the controller has not detected whether it is a volume adjustment gesture, and the recognition success rate of the volume adjustment gesture may not exceed the first threshold, that is, the volume adjustment process has not yet been started.
[0504] To prevent the user from frequently starting the volume adjustment process in a short period of time, a fifth time period may be allowed to pass after a gesture is made and then immediately released, and then the image collector may capture the next frame of the user image. Alternatively, when the image collector captures the user image in real time, the controller may obtain the corresponding user image after the fifth time period.
[0505] In some embodiments, the fifth duration refers to the time interval from the moment when the user makes a certain gesture and the image collector captures the user image including the gesture to the moment when the next frame of the user image including the gesture is captured. The fifth duration can be set to 3 seconds, or to other values according to actual application conditions, which is not specifically limited here.
[0506] For example, the user makes a gesture at 8:05, and the image collector collects a user image including the gesture at 8:05. If the user immediately puts down the gesture and then raises it again, with a 3-second interval, the image collector may collect a user image including the gesture after 8:08, or the controller obtains the user image including the gesture collected by the image collector after 8:08.
[0507] In some embodiments, to ensure the normal progress of the volume adjustment process, when the volume bar is displayed in the user interface, the volume adjustment process is executed, and the gesture detection process for starting the volume adjustment is not repeated. The controller performs gesture recognition on the user image captured by the image collector, and starts the process of adjusting the volume by sliding gesture after the gesture recognition is successful. In this process, the volume bar is called up and always displayed in the user interface, and the gesture detection process is no longer repeated for the user image that includes the volume adjustment gesture that is subsequently captured, that is, the process of adjusting the volume by sliding gesture is no longer repeatedly started.
[0508] In some embodiments, if a complete volume adjustment process is completed, when the volume bar is not displayed in the user interface, a gesture detection process for volume adjustment is started to perform the volume adjustment process. A complete volume adjustment process refers to a process of user image acquisition, gesture recognition, successful volume adjustment gesture recognition, starting the function of adjusting volume by sliding gesture, turning on the gesture sliding volume adjustment, and completing the volume adjustment process.
[0509] After completing a complete volume adjustment process, the volume bar will be removed from the user interface, indicating that the volume adjustment is completed. At this time, the next volume adjustment process can be started, that is, the user image is collected again and the subsequent detection process.
[0510] It can be seen that the display device provided by the embodiment of the present invention collects user images in real time by an image collector, and the controller obtains the user image including the user gesture collected by the image collector, and performs gesture recognition on the user image; if the user gesture in the user image is recognized as a volume adjustment gesture, the intelligent adjustment function of the display device volume by sliding the volume adjustment gesture is started, and the volume bar is displayed in the user interface; when the user performs a specified action based on the volume adjustment gesture, a position change occurs, and a corresponding volume adjustment instruction is generated, and the controller responds to the volume adjustment instruction to start adjusting the volume value corresponding to the volume bar. It can be seen that the display device provided by the embodiment of the present invention uses AI image detection technology to identify the gestures of the characters in the image and their positions in the image, and realizes intelligent adjustment of the volume through the position changes of the gestures of the characters in the image. This volume adjustment method does not require the use of another device, and the volume adjustment is convenient and efficient, and the user experience is good.
[0511] In some embodiments, based on the foregoing content, it can be known that completing a volume adjustment process includes a complete volume adjustment process and a volume adjustment process stopped midway, and according to different forms of volume adjustment processes, when performing the next volume adjustment, the execution steps of the display device are different.
[0512] Fig.29 Another flow chart of a volume adjustment method according to some embodiments is shown. An embodiment of the present invention provides a display device, comprising: a display configured to present a user interface; an image collector configured to collect user images; a controller connected to the display and the image collector respectively, and executing Fig.29 When the volume adjustment method is shown, the controller is configured to perform the following steps:
[0513] S51: Receive a volume adjustment termination notification generated when the user completes a previous volume adjustment process.
[0514] Each time the display device executes a volume adjustment process, a volume adjustment termination notification is generated. The volume adjustment termination notification may be generated when the controller detects that there is no more gesture scene or no gesture sliding scene in the user image.
[0515] The scene where there is no gesture in the user image may be a scene where the user puts down the volume adjustment gesture after completing a volume adjustment process, or a scene where the user just raised the gesture and quickly put it down (the volume adjustment process has not been started at this time).
[0516] The gesture-free sliding scenario may be a scenario in which the user has swiped once to complete volume adjustment, or a scenario in which the volume adjustment function is started after the gesture is successfully recognized, but the user does not adjust the volume through the sliding gesture.
[0517] According to different scenarios, the system will generate different volume adjustment termination notifications and send them to the controller in a broadcast manner, so that the controller can use different strategies to execute the next volume adjustment process according to the volume adjustment termination notifications in different scenarios.
[0518] S52: In response to the volume adjustment termination notification, obtain the next frame of the user image including the user gesture captured by the image collector.
[0519] Since the volume adjustment termination notification is generated in different scenarios, the volume adjustment termination notification includes the volume adjustment completion notification and the volume adjustment not performed notification in different scenarios. The volume adjustment completion notification is generated when the display device has completely executed a volume adjustment process, and the volume adjustment not performed notification is generated when the display device disappears due to the gesture disappearing in the middle and the volume adjustment process is forcibly terminated.
[0520] In some embodiments, when a volume adjustment process is completely completed, the volume adjustment termination notification is a volume adjustment completion notification. At this time, the controller is further configured to execute the following steps when executing the acquisition of the next frame of the user image including the user gesture captured by the image collector in response to the volume adjustment termination notification:
[0521] Step 5211: During the previous volume adjustment process, if the horizontal coordinate change generated when the user performs a specified action based on the volume adjustment gesture within the fourth time period is zero, a volume adjustment completion notification is generated.
[0522] Step 5212: In response to the volume adjustment completion notification, obtain the next frame of user image including the user gesture captured by the image collector.
[0523] In the previous volume adjustment process, if within the fourth time period, the horizontal axis change generated when the user performs the specified action based on the volume adjustment gesture is zero, it means that the display device has completed the volume adjustment process normally. At this time, the volume bar is undisplayed and a volume adjustment completion notification is generated at the same time.
[0524] In response to the volume adjustment completion notification, the controller may display a volume adjustment completion interface in the user interface and immediately obtain the next frame of user image captured by the image collector to perform gesture recognition based on the next frame of user image, so as to immediately start the next volume adjustment process.
[0525] In some embodiments, when a volume adjustment process is not completely completed, the volume adjustment termination notification is a notification that the volume adjustment is not performed. At this time, the controller is further configured to perform the following steps when executing the response to the volume adjustment termination notification and obtaining the next frame of the user image including the user gesture collected by the image collector:
[0526] Step 5221: In the previous volume adjustment process, if the next frame of user image collected does not include a volume adjustment gesture, a notification that the volume adjustment is not performed is generated.
[0527] Step 5222: In response to the volume adjustment not being notified, after a fifth time interval, the next frame of the user image including the user gesture captured by the image collector is obtained.
[0528] In the previous volume adjustment process, if the next frame of user image collected does not include the volume adjustment gesture, for example, in the gesture recognition stage, the user immediately puts down the gesture after making a certain gesture. At this time, the time the user maintains the gesture does not reach the first time. Therefore, after the user makes the gesture for the first time, the controller has not detected whether it is a volume adjustment gesture, and the recognition success rate of the volume adjustment gesture may not exceed the first threshold, that is, the volume adjustment process has not yet been started.
[0529] If the next frame of user image captured by the image collector does not include the volume adjustment gesture, it means that the gesture disappears in the middle of starting the volume adjustment process. At this time, the process of starting the volume adjustment is forcibly terminated and a notification of volume adjustment not being performed is generated.
[0530] To prevent the user from frequently starting the volume adjustment process in a short period of time, a fifth time period may be allowed to pass after a gesture is made and then immediately released, and then the image collector may capture the next frame of the user image. Alternatively, when the image collector captures the user image in real time, the controller may obtain the corresponding user image after the fifth time period.
[0531] The controller responds to the volume adjustment without notification, and obtains the next frame of user image including the user gesture collected by the image collector after the fifth time interval. This method can prevent the controller from frequently recognizing the user gesture in each frame of the user image, affecting the normal operation of the display device.
[0532] S53: If the user gesture in the next frame of the user image is a volume adjustment gesture, display a volume bar in the user interface.
[0533] S54: In response to a volume adjustment instruction generated when the user performs a designated action based on the volume adjustment gesture, adjust the volume corresponding to the volume bar to execute the next volume adjustment process.
[0534] After completing one volume adjustment process, the next volume adjustment process is entered. At this time, the controller executes the corresponding recognition gesture, i.e., the subsequent process, according to the next frame of the user image acquired, so as to adjust the volume of the volume bar according to the position change caused by the user's sliding gesture. The relevant specific implementation content can refer to the steps S11 to S13 and related parts of the aforementioned embodiment, and will not be repeated here.
[0535] It can be seen that a display device provided by an embodiment of the present invention receives a volume adjustment termination notification generated when a user completes a previous volume adjustment process after completing a volume adjustment process. When the volume adjustment termination notification is a volume adjustment completion notification, the controller can immediately respond to the next volume adjustment process. When the volume adjustment termination notification is a volume adjustment non-notification, the controller can respond to the next volume adjustment process after a fifth time interval. It can be seen that the display device can perform the corresponding processing process according to the different forms of the received volume adjustment termination notification when performing the next volume adjustment, thereby improving the volume adjustment efficiency and providing a good user experience.
[0536] Fig. 20 A flow chart of a volume adjustment method according to some embodiments is shown. Fig. 20 The present application also provides a volume adjustment method, which is executed by the controller in the display device provided in the above embodiment, and the method includes:
[0537] S41, acquiring a user image including a user gesture collected by an image collector;
[0538] S42: if the user gesture in the user image is identified as a volume adjustment gesture, a volume bar is displayed in the user interface;
[0539] S43: In response to a volume adjustment instruction generated when the user performs a designated action based on the volume adjustment gesture, adjust the volume value corresponding to the volume bar.
[0540] Fig.29Another flow chart of a volume adjustment method according to some embodiments is shown. Fig.29 The present application also provides a volume adjustment method, which is executed by the controller in the display device provided in the above embodiment, and the method includes:
[0541] S51, receiving a volume adjustment termination notification generated when the user completes the previous volume adjustment process;
[0542] S52, in response to the volume adjustment termination notification, acquiring a next frame of user image including a user gesture acquired by an image collector;
[0543] S53: if the user gesture in the next frame of the user image is a volume adjustment gesture, displaying a volume bar in the user interface;
[0544] S54: In response to a volume adjustment instruction generated when the user performs a designated action based on the volume adjustment gesture, adjust the volume corresponding to the volume bar to execute a next volume adjustment process.
[0545] It can be seen from the above technical solutions that a volume adjustment method and display device provided by an embodiment of the present invention, in which an image collector collects user images in real time, a controller obtains a user image including user gestures collected by the image collector, and performs gesture recognition on the user image; if the user gesture in the user image is recognized as a volume adjustment gesture, the intelligent adjustment function of the display device volume by sliding the volume adjustment gesture is started, and a volume bar is displayed in the user interface; when the user performs a specified action based on the volume adjustment gesture, a position change occurs, and a corresponding volume adjustment instruction is generated, and the controller responds to the volume adjustment instruction to start adjusting the volume value corresponding to the volume bar. It can be seen that the method and display device provided by an embodiment of the present invention use AI image detection technology to identify the gestures of people in the image and their positions in the image, and realize intelligent adjustment of the volume through the position changes of the gestures of people in the image. This volume adjustment method does not require the use of another device, and the volume adjustment is convenient and efficient, and the user experience is good.
[0546] In a specific implementation, the present invention further provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps in each embodiment of the display device control method and volume adjustment method provided by the present invention. The storage medium may be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).
[0547] 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 can be essentially or partly contributed to the prior art in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present invention or certain parts of the embodiments.
[0548] In this specification, the same or similar parts between the various embodiments can be referred to each other. In particular, for the control method and volume adjustment method embodiments of the display device, since they are basically similar to the display device embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the display device embodiment.
[0549] 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.
[0550] For the convenience 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 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, characterized in that: include: a display configured to present a user interface on which video content is being played; An image collector or a user input interface connectable to the image collector, wherein the image collector is configured to collect user images; A controller connected to the display and the image collector respectively, wherein the controller is configured as follows: When the gesture detection function is turned on, obtaining a user image including the user gesture collected by the image collector; In response to the user gesture being used to trigger a play pause control instruction, acquiring a signal source ID for identifying a channel type; If the signal source ID indicates an Android channel, obtaining a format for playing the video file, and if the video file is played in full screen format, pausing the playing of the video in response to the user gesture; If the video file is not played in full screen mode, no response is given to the play / pause control instruction corresponding to the user gesture, and the video content continues to be played; If the signal source ID indicates an HDMI channel, no response is given to the command generated from the play-pause control gesture.
2. The display device according to claim 1, characterized in that The controller responds to the user gesture to trigger the play pause control instruction, and is further configured to: Detecting that the user gesture corresponds to a preset control gesture, presenting a gesture detection prompt screen in a user interface, wherein the gesture detection prompt screen presents gesture recognition process prompt information in the form of a buffered animation; After detecting that the user gesture continues for a certain period of time, a prompt message indicating successful gesture recognition is presented, triggering the play and pause control instruction, and executing the video play operation, or the video pause and play operation.
3. The display device according to claim 2, characterized in that After the controller detects that the user gesture corresponds to the preset control gesture and lasts for a certain period of time, it is further configured to: Get the playback mode broadcast of the video file; If the broadcast playing mode represents a full-screen playing mode, in response to the play pause control instruction, a play operation or a pause operation is performed on the video file; If the play mode broadcast represents a small window play mode, the play pause control instruction will not be responded to.
4. The display device according to claim 1, characterized in that The controller detects whether the current playing picture is played in full screen mode, and is further configured to: Get the playback mode broadcast of the video file; In the playback mode broadcast representing the full-screen playback mode, obtaining the current playback state of the video file; If the current playing state is a video playing state, in response to the playing pause control instruction, performing a pause operation on the video file; If the current playing state is a video pause state, a playing operation is performed on the video file in response to the playing pause control instruction.
5. A control method for a display device, applied to a display device, wherein the display device comprises a display, a video content is being played on the display, an image collector or a user input interface connectable to the image collector, and a controller, characterized in that: include: When the gesture detection function is turned on, obtaining a user image including the user gesture collected by the image collector; In response to the user gesture being used to trigger a play pause control instruction, acquiring a signal source ID for identifying a channel type; If the signal source ID indicates an Android channel, obtaining a format for playing the video file, and if the video file is played in full screen format, pausing the playing of the video in response to the user gesture; If the video file is not played in full screen mode, no response is given to the play / pause control instruction corresponding to the user gesture, and the video content continues to be played; If the signal source ID indicates an HDMI channel, no response is given to the command generated from the play-pause control gesture.
Citation Information
Patent Citations
Method and device for adjusting video playing and electronic equipment
CN111294656A
