Display device, server and feature recognition method
By extracting and using query parameters and feature parameters in image recognition instructions in display devices and servers, the display of image recognition results is optimized, solving the problem of low recognition efficiency caused by multiple target objects and improving user interaction experience.
Patent Information
- Application Number
- CN202410619867.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-03-29
- Filing Date
- 2024-05-17
- Publication Date
- 2024-08-23
AI Technical Summary
When the display device performs image recognition, since the screenshot image contains multiple target objects, there are many recognition results and the user needs to choose, which reduces the overall efficiency and affects the user interaction experience.
Provide a display device and server that obtains the image to be recognized through image recognition instructions, extracts query parameters and feature parameters, performs image recognition, generates a result display view, and the display position and status of feature labels and details are set according to the arrangement parameters and feature parameters. , optimize the display of recognition results.
The image recognition efficiency of the display device is improved, and the user interaction experience is improved. Through the reasonable display of feature labels and details, it is convenient for users to perform interactive control.
Smart Images

Figure CN118540548A
Abstract
Description
[0001] This application claims the priority of the Chinese patent application filed with the China Patent Office on March 29, 2024, with application number 202410381279.6 and invention name “A server, display device and feature recognition method”, the entire contents of which are incorporated by reference in this application. Technical Field
[0002] The present application relates to the technical field of display devices, and in particular to a display device, a server and a feature recognition method. Background Art
[0003] Display devices are intelligent devices that can present user interfaces and support user interaction. Taking smart TV as an example, smart TV is based on Internet application technology, has an open operating system and chip, has an open application platform, can realize two-way human-computer interaction, and integrates multiple functions such as audio and video, entertainment, and data to meet the diverse and personalized needs of users.
[0004] The display device can interact with the server through built-in applications to achieve different functions. For example, the display device can achieve voice recognition through voice applications and image recognition through image recognition applications. Taking the image recognition function as an example, the user can input control instructions to the image recognition application of the display device in a specific way, so that the image recognition application can take a screenshot of the display device, upload the screenshot image generated by the screenshot to the server, and then display the image recognition result returned by the server.
[0005] However, when the screenshot image includes multiple target objects, the server returns multiple image recognition results to the display device. In this way, the user needs to select the desired recognition result from the multiple image recognition results, which reduces the overall efficiency of image recognition in the display device and affects the user's interactive experience. Summary of the invention
[0006] The present application provides a display device, a server and a feature recognition method to solve the problem of low overall efficiency of image recognition of a display device.
[0007] In a first aspect, some embodiments of the present application provide a display device, comprising: a display and a controller. The display is configured to display a user interface; and the controller is configured to perform the following steps:
[0008] In response to an image recognition instruction, an image to be recognized is acquired, the image to be recognized includes a recognition object, the image to be recognized includes a recognition object, the image recognition instruction includes a query parameter and a feature parameter, the query parameter is used to characterize the object type of the recognition object; the feature parameter is used to characterize the feature attribute of the recognition object;
[0009] Performing image recognition on the image to be recognized according to the query parameter extracted from the image recognition instruction to obtain a recognition result, wherein the recognition result includes a recognition object that meets the query parameter and at least one of an arrangement parameter, a feature label, and feature details of the recognition object, wherein the arrangement parameter is used to characterize the positional relationship of the recognition object in the image to be recognized; the feature label is used to characterize the recognition information of the recognition object, and the feature details are associated information queried based on the feature label;
[0010] Generate a result display view according to the recognition result, wherein the result display view includes a feature label and feature details, wherein the display position of the feature label is set according to the arrangement parameter, and the display state of the feature details is highlighted according to the feature parameter;
[0011] The display is controlled to display the result presentation view.
[0012] In a second aspect, some embodiments of the present application further provide a server, comprising: a storage module, a communication module, and a control module. The storage module is configured to store feature tags and feature details; the communication module is configured to establish a communication connection with a display device; and the control module is configured to perform the following steps:
[0013] Acquire an image recognition instruction and an image to be recognized sent by a display device, wherein the image to be recognized includes an object to be recognized, and the image recognition instruction includes a query parameter and a feature parameter, wherein the query parameter is used to characterize an object type of the object to be recognized; and the feature parameter is used to characterize a feature attribute of the object to be recognized;
[0014] In response to an image recognition instruction, image recognition is performed on the image to be recognized according to the query parameter extracted from the image recognition instruction to obtain a recognition result, wherein the recognition result includes a recognition object that meets the query parameter and at least one of an arrangement parameter, a feature label, and feature details of the recognition object, wherein the arrangement parameter is used to characterize the positional relationship of the recognition object in the image to be recognized; the feature label is used to characterize the recognition information of the recognition object, and the feature details are associated information queried based on the feature label;
[0015] The recognition result is sent to the display device so that the display device generates and displays a result display view according to the recognition result, wherein the result display view includes a feature label and feature details, the display position of the feature label is set according to the arrangement parameter, and the display status of the feature details is highlighted according to the feature parameter.
[0016] In a third aspect, some embodiments of the present application further provide a feature recognition method, which is applied to the display device described in the first aspect, and the method includes:
[0017] In response to an image recognition instruction, an image to be recognized is acquired, the image to be recognized includes a recognition object, the image recognition instruction includes a query parameter and a feature parameter, the query parameter is used to characterize the object type of the recognition object; the feature parameter is used to characterize the feature attribute of the recognition object;
[0018] Performing image recognition on the image to be recognized according to the query parameter extracted from the image recognition instruction to obtain a recognition result, wherein the recognition result includes a recognition object that meets the query parameter and at least one of an arrangement parameter, a feature label, and feature details of the recognition object, wherein the arrangement parameter is used to characterize the positional relationship of the recognition object in the image to be recognized; the feature label is used to characterize the recognition information of the recognition object, and the feature details are associated information queried based on the feature label;
[0019] Generate a result display view according to the recognition result, wherein the result display view includes a feature label and feature details, wherein the display position of the feature label is set according to the arrangement parameter, and the display state of the feature details is highlighted according to the feature parameter;
[0020] The display is controlled to display the result presentation view.
[0021] In a fourth aspect, some embodiments of the present application further provide a feature recognition method, applied to the server described in the second aspect, the method comprising:
[0022] Acquire an image recognition instruction and an image to be recognized sent by a display device, wherein the image to be recognized includes an object to be recognized, and the image recognition instruction includes a query parameter and a feature parameter, wherein the query parameter is used to characterize an object type of the object to be recognized; and the feature parameter is used to characterize a feature attribute of the object to be recognized;
[0023] In response to an image recognition instruction, image recognition is performed on the image to be recognized according to the query parameter extracted from the image recognition instruction to obtain a recognition result, wherein the recognition result includes a recognition object that meets the query parameter and at least one of an arrangement parameter, a feature label, and feature details of the recognition object, wherein the arrangement parameter is used to characterize the positional relationship of the recognition object in the image to be recognized; the feature label is used to characterize the recognition information of the recognition object, and the feature details are associated information queried based on the feature label;
[0024] The recognition result is sent to the display device so that the display device generates and displays a result display view according to the recognition result, wherein the result display view includes a feature label and feature details, the display position of the feature label is set according to the arrangement parameter, and the display status of the feature details is highlighted according to the feature parameter.
[0025] It can be seen from the above technical solutions that some embodiments of the present application provide a display device, a server and a feature recognition method, which can respond to an image recognition instruction to obtain an image to be recognized. Image recognition is performed on the image to be recognized according to the query parameters to obtain a recognition result, and a result display view is generated according to the recognition result, thereby displaying the result display view. Among them, the result display view includes feature labels and feature details, the display position of the feature label is set according to the arrangement parameters of the recognition object in the image to be recognized, and the display state of the feature details is highlighted according to the feature parameters in the image recognition instruction. After the image recognition instruction is input, the method can set the display effect of the recognition result according to the query parameters and feature parameters in the image recognition instruction, so that the feature labels in the result display view presented by the display device conform to the arrangement rules of the recognition object in the image to be recognized, and the feature details conform to the feature parameters in the image recognition instruction, so that the user can perform interactive control to solve the problem of low overall efficiency of image recognition of the display device. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0027] Figure 1 A schematic diagram showing usage scenarios of a display device in some embodiments of the present application;
[0028] Figure 2 An interaction diagram between a display device and a server provided in some embodiments of the present application;
[0029] Figure 3 A hardware configuration block diagram of a display device provided in some embodiments of the present application;
[0030] Figure 4 An architectural diagram of a communication connection between a server and a display device provided in some embodiments of the present application;
[0031] Figure 5 A schematic diagram of software configuration in a display device provided in some embodiments of the present application;
[0032] Figure 6 An interaction diagram of a server module provided for some embodiments of the present application;
[0033] Figure 7 An architectural diagram of a speech recognition module provided for some embodiments of the present application;
[0034] Figure 8 An architectural diagram of an image recognition module provided in some embodiments of the present application;
[0035] Fig. 9 A schematic diagram of a flow chart of a feature recognition method provided in some embodiments of the present application;
[0036] Fig.10 A schematic diagram of a voice recognition input interface provided in some embodiments of the present application;
[0037] Fig.11 A schematic diagram of a smart view interface provided for some embodiments of the present application;
[0038] Fig.12 A schematic diagram of a process for obtaining an image to be identified provided in some embodiments of the present application;
[0039] Fig.13 A schematic diagram of a process for extracting query parameters and feature parameters provided in some embodiments of the present application;
[0040] Fig.14 A schematic diagram of a generation result display view flow provided in some embodiments of the present application;
[0041] Fig.15 A result display view display effect diagram provided in some embodiments of the present application;
[0042] Fig.16 Another result display view display effect diagram provided for some embodiments of the present application;
[0043] Fig.17 A first display effect diagram of the result after screening based on inherent attributes provided in some embodiments of the present application;
[0044] Fig.18 A second type of result display effect diagram based on inherent attribute screening provided in some embodiments of the present application;
[0045] Fig.19 A third type of result display effect diagram based on inherent attribute screening provided in some embodiments of the present application;
[0046] Fig. 20 A result display effect diagram based on multiple feature words provided in some embodiments of the present application;
[0047] Fig.21A result display effect diagram based on the third characteristic word provided in some embodiments of the present application;
[0048] Fig. 22 A schematic diagram of a server feature identification method flow chart provided in some embodiments of the present application;
[0049] Fig.23 A schematic diagram of a target coordinate system provided for some embodiments of the present application;
[0050] Fig.24 A schematic diagram of the position coordinates of a first object provided in some embodiments of the present application. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solutions and advantages of the exemplary embodiments of the present application clearer, the technical solutions in the exemplary embodiments 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, not all of the embodiments.
[0052] Based on the exemplary embodiments shown in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application. In addition, although the disclosure in this application is introduced according to one or several exemplary examples, it should be understood that each aspect of these disclosures can also constitute a complete technical solution separately.
[0053] It should be understood that the terms "first", "second", "third", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, for example, they can be implemented according to an order other than those given in the diagrams or descriptions of the embodiments of this application.
[0054] In addition, the terms "include" and "have" 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 those components expressly listed but may include other components not expressly listed or inherent to such products or devices.
[0055] In the embodiment of the present application, the display device 200 generally refers to a device with image display and data processing capabilities. For example, the display device 200 includes but is not limited to a smart TV, a mobile terminal, a computer, a monitor, an advertising screen, a wearable device, a virtual reality device, an augmented reality device, etc.
[0056] Figure 1 This is a schematic diagram of an operation scenario between a display device and a control device provided in some embodiments of the present application. Figure 1 As shown in FIG. 1 , a user can operate the display device 200 through touch operation, the mobile terminal 300 and the control device 100. The control device 100 is used to receive operation instructions input by the user and convert the operation instructions into control instructions that can be recognized and responded to by the display device 200. For example, the control device 100 can be a remote controller, a stylus pen, a handle, etc.
[0057] The mobile terminal 300 can be used as a control device for performing human-computer interaction between the user and the display device 200. The mobile terminal 300 can also be used as a communication device for establishing a communication connection with the display device 200 and performing data interaction. In some embodiments, the mobile terminal 300 can install software applications with the display device 200, and achieve connection and communication through a network communication protocol to achieve the purpose of one-to-one control operation and data communication. The audio and video content displayed on the mobile terminal 300 can also be transmitted to the display device 200 to achieve a synchronous display function.
[0058] In some embodiments, the mobile terminal 300 or other electronic devices may also simulate the functions of the control device 100 by running an application program for controlling the display device 200 .
[0059] like Figure 1 As also shown in FIG. 4 , the display device 200 also communicates data with the server 400 through various communication methods. The display device 200 may be allowed to communicate and connect through a local area network (LAN), a wireless local area network (WLAN), and other networks.
[0060] like Figure 2 As shown, the display device 200 can communicate with the server 400 during use to achieve data interaction. Among them, the server 400 can be a server that provides various services. For example, a background server that provides support for the voice data collected by the display device 200. The background server can analyze and process the received voice and other data, and feed back the processing results (such as endpoint information) to the display device 200. It can also be an audio and video data server, which feeds back the audio and video data to be played according to the audio and video request sent by the terminal. In some embodiments, the server 400 can be a server cluster or a plurality of server clusters, which can include one or more types of servers. For example, voice servers, audio and video servers, etc. are located in the same server cluster.
[0061] In some embodiments, the server 400 may be deployed on a remote server side to perform data storage, processing and analysis. For example, the display device 200 may send a data packet to the server 400 based on its built-in application. After receiving the data packet sent by the display device 200, the server 400 parses the type and content of the request in the data packet, processes the data packet accordingly, and then sends the generated response data packet after processing back to the application of the display device 200, thereby performing data interaction between the display device 200 and the server 400.
[0062] In order to realize data interaction between the display device 200 and the server 400, the display device 200 needs to establish a communication connection with the server 400. For example, the display device 200 and the server 400 can both be connected to the Internet, and the interactive data is transmitted between the display device 200 and the server 400 through the Internet transmission protocol.
[0063] The display device 200 may provide a broadcast receiving television function, and may also additionally provide an intelligent network television function with a computer support function, including but not limited to network television, smart television, Internet Protocol television (IPTV), and the like.
[0064] Figure 3 Some embodiments of the present application provide Figure 1 2 is a block diagram of the hardware configuration of the display device 200.
[0065] In some embodiments, the display device 200 may include at least one of a tuner 210, a communication device 220, a detector 230, a device interface 240, a controller 250, a display 260, an audio output device 270, a memory, a power supply, and a user input interface.
[0066] 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.
[0067] In some embodiments, the display 260 includes a display function component for presenting a picture, and a driving component for driving an image display. The display 260 is used to receive an image signal output from the controller 250 for display. For example, the display 260 can be used to display video content, image content, and components of a menu control interface and a user control UI interface.
[0068] In some embodiments, the communication device 220 is a component for communicating with an external device or server 400 according to various communication protocol types. The display device 200 may be provided with a plurality of communication devices 220 according to different supported communication modes. For example, when the display device 200 supports wireless network communication, the display device 200 may be provided with a communication device 220 including a WiFi function. When the display device 200 supports Bluetooth connection communication, the display device 200 needs to be provided with a communication device 220 including a Bluetooth function.
[0069] The communication device 220 can enable the display device 200 to communicate with the external device or server 400 by wireless or wired connection. Among them, the wired connection can connect the display device 200 with the external device through components such as data cables and interfaces. The wireless connection can connect the display device 200 with the external device through wireless signals or wireless networks. The display device 200 can establish a connection relationship with the external device directly, or indirectly establish a connection relationship through a gateway, a router, a connection device, etc.
[0070] In some embodiments, the display device 200 and the server 400 need to be provided with components for establishing a communication connection. Figure 4 As shown, a communication device 220 may be provided in the display device 200, and a communication module 410 may be provided in the server 400. The communication device 220 and the communication module 410 may support at least one of the same communication modes at the same time to establish a communication connection relationship. For example, the communication device 220 on the display device 200 includes an optical fiber interface, so that the display device 200 can be connected to the network through the optical fiber interface; at the same time, the communication module 410 of the server 400 also includes an optical fiber interface, and can also be connected to the network through the optical fiber interface to achieve a communication connection between the display device 200 and the server 400.
[0071] It should be noted that the display device 200 and the server 400 may also establish a communication connection relationship by other connection methods, such as wired broadband, wireless local area network, cellular network, Bluetooth, infrared, radio frequency communication, etc.
[0072] In some embodiments, the display device 200 and the server 400 may be connected in a "many-to-one" relationship, that is, multiple display devices 200 may establish a communication connection with the same server 400, so that the server 400 can provide services for multiple display devices 200. The display device 200 and the server 400 may also be connected in a "many-to-many" relationship, that is, multiple display devices 200 may establish a communication connection with multiple servers 400, so that the multiple servers 400 can provide different services for the display device 200 respectively. Obviously, in some application scenarios, the display device 200 and the server 400 may also be connected in a "one-to-one" relationship, that is, one server 400 specifically provides services for one display device 200.
[0073] In order to provide services for the display device 200, in some embodiments, the server 400 may further include a storage module 420, which may store various resource data, information files, control programs, and recognition models, and may also be used to regularly back up key data sent by the display device 200 to prevent data loss. For example, the storage module 420 may store files, data, virtual machine images, etc. uploaded based on the display device 200.
[0074] In some embodiments, the storage module 420 of the server 400 can provide fast I / O access to support database operations and ensure efficient processing and query of data. Among them, the storage module 420 supports multiple access methods, such as Network File System (NFS), File Transfer Protocol (FTP), Common Internet File System (CIFS), etc., so that different applications or display devices 200 can access or share data at the same time, thereby realizing functions such as document sharing and resource access. That is, as the user interacts, the display device 200 can obtain different data in the storage module 420 of the server 400 to realize specific functions.
[0075] In some embodiments, the controller 250 may include at least one of a central processing unit, a video processor, an audio processor, a graphics processor, and a power processor, and a first interface to an nth interface for input / output. The controller 250 controls the operation of the display device and responds to the user's operation through various software control programs stored in the memory. The controller 250 controls the overall operation of the display device 200.
[0076] 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.
[0077] 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).
[0078] In some embodiments, the audio output device 270 may be a local speaker of the display device 200, or may be an external audio output device of the display device 200. In particular, for the external audio output device of the display device 200, the display device 200 may also be provided with an external audio output terminal, and the audio output device may be connected to the display device 200 through the external audio output terminal to output the sound of the display device 200.
[0079] In some embodiments, the user input interface 280 may be used to receive instructions from a user.
[0080] In some embodiments, the detector may also be used to trigger the display device to generate corresponding operation instructions based on the detected sound or image signal.
[0081] In order to perform user interaction, in some embodiments, the display device 200 may run an operating system. The operating system is a computer program for managing and controlling hardware resources and software resources in the display device 200. The operating system can control the display device to provide a user interface, for example, the operating system can directly control the display device to provide a user interface, or can provide a user interface by running an application program. The operating system also allows the user to interact with the display device 200.
[0082] It should be noted that the operating system may be a native operating system based on a specific operating platform, or a third-party operating system deeply customized based on a specific operating platform, or an independent operating system specially developed for the display device.
[0083] The operating system can be divided into different modules or levels according to the functions implemented. Taking the Android system as an example, Figure 5 As shown, in 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 system library layer and the kernel layer.
[0084] It should be noted that the above example is only a simple division of the operating system functions and does not constitute a limitation on the specific operating system form of the display device 200 in the embodiment of the present application. Depending on factors such as the function of the display device and the type of operating system, the number of levels and specific level types contained in the operating system may be expressed in other forms.
[0085] In some embodiments, the application layer of the display device 200 may be configured with a voice application, and the display device 200 may respond to the voice command input by the user based on the data interaction between the voice application and the server 400. That is, the display device 200 may collect the voice (sound signal) input by the user through the sound collector in the detector 220, and then convert the analog electrical signal corresponding to the voice into a digital signal, and then send the converted digital signal as a voice command to the voice application, so that the display device 200 processes it based on the voice application. In some embodiments, the control device 100 may receive and process the voice, generate a control signal and send it to the display device 200. That is, the display device 200 may receive the control signal generated by the remote control, and send the control signal as a voice command to the voice application.
[0086] For example, the display device 200 collects the voice input by the user through a sound collector to generate an analog electrical signal. The analog-to-digital converter (ADC) in the sound collector then samples the continuous analog point signal, that is, regularly measures the voltage of the analog point signal and converts it into a discrete value. Then, the ADC quantizes these discrete values and maps them to a discrete numerical range. Finally, the ADC uses an encoder to convert the quantized value into a binary digital signal, and passes the binary digital signal (voice data) to the voice application for processing.
[0087] In order to facilitate the distinction of the user's voice, in some embodiments, a specific voice function button is configured in the control device 100 of the display device 200. When the user presses the voice function button, the display device 200 collects the voice data input by the user based on the detector 220 or the sound collector in the control device 100 to generate a voice command. Alternatively, in some embodiments, the display device 200 itself is configured with a specific voice function triggering method. For example, the display device 200 is connected to an external or built-in camera, and the camera collects the user's image in real time. When the user makes a specific gesture or action, the display device 200 collects the voice data input by the user based on the sound collector as a voice command.
[0088] In some embodiments, the display device 200 may have a built-in voice interaction system for performing voice recognition on the voice data input by the user, generating interaction instructions according to the voice recognition results, and performing corresponding interaction control in response to the interaction instructions. That is, for the display device 200, the voice data collected by the sound collector can be sent to the voice interaction system, and the voice interaction system built into the display device 200 performs analysis and processing, and presents the corresponding interaction interface or interface conversion through the voice application.
[0089] In some embodiments, after receiving the voice command, the voice application of the display device 200 sends the voice command to the server 400, so that the server 400 performs analysis processing on the voice command and sends the result of the analysis processing to the display device 200. Figure 6 As shown, the server 400 includes a speech recognition module 430. After receiving the speech command input by the user, the speech application of the display device 200 sends the speech command to the speech recognition module 430 of the server 400, and the speech recognition module 430 performs semantic recognition on the speech command, and then sends the obtained semantic recognition result back to the speech application of the display device 200, so that the speech application of the display device 200 performs corresponding processing according to the semantic recognition result.
[0090] In some embodiments, the voice recognition module 430 may only perform text recognition corresponding to the voice command and send the text recognition to the display device 200. The display device 200 performs semantic recognition itself or performs voice recognition through the server 400 to obtain the recognition result.
[0091] In some embodiments, the text recognized by the speech recognition module 430 can be directly used as the recognition result.
[0092] In some embodiments, the display device 200 can obtain the speech recognition result alone or in collaboration with the server 400, and it only needs to obtain the recognition result to proceed to the next step.
[0093] In some embodiments, Figure 7As shown, the server 400 includes a speech recognition module 430, and the speech recognition module 430 includes a recognition unit 431, a semantic understanding unit 432, a management unit 433, a language generation unit 434 and a speech synthesis unit 435. Among them, the recognition unit 431 is deployed with a speech recognition service for recognizing the voice data in the voice instruction as text; the semantic understanding unit 432 is deployed with a semantic understanding service for semantically parsing the text; the management unit 433 is deployed with a business instruction management service for providing business instructions; the language generation unit 434 is deployed with a language generation service (Natural Language Generation, NLG), which is used to convert the instructions for the display device 200 to execute into text language; the speech synthesis unit 435 is deployed with a speech synthesis (Text-to-Speech, TTS) service, which is used to process the text language corresponding to the instruction and send it to the speaker of the display device 200 for broadcasting. In one embodiment, Figure 7 In the illustrated architecture, there may be multiple physical service devices deployed with different business services, or one or more functional services may be integrated into one or more physical service devices.
[0094] In some embodiments, the speech recognition service deployed by the recognition unit 431 can perform noise reduction processing and feature extraction on the audio of the query statement. Among them, the noise reduction processing may include steps such as removing echoes and environmental noise. The speech understanding service deployed by the semantic understanding unit 422 can use acoustic models and language models to perform natural language understanding on the identified candidate texts and associated context information, parse the text into structured, machine-readable information, business fields, intentions, word slots and other information to express semantics, etc., so as to obtain executable intentions to determine the intention confidence score, and the semantic understanding unit 422 then selects one or more candidate executable intentions based on the determined intention confidence score. The business instruction management service deployed by the management unit 433 can give query results based on the query instructions issued by the semantic understanding unit 422, as well as execute the actions required for the user's final request, and feedback the display device execution instructions corresponding to the query results.
[0095] In some embodiments, the application layer of the display device 200 may also be configured with an image recognition application, and the display device 200 may respond to the image recognition instructions input by the user based on the data interaction between the image recognition application and the server 400. The image recognition instructions may be control instructions input by the user based on specific operations, or may be voice instructions input by the user with the image recognition intent. For example, the user may trigger the image recognition application of the display device 200 to execute the screenshot action and the image recognition program by using the key representing the screenshot function in the control device 100; or, the user may type text with the image recognition intent through a specific input box to trigger the image recognition application to execute the screenshot action and the image recognition program; or, the user may speak a voice with the image recognition intent within the voice detection range of the display device 200 to trigger the image recognition application to execute the screenshot action and the image recognition program.
[0096] In some embodiments, when the image recognition instruction is a voice instruction, the display device 200 receives the voice instruction based on the voice application and sends the voice instruction to the server 400. The server 400 performs semantic recognition on the voice instruction and sends the semantic recognition result obtained by the recognition to the display device 200. The voice recognition result includes an instruction to call the image recognition application. After receiving the above semantic recognition result, the display device 200 calls the image recognition application so that the image recognition application performs the screenshot action and the image recognition program.
[0097] In some embodiments, the image recognition instruction may also specify an image to be recognized. For example, a user may select any image in a file management application, and at this time, the display device 200 may display an "image recognition" function option in the image viewing interface. After the user selects the "image recognition" function option, the display device 200 may start the image recognition application and perform image recognition on the selected image as the image to be recognized.
[0098] In some embodiments, the above-mentioned methods are only exemplary descriptions and are not intended to limit the image recognition scenarios. In the embodiments of the present application, triggering the display device 200 to execute the screenshot and image recognition programs may also be other scenarios.
[0099] In some embodiments, after receiving the image recognition instruction, the image recognition application of the display device 200 obtains the image to be recognized, and then sends the image to be recognized and the image recognition request to the server 400 to obtain the image recognition result of the image to be recognized. Figure 6 As shown, the server 400 includes an image recognition module 440. After the image recognition application of the display device 200 executes a screenshot of the user interface in response to the image recognition instruction, the image to be recognized generated by the screenshot and the image recognition request are sent to the image recognition module 440 of the server 400. The image recognition module 440 performs image recognition on the image to be recognized based on the image recognition algorithm, and sends the obtained image recognition result back to the image recognition application of the display device 200, so that the image recognition application can display the image recognition result.
[0100] In some embodiments, the image to be recognized sent by the image recognition application in the embodiments of the present application may be an image generated by the display device 200 through screenshots, or may be a media resource specified in the display device 200. This application does not limit this.
[0101] In order to realize the above-mentioned image recognition function, in some embodiments, such as Figure 8 As shown, the display device 200 or the server 400 may include an image recognition module. Taking the server 400 as an example, the server 400 includes an image recognition module 440, which includes an acquisition unit 441, a preprocessing unit 442, a feature extraction unit 443, a matching unit 444 and a result output unit 445. Among them, the acquisition unit 441 is used to acquire the image to be identified sent by the display device 200; the preprocessing unit 442 is deployed with an image preprocessing service, which is used to remove the noise of the image to be identified, enhance the image quality of the image to be identified, and convert the image to be identified into a form suitable for analysis, such as image scaling, cropping, smoothing filtering, binarization and other steps; the feature extraction unit 443 is deployed with an image feature extraction service, which is used to extract key features (shape, texture, color distribution, etc.) from the preprocessed image using a specific algorithm, and encode the extracted features into numerical or vector form; the matching unit 440 is deployed with a pattern matching service, which is used to match the extracted features with standard patterns or templates pre-stored in a database, and calculate the similarity or distance measurement between the features to obtain the standard pattern that best matches the image to be identified; the result output unit 445 is deployed with an image recognition result output service, which is used to determine the category or identification of the image to be identified based on the result of the pattern matching, and then output the recognition result in text, label or other forms according to the determined type and identification for use by the display device 200.
[0102] For example, taking character recognition as an example, the image to be recognized generated by the screenshot of the display device 200 contains a character image. The image recognition application of the display device 200 sends the image to be recognized and the image recognition request to the image recognition module 440 of the server 400. After receiving the image to be recognized, the image recognition module 440 first pre-processes the image to be recognized, including adjusting the image size, determining the position information to be recognized, cropping, graying, denoising and other steps, so as to highlight the characteristics of the character and reduce the amount of calculation. After pre-processing, the image recognition module 440 of the server 400 extracts key features from the image to be recognized through edge detection, template matching and deep learning, including the shape and position of the facial contour, eyes, nose, mouth, and skin texture. Then, the extracted features are compared with the character features pre-stored in the database, and the similarity or distance between the features is calculated to screen out the character that best matches the image to be recognized. Then, according to the comparison result, the associated information of the character is obtained as the character recognition result. Among them, the character recognition result may include data information such as the label, name, gender, height, weight, ID and the like associated with the character. The server 400 then returns the identified person recognition result to the image recognition application of the display device 200, so that the display device 200 displays the person recognition result based on the image recognition application.
[0103] It should be noted that Figure 6-Figure 8 The architecture shown is only an example and does not limit the scope of protection of this application. In the embodiments of this application, other architectures can also be used to implement similar functions. For example, part of the unit architecture of the server 400 can be set in the display device 200; accordingly, all or part of the processes of the above-mentioned voice recognition function and image recognition function can be completed by the display device 200, which will not be described in detail here.
[0104] For ease of description, in some embodiments of the present application, the voice application for implementing the voice recognition function is represented as the first application, and the application for implementing the image recognition function is represented as the second application. The first application and the second application can be two independent applications, or two independent application modules integrated into one application, respectively used to implement the above-mentioned voice recognition function and image recognition function.
[0105] In some application scenarios, the image to be identified of the display device 200 may include multiple identification objects of the same object type (such as people, animals, objects, places, etc.). For example, the object type of the identification object is a person. When the image to be identified includes two or more people, the image recognition result returned by the server 400 to the display device 200 will include the recognition results of multiple people. Correspondingly, the display device 200 will display the recognition results of all people in the user interface. At this time, the user needs to select the desired person recognition result from the multiple person recognition results displayed by the display device 200, which will consume a certain amount of time, resulting in a decrease in the overall efficiency of image recognition in the display device 200, affecting the user's interactive experience.
[0106] In some embodiments, the display device 200 or the server 400 can output the image recognition result based on the feature parameters in the image recognition instruction and the arrangement parameters in the image to be recognized, so that the feature labels in the result display view presented by the display device 200 conform to the arrangement rules of the recognition object in the image to be recognized, and the feature details conform to the feature parameters in the image recognition instruction. That is, for the display device 200, the controller 250 of the display device 200 can run a feature recognition method so that the display device 200 can display the recognition results according to the feature recognition method. Similarly, for the server 400, the control module 450 of the server 400 can also run a feature recognition method so that the server 400 can obtain the image recognition result according to the feature recognition method.
[0107] In order to implement the feature recognition method, the display device 200 should at least include a display 260 and a controller 250. The display 260 is configured to display a user interface. Fig. 9 As shown, the controller 250 is configured to execute steps corresponding to the feature recognition method, including the following:
[0108] S100: In response to an image recognition instruction, an image to be recognized is acquired.
[0109] The image recognition instruction is used to trigger the display device 200 to perform the image recognition function. For example, after receiving the image recognition instruction, the display device 200 can run a voice interaction application and a picture recognition application. The image recognition instruction can be input in different ways according to the interaction methods supported by different display devices 200.
[0110] In some embodiments, the image recognition instruction includes a field that is set to distinguish other voice instructions to represent the image recognition function, and the controller can execute the image recognition function after determining that the field exists. For example, the field can be "Nb.01".
[0111] In some embodiments, the image recognition instruction includes query parameters and feature parameters, and the controller can execute the image recognition function after determining that there are query parameters.
[0112] In some embodiments, the image recognition instruction can be input through voice interaction. Fig.10 As shown, when the display device 200 displays a user interface such as a home page interface, a media resource details interface, or a channel interface, the user can input voice commands such as "Who is this person", "Who is this actor", "Who is the person on the left", "Who is the person on the right", "Who is the third person on the left", "Who is this star", "Who is this man", "Who is this woman", etc. After that, the display device 200 can receive image recognition commands. These image recognition commands at least include voice data representing image recognition intent, and the voice data representing image recognition intent can be pre-set according to the language scenario.
[0113] In some embodiments, the voice data representing the image recognition intent may be “who is it”.
[0114] In some embodiments, the voice data representing the image recognition intent may be “Who is it / ah”.
[0115] In some embodiments, the voice data representing the image recognition intent may be "who".
[0116] In some embodiments, the voice data representing the image recognition intent may be “what is / are”.
[0117] In some embodiments, the voice data representing the image recognition intent may be field parameters containing preset vocabulary in the voice instruction generated based on the preset voice data, such as "TUSOU" or "Nb.02".
[0118] In some embodiments, the voice data representing the image recognition intent may be referred to as query parameters.
[0119] In some embodiments, the display device 200 may send the received voice data to the server, so that the server processes the voice data and then feeds back to the display device;
[0120] In some embodiments, after receiving the voice data, the display device 200 may process the voice data itself.
[0121] In some embodiments, after receiving the voice data, the display device 200 may first perform voice recognition processing on the voice data to determine whether the voice data contains query parameters, and then determine whether to perform subsequent image recognition based on the voice recognition processing results. That is, after receiving the voice data, the display device 200 may also input the voice data into a voice recognition model, obtain the recognition text results output by the voice recognition model, and then extract the query parameters from the recognition text results. If the recognition text results include query parameters, an image recognition instruction is generated, and in response to the image recognition instruction, the image to be recognized is obtained. For example, the user inputs the voice data content of "Who is this person?", and according to the voice recognition results, it can be determined that the current recognition text results include the query word "who is", then the display device 200 can generate an image recognition instruction, and in response to the image recognition instruction, take a screenshot according to the currently displayed user interface to obtain the image to be recognized.
[0122] If the recognition text result does not include the query parameter, the recognition text result is sent to the voice control module to determine the control intent of the current voice data, generate and respond to the voice control instruction. For example, the user inputs the voice data content of "Please play media A", and through voice recognition, it is determined that the voice data does not contain the query word (or trigger word) used to represent the object type, then the display device 200 can determine that the control intent of the current voice data is not a feature query, so the display device 200 can directly respond to the voice data to play media A without executing the step of obtaining the image to be recognized.
[0123] In some embodiments, the image recognition instruction may include, in addition to the query parameter, a feature parameter, which is used to enable the display device 200 or the server 400 to identify the features of the object to be identified in the image to be identified. The image recognition instruction may also not include the feature parameter, and the display device 200 or the server 400 may identify the features of the object to be identified while performing image recognition on the object to be identified in the image to be identified.
[0124] In some embodiments, the image recognition instruction can also be input through key interaction. Fig.11 As shown, the display device 200 can display a file management application interface or a gallery interface, and the file management application interface or the gallery interface can display the picture files stored in the display device 200. The user can control the focus cursor to move by using the direction keys on the control device 100, select a picture for picture display, and form a picture display interface. The picture display interface may include a "smart picture recognition" control. After the user controls the focus cursor to select the control, the image recognition instruction can be input.
[0125] In some embodiments, the image recognition instruction can also be input along with the screenshot interaction operation. For example, the user can input the screenshot instruction in the form of a combination of the "menu key" and the "up key". The display device 200 can take a screenshot of the currently displayed user interface in response to the screenshot instruction to generate a screenshot image. While generating the screenshot image, the display device 200 can display the screenshot image through the screenshot display window. The "intelligent image recognition" control can also be configured in the screenshot display window. After the user controls the focus cursor to select the control, the image recognition instruction can be input.
[0126] In some embodiments, the user can manipulate the cursor to trigger accurate identification of the target in the location area by placing the cursor in different positions, or can adjust the cursor position in the server feedback of multiple results to control the highlighting of the introduction of the target in the location area in the feedback results.
[0127] In some embodiments, after obtaining the image recognition instruction, the display device 200 may obtain the image to be recognized. Depending on the different ways of inputting the image recognition instruction, the display device 200 may obtain the image to be recognized in different ways. For example, when the display device 200 displays the home page interface, after the user inputs the image recognition instruction through the voice interaction instruction with the content "Who is the person on the left", the display device 200 may take a screenshot of the currently displayed home page interface, and obtain the image to be recognized by taking a screenshot.
[0128] Similarly, when the display device 200 displays the image display interface, after the user selects the "Smart Image Recognition" control through key operation and enters the image recognition instruction, the display device 200 can obtain the storage address of the currently displayed image, and obtain the image file through the storage address, thereby obtaining the image to be recognized.
[0129] In some embodiments, the acquisition method of the image to be identified can be comprehensively determined according to the interaction method, the current display interface, the current operating state, etc. For example, when the display device 200 displays the picture display interface, the user inputs a voice command of "who is this person?" At this time, since the currently displayed interface is a picture display interface, which is associated with specific image information, the display device 200 does not need to perform a screenshot, but directly obtains the picture file according to the image information of the displayed picture as the image to be identified.
[0130] Therefore, if Fig.12As shown, in some embodiments, the display device 200 can detect image information from the image recognition instruction during the process of acquiring the image to be recognized (S1201). If the image information is not detected in the image recognition instruction, the screen capture process is called (S1202), and the currently displayed user interface is screen captured through the screen capture process to generate the image to be recognized (S1203). If the image information is extracted from the image recognition instruction, the image to be recognized is extracted according to the image information (S1204).
[0131] The acquired image to be identified may include an identification object. The identification object is a target that meets certain characteristics in the image to be identified. For example, the identification object may be a portrait target, a text target, a specific object target, an animal target, a symbolic pattern target, etc. in the image to be identified.
[0132] It should be noted that when the display device 200 obtains the image to be recognized by taking a screenshot, the display device 200 can determine the execution time of the screenshot according to the acquisition time of the image recognition instruction. For image recognition instructions of different input methods, the display device 200 can determine different screenshot execution times according to different acquisition times.
[0133] In some embodiments, the display device 200 can classify the image recognition instructions according to the duration of the interaction action corresponding to the image recognition instruction, that is, the image recognition instructions whose duration of the interaction action is greater than or equal to the preset duration threshold are first-category recognition instructions, and the image recognition instructions whose duration of the interaction action is less than the preset duration threshold are second-category recognition instructions. For example, when the image recognition instruction is input through voice interaction, since the voice data is input through speaking behavior, the input process of the voice data consumes time, that is, the duration of the voice interaction action. The duration of the voice interaction action is greater than the preset duration threshold, therefore, the display device 200 can determine that the current image recognition instruction is a first-category recognition instruction, and can set the screenshot time to the end time of the voice data input according to the duration of the voice interaction action.
[0134] However, since the screen content in the user interface will change dynamically, that is, the content of the image to be recognized obtained at different screenshot times is different, therefore, in some embodiments, the display device 200 can also take a screenshot based on the reception time of the voice data, that is, the display device 200 can take a screenshot when the user starts to input voice data, so as to reduce the user interface content difference caused by the time difference between the start and end of voice input, so as to reduce the impact of content differences on recognition results.
[0135] The voice input start time may be the start time of the entire voice data, or the time when the voice interaction content audio begins to appear in the voice data. For example, a voice button is provided on the control device 100 supporting the display device 200, and the user inputs voice data by pressing the voice button. Then, the display device 200 may start the screenshot process when the user presses the voice button to obtain the image to be recognized. For another example, if the user presses the voice button at time T1 and starts speaking at time T2, the display device 200 detects the waveform change point in the audio signal, determines to start the screenshot process at time T2 when the voice waveform appears, and obtains the image to be recognized.
[0136] When the display starts taking screenshots according to the start time of voice input, since part of the voice data is not used to perform the image recognition function, the display device 200 can run the screenshot process in the background. That is, after starting the screenshot process to capture the image to be recognized, the display device 200 can first temporarily store the image obtained by the screenshot in the cache space, and then perform voice detection on the voice data. If the voice data includes query parameters, the image to be recognized is extracted from the cache space for subsequent image recognition processing.
[0137] For example, if the user presses the voice button on the control device 100 at time T1 and inputs voice data with the content "Who is the person on the left?", the display device 200 can start the screenshot process at time T1, obtain a screenshot of the current user interface, and store it in the cache space as the image to be recognized P1. In addition, after receiving the above complete voice data, the display device 200 detects the keywords contained in the voice data through the voice recognition model. Since the voice data includes the query parameter "who is", the display device 200 can retain the image to be recognized P1 in the cache space for subsequent feature recognition processing.
[0138] If the voice data does not include query parameters, the image to be recognized stored in the cache space can be deleted. For example, the user presses the voice button on the control device 100 at time T1 and inputs voice data with the content of "play the next song", then the display device 200 can start the screenshot process at time T1, obtain a screenshot of the current user interface, and store it in the cache space as the image to be recognized P1. However, by detecting the keywords in the voice data, it is determined that the voice data does not contain query parameters such as "who, what, what are", so the display device 200 can determine that the current user's voice command does not have the intention of recognizing the image. At this time, the display device 200 can delete the image to be recognized P1 in the cache space.
[0139] For some display devices 200 that support far-field voice interaction, the screenshot process can also be started according to the input time of the wake-up word. That is, in some embodiments, the display device 200 can detect the wake-up word in the voice data in real time when receiving the voice data. When the voice data includes the wake-up word, the display device 200 can start the screenshot process to obtain the image to be recognized at the moment of detecting the wake-up word. For example, the user inputs voice data with the content "Hi! Xiao J, who is the person on the left". Among them, "Hi! Xiao J" is the voice wake-up word of the display device 200, then the display device 200 can start the screenshot process to obtain the image to be recognized when it detects the user input "Hi! Xiao J" at time T3.
[0140] In some embodiments, when the image recognition instruction includes a field for distinguishing other voice instructions to represent the image recognition function, the display device may perform step S200 after acquiring the image to be recognized.
[0141] In some embodiments, the display device may obtain the image to be recognized by extracting the query parameters in the image recognition instruction. Then, after obtaining the image to be recognized, step S200 does not need to be performed.
[0142] S200: extracting query parameters and feature parameters from the image recognition instruction.
[0143] In some embodiments, after the display device 200 obtains the image recognition instruction input by the user, it can parse, recognize and respond to the image recognition instruction. For example, after the user inputs the voice data of "Who is this person" through voice interaction, the display device 200 can first perform pre-processing such as segmentation, extraction, noise reduction, analog-to-digital conversion, etc. on the voice data, and then use the voice-to-text tool in the voice interaction system to convert the voice data into voice text. And through voice recognition algorithms such as word segmentation and semantic recognition, the keyword information in the voice data is obtained.
[0144] In some embodiments, after obtaining the keyword information, the display device 200 may screen the keyword information to determine the query parameters and feature parameters contained in the image recognition instruction. The query parameters are used to characterize the object type of the identified object, that is, the query parameters can enable the display device 200 or the server 400 to identify the object to be identified according to the object type specified this time; the feature parameters are used to characterize the feature attributes of the identified object.
[0145] In some embodiments, the display device 200 may determine the query parameters and feature parameters in the image recognition instruction according to the part of speech of the keyword. Fig.13As shown, the display device 200 can obtain an image recognition instruction, convert the image recognition instruction into an instruction text, and perform word segmentation on the instruction text according to a preset word library to obtain a keyword set. The keyword set includes at least one keyword, and the keyword has a preset part of speech. The preset part of speech includes a first part of speech and a second part of speech. The first part of speech is used for keywords that represent object types; the second part of speech is used for keywords that represent feature attributes. Therefore, the display device 200 can determine the query parameters and feature parameters in the keyword set according to the part of speech of the keyword.
[0146] In some embodiments, since the query parameter may be a query word (or trigger word) representing an object type, the first type of part of speech may be a pronoun or a combination of a noun, a verb, etc. and a pronoun. The query parameter is used to trigger the screenshot operation and the image recognition program. For example, the query parameter may be at least one of the keywords such as "who is", "what is", "where is", etc. that can characterize the object type corresponding to the recognized object.
[0147] Some of the above query parameters may be represented by some predetermined character strings.
[0148] In some embodiments, since the feature parameter may be a feature word representing a feature attribute, the second type of part of speech may be an adjective or a noun. The feature parameter is used to represent a keyword representing a feature attribute of an identification object, such as a feature parameter may be at least one of the keywords representing a feature attribute of an identification object, such as "left side", "above", "third from the left", "fat", "tall", "left", "female", etc.
[0149] In some embodiments, the query parameters may be represented by some predetermined character strings.
[0150] In some embodiments, the query term includes a keyword for characterizing an object type. For example, the object type of the identified object may be a person, an item, a place, an animal, or the like.
[0151] In some embodiments, feature words include keywords used to characterize characteristic attributes of the identified object. For example, the characteristic attributes of the identified object may be the orientation attributes of the identified object in the image to be identified (up, down, left, right, etc.), the relative orientation attributes between the identified objects, the fixed attributes associated with the identified objects (such as height, fatness, age, gender, etc.), the appearance attributes of the identified object (such as color, appearance of a person, appearance of an animal, etc.), and the action attributes of the identified object (such as standing, lying down, etc.).
[0152] In some embodiments, the characteristic attribute corresponding to the characteristic parameter can adopt the corresponding attribute detection method according to the attribute type. That is, in some embodiments, when the characteristic attribute is an orientation attribute, the characteristic parameter includes an orientation parameter, and the orientation parameter includes a physical orientation relative to the display range, such as left, right, top, bottom, upper left, lower left, upper right, lower right, center, etc. The display device 200 can detect the orientation of the identification object relative to the image to be identified. For example, based on the center point of the image, the image is divided into four quadrants by the horizontal axis and the vertical axis. The first quadrant represents the right and upper orientation of the image to be identified; the second quadrant represents the left and upper orientation of the image to be identified; the third quadrant represents the left and lower orientation of the image to be identified; the fourth quadrant represents the right and lower orientation of the image to be identified.
[0153] In some embodiments, when the feature attribute is a relative orientation attribute, the display device 200 can detect the relative position relationship between each identification object in the image to be identified. For example, the image to be identified includes two identification objects, object A and object B. Then the display device 200 can obtain the position coordinates of the identification objects in the image, that is, A (x1, y1) and B (x2, y2). At this time, the display device 200 can determine the relative position relationship between the two identification objects by comparing the position coordinates of the two identification objects. That is, if x1>x2, object A is located on the right side of object B, and if y1>y2, object A is located on the upper side of object B.
[0154] In some embodiments, after receiving the image recognition instruction input through voice interaction, the display device 200 or the server 400 can generate a voice text and parse the semantic recognition result of the image recognition instruction according to the voice text. Among them, the semantic recognition result may include a query parameter obtained based on the query word and a feature parameter obtained based on the feature word. That is, the query parameter is the identifier or character corresponding to the query word, and the feature parameter is the identifier or character corresponding to the feature word. Then, the corresponding control action response is executed according to the semantic recognition result.
[0155] In some embodiments, the display device 200 obtains the target voice instruction collected by the sound collector based on the first application, and the target voice instruction is "Who is the person on the left?". The display device 200 calls the voice recognition module through the first application, and the voice recognition module performs text conversion and semantic understanding on it, and obtains the query word "who is" used to characterize the type of the recognition object and the feature word "left" used to characterize the characteristics of the recognition object. Then, according to the parsed query word, it is determined that the target voice instruction is a voice instruction for triggering the screenshot and image recognition program, and the query parameter "1" is used to identify the type of the query object as a person according to the query word new word query parameter, and the feature parameter "left" is generated through the feature word. Then, a command for calling the second application is generated through the query parameter, and the command includes the query parameter. The first application of the display device 200 then executes the corresponding program based on the command and query parameter for calling the second application. The display device 200 can generate an image recognition request and / or obtain an image to be recognized according to the semantic recognition result.
[0156] It is understandable that the above query parameters and feature parameters are only an exemplary parameter type, and the query parameters and feature parameters of the present application may also be other characters, such as foreign characters, numeric characters, Chinese character labels, or a combination of one or two of the above characters, etc. In some embodiments, the server 400 and the display device 200 may identify the query parameters and feature word parameters by setting a specific flag bit in the data packet.
[0157] It should be noted that, in the process of executing the feature recognition method, the display device 200 and the server 400 can perform specific program steps according to the configuration mode of the application corresponding to the method. Therefore, in response to the image recognition instruction, the steps of obtaining the image to be recognized (S100) and extracting the query parameter and the feature parameter from the image recognition instruction (S200) can be performed entirely by the display device 200, or by the display device 200 and the server 400 in steps or stages.
[0158] In some embodiments, a voice processing module may be configured in the display device 200. After receiving the voice data, the display device 200 may perform text recognition on the voice data by calling the voice processing module to obtain text recognition data. Then, the query parameters and feature parameters are extracted from the text recognition data, and a screenshot is taken according to the query parameters to obtain an image to be recognized.
[0159] In some embodiments, the display device 200 can be connected to the server 400 through the communicator 220. The server 400 can be configured with a text recognition module, for example, the server 400 is a KD server with a voice text recognition function. Then the display device 200 can perform preprocessing on the voice data after receiving the voice data. Then the processed voice data is sent to the server 400, and the server 400 performs text recognition based on the voice data uploaded by the display device 200, generates recognition text data, and then sends the generated recognition text data to the display device 200, so that the display device 200 performs query parameter and feature parameter detection based on the recognition text data, and performs feature recognition in the manner of the above embodiment.
[0160] In some embodiments, for a display device 200 that is not configured with a voice processing module, the server 400 can be connected through the communicator 220. The server 400 can be configured with a text recognition module and a voice processing module. For example, the server 400 includes a KD server with a text recognition function and an HX voice server with a voice processing function. After receiving the voice data and preprocessing it, the display device 200 first sends the preprocessed voice data to the KD server. The KD server performs text recognition on the voice data, obtains the recognized text data and feeds it back to the display device 200. The display device 200 then sends a recognition request to the HX server based on the recognized text data. The HX server then performs feature extraction based on the text recognition data to determine the query parameters and feature parameters in the text recognition data. The HX voice server then sends the query parameters and feature parameters obtained by recognition to the display device 200, so that the display device 200 can perform a screenshot based on the query parameters and perform subsequent image recognition.
[0161] It should be noted that, for the server 400, multiple functional modules or multiple servers can transmit relevant data, and the server with a text recognition function can directly send the text recognition data to the server with a voice processing function after obtaining the text recognition data. For example, the KD server performs text recognition on the voice data, obtains the recognized text data and sends it to the HX server. The HX server then performs feature extraction based on the text recognition data to determine the query parameters and feature parameters in the text recognition data. The HX voice server then sends the query parameters and feature parameters obtained by recognition to the display device 200.
[0162] In some embodiments, the server 400 may have both text recognition and speech processing functions, that is, the server 400 may be a speech server. After receiving the speech data, the display device 200 may upload the speech data to the speech server for speech recognition. After the speech server recognizes the text recognition data, the speech server recognizes the query parameters and feature parameters according to the text, and the speech server then sends the recognition query parameters and feature parameters to the display device 200. The display device 200 starts taking a screenshot according to the query parameters, and performs image recognition according to the image to be recognized and the feature parameters obtained from the screenshot.
[0163] S300: Performing image recognition on the image to be recognized according to the query parameter extracted from the image recognition instruction to obtain a recognition result.
[0164] In some embodiments, the display device performs image recognition on the image to be recognized according to the query parameters and obtains a recognition result.
[0165] In some embodiments, the display device sends the query parameters and the image to be recognized to a server, so that the server performs image recognition on the image to be recognized, and obtains a recognition result from the server.
[0166] In some embodiments, after extracting the query parameters and feature parameters, the display device 200 can perform image recognition on the image to be recognized according to the query parameters, so as to detect the feature target that meets the query parameters from the image to be recognized. For example, when the image recognition instruction input by the user is "who is the person on the left", the corresponding query parameter is "who is", so the display device 200 can determine that the type of the recognition object is a portrait according to the query parameters, and detect the portrait target in the image to be recognized according to the portrait features.
[0167] In some embodiments, image recognition can be performed by the server 400. That is, the server 400 can be configured with an image recognition model, and after the display device 200 obtains the image to be recognized and extracts the query parameters and feature parameters from the image recognition instruction, it can generate an image recognition request based on the image to be recognized, the query parameters and the feature parameters, and send the image recognition request to the server 400. The server 400 then calls the image recognition model according to the image recognition request, and performs image recognition on the image to be recognized based on the image recognition model to obtain a recognition result.
[0168] In some embodiments, the display device 200 can generate a first image recognition request based on the query parameters and the feature parameters. Then, the first image recognition request and the image to be recognized are sent to the server 400, so that the server 400 responds to the first image recognition request, performs image recognition on the image to be recognized according to the query parameters, and performs screening on the recognition objects obtained by image recognition according to the feature parameters to determine the target recognition objects that meet the feature parameters, and generates a first recognition result. Among them, the first recognition result includes the recognition objects that meet the query parameters, the target recognition objects that meet the feature parameters, and the arrangement parameters of the recognition objects. The display device 200 then receives the first recognition result fed back by the server 400 to display the recognition result.
[0169] In some embodiments, the recognition result obtained by performing image recognition may include multiple forms. In some embodiments, the recognition result includes the recognition object that meets the query parameter and at least one of the arrangement parameters, feature labels and feature details of the recognition object. The arrangement parameters are used to characterize the positional relationship of the recognition object in the image to be recognized; the feature labels are used to characterize the recognition information of the recognition object, and the feature details are the associated information queried based on the feature labels.
[0170] In some embodiments, when the display device 200 displays the homepage interface, the display device 200 extracts facial feature data in the image to be identified based on the query parameter "who is it", and determines feature labels based on specific portrait patterns that meet the facial feature data, such as the names of the characters corresponding to the character targets, such as "actor 1, actor 2, actor 3", etc. At the same time, the position of the identification object in the image to be identified is marked according to the position of the facial feature image to generate arrangement parameters, that is, actor 1 is located on the left side of the picture, actor 2 is located in the middle of the picture, and actor 3 is located on the right side of the picture. The display device 200 can also extract feature details, such as introduction information of related characters, from the feature information database based on the determined feature labels.
[0171] In some embodiments, the result obtained by image recognition may also include all the information of the recognized objects, and the display device 200 then filters the object information obtained by recognition through query parameters and feature parameters to obtain the recognition result. The display device 200 may generate a second image recognition request according to the query parameters. The second image recognition request and the image to be recognized are then sent to the server 400, so that the server 400 responds to the second image recognition request and performs image recognition on the image to be recognized according to the query parameters to generate a second recognition result. The second recognition result includes the recognized objects that meet the query parameters and the arrangement parameters of the recognized objects. The display device 200 then receives the second recognition result fed back by the server to display the recognition result.
[0172] In some embodiments, in response to the voice data of "who is the person on the left" input by the user, after the display device 200 takes a screenshot of the current user interface, it can generate an image recognition request based on the query parameter "who is it" and the feature parameter "left", as well as the current screenshot image, and send it to the server 400. After the display device 200 sends the image recognition request to the server 400, the server 400 can respond to the image recognition request and input the image to be recognized into the image recognition model. After the image recognition model detects the human target in the image to be recognized, it can output each recognition object in the image "actor A, actor B..." and the position coordinates of the recognition object in the image "A(x1, y1), B(x2, y2)...". The server 400 then sends the model output data to the display device 200, and the display device 200 then filters the output data according to the query parameters and feature parameters to obtain the recognition result that meets the "who is it" and the feature parameter "left", that is, the human target information with the smallest x value in the position coordinates.
[0173] In some embodiments, the display device 200 can also perform image recognition on the image to be recognized through an image recognition model. That is, the display device 200 can call a pre-trained image recognition model. Among them, the image recognition model is a neural network model obtained by training a training image, and the training image is provided with a result label, and the result label is used to characterize the position of the recognized object in the training image. Then, the image to be recognized is input into the image recognition model to detect the recognized object in the image to be recognized and the position of the recognized object in the image to be recognized through the image recognition model. Then, the feature label is queried according to the recognized object, and the arrangement parameter is generated according to the position of the recognized object in the image to be recognized.
[0174] For example, after receiving the image recognition instruction "Who is the person on the left?", the display device 200 can respond to the image recognition instruction and call the image recognition model. The image recognition model can detect whether the image contains a human target, the position of the human target, and the specific person. After the image to be recognized is input into the image recognition model, the image recognition model can detect the portrait target in the image according to the classification algorithm of the neural network model, and output the name of the person and the position of the human target in the image.
[0175] In order to obtain feature details, the display device 200 can also match information based on feature tags and extract feature details corresponding to the feature tags. In some embodiments, feature detail information can be stored in the server 400, and the display device 200 can obtain the object type to which the identified object belongs. If the object type is the target type corresponding to the query parameter, the identified object is marked as an identified object to be displayed. The feature tag of the identified object to be displayed is then extracted, and a detail query request is generated based on the feature tag of the identified object to be displayed. The display device 200 then sends the detail query request to the server 400 to obtain the feature details corresponding to the feature tag to be displayed.
[0176] For example, if the image recognition instruction input by the user is "Who is this woman?", then according to the query parameter "Who is it", the type of the recognition object is determined to be a portrait, and at the same time, according to the feature parameter "female", the target type is determined to be "female". After performing image recognition based on the image recognition model and obtaining "Portrait 1, Portrait 2, Portrait 3", the identified objects are screened according to the target type, and it is determined that the character target corresponding to "Portrait 2" is a female character, so Portrait 2 can be determined as the recognition object to be displayed. Then the feature tag corresponding to Portrait 2 is extracted, that is, the character's name is "Actor 2". At this time, the display device 200 can generate a detail query request containing "Actor 2" according to the feature tag and send it to the server 400. After receiving the detail query request, the server 400 can parse the feature tag "Actor 2" in the detail query request, and query the database for the actor introduction text related to "Actor 2", so as to obtain the feature details.
[0177] In some embodiments, the above-mentioned image recognition process can be performed on a server.
[0178] S400: Generate a result display view according to the recognition result.
[0179] In some embodiments, after obtaining the recognition result, the display device 200 may generate a result display view according to the recognition result. The result display view is used to display the result information obtained during the image recognition process. That is, the result display view includes a feature label and feature details, the display position of the feature label is set according to the arrangement parameter, and the display state of the feature details is set according to the feature parameter.
[0180] In some embodiments, the arrangement parameter may be a position parameter of the identified object in the image.
[0181] For example, the result display view may include label display controls of "Actor 1, Actor 2, Actor 3, Actor 4, Actor 5, Actor 6", and a detail display area below the label display control. Since the detail information is also displayed in the form of text or pictures, it occupies a large display area. Therefore, in the result display view, only the feature details corresponding to some feature labels may be displayed. In addition, when displaying feature details, only part of the text may be displayed, and the "More Information" control may be used to support further viewing by users.
[0182] like Fig.14 As shown, in some embodiments, in order to generate a result display view, the display device 200 can call the result display template (S1401) after obtaining the recognition result, and add a label control to the result display template according to the recognition result (S1402). Among them, the label control is used to display the feature label of the identified object. Then set the display position and / or display order of the label control according to the arrangement parameters (S1403), and determine the focus label control according to the feature parameters (S1404), and the focus label control is a label control that meets the feature parameters. Set the focus identifier on the focus label control, and add the feature details corresponding to the focus label control in the detail display area associated with the focus label control (S1405).
[0183] For example, Fig.15 As shown, after the user inputs the image recognition instruction "Who is the person on the left" through voice interaction, the display device 200 extracts the query parameter "who" and the feature parameter "left" from the image recognition instruction. After image recognition, the recognition result includes the feature tags of "actor 1, actor 2, actor 3, actor 4, actor 5, actor 6", and the feature details of each feature tag, that is, the personal profile text information of each actor in actor 1, actor 2, actor 3, actor 4, actor 5, actor 6.
[0184] Therefore, the display device 200 can first call the result display template, and then add 6 label controls to the result display template, which are used to display the names of actors 1 to 6 respectively. Then, the arrangement parameters of the recognition targets in the image to be recognized are obtained, that is, from left to right, actor 1, actor 2, actor 3, actor 4, actor 5, actor 6. At this time, the display device 200 can adjust the display order of the added label controls according to the arrangement parameters.
[0185] After adding the label control, the display device 200 can also extract the feature parameter "left" in the image recognition request, and determine that the focus label control is the "actor 1" label control located on the left according to the position relationship of the label control in the result display view, and then add a focus mark to the "actor 1" label control so that the focus cursor selects the "actor 1" label control. At the same time, the display device 200 also sets the personal profile text information of "actor 1" to a visible state and displays it in the feature details display area to present the image recognition result.
[0186] In some embodiments, when adjusting the display order of the added label controls according to the arrangement parameters, the display device 200 can further adjust the display order in combination with the feature parameters in the image recognition instruction. That is, when the feature parameters include feature words representing orientation attributes, the display device 200 first determines the first arrangement direction according to the orientation attributes represented by the feature parameters, and sets the first arrangement order of the label controls according to the first arrangement direction. For example, if the voice data content received by the display device 200 is "Who is the person on the left", then according to the feature parameter "left" in the voice data, it can be determined that the first arrangement direction is the horizontal direction. Therefore, when setting the label display order, it can be first sorted in the horizontal direction based on the horizontal coordinate of the recognized object, and a result display view is generated and displayed in the user interface.
[0187] In some embodiments, after displaying the result display interface, the display device 200 may also receive voice data, and determine a second arrangement direction according to characteristic parameters in the voice data, wherein, when the voice data received again by the display device 200 includes characteristic parameters of the same type as those in the voice data received last time, the second arrangement direction is the same as the first arrangement direction, and the display device 200 does not need to adjust the arrangement order, and still displays the label controls in the display order determined by the first arrangement direction. For ease of description, in this embodiment, the characteristic parameters in the voice data received last time are referred to as first characteristic parameters, and the characteristic parameters in the voice data received again are referred to as second characteristic parameters.
[0188] In some embodiments, Fig.16As shown, after the display device 200 displays the result display view generated based on the horizontal sorting of the horizontal coordinates of the recognized object, it receives voice data with the content of "Who is the person on the right?" It can be seen that the second feature parameter "right" and the first feature parameter "left" contained therein are both directional words in the horizontal direction. Therefore, the display device 200 does not need to readjust the display order of the label controls, and still displays the label controls in the order determined previously, but moves the focus mark to the label control on the right, and displays the detailed information corresponding to the label control on the right.
[0189] When the voice data received again by the display device 200 includes feature parameters of different types from those in the voice data received last time, the display device 200 can reset the display order of the label control according to the second feature parameter. For example, after the display device 200 displays the result display view generated based on the horizontal sorting of the horizontal coordinates of the identified object, it receives the voice data with the content of "Who is the person above?" It can be seen that the second feature parameter "above" contained therein belongs to the directional word in the vertical direction, and the first feature parameter "left" belongs to the directional word in the horizontal direction, so the first feature parameter and the second feature parameter are not the same type of feature directions. Then the display device 200 needs to determine the second arrangement direction according to the second feature parameter, that is, the second arrangement direction is the vertical direction perpendicular to the first arrangement direction. The display device 200 then rearranges the display order of the label controls according to the ordinate of the identified object according to the second arrangement direction, and sets the focus mark on the label control with the smallest ordinate value.
[0190] In some embodiments, when the feature parameters include feature words of inherent attributes such as gender, the display device 200 can also filter the recognition results according to the attribute words of the inherent attributes, and add label controls according to the filtered recognition results. For example, the voice data content received by the display device 200 is "Who is this man?", then after obtaining the image recognition results "actor 1, actor 2, actor 3, actor 4, actor 5, actor 6" according to the image recognition method in the above embodiment, the display device 200 can read the inherent attributes of the recognition objects respectively to filter out the recognition objects "actor 1, actor 3, actor 4" whose inherent attribute is "male". Therefore, the display device 200 can add label controls corresponding to "actor 1, actor 3, actor 4" in the result display view to generate a result display view that only contains male actors, such as Fig.17 shown.
[0191] In some embodiments, for the image to be identified whose image recognition result is "actor 1, actor 2, actor 3, actor 4, actor 5, actor 6", when the voice data content received by the display device 200 is "who is this woman", the inherent attribute of the identification object can be read to filter out the identification objects "actor 2, actor 5, actor 6" whose inherent attribute is "female". Therefore, the display device 200 can add label controls corresponding to "actor 2, actor 5, actor 6" in the result display view to generate a result display view that only contains female actors, such as Fig.18 shown.
[0192] In some embodiments, when the feature parameters include feature words of inherent attributes such as gender, the display device 200 can also add label controls for all recognized objects in the result display view, and indicate the recognized objects that meet the inherent attributes through focus marks. For example, for an image to be recognized whose image recognition result is "actor 1, actor 2, actor 3, actor 4, actor 5, actor 6", when the voice data content received by the display device 200 is "Who is this woman", the display device 200 can add 6 label controls to the result display interface according to the recognition result, and then determine the recognized objects "actor 2, actor 5, actor 6" whose inherent attribute is "female" by reading the inherent attributes of each recognized object, and set the focus mark on a label control among the recognized objects "actor 2, actor 5, actor 6", such as Fig.19 shown.
[0193] It should be noted that when there are multiple recognition objects that meet the characteristic parameters, the display device 200 can set the focus mark according to the default order. For example, the display device 200 receives voice data with the content of "Who is this woman?" and the recognition objects with the inherent attribute of "female" include "actor 2, actor 5, actor 6". At this time, the display device 200 can set the focus mark on the label control corresponding to "actor 2" according to the default order from left to right, such as Fig.18 shown.
[0194] In some embodiments, the default order can be set according to different application scenarios of the display device 200, that is, the default order is different in different application environments. For example, some display devices 200 can set the default order from left to right; some display devices 200 can set the default order from top to bottom; some display devices 200 can set the default order from near to far from the center of the image; some display devices 200 can set the default order from large to small in terms of the area occupied by the identified object in the image, and so on.
[0195] In some embodiments, the display device 200 may also set a focus mark in combination with other feature words in the voice data. That is, the feature parameters extracted by the display device 200 in the image recognition instruction may include the first feature word and the second feature word, and the display device 200 may use the first feature parameter and the second feature parameter to screen the recognition object respectively to determine the recognition object that meets both the first feature word and the second feature word, and set a focus mark for the label control corresponding to the determined recognition object.
[0196] In some embodiments, for the image to be identified whose image recognition results are "Actor 1, Actor 2, Actor 3, Actor 4, Actor 5, Actor 6", the voice data content received by the display device 200 is "Who is the girl on the right?", then the feature parameters of the voice data include two feature words, namely the first feature word "right" and the second feature word "girl". Then the display device 200 can first determine the identification objects "Actor 2, Actor 5, Actor 6" whose inherent attribute is "female" based on the feature word "girl". Then, based on the feature word "right", determine the identification object with the largest horizontal coordinate, namely "Actor 6", as the identification object that meets the feature parameters, and set the focus mark on the label control corresponding to "Actor 6", such as Fig. 20 shown.
[0197] In some embodiments, the feature parameters may also include a third feature word for characterizing the arrangement order. For example, for the image to be identified whose image recognition result is "Actor 1, Actor 2, Actor 3, Actor 4, Actor 5, Actor 6", the voice data content received by the display device 200 is "Who is the second man on the left?" Then the display device 200 may first filter out the identification objects "Actor 1, Actor 3, Actor 4" whose inherent attribute is "male" based on the feature word "male". Then determine the filtering direction based on the feature word "left", and determine that the identification object "Actor 3" with the second smallest horizontal coordinate value among "Actor 1, Actor 3, Actor 4" is the identification object that meets the feature parameters based on the feature word "second". Therefore, the display device 200 may set the focus mark on the label control corresponding to "Actor 3", such as Fig.21 shown.
[0198] It should be noted that the manner in which the display device 200 screens and identifies objects according to the characteristic parameters shown in the above embodiment is only an example. In actual applications, corresponding screening rules can be set according to different types of characteristic words contained in the voice data. For example, the characteristic parameters in the voice data can be replaced with directional words such as up, down, left, right, middle, upper left, and lower right, and the corresponding display device 200 screens and identifies objects according to specific directional relationships.
[0199] In some embodiments, the feature words in the feature parameters can also be pre-set with a screening priority. For example, the priority of the feature words is "inherent attribute, orientation attribute, and order attribute" from high to low. When the voice data content received by the display device 200 is "Who is the girl on the left?", even if the first identification object on the left in the arrangement parameters is a male, the focus mark is set on the first female identification object "Actor 2" on the left in the result display view.
[0200] In some embodiments, the image recognition instruction input by the user may only include query parameters but not feature parameters. For example, the user inputs the voice "Who is this?" which only includes the query parameter "Who is it?" but does not include content that identifies the feature attributes of the recognition object. In this regard, after obtaining the keyword set, the display device 200 may traverse the parts of speech of the keywords in the keyword set; if the keyword set includes keywords of the first part of speech but does not include keywords of the second part of speech, image recognition is performed on the image to be recognized according to the query parameters to obtain the recognition result of the recognition object that meets the query parameters. Then, a default layout template is obtained, and a result display view is generated according to the default layout template and the recognition result.
[0201] For example, after the user inputs the voice "Who is this" without the feature parameters, the display device 200 can determine the segmentation results of the keyword set "this / who is" based on the word segmentation algorithm, and determine that the keyword set corresponding to the image recognition instruction includes the two keywords "this" and "who is" based on the word segmentation results. Then, by detecting the part of speech of each keyword in the keyword set, the keyword part of speech can be determined. Since the current keyword set does not include keywords with the adjective part of speech, that is, it does not include feature parameters, the display device 200 can identify the human target in the image to be identified according to the query parameters, and after obtaining the image recognition result, it does not filter the recognition result, and directly generates the result display view according to the default layout template.
[0202] In some embodiments, the result display view may also include an object image for displaying the recognized object. For example, after the display device 200 displays the label control and label details according to the method provided in the above embodiment, it may also add a recognition background image according to the image to be recognized in the result display view, and then add a rectangular frame for representing the recognized object on the recognition background image according to the position of the recognized object in the image to generate an object image.
[0203] When the image recognition process is performed by the server 400, the display device 200 can also generate result display views in different ways according to different recognition results fed back by the server 400. In some embodiments, after receiving the first recognition result, the display device 200 can parse the recognition object, the target recognition object and the arrangement parameters of the recognition object from the first recognition result. So that the position of the feature label corresponding to the recognition object in the result display view and the position of the focus mark in the result display view according to the target recognition object can be set according to the arrangement parameters.
[0204] In some embodiments, after receiving the second recognition result, the display device 200 can parse the recognition object and the arrangement parameters of the recognition object from the second recognition result. And according to the characteristic parameters, the recognition object is screened to determine the target recognition object that meets the characteristic parameters, so as to set the position of the characteristic label corresponding to the target recognition object in the result display view according to the arrangement parameters. And according to the position of the focus mark in the result display view of the target recognition object.
[0205] S500: Control the display to display the result presentation view.
[0206] After the result display view is generated, the display device 200 may display the result display view, wherein the result display view may be an independent result display interface or a result display pop-up window that is displayed on a user interface.
[0207] In some embodiments, the display device 200 can also broadcast the image recognition results through a voice interaction system while displaying the result display view. Fig.15 As shown, after the display device 200 generates the result display view through the above-mentioned feature recognition method, it can display the result display view in the form of a pop-up window, and announce the focus label control and the displayed feature details information through voice. For example, after the user inputs the image recognition instruction "Who is the person on the left" through voice interaction, the display device 200 can display a label control containing 6 feature labels "Actor 1, Actor 2, Actor 3, Actor 4, Actor 5, Actor 6", and the focus cursor is located on the "Actor 1" control, and the personal profile of "Actor 1" is displayed in the feature details display area. While displaying the above-mentioned result display view, the display device 200 also announces through the voice system that "the person on the left is Actor 1, Actor 1, male, born in ×× in 1989, a well-known actor, his representative works include "Movie A", "Movie B"... ".
[0208] To facilitate user interaction, the displayed result display view may also include voice interaction text, such as voice text input by the user and voice text broadcast by the voice interaction system. The voice interaction text may be located in the voice interaction area in the result display view and presented in the form of a dialogue. For example, the voice text input by the user is located in the first line of the text display area, and the voice broadcast text is located in the second line of the text display area.
[0209] In some embodiments, the display device 200 also supports further user interaction during the display of the result display view. That is, after displaying the result display view, the display device 200 can obtain the recognition interaction instruction input by the user based on the result display view, and extract the change parameter from the recognition interaction instruction. Among them, the change parameter is a feature parameter in the recognition interaction instruction that is different from the image recognition instruction. Then, a new focus label control is determined based on the change parameter, that is, the label control that meets the change parameter is re-determined based on the interaction instruction. Then, the focus identifier is moved to the new focus label control, and the feature details corresponding to the new focus label control are added to the detail display area associated with the new focus label control.
[0210] For example, after the display device 200 responds to the image recognition instruction "Who is the person on the left?", during the display result display view, it can receive an interactive instruction input by the user, whose content is "Who is the person on the right?". The display device 200 can parse the query parameter "who" and the characteristic parameter "right" in the interactive instruction. Since the input interactive instruction is also a query for the same type of identification object, that is, both are portraits, the display device 200 can skip the step of image recognition to obtain the identification result. And by comparing the characteristic parameters in the two instructions, it can be determined that the change parameter is "right". At this time, Fig.16 As shown, the display device 200 can directly determine the new focus label control "Actor 6" according to the change parameter "right side", and set the feature details corresponding to "Actor 6", that is, the personal profile information of actor 6, to a visible state, and set the feature details corresponding to actor 1 to a hidden state, thereby moving the focus mark to the "Actor 6" label control, and displaying the personal profile information of actor 6 in the details display area.
[0211] It can be seen that further interaction based on the result display view can enable the display device 200 to skip the image recognition step when the user inputs an image recognition instruction with the same query parameters, and directly change the focus label control and display the feature detail information according to the previous image recognition result, thereby improving the display efficiency of the image recognition results and improving the user experience.
[0212] In some embodiments, the result display view may be set with a display duration. If the user does not continue to input interactive instructions for image recognition within the set display duration, the result display view will automatically cancel the display after displaying the set display duration. If the user inputs an interactive instruction for image recognition, the timer may be reset based on the input time of the interactive instruction so that the result display view continues to be displayed to support further user interaction.
[0213] For example, if the display duration of the result display view is set to 20 seconds, the display device 200 can receive the interaction command input by the user within 20 seconds of displaying the result display view. When the user inputs the interaction command such as "Who is the person on the right?", the display device 200 can respond to the interaction command, re-determine the focus label control and update the feature details, and continue to receive the interaction command input by the user within the next 20 seconds. If the user does not input the interaction command within 20 seconds, the display device 200 will continue to display the result display view. Fig. 20 After s, cancel the result display view and continue to display the user interface before the image recognition interaction.
[0214] It can be seen from the above technical solution that the display device 200 in the above embodiment can run the feature recognition method, and after inputting the image recognition instruction, set the display effect of the recognition result according to the query parameters and feature parameters in the image recognition instruction, so that the feature labels in the result display view presented by the display device 200 conform to the arrangement rules of the recognition objects in the image to be recognized, and the feature details conform to the feature parameters in the image recognition instruction, which is convenient for users to perform interactive control and improves the image recognition efficiency of the display device 200.
[0215] In some embodiments, some embodiments of the present application further provide a feature recognition method, applied to a display device, the method comprising:
[0216] In response to an image recognition instruction, an image to be recognized is acquired, the image to be recognized includes a recognition object, the image recognition instruction includes a query parameter and a feature parameter, the query parameter is used to characterize the object type of the recognition object; the feature parameter is used to characterize the feature attribute of the recognition object;
[0217] Performing image recognition on the image to be recognized according to the query parameter extracted from the image recognition instruction to obtain a recognition result, wherein the recognition result includes a recognition object that meets the query parameter and at least one of an arrangement parameter, a feature label, and feature details of the recognition object, wherein the arrangement parameter is used to characterize the positional relationship of the recognition object in the image to be recognized; the feature label is used to characterize the recognition information of the recognition object, and the feature details are associated information queried based on the feature label;
[0218] Generate a result display view according to the recognition result, wherein the result display view includes a feature label and feature details, wherein the display position of the feature label is set according to the arrangement parameter, and the display state of the feature details is highlighted according to the feature parameter;
[0219] The display is controlled to display the result presentation view.
[0220] In some embodiments, since some display devices 200 have low computing power and slow natural language processing and image recognition speeds, in some embodiments, the feature recognition process may also be performed by a server 400 that establishes a communication connection with the display device 200. That is, some embodiments of the present application provide a server 400, including: a storage module 410, a communication module 420, and a control module 450. The storage module 410 is configured to store feature tags and feature details, and the communication module 420 is configured to establish a communication connection with the display device.
[0221] In some embodiments, Fig. 22 As shown, the control module 450 is configured to execute the steps corresponding to the feature recognition method, including the following:
[0222] S2201: Acquire an image recognition instruction and an image to be recognized sent by a display device, wherein the image to be recognized includes a recognition object; the image recognition instruction includes a query parameter and a feature parameter, wherein the query parameter is used to characterize an object type of the recognition object; and the feature parameter is used to characterize a feature attribute of the recognition object;
[0223] S2202: performing image recognition on the image to be recognized according to the query parameter extracted from the image recognition instruction to obtain a recognition result, wherein the recognition result includes a recognition object that meets the query parameter and at least one of an arrangement parameter, a feature label, and feature details of the recognition object, wherein the arrangement parameter is used to characterize a positional relationship of the recognition object in the image to be recognized; the feature label is used to characterize recognition information of the recognition object, and the feature details are associated information queried based on the feature label;
[0224] S2203: Send the recognition result to the display device so that the display device 200 generates and displays a result display view according to the recognition result, wherein the result display view includes a feature label and feature details, the display position of the feature label is set according to the arrangement parameter, and the display status of the feature details is highlighted according to the feature parameter.
[0225] During the feature recognition process, the display device 200 can receive an image recognition instruction input by the user, such as a voice instruction. And in response to the image recognition instruction, the image to be recognized is obtained by screenshot or file extraction, and the image recognition instruction and the image to be recognized are sent to the server 400. After receiving the image recognition instruction sent by the display device 200, the server 400 can parse the semantic recognition result of the image recognition instruction. Among them, the semantic recognition result may include query parameters obtained based on the query words, and feature parameters obtained based on the feature words. That is, the query parameters are the identifiers or characters corresponding to the query words, and the feature parameters are the identifiers or characters corresponding to the feature words. The semantic recognition result is then sent to the display device 200, so that the display device 200 executes the corresponding program according to the semantic recognition result.
[0226] In some embodiments, the display device 200 obtains an image recognition instruction collected by a sound collector based on the first application, and the image recognition instruction is "Who is the person on the left?" The display device 200 sends the instruction to the voice recognition module 430 of the server 400 through the first application, and the voice recognition module 430 performs text conversion and semantic understanding on it, and obtains the query word "who is" used to characterize the type of the recognition object and the feature word "left" used to characterize the characteristics of the recognition object. Then, the server 400 determines that the image recognition instruction is a voice instruction for triggering the screenshot and image recognition program based on the query word parsed above, and uses the query word new word query parameter "1" to identify the type of the query object as a person, and generates the feature parameter "left" through the feature word. Then, a command for calling the image recognition model is generated through the query parameter, and the command includes the query parameter. The server 400 then inputs the image to be recognized into the image recognition model, and obtains the image recognition result based on the image recognition model.
[0227] In some embodiments, after obtaining the image recognition result, the server 400 can extract the feature parameters in the image recognition instruction, and filter the image recognition result according to the feature parameters to generate a result display view. For example, if the image recognition instruction is "Who is the person on the left", the query word is "who", the feature word is "left", the type of identification object represented by the query parameter is a person, and the feature attribute represented by the feature parameter is the orientation attribute "left". The server 400 parses all the person objects in the image to be identified, and obtains the associated feature tags of each person object. Then, according to the layout parameters of the identification object in the image to be identified, the position coordinates of each person object are determined to filter out the leftmost person object and the name (feature tag) corresponding to the person object.
[0228] In some embodiments, when the feature word represents the orientation feature, the feature parameter includes the orientation parameter, which is used to represent the relative position of the identification object in the image to be identified (such as left, right, top, bottom, upper left, lower left, upper right, lower right, center, etc.). After parsing the identification object of the image to be identified, the server 400 obtains the target coordinate system for image recognition. The origin of the target coordinate system can be located at the geometric center point of the user interface of the display device 200, or at any boundary vertex in the user interface of the display device 200; Fig.23 As shown, corresponding to the image to be identified, the origin of the target coordinate system is located at the geometric center point of the image to be identified, or the boundary vertex of the image to be identified. Then, the position coordinates of the identified object in the image to be identified are detected based on the target coordinate system. Among them, the position coordinates include the coordinate value of the first direction and the coordinate value of the second direction, and the first direction is perpendicular to the second direction, such as the first direction is the horizontal axis direction and the second direction is the vertical axis direction. After the server 400 detects the position coordinates of the identified object in the image to be identified, it records the position coordinates in the associated information of the identified object, such as (x, y).
[0229] In some embodiments, while the server 400 performs image recognition on the image to be recognized according to the query parameters, it also detects the position of the recognition object in the image to be recognized, and records the position coordinates as associated information in the server 400 for the server 400 to perform subsequent comparison and processing.
[0230] In some embodiments, when a feature word contains the meaning of left, the relative position represented by its orientation parameter is left, such as the left side, left side, left-hand side and other feature words; when a feature word contains the meaning of right, the relative position represented by its orientation parameter is right, such as the right side, right side, right-hand side and other feature words; when a feature word contains the meaning of up, the relative position represented by its orientation parameter is up, such as the right side, right side, right side, top and other feature words; when a feature word contains the meaning of down, the relative position represented by its orientation parameter is down, such as down, below, below, bottom and other feature words. When a feature word contains the semantics of upper left, the relative position represented by its position parameter is upper left, such as upper left, upper left corner and other feature words; when a feature word contains the semantics of upper right, the relative position represented by its position parameter is upper right, such as upper right, upper right corner and other feature words; when a feature word contains the semantics of lower left, the relative position represented by its position parameter is lower left, such as lower left, lower left corner and other feature words; when a feature word contains the semantics of lower right, the relative position represented by its position parameter is lower right, such as lower right, lower right corner and other feature words.
[0231] In some embodiments, the position coordinates of the identified object recorded by the server 400 may be the position coordinates of any pixel point of the identified object in the image to be identified, or may be the coordinates of the edge pixel points of the identified object, such as the lower left corner, the upper right corner, the leftmost pixel point, the rightmost pixel point, the top pixel point, the bottom pixel point, the pixel point of the geometric center, etc.
[0232] In some embodiments, the screening process can be based on the coordinates of each target object. For example, the X coordinates of each target object are used to determine which is on the left and which is on the right. The Y coordinates of each target object are used to determine which is on the top and which is on the bottom.
[0233] In some embodiments, the screening process may be to determine an initial range by the first characteristic parameter in the characteristic parameters, and then continue to screen again in the initial range according to another characteristic parameter. Or screening may be performed according to multiple characteristic parameters at the same time. For example, preliminary screening is performed according to the characteristic word "male", and then screening is performed again according to the characteristic parameters of "left side" or "first on the left side".
[0234] In order to extract the recognition results more accurately, in some embodiments, the server 400 can also record the position coordinates of the recognized object according to the orientation parameters. When the orientation parameters are different, the position coordinates recorded by the server 400 are also different, and the position coordinates can be consistent with the relative position represented by the orientation parameters. For example, when the relative position represented by the orientation parameters is the upper left, the server 400 records the coordinates of the upper left pixel of the recognized object; when the relative position represented by the orientation parameters is the lower left, the server 400 records the coordinates of the lower left pixel of the recognized object; when the relative position represented by the orientation parameters is the left, the server 400 records the coordinates of the leftmost pixel of the recognized object. In some embodiments, when the relative position represented by the orientation parameters is other relative positions, the principle of the server 400 recording the position coordinates is the same as the above principle, which will not be repeated here.
[0235] In some embodiments, when the feature parameters include orientation parameters and the origin of the target coordinate system is located at the center point of the object to be identified, the server 400 can also calculate the cropping area of the image to be identified based on the relative position represented by the feature parameters, and crop the image to be identified based on the cropping area to retain the image content of the cropping area in the image to be identified. Image recognition is then performed on the cropped image to be identified, thereby reducing the amount of data calculation of the server 400.
[0236] In some embodiments, when the feature word is left, the feature parameters include orientation parameters, and the origin of the target coordinate system is located at the geometric center of the image to be identified, the server 400 calculates that the cropping area of the image to be identified is the image portion of the second quadrant and the third quadrant based on the relative position "left" represented by the feature parameters, and the server 400 crops the image portion of the image to be identified in the first quadrant and the fourth quadrant, and retains the image portion of the second quadrant and the third quadrant. For another example, when the feature word is upper left, the feature parameters include orientation parameters, and the origin of the target coordinate system is located at the geometric center of the image to be identified, the server 400 calculates that the cropping area of the image to be identified is the image portion of the second quadrant based on the relative position "upper left" represented by the feature parameters, and the server 400 crops the image portion of the image to be processed in the first quadrant, the third quadrant, and the fourth quadrant, and retains the image portion of the second quadrant.
[0237] In some embodiments, when the server 400 calculates the cropping area of the image to be identified, it obtains the coordinate critical value of each quadrant, and determines the image portion of the image to be identified in each quadrant according to the coordinate critical value of each quadrant, so that the server 400 can crop the image to be identified. The coordinate critical value is used to represent the coordinate value characteristics of the position coordinates corresponding to the pixel point in each quadrant. For example, when the origin of the target coordinate system is located at the geometric center point of the image to be identified, the coordinate critical value of the first quadrant is x>0 and y>0, the coordinate critical value of the second quadrant is x<0 and y>0, the coordinate critical value of the third quadrant is x<0 and y<0, and the coordinate critical value of the fourth quadrant is x>0 and y<0.
[0238] In order to facilitate the extraction of target recognition results, in some embodiments, the relative position represented by the orientation parameter includes at least one of left, right, top, bottom and middle, the first direction represents the horizontal direction, and the second direction represents the vertical direction. The server 400 also parses the critical trend corresponding to the orientation parameter. Among them, the critical trend includes the maximum end or the minimum end of the first direction, and / or the maximum end and the minimum end of the second direction. For example, when the first direction is the x direction and the second direction is the y direction, and the origin of the target coordinate system is located in the lower left corner of the user interface, when the physical range is left, the critical trend is the minimum value in the x direction; when the physical range is up, the critical trend is the maximum value in the y direction; when the physical range is the upper left, the critical trend is the minimum value in the x direction and the maximum value in the y direction; then, the coordinate value of the identified object is read in the layout parameter, and then the identified object whose coordinate value is the target value in the identified object is extracted to determine the focus feature label. Among them, the target coordinate value is the coordinate value of the identified object in the critical trend, that is, the identified object whose coordinate value matches the critical trend.
[0239] In some embodiments, the origin of the target coordinate system is located at the lower left corner of the image to be identified, the object type represented by the query parameter is a person, and the relative position represented by the feature parameter is on the left. Fig.24 As shown, the server 400 performs image recognition on the image to be identified, identifies all the characters included therein, and records the position coordinates (x1, y1) of character 1, the position coordinates (x2, y2) of character 2, and the position coordinates (x3, y3) of character 3. The critical trend is analyzed as the minimum value in the x direction based on the relative position represented by the orientation parameter and the target coordinate system. Then, the server 400 traverses the coordinate values of the x coordinates in the associated information corresponding to each identified object, and extracts the identified object with the largest coordinate value in the x coordinate. x3>x1>x2, so the character 3 corresponding to (x3, y3) is selected as the focus feature label, and then the associated information corresponding to the character 3 is extracted as the target recognition result.
[0240] In some embodiments, the server 400 may also obtain a boundary set of the image to be identified in the target coordinate system. The boundary set includes the left boundary, right boundary, upper boundary and lower boundary of the image to be identified. When determining the focus feature label, the server 400 selects a reference boundary according to the physical range, and calculates the relative distance between the identified object and the reference boundary according to the position coordinates of the identified object. Then, the identified object whose relative distance matches the relative position (relative position represented by the orientation parameter) is extracted to determine the focus feature label.
[0241] In some embodiments, the relative position represented by the orientation parameter is left, the reference boundary can be the left boundary, the server 400 calculates the relative distance between each identified object and the reference boundary, and extracts the feature tag of the identified object with the smallest relative distance as the focus feature tag. For another example, the physical range is left, the reference boundary can be the right boundary, the server 400 calculates the relative distance between each identified object and the reference boundary, and extracts the identified object with the largest relative distance as the focus feature tag.
[0242] In some embodiments, when the relative position represented by the orientation parameter includes two or more items, the server 400 further reads the first coordinate value of the identified object in the first direction, and reads the second coordinate value of the identified object in the second direction. A first judgment value is generated based on the critical trend and the first coordinate value, and a second judgment value is generated based on the critical trend and the second coordinate value. The sum of the first judgment value and the second judgment value is calculated, and the identified object with the largest sum is extracted from the identified objects to determine the focus feature label.
[0243] In some embodiments, the server 400 may normalize the coordinate values in the first direction and the second direction from left to right and from bottom to top based on the width and height of the image to be identified, and generate the first judgment value and the second judgment value based on the normalized coordinate values.
[0244] In some embodiments, when the relative position characterized by the orientation parameter is upper left, the server 400 reads the normalized coordinate value of the recognition object in the x direction and the normalized coordinate value of the recognition object in the y direction. The critical trend is the minimum end of the first direction and the minimum end of the second direction. The server 400 will calculate the opposite values of the first coordinate value and the second coordinate value (i.e., 1 - the normalized value of the coordinate value) as the first judgment value and the second judgment value. Then calculate the sum value of the first judgment value and the second judgment value, and extract the recognition object with the largest sum value among the recognition objects to determine the focus feature label.
[0245] In some embodiments, when the relative position characterized by the orientation parameter is lower left, the server 400 reads the normalized coordinate value of the recognition object in the x direction and the normalized coordinate value of the recognition object in the y direction. The critical trend is the minimum end of the first direction and the maximum end of the second direction. The server 400 will calculate the opposite value of the first coordinate value (i.e., 1 - the normalized value of the coordinate value) as the first judgment value, and use the normalized coordinate value of the second coordinate value as the second judgment value. Then calculate the sum value of the first judgment value and the second judgment value, and extract the recognition object with the largest sum value among the recognition objects to determine the focus feature label.
[0246] In some embodiments, the sum value calculation for other relative positions is based on the same principle as the above embodiments, except that it is for comparison between recognition objects rather than comparison with a specified range. Exemplarily, taking the x - axis increasing from left to right and the y - axis decreasing from top to bottom as an example. When the position coordinates of person one are (x1, y1), the position coordinates of person two are (x2, y2), and the position coordinates of person three are (x3, y3), in some embodiments, x1 < x2 < x3, person one is on the left and person three is on the right. In some embodiments, y1 < y2 < y3, person one is on the upper side and person three is on the lower side. In some embodiments, person one is female, person two is male, and person three is male. The server 400 first determines that the males are person two and person three, and then based on the corresponding abscissa x2 < x3, obtains that the second male on the left is person 3.
[0247] In some embodiments, when the feature word includes an inherent attribute, the feature parameter includes a basic parameter. The basic parameter is used to characterize the inherent attribute of the recognition object, such as color attribute, recognition object name, etc. After the server 400 parses out the recognition object and obtains the associated information of the recognition object, it queries the associated information representing the inherent attribute in the associated information, so as to determine the focus feature label in the recognition object according to the associated information of the inherent attribute.
[0248] In some embodiments, the feature parameters include basic parameters, and the basic parameters are used to characterize the inherent attributes corresponding to the identified object. The server 400 also parses the target inherent attributes corresponding to the basic parameters, and then reads the reference value of the target inherent attributes. For example, taking the object type represented by the query parameter as a person, the inherent attributes may include the person's gender, the person's name, the person's skin color, etc., and the target inherent attribute may be a combination of one or more of the above; when the target inherent attribute is gender, the reference value may be "male / female". After reading the reference value of the target inherent attribute, the identified object whose inherent attribute matches the reference value is extracted to determine the focus feature label.
[0249] In some embodiments, when the object type represented by the query parameter is an item and the inherent attribute represented by the feature parameter is red, the server 400 can obtain the color value corresponding to red (such as RGB value, etc.) and use the color value corresponding to red as a reference value. Then, the color value corresponding to each item is queried in the associated information, and the similarity between the item color value and the reference value is calculated. Then, items whose item color values match the reference value (they can be the most similar or completely equal) are extracted to determine the focus feature label.
[0250] In some embodiments, the feature attributes include extrinsic parameters, which represent the appearance attributes and / or action attributes (standing, lying down, etc.) of the recognition object. For example, when the object type represented by the query parameter is a person, the appearance attributes may be weight, long hair, short hair, wearing glasses, etc.; when the object type represented by the query parameter is an item, the appearance attributes may be shape, etc. The server 400 obtains the target template corresponding to the extrinsic parameter and calculates the similarity between the target template and the recognition object. The recognition object with the highest similarity among the recognition objects is then extracted as the second object. For example, when the appearance attribute represented by the extrinsic parameter is a triangle, the target template obtained by the server 400 includes templates of various triangles, and then the similarity between each recognition object and the target template is calculated respectively.
[0251] In some embodiments, the server 400 may also detect the width of the identified object in the image to be identified, and record the detected width in the associated information. In this way, when determining the focus feature label, the server 400 may extract the identified object that matches the feature attribute represented by the feature parameter according to the width corresponding to the identified object. For example, if the object type represented by the query parameter is a person, and the appearance attribute represented by the feature parameter is thin, the server 400 may query the width value corresponding to each person in the associated information, and extract the person with the smallest width value to determine the focus feature label.
[0252] In some embodiments, when the object type represented by the query parameter is a person, when the server 400 records the width of the recognized object in the image to be recognized, it can detect the face area of the person based on the image recognition algorithm, and then record the width of the face area as the width corresponding to the recognized object.
[0253] In some embodiments, the characteristic parameters may include a combination of one or more of the above parameters.
[0254] In some embodiments, when the feature parameters include multiple parameters, the server 400 may also preset weight values of different parameters. When determining the focus feature label, the server 400 may calculate the comprehensive score of the identified object based on the weight values corresponding to the feature parameters, and then extract the identified object with the highest comprehensive score to determine the focus feature label. The implementation logic of the feature parameters is the same as the above principle, which will not be repeated here.
[0255] In some embodiments, after generating the result display view, the server 400 can encapsulate the interface parameters or interface data corresponding to the result display view into a response data packet, and send the response data packet to the display device 200. After receiving the response data packet, the display device 200 parses the interface parameters or interface data from the response data packet, and forms a result display view for display based on the parsed data. In some embodiments, after receiving the response data packet, the display device 200 can also generate a prompt corresponding to the result display view according to the result display view, and display the prompt in the result display view. For example, when the result type specified by the query parameter is a character type, the display device 200 can generate a prompt related to it according to the result display view, such as "What are his related works?", "Recommend several of his movies", etc.
[0256] In some embodiments, the server 400 may complete the screening of the recognition results and generate rendering data corresponding to the result display view so that the display device displays the result display view. That is, the control module of the server 400 is also configured to:
[0257] Acquire an image recognition instruction and an image to be recognized sent by a display device, wherein the image to be recognized includes an object to be recognized, and the image recognition instruction includes a query parameter and a feature parameter, wherein the query parameter is used to characterize an object type of the object to be recognized; and the feature parameter is used to characterize a feature attribute of the object to be recognized;
[0258] Performing image recognition on the image to be recognized according to the query parameters to obtain a recognition result;
[0259] generating a result display view according to the recognition result, wherein the result display view includes a feature label and feature details, wherein the display position of the feature label is set according to the arrangement parameter, and the display state of the feature details is set according to the feature parameter;
[0260] The rendering data corresponding to the result display view is sent to the display device, so that the display device displays the result display view.
[0261] The difference between this embodiment and the above-mentioned server 400 embodiment is that in this embodiment, the server 400 can perform image recognition on the image to be recognized, and after obtaining the recognition result, generate rendering data corresponding to the result display view on the server 400 side, and send the rendering data to the display device 200, so that the display device 200 displays the result display view.
[0262] For example, the server 400 may be configured with an image recognition model. After receiving voice data with the content "Who is the second boy on the left?", the display device 200 may call the voice recognition model to identify the query parameter "who" and the feature parameters "left", "second", and "boy" from the voice data. Then, the screenshot process is called according to the identified query parameters to take a screenshot of the currently displayed user interface to obtain the image to be identified. Then, an image recognition request is generated, and the image recognition request and the image to be identified are sent to the server 400.
[0263] After receiving the image recognition request, the server 400 can respond to the image recognition request, call the image recognition model, perform image recognition on the image to be recognized, and obtain a recognition result containing portrait features, and then send the recognition result to the display device 200, so that the display device 200 generates a result display view according to the recognition result.
[0264] In some embodiments, when the server 400 feeds back the recognition result to the display device 200, it can directly feed back all the recognition results of the image. For example, for the image recognition request sent by the display device 200 based on the voice data of "Who is the second boy on the left", the server 400 can only perform image recognition on the image to be recognized based on the query parameter "who is", so as to identify the portrait target contained in the image and the position information of the portrait target in the image. Then all the recognized portrait targets and position information are sent to the display device 200. The display device 200 then determines the portrait targets that meet the "left", "second", and "boy" according to the feature parameters to generate a result display view and display it.
[0265] In some embodiments, the server 400 may also filter the recognition results according to the feature parameters and then feed back the filtered recognition results. That is, after the server 400 identifies the portrait target contained in the image and the position information of the portrait target in the image, it may filter the portrait target and the position information according to the feature parameters to generate an image recognition result. The recognition result includes the recognition object that meets the query parameters and the arrangement parameters, feature labels and feature details of the recognition object. The arrangement parameters are used to characterize the positional relationship of the recognition object in the image to be recognized; the feature label is used to characterize the recognition information of the recognition object, and the feature details are the associated information queried based on the feature label.
[0266] For example, the server 400 performs image recognition on the image to be recognized based on the query parameter "who is it" to identify the portrait target contained in the image and the position information of the portrait target in the image. Then, the server 400 can filter the recognized portrait target according to the feature parameters "left", "second", and "boy" to determine the portrait target that meets the feature parameters of "left", "second", and "boy", that is, "Actor 3", and then send the recognition result containing "Actor 3" to the display device 200, so that the display device 200 generates a result display view containing "Actor 3" based on the recognition result.
[0267] In some embodiments, the server 400 may perform the recognition processing of the image recognition instruction, and the display device 200 may perform the image recognition and generate the result display view. That is, the control module of the server 400 may also be configured as follows:
[0268] Receiving a voice recognition request sent by a display device, wherein the voice recognition request includes voice data collected by the display device;
[0269] Performing speech recognition on the speech data to generate speech text data;
[0270] The voice text data is sent to the display device, so that the display device first generates an image recognition instruction according to the voice text data, and obtains an image to be recognized in response to the image recognition instruction, wherein the image to be recognized includes a recognition object; secondly, a query parameter and a feature parameter are extracted from the image recognition instruction; the query parameter is used to characterize the object type of the recognition object; the feature parameter is used to characterize the feature attribute of the recognition object; thirdly, image recognition is performed on the image to be recognized according to the query parameter to obtain a recognition result, wherein the recognition result includes a recognition object that meets the query parameter and an arrangement parameter, a feature label and feature details of the recognition object, wherein the arrangement parameter is used to characterize the positional relationship of the recognition object in the image to be recognized; the feature label is used to characterize the recognition information of the recognition object, and the feature details are associated information queried based on the feature label; and a result display view is generated according to the recognition result, wherein the result display view includes a feature label and feature details, wherein the display position of the feature label is set according to the arrangement parameter, and the display state of the feature details is set according to the feature parameter. Finally, the display is controlled to display the result display view.
[0271] It can be seen that the difference between this embodiment and the above-mentioned server 400 embodiment is that in this embodiment, the server 400 is only responsible for performing recognition on the language data, while image recognition, result display view generation and display are all completed by the display device 200. Based on this, the server 400 can be built-in with a voice processing module, and the display device 200 can be built-in with an image processing module and a view generation module.
[0272] For example, the server 400 may be configured with a speech recognition model. After receiving the speech data with the content of "Who is the second boy on the left?", the display device 200 generates a speech recognition request according to the speech data and sends the speech recognition request to the server 400. The server 400 then responds to the speech recognition request, calls the speech recognition model to recognize the speech data, obtains the speech recognition result, and sends it to the display device 200.
[0273] In some embodiments, when the server 400 feeds back the speech recognition result to the display device 200, it can feed back the recognition text of the speech data. For example, for the speech data with the content of "Who is the second boy on the left", the recognition text of "who is on the left / second / boy / " can be obtained, and the recognition text can be fed back to the display device 200, and the display device 200 then extracts the query parameter "who is" and the feature parameters "left", "second", "boy" from the recognition text. Then, the screenshot process is called according to the recognized query parameters, and a screenshot is taken of the currently displayed user interface to obtain the image to be recognized. Then, the image recognition result and the result display view are generated in the manner of the above embodiment, which will not be repeated here.
[0274] In some embodiments, when the server 400 feeds back the voice recognition results to the display device 200, it can also feed back the query parameters and feature parameters identified in the voice data. For example, for the voice data with the content of "Who is the second boy on the left", the server 400 can first obtain the recognition text of "left / second / boy / who is" through the voice recognition model, and then extract the query parameter "who is" and the feature parameters "left", "second", "boy" from the recognition text according to the part of speech of the keywords in the recognition text or the preset vocabulary. The extracted query parameters and feature parameters are then sent to the display device 200, so that the display device 200 generates and displays the result display view in the manner in the above embodiment.
[0275] In some embodiments, the server 400 can perform both speech recognition and image recognition. That is, the control module of the server 400 is further configured to:
[0276] Receiving a voice recognition request sent by a display device, wherein the voice recognition request includes voice data collected by the display device;
[0277] Performing speech recognition on the speech data to generate speech text data;
[0278] Sending the voice text data to the display device, so that the display device first generates an image recognition instruction according to the voice text data, and in response to the image recognition instruction, obtains an image to be recognized, wherein the image to be recognized includes an object to be recognized; extracts a query parameter and a feature parameter from the image recognition instruction; the query parameter is used to characterize the object type of the object to be recognized; the feature parameter is used to characterize the feature attribute of the object to be recognized; and generates an image recognition request according to the image to be recognized;
[0279] receiving an image recognition request sent by the display device, wherein the image recognition request includes an image to be recognized;
[0280] Performing image recognition on the image to be recognized to obtain a recognition result, wherein the recognition result includes a recognition object that meets the query parameter and an arrangement parameter, a feature label, and feature details of the recognition object, wherein the arrangement parameter is used to characterize the positional relationship of the recognition object in the image to be recognized; the feature label is used to characterize the recognition information of the recognition object, and the feature details are associated information queried based on the feature label;
[0281] The recognition result is sent to the display device so that the display device 200 generates and displays a result display view according to the recognition result, wherein the result display view includes a feature label and feature details, the display position of the feature label is set according to the arrangement parameter, and the display status of the feature details is set according to the feature parameter.
[0282] It can be seen that the difference between this embodiment and the above-mentioned embodiment is that in this embodiment, the server 400 can perform voice recognition and image recognition respectively, and the display device 200 performs voice data collection, generation of image recognition instructions, acquisition of images to be recognized, and generation and display of result display views, etc.
[0283] It should be understood that the other action steps involved in the above examples can also be processed by the display device 200 and the server 400 according to the actual device layout. For example, steps such as the generation of image recognition instructions, the acquisition of images to be recognized, and the generation of result display views can also be performed by the server 400. Similarly, voice recognition and image recognition can also be performed by the display device. Other execution subject change schemes that can be associated by those skilled in the art based on the above embodiments also belong to the scope of protection of this application. In addition, some functions can also be performed jointly by the display device 200 and the server 400 to maximize the use of the processing capabilities of the display device 200 and the server 400, which will not be repeated here.
[0284] As can be seen from the above technical solutions, some embodiments of the present application provide a display device, a server and a feature recognition method, which can respond to an image recognition instruction to obtain an image to be recognized. And extract query parameters and feature parameters from the image recognition instruction. Then perform image recognition on the image to be recognized according to the query parameters to obtain a recognition result, and generate a result display view according to the recognition result, so as to display the result display view. Among them, the result display view includes feature labels and feature details, the display position of the feature labels is set according to the arrangement parameters of the recognition object in the image to be recognized, and the display state of the feature details is set according to the feature parameters in the image recognition instruction. After the image recognition instruction is input, the method can set the display effect of the recognition result according to the query parameters and feature parameters in the image recognition instruction, so that the feature labels in the result display view presented by the display device conform to the arrangement rules of the recognition object in the image to be recognized, and the feature details conform to the feature parameters in the image recognition instruction, so as to facilitate the user to perform interactive control, so as to solve the problem of low overall efficiency of image recognition of the display device.
[0285] The same and similar parts between the various embodiments in this specification can be referenced to each other and will not be described again here.
[0286] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of various embodiments of the present invention or certain parts of the embodiments.
[0287] 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.
[0288] 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 display a user interface; The controller is configured as: In response to an image recognition instruction, an image to be recognized is acquired, wherein the image to be recognized includes a recognition object, and the image recognition instruction includes a query parameter and a feature parameter, wherein the query parameter is used to characterize an object type of the recognition object; The characteristic parameters are used to characterize the characteristic attributes of the identified object; performing image recognition on the image to be recognized according to the query parameter extracted from the image recognition instruction to obtain a recognition result, wherein the recognition result includes a recognition object that meets the query parameter and at least one of an arrangement parameter, a feature label, and feature details of the recognition object, wherein the arrangement parameter is used to characterize a positional relationship of the recognition object in the image to be recognized; The feature tag is used to represent the identification information of the identification object, and the feature details are related information queried based on the feature tag; Generate a result display view according to the recognition result, wherein the result display view includes a feature label and feature details, wherein the display position of the feature label is set according to the arrangement parameter, and the display state of the feature details is highlighted according to the feature parameter; The display is controlled to display the result presentation view.
2. The display device according to claim 1, characterized in that The controller executes acquiring the image to be recognized, and is further configured to: Detecting image information from the image recognition instruction; If the image information is not detected in the image recognition instruction, calling a screenshot process, and taking a screenshot of the currently displayed user interface through the screenshot process to generate the image to be recognized; If the image information is detected in the image recognition instruction, the image to be recognized is extracted according to the image information.
3. The display device according to claim 1, characterized in that The system further includes a communication device configured to establish a communication connection with a server, wherein the controller performs image recognition on the image to be recognized according to the query parameter extracted from the image recognition instruction to obtain a recognition result, and is further configured to: generating a first image recognition request according to the query parameter and the feature parameter; Sending the first image recognition request and the image to be recognized to a server, so that the server responds to the first image recognition request, performs image recognition on the image to be recognized according to the query parameters, and screens the recognition objects obtained by the image recognition according to the feature parameters to determine the target recognition objects that meet the feature parameters, and generates a first recognition result, wherein the first recognition result includes the recognition objects that meet the query parameters, the target recognition objects that meet the feature parameters, and the arrangement parameters of the recognition objects; Receive a first recognition result fed back by the server.
4. The display device according to claim 3, characterized in that The controller generates a result display view according to the recognition result, and is further configured to: parsing the identification object, the target identification object, and arrangement parameters of the identification object from the first identification result; According to the arrangement parameters, the position of the feature label corresponding to the identified object in the result display view is set; The position of the focus mark in the result display view is displayed according to the target recognition object.
5. The display device according to claim 1, characterized in that The controller performs image recognition on the image to be recognized according to the query parameter extracted from the image recognition instruction to obtain a recognition result, and is further configured to: generating a second image recognition request according to the query parameter; sending the second image recognition request and the image to be recognized to a server, so that the server performs image recognition on the image to be recognized according to the query parameters in response to the second image recognition request to generate a second recognition result, wherein the second recognition result includes a recognition object that meets the query parameters and arrangement parameters of the recognition object; Receive the second recognition result fed back by the server.
6. The display device according to claim 5, characterized in that The controller generates a result display view according to the recognition result, and is further configured to: parsing the identified object and arrangement parameters of the identified object from the second identification result; Screening the identification objects according to the characteristic parameters to determine target identification objects that meet the characteristic parameters; According to the arrangement parameters, the position of the feature label corresponding to the target recognition object in the result display view is set; The position of the focus mark in the result display view is displayed according to the target recognition object.
7. The display device according to claim 1, characterized in that The controller generates a result display view according to the recognition result, and is further configured to: Call the result display template; Adding a label control to the result display template, wherein the label control is used to display the feature label of the identified object; Setting the display position and / or display order of the label control according to the arrangement parameters; Determine a focus label control according to the characteristic parameters, wherein the focus label control is a label control that meets the characteristic parameters; The focus identifier is set on the focus label control, and feature details corresponding to the focus label control are added to the detail display area associated with the focus label control.
8. The display device according to claim 7, characterized in that The controller is also configured to: Acquire a recognition interaction instruction input by a user based on the result display view; Extracting a change parameter from the recognition interaction instruction, wherein the change parameter is a feature parameter in the recognition interaction instruction that is different from the image recognition instruction; Determine a new focus label control according to the change parameter, the new focus label control being a label control that meets the change parameter; The focus identifier is moved to the new focus label control, and feature details corresponding to the new focus label control are added to the detail display area associated with the new focus label control.
9. A server, characterized in that: include: A storage module configured to store feature labels and feature details; A communication module, configured to establish a communication connection with a display device; The control module is configured as follows: Acquire an image recognition instruction and an image to be recognized sent by a display device, wherein the image to be recognized includes an object to be recognized, and the image recognition instruction includes a query parameter and a feature parameter, wherein the query parameter is used to characterize an object type of the object to be recognized; and the feature parameter is used to characterize a feature attribute of the object to be recognized; In response to an image recognition instruction, performing image recognition on the image to be recognized according to the query parameter extracted from the image recognition instruction to obtain a recognition result, wherein the recognition result includes a recognition object that meets the query parameter and at least one of an arrangement parameter, a feature label, and feature details of the recognition object, wherein the arrangement parameter is used to characterize a positional relationship of the recognition object in the image to be recognized; The feature tag is used to represent the identification information of the identification object, and the feature details are related information queried based on the feature tag; The recognition result is sent to the display device so that the display device generates and displays a result display view according to the recognition result, wherein the result display view includes a feature label and feature details, the display position of the feature label is set according to the arrangement parameter, and the display status of the feature details is highlighted according to the feature parameter.
10. A feature recognition method, characterized in that: Applied to the display device according to any one of claims 1 to 8, the method comprising: In response to an image recognition instruction, an image to be recognized is acquired, the image to be recognized includes a recognition object, the image recognition instruction includes a query parameter and a feature parameter, the query parameter is used to characterize the object type of the recognition object; the feature parameter is used to characterize the feature attribute of the recognition object; Performing image recognition on the image to be recognized according to the query parameter extracted from the image recognition instruction to obtain a recognition result, wherein the recognition result includes a recognition object that meets the query parameter and at least one of an arrangement parameter, a feature label, and feature details of the recognition object, wherein the arrangement parameter is used to characterize the positional relationship of the recognition object in the image to be recognized; the feature label is used to characterize the recognition information of the recognition object, and the feature details are associated information queried based on the feature label; Generate a result display view according to the recognition result, wherein the result display view includes a feature label and feature details, wherein the display position of the feature label is set according to the arrangement parameter, and the display state of the feature details is highlighted according to the feature parameter; The display is controlled to display the result presentation view.
Citation Information
Cited By
Display device and feature recognition method
WO2025201123A1
