Projection adjustment method, system and device based on image recognition and storage medium

Using image recognition technology to obtain user information and adjust the projector angle solves the problem of difficulty in automatically adjusting the screen projection position during multi-directional communication, achieving dynamic tracking of the screen projection position and improving user experience.

CN118694904APending Publication Date: 2024-09-24SHENZHEN ZHENHUO TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410747532.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

In multi-directional communication scenarios, it is difficult for the projector's projection position to automatically adjust as the speaker changes, causing inconvenience.

Method used

Image recognition technology is used to obtain the face and location information of users in the conference area, determine the current speaking user, and adjust the projection angle of the projector based on the location and head orientation information of non-speaking users to achieve dynamic adjustment of the projection screen position.

Benefits of technology

It realizes automatic adjustment of the projection position in multi-directional communication scenarios, reduces computing power requirements and energy consumption, and improves user experience and office efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000
    Figure 00000000_0000
Patent Text Reader

Abstract

The invention relates to the technical field of projectors, in particular to a projection adjustment method, system and device based on image recognition and a storage medium, and the method comprises the steps: obtaining the face image information, position image information and head orientation image information of each user in a preset region; judging whether a speaking user exists or not according to the facial image information; if the speaking user exists at the current moment, determining the speaking user as a first user, and determining other users except the first user as second users; judging whether the projection angle of the target projector corresponds to the position image information of the first user or not; and if the projection angle does not correspond to the user position image information of the first user, adjusting the projection angle of the target projector according to the position image information and the head orientation image information of the second user. According to the application, the beneficial effect that the screen projection position can be changed along with the change of a speaker in multi-directional communication can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of projectors, and in particular to a projection adjustment method, system, device and storage medium based on image recognition. Background Art

[0002] A projector is a device that can project images or videos onto a screen, wall or other medium. In actual use, projectors are widely used in a variety of office occasions. Together with the speaker's speech, they help the speaker better convey office matters to the audience and also help the audience understand the speech content. Generally speaking, for a speaker, both the audience's line of sight and the speaker's communication and interaction should be considered. Therefore, the projection position of the projector should be to the side and rear of the speaker so that all participants can comfortably see the content on the screen.

[0003] A projector may be used in a conference room, where multiple participants sit around a table and speak. This means that there is multi-directional communication. When there are multiple speakers taking turns to speak, the speakers are usually required to change seats to a position suitable for the speech, which is inconvenient. Based on this, how to make the projection position change with the change of speakers in multi-directional communication is a technical problem that needs to be solved urgently. Summary of the invention

[0004] The embodiments of the present application provide a projection adjustment method, system, device and storage medium based on image recognition, which can achieve the beneficial effect that the projection position can be changed as the speaker changes in multi-directional communication.

[0005] The first aspect of the present application provides a projection adjustment method based on image recognition: a projection adjustment method based on image recognition, applied to a target projector, the method comprising: Acquire user image information in a preset area, wherein the user image information includes facial image information, position image information, and head orientation image information of each user in the preset area; According to the facial image information, determining whether there is a speaking user at the current moment; If the speaking user exists at the current moment, determining the speaking user as the first user, and determining other users except the first user as the second user; Determining whether the projection angle of the target projector corresponds to the position image information of the first user; If the projection angle does not correspond to the user position image information of the first user, the projection angle of the target projector is adjusted according to the position image information and the head orientation image information of the second user.

[0006] By adopting the above technical solution, the user image information of all people in the preset area is obtained by image acquisition. First, the facial image information of each user is used to determine whether there is a speaking user at the current moment. If there is a speaking user, the speaking user is determined to be the first user, and the other users are the second users. It is also determined whether the projection position generated by the current projection angle is based on the first user. If not, the projection angle is adjusted, and the adjusted angle of the target projector is determined according to the position image and head orientation of the second user, thereby achieving the beneficial effect that the projection position can be changed with the change of the speaker in multi-directional communication.

[0007] Optionally, the step of adjusting the projection angle of the target projector according to the position image information and the head orientation image information of the second user includes: Preprocessing the position image information and the head orientation image information of the second user to obtain preprocessed position image information and the head orientation image information; The preprocessed position image information and head orientation image information are input into a target recognition model to obtain a projection angle adjustment result corresponding to the second user, wherein the target recognition model is obtained by pre-training a training sample set through a convolutional neural network, and the training sample set includes position image information and head orientation image information corresponding to each user of a plurality of users, and annotation information of the position image information and head orientation image information corresponding to each user.

[0008] By adopting the above-mentioned technical scheme, the obtained position image information and head orientation image information of the second user are preprocessed, including but not limited to color conversion, image cropping, rotation, scaling, enhancement, etc., so as to enhance their features, improve the quality and readability of the image, and lay a good foundation for subsequent image analysis and processing. The preprocessed image is then input into a pre-trained target recognition model to obtain the corresponding projection angle adjustment result, and the projection angle of the target projector is adjusted according to the result.

[0009] Optionally, the method further includes: determining, based on the facial image information of the first user, whether the first user has not spoken for a first preset time; If the first user does not speak for the first preset time, judging whether any of the second users speaks according to the facial image information of the second users; If any of the second users speaks, the first user is changed to adjust the corresponding second user to the first user, and the original first user is adjusted to the second user.

[0010] By adopting the above technical solution, after determining the first user, the facial image information of the first user can be continuously obtained, and the facial image information of the second user can be scanned only when the current first user is not speaking, to determine whether there is a second user who replaces the original first user, and make timely adjustments, so that multiple second users are scanned only when there is a change in the speech, reducing computing power requirements.

[0011] Optionally, after the step of changing the first user if any of the second users makes a speech, the method includes: determining a pre-adjustment angle difference of the target projector according to the changed position image information and head orientation image information of the second user; Determining whether the pre-adjustment angle difference is less than a preset angle adjustment threshold; If the pre-adjusted angle difference is less than the angle adjustment threshold, the current projection angle of the target projector is maintained.

[0012] By adopting the above technical solution, if there is a change between the first user and the second user, the pre-adjustment angle difference of the target projector is determined according to the position image information and head orientation image information of the changed second user, and it is judged whether the adjustment range is less than the preset angle adjustment threshold. If it is less, it means that the adjustment range is not large, and the original projection position can also be used, thereby reducing the number of unnecessary adjustments, reducing energy consumption and computing power requirements, and will not affect the user viewing experience due to frequent changes.

[0013] Optionally, the method further includes: Acquire preset first user image information, where the first user image information is standard facial image information corresponding to one or more potential first users; determining, according to the first user image information and the facial image information, one or more users in the preset area as potential first users; It is determined whether the speaking user exists among the potential first users according to the facial image information.

[0014] By adopting the above technical solution, the image information of the first user is pre-recorded, so that when acquiring facial image information of multiple users in a preset area, only images of persons who may become the first user are acquired, thereby reducing computing requirements, filtering out invalid information acquisition, and avoiding incorrect adjustment of the projector angle caused by misjudgment, thereby improving the user experience during use.

[0015] Optionally, after the step of obtaining preset first user image information, the method further includes: Obtaining the longest single speaking time preset by each user in the preset area; It is determined that the corresponding user whose longest single speech time exceeds the first time threshold is the potential first user.

[0016] By adopting the above technical solution, the longest single speaking time of each user can also be determined according to the pre-recorded speaking process. Only the user whose longest single speaking time exceeds the first time threshold will be identified as a potential first user, thereby avoiding the host and other people who often speak but do not need to project the screen from frequently interfering with the angle adjustment of the projector.

[0017] Optionally, after the step of adjusting the projection angle of the target projector, the method includes: Acquire the adjusted projection image; According to the adjusted projection image, determining whether the image distortion is lower than a preset image distortion threshold; If the image distortion is not lower than the image distortion threshold, the projection range coverage information of the target projector is obtained; and the projection settings are adjusted based on the image distortion, the projection coverage information and the head orientation image information of the second user until the image distortion is lower than the image distortion threshold.

[0018] By adopting the above technical solution, after determining the adjustment angle of the target projector, a preliminary screen projection is performed first, and the image distortion of the current projection result is determined based on the projection result. If the image distortion is too high, the projector settings are dynamically adjusted based on the image distortion, projection coverage information, and the second user's head direction image information, thereby achieving dynamic adjustment of the image clarity after the projection angle is adjusted.

[0019] A second aspect of the present application provides a projection adjustment system based on image recognition, comprising: A user image acquisition module, used to acquire user image information within a preset area, wherein the user image information includes facial image information, position image information, and head orientation image information of each user within the preset area; A speaking user judging module, used for judging whether there is a speaking user at the current moment according to the facial image information; A user role determination module, configured to determine that the speaking user is a first user if the speaking user exists at the current moment, and to determine that other users except the first user are second users; An adjustment demand determination module is used to determine whether the projection angle of the target projector corresponds to the position image information of the first user; The projection angle adjustment module is used to adjust the projection angle of the target projector according to the position image information and head orientation image information of the second user if the projection angle does not correspond to the user position image information of the first user.

[0020] A third aspect of the present application provides a device, including a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and execute the above-mentioned projection adjustment method based on image recognition.

[0021] A fourth aspect of the present application provides a storage medium storing a computer program that can be loaded by a processor and execute the above-mentioned projection adjustment method based on image recognition.

[0022] In summary, the present application includes at least one of the following beneficial effects: 1. Use image acquisition to obtain user image information of all people in the preset area, first determine whether there is a speaking user at the current moment through the facial image information of each user, if there is a speaking user, determine the speaking user as the first user, and the other users as the second users, and determine whether the projection position generated by the current projection angle is based on the first user. If not, adjust the projection angle, and determine the adjusted angle of the target projector according to the position image and head orientation of the second user, so as to achieve the beneficial effect that the projection position can change with the change of the speaker in multi-directional communication.

[0023] 2. After determining the first user, the facial image information of the first user can be continuously obtained, and the facial image information of the second user can be scanned only when the current first user is not speaking, to determine whether there is a second user who replaces the original first user, and make timely adjustments, so that multiple second users are scanned only when there is a change in the speech, reducing computing power requirements.

[0024] 3. If there is a change between the first user and the second user, the pre-adjustment angle difference of the target projector is determined according to the position image information and head orientation image information of the changed second user, and it is determined whether the adjustment range is less than the preset angle adjustment threshold. If it is less, it means that the adjustment range is not large, and the original projection position can also be used, thereby reducing the number of unnecessary adjustments, reducing energy consumption and computing power requirements, and will not affect the user viewing experience due to frequent changes. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 It is a flowchart of a projection adjustment method based on image recognition provided in an embodiment of the present application; Figure 2 It is a virtual structural schematic diagram of the projection adjustment system based on image recognition provided by the present application. DETAILED DESCRIPTION

[0026] The following examples will help those skilled in the art to further understand the effects of the present application, but are not intended to limit the present application in any form. It should be noted that, for those of ordinary skill in the art, several modifications and improvements may be made without departing from the concept of the present application. These all fall within the scope of protection of the present application.

[0027] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0028] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0029] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0030] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0031] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0032] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0033] In order to make the purpose, technical solution and advantages of the present application clearer, the projection adjustment method based on image recognition of the present application is described below from the perspective of a projection adjustment method device based on image recognition. The projection adjustment method device based on image recognition can be an electronic device, which can be, for example, a mobile phone terminal, a computer terminal or other device.

[0034] The present application is further described in detail below in conjunction with the accompanying drawings.

[0035] Reference Figure 1 , which is a flow chart of a projection adjustment method based on image recognition provided in an embodiment of the present application, includes the following steps, and each implementation step is specifically described below: In step S1, user image information in a preset area is obtained, wherein the user image information includes facial image information, position image information, and head orientation image information of each user in the preset area.

[0036] Specifically, the user image information includes but is not limited to facial image information, position image information, and head orientation image information of each user in a preset area. The preset area may be an indoor scene such as a conference room used for office work. One or more image acquisition devices such as cameras may be set up indoors. The image acquisition device may be associated with the target projector of the present application through a communication connection, or may be set in the target projector to communicate directly with the target projector.

[0037] More specifically, regarding the application of each image information, facial image information can be a facial feature image such as mouth movement, jaw movement, cheek movement, lip shape change and / or facial muscle tension, which can be used to determine whether the target is in a speaking state. The position image information can determine the distribution image of each user in the room, and can be combined with the user's head orientation to determine the appropriate projection angle in the subsequent process, so that the screen can be presented at an angle that meets the needs of all viewers as much as possible.

[0038] In step S2, it is determined whether there is a speaking user at the current moment based on the facial image information.

[0039] Specifically, based on the acquired facial image information and combined with the above-mentioned multiple facial image features, it is determined whether there is a unique speaking user. It is worth noting that when judging the speaking user, the difference between "speaking" and "whispering" should be distinguished. In one embodiment proposed in the present application, it is also possible to combine the target person's mouth opening degree, eye gaze, head tilt and other features to determine whether the target is in a "whispering" state, thereby avoiding the system from misjudging the speech and causing the subsequent incorrect adjustment of the projection angle.

[0040] Further, determining whether there is a speaking user may be performed according to a preset time period or continuously. In an embodiment provided in the present application, scanning may be performed after the original speaking user stops speaking. In this case, the speaking user is likely to be changed, which is described in detail below: determining, based on the facial image information of the first user, whether the first user has not spoken for a first preset time; If the first user does not speak for the first preset time, judging whether any of the second users speaks according to the facial image information of the second users; If any of the second users speaks, the first user is changed to adjust the corresponding second user to the first user, and the original first user is adjusted to the second user.

[0041] Specifically, the first user is the speaking user identified by the relevant system at the current moment, and the second user is other users except the speaking user, that is, the speaking audience and the projection audience. In the subsequent projection angle adjustment, the audience's perspective should be mainly used for adjustment. In use, the facial image information of the first user at the current moment can be continuously obtained to determine whether the current first user has not spoken for a first preset time. The first preset time can be set by the relevant management personnel. If the first user has not spoken for the first preset time, the right to speak may be given to one of the second users. At this time, if any second user takes over the speech, the position of the first user can be adjusted, and the projection angle can be adjusted accordingly.

[0042] Furthermore, in some office scenarios, there are certain meeting processes, and the persons who need to speak may be determined in advance. In this case, they can be entered in advance to avoid obtaining some invalid information and misjudging the first user. The following is a specific description: Acquire preset first user image information, where the first user image information is standard facial image information corresponding to one or more potential first users; determining, according to the first user image information and the facial image information, one or more users in the preset area as potential first users; It is determined whether the speaking user exists among the potential first users according to the facial image information.

[0043] Specifically, the first user image information is standard facial image information of one or more potential first users. The standard facial image information includes facial features of the corresponding person. The identity of the person in the image can be determined based on the facial features. For example, according to the meeting process, it is determined that three users A, B, and C among multiple users need to speak and report on work progress in turn. Then, users A, B, and C can be determined as potential first users who may switch.

[0044] More specifically, in determining the potential first user, the actual screen projection needs also need to be considered. For example, there may be a host in the office scene. The host does not need to adjust the screen projection, but only needs to host the process. However, the host also needs to speak frequently. In view of this situation, this application proposes a solution, which is described in detail below: Obtaining the longest single speaking time preset by each user in the preset area; It is determined that the corresponding user whose longest single speech time exceeds the first time threshold is the potential first user.

[0045] Specifically, the longest single speaking time among the users who need to speak is obtained. For users who need to speak frequently, such as hosts, the longest time among multiple speeches is used as the basis to determine the users who actually need to project the screen. The longest single speaking time can be entered by yourself according to relevant office processes, meeting processes, etc. The time can be pre-entered according to the estimated time or the specified time, and the first time threshold can be adjusted by relevant managers according to actual needs. In addition, the number of adjustments can also be set. For example, in a meeting, an upper limit on the number of adjustments for the first user can be set for certain users to avoid repeated adjustments, while there are no relevant restrictions for users who may need to use screen projection repeatedly.

[0046] In step S3, if the speaking user exists at the current moment, the speaking user is determined to be the first user, and the other users except the first user are determined to be the second users.

[0047] Specifically, based on scanning the facial image information of the potential first user, the former second user who replaced the previous first user is determined. It is worth noting that this process can add body image information to determine whether it is a new speaker to avoid misjudgment of automatic identification of the speaker.

[0048] In step S4, it is determined whether the projection angle of the target projector corresponds to the position image information of the first user.

[0049] Specifically, the projection angle of the target projector directly affects the projection position, and the projection position is based on the first user, that is, annotation information can be set correspondingly in the setting of a projection angle, and the annotation information should be linked to the position of a user. In actual use, there may be a situation where the changed first user directly exchanges positions with the original first user. For the sake of intelligence, the projection position should be checked before subsequent adjustments to prevent incorrect adjustments to the projection angle and affect the office experience.

[0050] In step S5, if the projection angle does not correspond to the user position image information of the first user, the projection angle of the target projector is adjusted according to the position image information and the head orientation image information of the second user.

[0051] Specifically, if it is determined that the current projection angle does not match the position of the changed first user, it is determined to start the projection position adjustment. During the adjustment, the projection position suitable for most of the second users is determined according to the position image information, head orientation image information and other information of all the second users, so as to adjust the projection angle of the target projector. In one embodiment of the present application, the model can be combined for evaluation, which is specifically described below: Preprocessing the position image information and the head orientation image information of the second user to obtain preprocessed position image information and the head orientation image information; The preprocessed position image information and head orientation image information are input into a target recognition model to obtain a projection angle adjustment result corresponding to the second user, wherein the target recognition model is obtained by pre-training a training sample set through a convolutional neural network, and the training sample set includes position image information and head orientation image information corresponding to each user of a plurality of users, and annotation information of the position image information and head orientation image information corresponding to each user.

[0052] Specifically, the obtained position image information and head orientation image information of the second user are preprocessed, including but not limited to color conversion, image cropping, rotation, scaling, enhancement, etc., so as to enhance their features, improve the quality and readability of the image, and lay a good foundation for subsequent image analysis and processing. The preprocessed image is then input into a pre-trained target recognition model to obtain the corresponding projection angle adjustment result, and the projection angle of the target projector is adjusted according to the result.

[0053] More specifically, the objective function can be expressed as follows: Specifically, n is the number of second users, pi refers to the distribution position of the i-th second user, Covered(pi) is the projection range coverage measurement function, which is used to indicate whether the second user pi is within the projection range. This function usually takes a value of 0 or 1. If the viewer pi is within the projection range, Covered(pi) = 1; if not, Covered(pi) = 0. TextWeight(pi) is the weight factor of the head orientation, which is used to measure the impact of the head orientation of the viewer pi on the objective function. This weight factor may have different values ​​depending on the head orientation of the second user, reflecting the impact of different orientations on the viewing experience. The objective function J calculates the degree to which all second user positions pi are covered by the projection range and the sum of the impact of their head orientations. By maximizing this objective function, the projection position can be optimized to achieve the best coverage effect and audience satisfaction.

[0054] Further, after determining the projection angle corresponding to the changed first user, it can be compared with the previous projection angle. If the original projection position can also meet the changed projection requirements, for example, the seats of the two first users in front and behind are adjacent, in this case, the angle adjustment can be canceled. The following is a specific explanation: determining a pre-adjustment angle difference of the target projector according to the changed position image information and head orientation image information of the second user; Determining whether the pre-adjustment angle difference is less than a preset angle adjustment threshold; If the pre-adjusted angle difference is less than the angle adjustment threshold, the current projection angle of the target projector is maintained.

[0055] Specifically, the angle adjustment threshold can be set by relevant managers or automatically adjusted through machine learning. The pre-adjusted angle difference refers to the angle of the projector adjusted accordingly as the first user changes, compared with the angle before adjustment. If the angle difference is less than the angle adjustment threshold, it is determined that no adjustment is required, thereby improving office efficiency and reducing energy consumption requirements.

[0056] Furthermore, after determining to adjust the projection screen, due to many reasons such as the projected medium, light, material, etc., the clarity of the projection content may be distorted. At this time, some settings of the projector may need to be adjusted to correct the projection effect. The following is a specific description of the correction of the projection effect: Acquire the adjusted projection image; According to the adjusted projection image, determining whether the image distortion is lower than a preset image distortion threshold; If the image distortion is not lower than the image distortion threshold, the projection range coverage information of the target projector is obtained; and the projection settings are adjusted based on the image distortion, the projection coverage information and the head orientation image information of the second user until the image distortion is lower than the image distortion threshold.

[0057] Specifically, the adjusted projection image is obtained through a related image acquisition device, and image recognition is used to determine the image distortion of the current projection image. The image distortion can be a feature comparison with the effect that should be presented in the device. The more similar, the lower the image distortion. If the image distortion is not lower than the image distortion threshold, it is determined that image correction is required. The image correction needs to be adjusted according to the projection range coverage information of the target projector and the head orientation of the second user that needs to be taken into account. In the present application, an objective function can also be used for adjustment, and the objective function is: Correction function = α × image distortion measure + β × text projection range coverage measure + γ × head orientation consideration, where α is the weight factor of the image distortion measure, β is the weight factor of the projection range coverage measure, and γ is the weight factor of the head orientation consideration. These weight factors are used to adjust the influence of each indicator in the objective function so as to optimize the projection effect according to actual scenarios and needs. The projection range coverage measure takes into account the audience's position distribution, with the aim of maximizing the number of viewers covered by the projected image.

[0058] On the other hand, the present application discloses a projection adjustment system based on image recognition, see Figure 2 , Figure 2 : is a virtual structural diagram of a projection adjustment system based on image recognition provided by the present application, and the projection adjustment system based on image recognition includes: The user image acquisition module 100 is used to acquire user image information within a preset area, wherein the user image information includes facial image information, position image information, and head orientation image information of each user within the preset area; The speaking user judging module 200 is used to judge whether there is a speaking user at the current moment according to the facial image information; the user role determining module 300 is used to determine that the speaking user is the first user if there is the speaking user at the current moment, and determine that other users except the first user are the second users; An adjustment demand determination module 400 is used to determine whether the projection angle of the target projector corresponds to the position image information of the first user; The projection angle adjustment module 500 is used to adjust the projection angle of the target projector according to the position image information and head orientation image information of the second user if the projection angle does not correspond to the user position image information of the first user. For the specific definition of the projection adjustment system based on image recognition, please refer to the definition of the projection adjustment method based on image recognition above, which will not be repeated here. Each module in the above-mentioned projection adjustment system based on image recognition can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules.

[0059] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0060] The projection adjustment method based on image recognition provided in the embodiment of the present application can be applied to terminal devices such as electronic devices, computers, wearable devices, vehicle-mounted devices, tablet computers, laptop computers, netbooks, personal digital assistants (PDA), augmented reality (AR) / virtual reality (VR) devices, mobile phones, etc. The embodiment of the present application does not impose any restrictions on the specific type of terminal devices.

[0061] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in each embodiment of the above method can be implemented.

[0062] An embodiment of the present application provides a computer program product. When the computer program product runs on a mobile terminal, the mobile terminal can implement the steps in each embodiment of the above method when executing the computer program product.

[0063] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the camera / terminal device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0064] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0065] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0066] In the embodiments provided in the present application, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0067] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0068] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. 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 make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A projection adjustment method based on image recognition, characterized in that: Applied to a target projector, the method comprises: Acquire user image information in a preset area, wherein the user image information includes facial image information, position image information, and head orientation image information of each user in the preset area; According to the facial image information, determining whether there is a speaking user at the current moment; If the speaking user exists at the current moment, determining the speaking user as the first user, and determining other users except the first user as the second user; Determining whether the projection angle of the target projector corresponds to the position image information of the first user; If the projection angle does not correspond to the user position image information of the first user, the projection angle of the target projector is adjusted according to the position image information and the head orientation image information of the second user.

2. The projection adjustment method based on image recognition according to claim 1, characterized in that: The step of adjusting the projection angle of the target projector according to the position image information and the head orientation image information of the second user comprises: Preprocessing the position image information and the head orientation image information of the second user to obtain preprocessed position image information and the head orientation image information; The preprocessed position image information and head orientation image information are input into a target recognition model to obtain a projection angle adjustment result corresponding to the second user, wherein the target recognition model is obtained by pre-training a training sample set through a convolutional neural network, and the training sample set includes position image information and head orientation image information corresponding to each user of a plurality of users, and annotation information of the position image information and head orientation image information corresponding to each user.

3. The projection adjustment method based on image recognition according to claim 1, characterized in that: The method further comprises: determining, based on the facial image information of the first user, whether the first user has not spoken for a first preset time; If the first user does not speak for the first preset time, judging whether any of the second users speaks according to the facial image information of the second users; If any of the second users speaks, the first user is changed to adjust the corresponding second user to the first user, and the original first user is adjusted to the second user.

4. The projection adjustment method based on image recognition according to claim 3, characterized in that: After the step of changing the first user if any of the second users speaks, the method includes: determining a pre-adjustment angle difference of the target projector according to the changed position image information and head orientation image information of the second user; Determining whether the pre-adjustment angle difference is less than a preset angle adjustment threshold; If the pre-adjusted angle difference is less than the angle adjustment threshold, the current projection angle of the target projector is maintained.

5. The projection adjustment method based on image recognition according to claim 3, characterized in that: The method further comprises: Acquire preset first user image information, where the first user image information is standard facial image information corresponding to one or more potential first users; determining, according to the first user image information and the facial image information, one or more users in the preset area as potential first users; It is determined whether the speaking user exists among the potential first users according to the facial image information.

6. The projection adjustment method based on image recognition according to claim 5, characterized in that: After the step of obtaining the preset first user image information, the method further includes: Obtaining the longest single speaking time preset by each user in the preset area; It is determined that the corresponding user whose longest single speech time exceeds the first time threshold is the potential first user.

7. The projection adjustment method based on image recognition according to claim 1, characterized in that: After the step of adjusting the projection angle of the target projector, the method comprises: Acquire the adjusted projection image; According to the adjusted projection image, determining whether the image distortion is lower than a preset image distortion threshold; If the image distortion is not lower than the image distortion threshold, obtaining the projection range coverage information of the target projector; In combination with the image distortion, the projection coverage information, and the head orientation image information of the second user, projection settings are adjusted until the image distortion is lower than the image distortion threshold.

8. The projection adjustment system based on image recognition is characterized in that: include: A user image acquisition module, used to acquire user image information within a preset area, wherein the user image information includes facial image information, position image information, and head orientation image information of each user within the preset area; A speaking user judging module, used for judging whether there is a speaking user at the current moment according to the facial image information; A user role determination module, configured to determine that the speaking user is a first user if the speaking user exists at the current moment, and to determine that other users except the first user are second users; An adjustment demand determination module is used to determine whether the projection angle of the target projector corresponds to the position image information of the first user; The projection angle adjustment module is used to adjust the projection angle of the target projector according to the position image information and head orientation image information of the second user if the projection angle does not correspond to the user position image information of the first user.

9. An electronic device, characterized in that: The invention comprises a memory and a processor, wherein the memory stores a computer program which can be loaded by the processor and executes the projection adjustment method based on image recognition as described in any one of claims 1 to 7.

10. A storage medium, characterized in that: A computer program is stored which can be loaded by a processor and execute the projection adjustment method based on image recognition as described in any one of claims 1 to 7.