Remote face recognition method, mobile terminal and computer readable storage medium

By acquiring camera data from the target device and replacing the camera data from the projection device, the problem of facial recognition not working in cloud projection was solved, enabling the projection device application to operate normally.

CN113505728BActive Publication Date: 2026-05-29NUBIA TECHNOLOGY CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
NUBIA TECHNOLOGY CO LTD
Filing Date
2021-07-26
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

In cloud projection mode, the cloud device cannot capture the user's face, causing the application to be unable to perform facial recognition and thus unable to function properly.

Method used

By acquiring the camera data sent by the target device and replacing the data collected by the camera on the target device, the data is sent to the application on the target device for facial recognition.

Benefits of technology

Ensure that the screen mirroring application can perform facial recognition normally to guarantee the normal operation of cloud screen mirroring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113505728B_ABST
    Figure CN113505728B_ABST
Patent Text Reader

Abstract

The application discloses a remote face recognition method, a mobile terminal and a computer readable storage medium, and the remote face recognition method comprises the following steps: acquiring camera data sent by a screen projection end; replacing data collected by a camera of the screen projection end with the camera data; and sending the camera data to an application program of the screen projection end, so that the application program performs face recognition based on the camera data. Through the application, when cloud screen projection is performed on an application, the application program of the screen projection end performs face recognition by acquiring the camera data sent by the screen projection end, so that the normal operation of the application program of the screen projection end is ensured, and thus the normal performance of the cloud screen projection is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of screen projection technology, and in particular to a remote face recognition method, a mobile terminal, and a computer-readable storage medium. Background Technology

[0002] With the improvement of network bandwidth and the arrival of the 5G era, cloud-based screen mirroring has begun to emerge. In cloud-based screen mirroring, applications run on cloud devices, and the application's running screen is compressed and transmitted to the mirroring device via the network. The receiving device then decompresses the received compressed data to synchronously display the application's running screen. However, some problems exist in actual use. For example, some applications require facial recognition, but if the user is located on the receiving device, the cloud device cannot obtain the user's facial image, thus failing to perform facial recognition and causing the application to malfunction. Summary of the Invention

[0003] The main objective of this invention is to provide a remote face recognition method, a mobile terminal, and a computer-readable storage medium, aiming to solve the technical problem in the prior art where face recognition cannot be completed when an application is projected onto a cloud screen, causing the application to malfunction.

[0004] To achieve the above objectives, the present invention provides a remote face recognition method, which is applied to a screen projection terminal, and includes:

[0005] Obtain camera data sent by the device being projected;

[0006] Replace the data collected by the camera on the projection terminal with the aforementioned camera data;

[0007] The camera data is sent to the application on the screen mirroring device so that the application can perform facial recognition based on the camera data.

[0008] Optionally, the step of obtaining camera data sent by the projected device includes:

[0009] The system obtains camera data sent by the projected device after converting the original camera data into a new format. The format of the camera data is a data format supported by the projected device.

[0010] Optionally, the step of replacing the data collected by the camera on the projection terminal with the camera data includes:

[0011] Modify the hook at the camera framework layer to allow the data collected by the projection device's camera to be replaced with the camera data.

[0012] Optionally, the step of sending the camera data to the application on the screen mirroring terminal includes:

[0013] The camera data is sent to the application being projected onto the screen.

[0014] Optionally, the projected device transmits camera data to the projection device in frames based on a preset protocol, wherein the header format of the preset protocol is used to indicate the size of each frame.

[0015] In addition, to achieve the above objectives, the present invention also provides a mobile terminal, the mobile terminal comprising: a memory, a processor, and a remote face recognition program stored in the memory and executable on the processor, wherein the remote face recognition program, when executed by the processor, implements the steps of the remote face recognition method as described above.

[0016] In addition, to achieve the above objectives, the present invention also provides a computer-readable storage medium storing a remote face recognition program, which, when executed by a processor, implements the steps of the remote face recognition method as described above.

[0017] In this invention, camera data sent by the target device is acquired; the data collected by the camera on the target device is replaced with the acquired camera data; and the acquired camera data is sent to the application on the target device for facial recognition. Through this invention, when cloud-casting an application, the application on the target device performs facial recognition by acquiring the camera data sent by the target device, ensuring the normal operation of the application on the target device and thus guaranteeing the normal operation of cloud-casting. Attached Figure Description

[0018] Figure 1 A schematic diagram of the hardware structure of the mobile terminal for implementing the various embodiments of the present invention;

[0019] Figure 2 A communication network system architecture diagram provided for an embodiment of the present invention;

[0020] Figure 3 This is a flowchart illustrating the first embodiment of the remote face recognition method of the present invention.

[0021] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0022] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0023] In the following description, the use of suffixes such as "module," "part," or "unit" to denote elements is solely for the purpose of illustrative purposes and has no specific meaning in itself. Therefore, "module," "part," or "unit" may be used interchangeably.

[0024] In the embodiments of this invention, the remote face recognition method is applied to a mobile terminal, which can be implemented in various forms. For example, the mobile terminal involved in this invention may include mobile terminals such as mobile phones, tablet computers, laptops, handheld computers, and personal digital assistants (PDAs).

[0025] The following description will use a tablet computer as an example. Those skilled in the art will understand that, in addition to components specifically designed for mobile purposes, the construction according to embodiments of the present invention can also be applied to other types of mobile terminals.

[0026] Please see Figure 1 , Figure 1 To illustrate the hardware structure of the mobile terminal in various embodiments of the present invention, the terminal 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an A / V (Audio / Video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111, etc. Those skilled in the art will understand that... Figure 1 The terminal structure shown does not constitute a limitation on the mobile terminal. The mobile terminal may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0027] The following is combined with Figure 1 A detailed introduction to each component of the mobile terminal:

[0028] The radio frequency unit 101 can be used for receiving and transmitting signals during information transmission or calls. Specifically, it receives downlink information from the base station and processes it with the processor 110; additionally, it transmits uplink data to the base station. Typically, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, and a duplexer. Furthermore, the radio frequency unit 101 can also communicate wirelessly with networks and other devices. The aforementioned wireless communications may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution), and TDD-LTE (Time Division Duplexing-Long Term Evolution).

[0029] WiFi is a short-range wireless transmission technology. Mobile terminals, through the WiFi module 102, can help users send and receive emails, browse web pages, and access streaming media, providing users with wireless broadband internet access. Although Figure 1 WiFi module 102 is shown, but it is understood that it is not a necessary component of a mobile terminal and can be omitted as needed without changing the nature of the invention.

[0030] The audio output unit 103 can convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into audio signals and output them as sound when the mobile terminal 100 is in call signal receiving mode, call mode, recording mode, voice recognition mode, broadcast receiving mode, etc. Furthermore, the audio output unit 103 can also provide audio output related to specific functions performed by the terminal 100 (e.g., call signal receiving sound, message receiving sound, etc.). The audio output unit 103 may include a speaker, a buzzer, etc.

[0031] The A / V input unit 104 is used to receive audio or video signals. The A / V input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The GPU 1041 processes image data of still images or videos acquired by an image capture device (such as a camera) in video capture mode or image capture mode. The processed image frames can be displayed on the display unit 106. The image frames processed by the GPU 1041 can be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) in operating modes such as telephone call mode, recording mode, and voice recognition mode, and can process such sound into audio data. The processed audio (voice) data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 101 in telephone call mode. The microphone 1042 can implement various types of noise cancellation (or suppression) algorithms to eliminate (or suppress) noise or interference generated during the reception and transmission of audio signals.

[0032] The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 1061 according to the ambient light level, and the proximity sensor can turn off the display panel 1061 and / or backlight when the mobile terminal 100 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes). When stationary, it can detect the magnitude and direction of gravity and can be used for applications that identify the terminal's posture (such as landscape / portrait switching, related games, magnetometer posture calibration), vibration recognition-related functions (such as pedometer, tapping), etc. Other sensors that the terminal may also be equipped with, such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, and infrared sensors, will not be described in detail here.

[0033] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0034] User input unit 107 can be used to receive input numerical or character information, and generate key signal inputs related to user settings and function control of the terminal. Specifically, user input unit 107 may include touch panel 1071 and other input devices 1072. Touch panel 1071, also known as touch screen, can collect touch operations on or near the user (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near touch panel 1071), and drive corresponding connection devices according to a pre-set program. Touch panel 1071 may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch position and the signal generated by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, sends it to processor 110, and can receive and execute commands from processor 110. In addition, touch panel 1071 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, one or more of the following: physical keyboard, function keys (such as volume control buttons, power buttons, etc.), trackball, mouse, joystick, etc., without being limited here.

[0035] Furthermore, the touch panel 1071 may cover the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits the information to the processor 110 to determine the type of touch event. Subsequently, the processor 110 provides corresponding visual output on the display panel 1061 based on the type of touch event. Although in Figure 1 In this embodiment, the touch panel 1071 and the display panel 1061 are two independent components to realize the input and output functions of the mobile terminal. However, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to realize the input and output functions of the mobile terminal. The specific implementation is not limited here.

[0036] Interface unit 108 serves as an interface through which at least one external device can connect to mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, and so on. Interface unit 108 may be used to receive input (e.g., data, power, etc.) from the external device and transmit the received input to one or more elements within mobile terminal 100, or it may be used to transmit data between mobile terminal 100 and the external device.

[0037] The memory 109 can be used to store software programs and various data. The memory 109 may primarily include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function (such as sound playback, image playback, etc.), etc.; the data storage area may store data created based on the use of the mobile phone (such as audio data, phonebook, etc.). Furthermore, the memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0038] The processor 110 is the control center of the mobile terminal. It connects various parts of the mobile terminal via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 109, and by calling data stored in the memory 109, it performs various functions and processes data of the mobile terminal, thereby providing overall monitoring of the main screen display terminal. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor. The application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 110.

[0039] The mobile terminal 100 may also include a power supply 111 (such as a battery) that supplies power to various components. Preferably, the power supply 111 can be logically connected to the processor 110 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system.

[0040] although Figure 1 As not shown, the mobile terminal 100 may also include a Bluetooth module, etc., which will not be described in detail here.

[0041] like Figure 1 As shown, the memory 109, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a remote face recognition program. The processor 110 can be used to call the remote face recognition program stored in the memory 109 and execute the following steps:

[0042] Obtain camera data sent by the device being projected;

[0043] Replace the data collected by the camera on the projection terminal with the aforementioned camera data;

[0044] The camera data is sent to the application on the screen mirroring device so that the application can perform facial recognition based on the camera data.

[0045] Furthermore, the processor 110 can be used to invoke a remote face recognition program stored in the memory 109, and also perform the following steps:

[0046] The system obtains camera data sent by the projected device after converting the original camera data into a new format. The format of the camera data is a data format supported by the projected device.

[0047] Furthermore, the processor 110 can be used to invoke a remote face recognition program stored in the memory 109, and also perform the following steps:

[0048] Modify the hook at the camera framework layer to allow the data collected by the projection device's camera to be replaced with the camera data.

[0049] Furthermore, the processor 110 can be used to invoke a remote face recognition program stored in the memory 109, and also perform the following steps:

[0050] The camera data is sent to the application being projected onto the screen.

[0051] Furthermore, the processor 110 can be used to invoke a remote face recognition program stored in the memory 109, and also perform the following steps:

[0052] The device being projected transmits camera data to the projection device in frames based on a preset protocol. The header format of the preset protocol is used to indicate the size of each frame.

[0053] To facilitate understanding of the embodiments of the present invention, the communication network system on which the mobile terminal of the present invention is based is described below.

[0054] Please see Figure 2 , Figure 2 This invention provides a communication network system architecture diagram. The communication network system is an LTE system based on the universal mobile communication technology. The LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and the operator's IP services 204, which are connected in sequence.

[0055] Specifically, UE201 can be the aforementioned terminal 100, which will not be elaborated here.

[0056] E-UTRAN202 includes eNodeB2021 and other eNodeB2022s. Among them, eNodeB2021 can connect to other eNodeB2022s via backhaul (e.g., X2 interface), and eNodeB2021 connects to EPC203. eNodeB2021 can provide UE201 with access to EPC203.

[0057] EPC203 may include MME (Mobility Management Entity) 2031, HSS (Home Subscriber Server) 2032, other MMEs 2033, SGW (Serving Gateway) 2034, PGW (Packet Data Network Gateway) 2035, and PCRF (Policy and Charging Rules Function) 2036, etc. Among them, MME2031 is the control node that handles signaling between UE201 and EPC203, providing bearer and connection management. HSS2032 provides registers to manage functions such as the Home Location Register (not shown in the diagram) and stores user-specific information such as service characteristics and data rates. All user data can be sent through SGW2034. PGW2035 can provide UE201 with IP address allocation and other functions. PCRF2036 is the policy and charging control decision point for service data flow and IP bearer resources. It selects and provides available policy and charging control decisions for the policy and charging enforcement function unit (not shown in the figure).

[0058] IP services 204 may include the Internet, intranet, IMS (IP Multimedia Subsystem), or other IP services.

[0059] Although the above description uses the LTE system as an example, those skilled in the art should understand that the present invention is not only applicable to the LTE system, but also to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems, etc., which are not limited here.

[0060] Based on the aforementioned mobile terminal hardware structure and communication network system, various embodiments of the remote face recognition method of the present invention are proposed.

[0061] In one embodiment, the remote face recognition method is applied to the screen projection terminal, referring to... Figure 3 , Figure 3This is a flowchart illustrating the first embodiment of the remote face recognition method of the present invention. Figure 3 As shown, remote face recognition methods include:

[0062] Step S10: Obtain camera data sent by the projected device;

[0063] In this embodiment, the projection end can be a mobile phone, computer, tablet, server, or other device, and the device being projected onto can be a mobile phone, computer, tablet, or other device. The projection end establishes a projection connection with the device being projected onto and transmits the local screen to the device being projected onto in real time.

[0064] Taking an application as an example, during screen mirroring, the application runs on the mirroring client, which transmits the application's running screen to the receiving client in real time. If facial recognition is required during application operation, but the user is located on the receiving client and cannot perform facial recognition there (i.e., the mirroring client cannot obtain the user's facial image), the mirroring client sends a facial recognition request to the receiving client. Upon receiving the request, the receiving client activates its camera and acquires the camera data it captures. The receiving client then sends the camera data it captured to the mirroring client, thus enabling the mirroring client to obtain the camera data sent by the receiving client.

[0065] Furthermore, the receiving end can encode the camera data based on the H.264 standard and send it to the projection end. The projection end can then decode the received data based on the H.264 standard to obtain the camera data. H.264, also known as MPEG-4 Part 10, is a highly compressed digital video codec standard proposed by the Joint Video Team (JVT), a joint effort of the ITU-T Video Coding Experts Group (VCEG) and the ISO / IEC Moving Picture Experts Group (MPEG).

[0066] Step S20: Replace the data collected by the camera on the projection terminal with the camera data;

[0067] In this embodiment, since the application runs on the projection device, when the application needs to perform face recognition, it will activate the projection device's camera and perform face recognition based on the data collected by the projection device's camera. However, because it is a projection scenario and the user is located on the projected device, even if the projection device's camera is activated, it cannot capture the user's face image. Since the camera data sent by the projected device is obtained in step S10, the data collected by the projection device's camera can be directly replaced with this camera data. For example, the projection device can discard the data collected by its camera and mark the data sent by the projected device as the data collected by the projection device's camera.

[0068] Furthermore, in one embodiment, considering that the data collected by the camera on the projection end is invalid, the camera on the projection end can be controlled not to start when the application needs to perform face recognition.

[0069] Step S30: Send the camera data to the application on the screen projection terminal so that the application can perform face recognition based on the camera data.

[0070] In this embodiment, based on step S20, the data collected by the camera on the projection terminal is replaced with camera data. That is, at this point, applications running on the projection terminal that require camera data use the camera data sent by the projection terminal. After the camera data is sent to the applications on the projection terminal, the applications can perform face recognition based on the camera data.

[0071] In this embodiment, camera data sent by the target device is acquired; the data collected by the camera on the target device is replaced with the acquired camera data; and the camera data is sent to the application on the target device so that the application can perform facial recognition based on the camera data. Through this embodiment, when cloud-casting an application, the application on the target device performs facial recognition by acquiring the camera data sent by the target device, ensuring the normal operation of the application on the target device, thereby ensuring the normal operation of cloud-casting.

[0072] Furthermore, in one embodiment of the remote face recognition method of the present invention, step S10 includes:

[0073] The system obtains camera data sent by the projected device after converting the original camera data into a new format. The format of the camera data is a data format supported by the projected device.

[0074] In this embodiment, the computer is used as the projected device and the mobile phone is used as the projector. After the computer obtains the original camera data captured by its own camera, considering that the data format of the original camera data may not be supported by the mobile phone, it is necessary to convert the original camera data to a format supported by the projector before sending the camera data to the mobile phone.

[0075] Furthermore, in one embodiment of the remote face recognition method of the present invention, step S20 includes:

[0076] Modify the hook at the camera framework layer to allow the data collected by the projection device's camera to be replaced with the camera data.

[0077] In this embodiment, the projection client modifies the camera framework layer on its own end by making a hook, which changes the source of the camera data obtained by the application on the own end. Originally, the source was the data obtained by the camera on the own end. After the hook modification, the source is changed to the camera data sent by the projection client obtained by the projection client. This achieves the replacement of the data collected by the camera on the projection client with the camera data.

[0078] Furthermore, in one embodiment of the remote face recognition method of the present invention, step S30 includes:

[0079] The camera data is sent to the application being projected onto the screen.

[0080] In this embodiment, there may be multiple applications running on the projection device. During cloud projection, only the application being projected needs to use the camera data sent by the projection device. Therefore, only the camera data sent by the projection device is sent to the application being projected on the projection device. Specifically, when modifying the hook at the cameraframework layer on the projection device, only the source of the camera data obtained by the application being projected on the projection device needs to be modified.

[0081] Furthermore, the projected device transmits camera data to the projection device in frames based on a preset protocol, and the header format of the preset protocol is used to indicate the size of each frame of data.

[0082] In this embodiment, the device being projected transmits camera data to the projection device in frames based on a preset protocol, that is, one frame of image is sent each time. The protocol header format of the preset protocol is used to indicate the size of each frame of data. The projection device can calculate the number of bytes to be read based on the size of each frame of data. In this way, camera data can be transmitted to the projection device, and the projection device can acquire camera data according to the protocol header.

[0083] Furthermore, embodiments of the present invention also propose a computer-readable storage medium storing a remote face recognition program, which, when executed by a processor, performs the following steps:

[0084] Obtain camera data sent by the device being projected;

[0085] Replace the data collected by the camera on the projection terminal with the aforementioned camera data;

[0086] The camera data is sent to the application on the screen mirroring device so that the application can perform facial recognition based on the camera data.

[0087] Furthermore, when the remote face recognition program is executed by the processor, it also performs the following steps:

[0088] The system obtains camera data sent by the projected device after converting the original camera data into a new format. The format of the camera data is a data format supported by the projected device.

[0089] Furthermore, when the remote face recognition program is executed by the processor, it also performs the following steps:

[0090] Modify the hook at the camera framework layer to allow the data collected by the projection device's camera to be replaced with the camera data.

[0091] Furthermore, when the remote face recognition program is executed by the processor, it also performs the following steps:

[0092] The camera data is sent to the application being projected onto the screen.

[0093] Furthermore, when the remote face recognition program is executed by the processor, it also performs the following steps:

[0094] The device being projected transmits camera data to the projection device in frames based on a preset protocol. The header format of the preset protocol is used to indicate the size of each frame.

[0095] The specific embodiments of the computer-readable storage medium of the present invention are basically the same as the various embodiments of the remote face recognition method described above, and will not be repeated here.

[0096] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.

[0097] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0098] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0099] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.

Claims

1. A remote face recognition method, characterized in that, The remote face recognition method is applied to the screen projection terminal, and the remote face recognition method includes: The projecting device sends a face recognition request to the device being projected onto; The system obtains camera data sent by the projected device after converting the original camera data into a new format, wherein the format of the camera data is a data format supported by the projected device. Make hook modifications at the camera framework layer to replace the data collected by the projection terminal's camera with the aforementioned camera data, and discard the data collected by the projection terminal's camera. The camera data is sent to the application being projected onto the screen in the projection terminal, so that the application can perform facial recognition based on the camera data; The device being projected transmits camera data to the projection device in frames based on a preset protocol, and the header format of the preset protocol is used to indicate the size of each frame.

2. A screen projection terminal, characterized in that, The projection terminal includes: a memory, a processor, and a remote face recognition program stored in the memory and capable of running on the processor. When the remote face recognition program is executed by the processor, it implements the remote face recognition method as described in claim 1.

3. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a remote face recognition program, which, when executed by a processor, implements the steps of the remote face recognition method as described in claim 1.