Intelligent rotation method, device and computer equipment for multimedia playback device
By determining the user's first and second eye position information in the multimedia playback device and dynamically rotating the device, the problem of poor viewing experience caused by the device's inability to rotate flexibly is solved, and a better user experience is achieved.
Patent Information
- Application Number
- CN202110488384.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-06
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2041-05-06
AI Technical Summary
The multimedia playback device cannot rotate flexibly without manual intervention, resulting in poor viewing experience for users.
By determining the user's first and second eye position information, the multimedia playback device is rotated based on this information to ensure that the user has the best viewing angle.
It improves the user's viewing experience, and dynamically adjusts the angle of the playback device to adapt to the user's movement and position changes, providing a more flexible and comfortable viewing experience.
Smart Images

Figure CN113221713B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of multimedia playback equipment, and in particular to an intelligent rotation method, device and computer equipment for multimedia playback equipment. Background Art
[0002] With the rapid development of information technology, we have entered an era of information bombardment. Multimedia playback devices can deliver a lot of information to people, making people's lives increasingly colorful.
[0003] During the research and practice of related technologies, the inventors of the present application discovered that when current multimedia playback devices play various types of content, without manual intervention, the multimedia playback devices can only play content in a fixed direction and cannot rotate flexibly, which results in a poor viewing experience for people when watching content played by the multimedia playback devices. Summary of the invention
[0004] The embodiments of the present application provide a method, apparatus and computer device for intelligently rotating a multimedia playback device, which can flexibly rotate the multimedia playback device by determining the viewing position of the user, so that the user can have a better viewing angle and improve the user's viewing experience.
[0005] The embodiment of the present application provides an intelligent rotation method for a multimedia playback device, including:
[0006] Determine the first eye position information of the target user corresponding to the current multimedia playback device;
[0007] When it is detected that the target user moves, determining second eye position information after the target user moves;
[0008] The multimedia playback device is rotated based on the first human eye position information and the second human eye position information.
[0009] Accordingly, an embodiment of the present application provides an intelligent rotation device for a multimedia playback device, comprising:
[0010] A first information determining unit, used to determine first eye position information of a target user corresponding to a current multimedia playback device;
[0011] A second information determining unit, configured to determine second eye position information of the target user after the target user moves when it is detected that the target user moves;
[0012] A rotation unit is used to rotate the multimedia playback device based on the first human eye position information and the second human eye position information.
[0013] In one embodiment, the first information determining unit includes:
[0014] An acquisition subunit, used for acquiring a first image of a preset area opposite to the current multimedia playback device;
[0015] The information recognition subunit is used to recognize the face information of the target user in the first image and determine the first eye position information of the target user.
[0016] In one implementation, the rotating unit comprises:
[0017] an angle determination subunit, configured to determine an angle to be rotated of the multimedia playback device based on the first human eye position information and the second human eye position information;
[0018] The rotating subunit is used to rotate the multimedia playback device according to the angle to be rotated.
[0019] In one embodiment, the angle determination subunit is further used to determine the moving distance of the target user based on the first eye position information and the second face position information; obtain the viewing distance from the multimedia playback device to the target user before the target user moves; and calculate the rotation angle of the multimedia playback device based on the moving distance and the viewing distance.
[0020] In one embodiment, the intelligent rotating device of the multimedia playback device further includes:
[0021] a position determination unit, used to determine a ratio of a distance between a position of the target user after the target user moves and two sides of the first image, wherein the position after the target user moves is a position corresponding to the second eye position information;
[0022] The angle maintaining unit is used to maintain the playing angle of the multimedia playing device unchanged and not to rotate the multimedia playing device when the distance ratio is within a preset distance ratio range.
[0023] In one embodiment, the intelligent rotating device of the multimedia playback device further includes:
[0024] A first acquisition unit, configured to acquire a second image of the viewing area when it is detected that a corresponding viewing area of the multimedia playback device includes a plurality of viewing users;
[0025] An information recognition unit is used to recognize the facial information of the plurality of movie-watching users in the second image, and determine the viewing eye position information of two target movie-watching users at two ends of the second image;
[0026] The adjustment unit is used to adjust the rotation angle of the multimedia playback device when it is detected that the viewer's eye position information has changed, so that the ratio of the distances between the two target viewers and the two sides of the third image is within the preset distance ratio range, and the third image is an image of the viewing area after the viewer's eye position has changed.
[0027] In one embodiment, the intelligent rotating device of the multimedia playback device further includes:
[0028] A second acquisition unit is used to acquire video contents of a plurality of target videos watched by the target user and a viewing time of each target video, wherein the target video is a video played by the multimedia playback device;
[0029] A content recommendation unit is used to recommend content to the target user through the multimedia video playback device based on the video content and the viewing time.
[0030] In one embodiment, the intelligent rotating device of the multimedia playback device further includes:
[0031] A receiving unit, configured to receive a control instruction of a current user when multiple users have control authority over the multimedia playback device;
[0032] A collection unit, used to collect user information of the current user, wherein the user information includes user face information and user voice information;
[0033] A control unit is used to control the multimedia playback device based on the control instruction when the user face information and the user voice information match the preset face information and preset voice in the user authority database.
[0034] Correspondingly, an embodiment of the present application also provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the steps in the intelligent rotation method of a multimedia playback device provided in any embodiment of the present application.
[0035] Correspondingly, an embodiment of the present application further provides a storage medium, which stores multiple instructions, and the instructions are suitable for loading by a processor to execute the steps in the intelligent rotation method of a multimedia playback device provided in any embodiment of the present application.
[0036] The embodiment of the present application can determine the first eye position information of the target user corresponding to the current multimedia playback device; then, when the target user is detected to have moved, the second eye position information after the target user has moved is determined; finally, based on the first eye position information and the second eye position information, the multimedia playback device is rotated. This solution can rotate the multimedia playback device accordingly by determining the viewing position information after the user moves, that is, the eye position information after the user moves. For example, the rotation angle that the multimedia playback device needs to rotate accordingly can be determined based on the eye position information after the movement, and then the multimedia playback device can be flexibly rotated according to the rotation angle, so that the user can have a better viewing angle and improve the user's viewing experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0038] Figure 1 is a schematic diagram of a scenario of an intelligent rotation method for a multimedia playback device provided in an embodiment of the present application;
[0039] Figure 2a is a flow chart of a method for intelligently rotating a multimedia playback device provided in an embodiment of the present application;
[0040] Figure 2b is an image diagram of an intelligent rotation method for a multimedia playback device provided in an embodiment of the present application;
[0041] Figure 2c is another image diagram of the intelligent rotation method of the multimedia playback device provided in an embodiment of the present application;
[0042] Figure 2d is another image diagram of the intelligent rotation method of the multimedia playback device provided in an embodiment of the present application;
[0043] Figure 2e is another image diagram of the intelligent rotation method of the multimedia playback device provided in an embodiment of the present application;
[0044] Figure 3a is a device diagram of an intelligent rotation method for a multimedia playback device provided in an embodiment of the present application;
[0045] Figure 3b is another device diagram of the intelligent rotation method of the multimedia playback device provided in an embodiment of the present application;
[0046] Figure 3c is another device diagram of the intelligent rotation method of the multimedia playback device provided in an embodiment of the present application;
[0047] Figure 4 It is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.
[0049] The embodiments of the present application provide a method, device, computer device and storage medium for intelligent rotation of a multimedia playback device. Specifically, the embodiments of the present application provide an intelligent rotation device for a multimedia playback device suitable for a computer device. The computer device may be a terminal or a server or other device, and the server may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. The terminal may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited thereto. The terminal and the server may be directly or indirectly connected via wired or wireless communication, which is not limited in the present application.
[0050] refer to Figure 1 Taking a computer device as a server as an example, the server can determine the first eye position information of the target user corresponding to the current multimedia playback device; when it is detected that the target user moves, the second eye position information of the target user after the movement is determined; based on the first eye position information and the second eye position information, the multimedia playback device is rotated.
[0051] From the above, it can be seen that the embodiments of the present application can rotate the multimedia playback device accordingly by determining the viewing position information of the user after movement, that is, the eye position information of the user after movement. For example, the rotation angle of the multimedia playback device that needs to be rotated accordingly can be determined based on the eye position information after movement, and then the multimedia playback device can be flexibly rotated according to the rotation angle, so that the user can have a better viewing angle and the user's viewing experience can be improved.
[0052] The present embodiments may be described in detail below. It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments.
[0053] The embodiment of the present application provides a method for intelligently rotating a multimedia player, which can be executed by a terminal or a server, or by both the terminal and the server. The embodiment of the present application takes the method for intelligently rotating a multimedia player as an example, and specifically, the method is executed by an intelligent rotating device of the multimedia player integrated in the server. Figure 2a As shown, the specific process of the intelligent rotation method of the multimedia playback device can be as follows:
[0054] 201. Determine first eye position information of a target user corresponding to a current multimedia playback device.
[0055] The multimedia playback device is a playback device that plays various videos, images, audios and other contents. For example, the multimedia playback device can be a television, a computer, a projector and other devices.
[0056] Among them, the first eye position information includes information about the position of the target user's eyes. For example, a camera can be installed on the top of the display of the multimedia playback device. The target user opposite the current multimedia playback device is photographed by the camera to obtain a first image, and then face recognition is performed on the image to determine the position of the target user's eyes, thereby obtaining the first eye position information of the target user.
[0057] In one embodiment, in order to determine the eye position information of the target user, face recognition may be performed on an image containing the target user. Specifically, the step of “determining the first eye position information of the target user corresponding to the current multimedia playback device” includes:
[0058] Acquire a first image of a preset area opposite to the current multimedia playback device;
[0059] Identify the face information of the target user in the first image and determine the first eye position information of the target user.
[0060] The preset area may be an area opposite to the current multimedia playback device, for example, an area captured by a camera in the multimedia playback device, and the area may include a user image of a user watching a video.
[0061] In one example, a television is used as an example of a multimedia playback device. Nowadays, televisions are placed at fixed angles, but the sofas in the living room are placed in a wide position. When viewers watch TV at different angles, the TV picture cannot face the viewer, resulting in a poor viewing experience. At this time, a camera can be installed on the top of the TV monitor, and a controllable horizontally rotating platform is added to the base of the TV. An image processor is added to connect the camera and the rotating platform. The image processor processes the collected real-time images, performs face detection, analyzes the location information of the viewer (e.g., target user), and then calculates the rotation angle of the platform and controls the rotation of the platform to put the viewer at the best viewing angle.
[0062] Among them, when a small movement of the viewer is detected, for example, the movement distance is within the preset allowable movement range, it is not necessary to calculate the rotation angle of the platform and control the rotation of the platform. When a large movement of the viewer is detected, for example, the movement distance is not within the preset allowable movement range, the rotation angle of the platform must be calculated and the rotation of the platform must be controlled.
[0063] In another example, taking the multimedia playback device as a television as an example, the first image of the preset area opposite to the current multimedia playback device can be obtained as follows: Figure 2b As shown, the rectangle in the figure represents the range of the image captured by the camera device in the multimedia playback device, the target user in the middle represents the user within the field of view of the camera device, the distance a and the distance b represent the distance from the target user to the edge, the first image includes the target user, and face recognition is performed on the first image, and the first eye position information of the target user can be determined based on the recognition result.
[0064] Among them, face recognition is performed on the first image to identify the face in the first image, and then the eye area of the face is initially located, noise is removed, and the eyes are accurately located, so as to obtain the first eye position information of the target user in the first image.
[0065] 202. When it is detected that the target user moves, determine second eye position information after the target user moves.
[0066] Among them, the second eye position information includes information about the position of the target user's eyes after the target user moves. For example, a camera can be installed on the top of the display of the multimedia playback device, and a second image of the target user after the target user moves is captured by the camera. Then, face recognition is performed on the second image to determine the position of the target user's eyes after the target user moves, thereby obtaining the second eye position information of the target user.
[0067] The target user can move in any direction, for example Figure 2cAs shown, the target user can move toward the direction of C1, can move toward the direction of C2, can also move toward the direction between C1 and C2, and so on.
[0068] In one embodiment, in order to avoid frequent rotation of the multimedia playback device caused by face shaking error, when the distance moved by the target user is within the allowable error range, the multimedia playback device may not be rotated. Specifically, the intelligent rotation method of the multimedia playback device may further include:
[0069] Determine the ratio of the distance between the position of the target user after the user moves and the two sides of the first image, the position after the user moves being the position corresponding to the second eye position information;
[0070] When the distance ratio is within a preset distance ratio range, the playback angle of the multimedia playback device is kept unchanged, and the multimedia playback device is not rotated.
[0071] Among them, the distance ratio is the ratio of the distance to one side of the first image and the distance to the other side of the first image after the target user moves. When the distance ratio is within the preset distance ratio range, it means that the distance moved by the target user is within the allowable error range, so the multimedia playback device will not rotate at this time, and frequent movement of the multimedia playback device caused by the error of slight movement of the target user can be avoided.
[0072] In one example, a multimedia playback device is taken as a television set for example. Figure 2d As shown, the target user has moved from the position before the movement to the later position as shown in the figure. If, after the target user moves to the later position, the ratio of the distance of the target user to the left side of the first image to the distance to the right side of the first image, that is, the ratio of distance a to distance b, is within a preset distance ratio range (for example, the preset distance ratio range can be 0.9 to 1.1, that is, the ratio of distance a to distance b is between 0.9 and 1.1), then the playback angle of the multimedia playback device can be kept unchanged, and the multimedia playback device will not be rotated.
[0073] Among them, if after the target user moves to the moved position, the ratio of the distance from the target user to the left side of the first image to the distance to the right side of the first image, that is, the ratio between distance a and distance b, is not within the preset distance ratio range, the rotation angle of the multimedia playback device can be adjusted so that the distance between the two sides of the image reached by the target user after the moved position captured by the camera device in the multimedia playback device is within the preset distance ratio range.
[0074] 203. Rotate the multimedia playback device based on the first eye position information and the second eye position information.
[0075] Rotation refers to rotating the multimedia playback device according to the position of the target user's eyes, so that the target user has a good angle to watch the content played by the multimedia playback device, which can improve the user's viewing experience.
[0076] In one embodiment, in order to optimize the viewing angle of the content played by the multimedia playback device for the user, the multimedia playback device may be rotated accordingly by determining the position information of the user. The step of “rotating the multimedia playback device based on the first eye position information and the second eye position information” may include:
[0077] Determining a rotation angle of the multimedia playback device based on the first eye position information and the second eye position information;
[0078] Rotate the multimedia player according to the desired rotation angle.
[0079] In one example, the longitude and latitude information of the target user before moving and the longitude and latitude information of the target user after moving can also be determined based on the first eye position information and the second eye position information. The rotation angle of the multimedia playback device to be rotated is calculated based on these two longitude and latitude information and the current longitude and latitude information of the multimedia playback device. Finally, the multimedia playback device is rotated according to the calculated rotation angle, so that the target user can have a good visual angle to watch the content played by the multimedia playback device.
[0080] In one embodiment, in order to optimize the viewing angle of the content played by the multimedia playback device for the user, the multimedia playback device may be rotated accordingly by determining the position information of the user. Specifically, the detailed process of the step of "determining the angle to be rotated of the multimedia playback device based on the first eye position information and the second eye position information" may include:
[0081] Determine a moving distance of the target user based on the first eye position information and the second face position information;
[0082] Obtaining the viewing distance from the multimedia playback device to the target user before the target user moves;
[0083] Based on the moving distance and the viewing distance, the angle to be rotated of the multimedia playback device is calculated.
[0084] In one example, the moving distance of the target user and the distance from the multimedia playback device to the target user before the user moves are determined. There are multiple algorithms to calculate the rotation angle of the multimedia playback device. Here is one example to illustrate. For example, knowing the two distances, the relevant trigonometric functions can be used to calculate the angle value of the rotation angle.
[0085] In one embodiment, in order to improve the viewing experience of users, when there are multiple users watching the content played by the multimedia playback device, the location information of the users at two end points can be determined. When the positions of the users at the two end points move, the multimedia playback device is rotated accordingly. Specifically, the intelligent rotation method of the multimedia playback device can also include:
[0086] When it is detected that a corresponding viewing area of the multimedia playback device includes a plurality of viewing users, acquiring a second image of the viewing area;
[0087] Recognize facial information of multiple movie-watching users in the second image, and determine viewing eye position information of two target movie-watching users at two ends of the second image;
[0088] When it is detected that the viewer's eye position information has changed, the rotation angle of the multimedia playback device is adjusted so that the ratio of the distances between the two target viewers and the two sides of the third image is within a preset distance ratio range, and the third image is an image of the viewing area after the viewer's eye position has changed.
[0089] The viewing area refers to the area opposite to the multimedia playback device, and the range that can be captured by the camera device in the multimedia playback device is the range where the area is located.
[0090] In one example, when there are multiple viewers watching content played by a multimedia player, a second image containing multiple viewers can be obtained, face information in the second image can be identified, and the viewer eye position information of each viewer can be determined. When at least one viewer is detected to move, the viewer eye position information of each viewer after the movement is obtained, such as Figure 2e As shown, Figure 2e The positions of the viewers are the positions after the viewers move, and the distances from the eyes of the viewers at both ends of the viewers to the two sides of the image are determined, that is, Figure 2e The distance c and the distance d in the figure are used to determine whether to adjust the rotation angle of the multimedia playback device according to the ratio between the distance c and the distance d.
[0091] Among them, when the ratio between the distance c and the distance d is within the preset distance ratio range, the playback angle of the multimedia playback device is kept unchanged and the multimedia playback device is not rotated. When the ratio between the distance c and the distance d is not within the preset distance ratio range, the rotation angle of the multimedia playback device is adjusted so that the ratio of the distances between the two sides of the image captured by the camera device from the viewing users at both ends is within the preset distance ratio range.
[0092] In one embodiment, for the user's viewing experience, the user's viewing preference may be determined by analyzing the content watched by the user, and then content recommendation may be performed. Specifically, the intelligent rotation method of the multimedia playback device may also include:
[0093] Obtaining video contents of multiple target videos watched by a target user and the viewing time of each target video, where the target video is a video played by a multimedia playback device;
[0094] Based on video content and viewing time, content recommendations are made to target users through multimedia video playback devices.
[0095] In one example, taking a television as an example of a multimedia playback device, the program content of the TV programs watched by the target user, the viewing time of different TV programs, and the frequency of changing channels can be obtained to determine the viewing preferences of the target user, and then recommend TV programs, items, and other content that may be preferred to the target user.
[0096] In one embodiment, in order to more intelligently control the multimedia playback device, the control authority of the multimedia playback device may be set. Specifically, the intelligent rotation method of the multimedia playback device may further include:
[0097] When multiple users have control authority over the multimedia playback device, receiving a control instruction from the current user;
[0098] Collect the user information of the current user, including the user's face information and the user's voice information;
[0099] When the user face information and the user voice information match the preset face information and the preset voice in the user authority database, the multimedia playback device is controlled based on the control instruction.
[0100] In one example, users who have control authority over the multimedia playback device can be set in advance, and facial image information and voice information of these users can be collected and stored in a user authority database. Only users with control authority can control the multimedia playback device. For example, these users with control authority can switch the content played by the multimedia playback device through voice commands (for example, if the content is "play current news", the content currently played by the multimedia playback device can be switched to current news), and can rotate the angle of the multimedia playback device through voice commands, etc.
[0101] From the above, it can be seen that the embodiments of the present application can rotate the multimedia playback device accordingly by determining the viewing position information of the user after movement, that is, the eye position information of the user after movement. For example, the rotation angle of the multimedia playback device that needs to be rotated accordingly can be determined based on the eye position information after movement, and then the multimedia playback device can be flexibly rotated according to the rotation angle, so that the user can have a better viewing angle and the user's viewing experience can be improved.
[0102] In order to better implement the above method, accordingly, the embodiment of the present application also provides an intelligent rotation device for a multimedia playback device, wherein the intelligent rotation device for the multimedia playback device can be specifically integrated in a server, referring to Figure 3a , the intelligent rotation device of the multimedia playback device may include a first information determination unit 301, a second information determination unit 302 and a rotation unit 303, as follows:
[0103] (1) a first information determining unit 301;
[0104] The first information determining unit 301 is used to determine the first eye position information of the target user corresponding to the current multimedia playback device.
[0105] In one embodiment, if Figure 3b As shown, the first information determination unit 301 includes:
[0106] An acquisition subunit 3011 is used to acquire a first image of a preset area opposite to the current multimedia playback device;
[0107] The information recognition subunit 3012 is used to recognize the facial information of the target user in the first image and determine the first eye position information of the target user.
[0108] (1) a second information determining unit 302;
[0109] The second information determining unit 302 is used to determine the second eye position information of the target user after the target user moves when it is detected that the target user moves.
[0110] (3) Rotation unit 303;
[0111] The rotation unit 303 is used to rotate the multimedia playback device based on the first eye position information and the second eye position information.
[0112] In one implementation, if Figure 3c As shown, the rotating unit 303 includes:
[0113] Angle determination subunit 3031, used to determine the angle to be rotated of the multimedia playback device based on the first eye position information and the second eye position information;
[0114] The rotation subunit 3032 is used to rotate the multimedia playback device according to the desired rotation angle.
[0115] In one embodiment, the angle determination subunit 3031 is also used to determine the moving distance of the target user based on the first eye position information and the second face position information; obtain the viewing distance from the multimedia playback device to the target user before the target user moves; and calculate the rotation angle of the multimedia playback device based on the moving distance and the viewing distance.
[0116] In one embodiment, the intelligent rotating device of the multimedia playback device further includes:
[0117] A position determination unit 304 is used to determine the ratio of the distance between the target user's position after the target user moves and the two sides of the first image, wherein the position after the target user moves is the position corresponding to the second eye position information;
[0118] The angle maintaining unit 305 is used to maintain the playing angle of the multimedia playing device unchanged and not to rotate the multimedia playing device when the distance ratio is within a preset distance ratio range.
[0119] In one embodiment, the intelligent rotating device of the multimedia playback device further includes:
[0120] A first acquisition unit 306 is configured to acquire a second image of the viewing area when it is detected that the viewing area corresponding to the multimedia playback device includes a plurality of viewing users;
[0121] The information recognition unit 307 is used to recognize the facial information of multiple movie-watching users in the second image, and determine the viewing eye position information of two target movie-watching users at two ends of the second image;
[0122] The adjustment unit 308 is used to adjust the rotation angle of the multimedia playback device when it is detected that the viewer's eye position information has changed, so that the ratio of the distances between the two target viewers and the two sides of the third image is within a preset distance ratio range, and the third image is an image of the viewing area after the viewer's eye position has changed.
[0123] In one embodiment, the intelligent rotating device of the multimedia playback device further includes:
[0124] A second acquisition unit 309 is used to acquire video contents of multiple target videos watched by a target user and a viewing time of each target video, where the target video is a video played by a multimedia playback device;
[0125] The content recommendation unit 310 is used to recommend content to target users through a multimedia video playback device based on video content and viewing time.
[0126] In one embodiment, the intelligent rotating device of the multimedia playback device further includes:
[0127] The receiving unit 311 is used to receive the control instruction of the current user when multiple users have the control authority of the multimedia playback device;
[0128] The collecting unit 312 is used to collect the user information of the current user, where the user information includes the user face information and the user voice information;
[0129] The control unit 313 is used to control the multimedia playback device based on the control instruction when the user face information and the user voice information match the preset face information and the preset voice in the user authority database.
[0130] As can be seen from the above, the first information determination unit 301 of the intelligent rotation device of the multimedia playback device of the embodiment of the present application determines the first eye position information of the target user corresponding to the current multimedia playback device; then, when the target user is detected to have moved, the second information determination unit 302 determines the second eye position information of the target user after the movement; and the rotation unit 303 rotates the multimedia playback device based on the first eye position information and the second eye position information. This solution can rotate the multimedia playback device accordingly by determining the viewing position information of the user after the movement, that is, the eye position information of the user after the movement. For example, the rotation angle that the multimedia playback device needs to rotate accordingly can be determined based on the eye position information after the movement, and then the multimedia playback device can be flexibly rotated according to the rotation angle, so that the user can have a better viewing angle and improve the user's viewing experience.
[0131] In addition, the embodiment of the present application also provides a computer device, which can be a terminal or a server. Figure 4 As shown, it shows a schematic diagram of the structure of the computer device involved in the embodiment of the present application, specifically:
[0132] The computer device may include components such as a processor 401 with one or more processing cores, a memory 402 with one or more storage media, a power supply 403, and an input unit 404. Those skilled in the art will appreciate that Figure 4 The computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. Among them:
[0133] The processor 401 is the control center of the computer device. It uses various interfaces and lines to connect various parts of the entire computer device. By running or executing software programs and / or modules stored in the memory 402 and calling data stored in the memory 402, it executes various functions of the computer device and processes data, thereby monitoring the computer device as a whole. Optionally, the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 401.
[0134] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.
[0135] The computer device also includes a power supply 403 for supplying power to various components. Preferably, the power supply 403 can be logically connected to the processor 401 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 403 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.
[0136] The computer device may further include an input unit 404, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0137] Although not shown, the computer device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 401 in the computer device will load the executable files corresponding to the processes of one or more application programs into the memory 402 according to the following instructions, and the processor 401 will run the application programs stored in the memory 402, thereby realizing various functions, as follows:
[0138] Determine the first eye position information of the target user corresponding to the current multimedia playback device; when it is detected that the target user moves, determine the second eye position information of the target user after the movement; and rotate the multimedia playback device based on the first eye position information and the second eye position information.
[0139] From the above, it can be seen that the embodiments of the present application can rotate the multimedia playback device accordingly by determining the viewing position information of the user after movement, that is, the eye position information of the user after movement. For example, the rotation angle of the multimedia playback device that needs to be rotated accordingly can be determined based on the eye position information after movement, and then the multimedia playback device can be flexibly rotated according to the rotation angle, so that the user can have a better viewing angle and the user's viewing experience can be improved.
[0140] A person skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a storage medium and loaded and executed by a processor.
[0141] To this end, an embodiment of the present application provides a storage medium in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any of the intelligent rotation methods of a multimedia playback device provided in the embodiment of the present application. For example, the instructions can execute the following steps:
[0142] Determine the first eye position information of the target user corresponding to the current multimedia playback device; when it is detected that the target user moves, determine the second eye position information of the target user after the movement; and rotate the multimedia playback device based on the first eye position information and the second eye position information.
[0143] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0144] Since the instructions stored in the storage medium can execute the steps in the intelligent rotation method of any multimedia playback device provided in the embodiments of the present application, the beneficial effects that can be achieved by the intelligent rotation method of any multimedia playback device provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0145] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the intelligent rotation method of the multimedia playback device provided in the above invention content and embodiments.
[0146] The above is a detailed introduction to the intelligent rotation method, device, computer device and storage medium of a multimedia playback device provided in an embodiment of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for intelligently rotating a multimedia player, characterized in that: include: Determining the first eye position information of the target user corresponding to the current multimedia playback device includes: acquiring a first image of a preset area opposite the current multimedia playback device; identifying the face information of the target user in the first image, and determining the first eye position information of the target user; When it is detected that the target user moves, determining second eye position information after the target user moves; The method includes: determining the angle to be rotated of the multimedia playback device based on the first eye position information and the second eye position information, and including: determining the moving distance of the target user based on the first eye position information and the second eye position information; obtaining the viewing distance from the multimedia playback device to the target user before the target user moves; calculating the angle to be rotated of the multimedia playback device based on the moving distance and the viewing distance; and rotating the multimedia playback device according to the angle to be rotated; The method also includes: determining the distance ratio between the target user's position after movement and the two sides of the first image, the position after movement being the position corresponding to the second human eye position information; when the distance ratio is within a preset distance ratio range, keeping the playback angle of the multimedia playback device unchanged and not rotating the multimedia playback device.
2. The method according to claim 1, characterized in that The method further comprises: When it is detected that the corresponding viewing area of the multimedia playback device includes a plurality of viewing users, acquiring a second image of the viewing area; Recognize the facial information of the plurality of movie-watching users in the second image, and determine the viewing eye position information of two target movie-watching users at two ends of the second image; When it is detected that the viewer's eye position information has changed, the rotation angle of the multimedia playback device is adjusted so that the ratio of the distances between the two target viewers and the two sides of the third image is within the preset distance ratio range, and the third image is an image of the viewing area after the viewer's eye position has changed.
3. The method according to claim 1, characterized in that The method further comprises: Obtaining video contents of multiple target videos watched by the target user and the viewing time of each target video, wherein the target video is a video played by the multimedia playback device; Based on the video content and the viewing time, content is recommended to the target user through the multimedia playback device.
4. The method according to claim 1, characterized in that The method further comprises: When multiple users have control authority over the multimedia playback device, receiving a control instruction from the current user; Collecting user information of the current user, wherein the user information includes user face information and user voice information; When the user face information and the user voice information match the preset face information and the preset voice in the user authority database, the multimedia playback device is controlled based on the control instruction.
5. An intelligent rotating device for a multimedia player, characterized in that: include: A first information determination unit, configured to determine first eye position information of a target user corresponding to a current multimedia playback device, wherein the first information determination unit includes an acquisition subunit, configured to acquire a first image of a preset area opposite to the current multimedia playback device; An information recognition subunit, used to recognize facial information of a target user in the first image, and determine first eye position information of the target user; A second information determining unit, configured to determine second eye position information of the target user after the target user moves when it is detected that the target user moves; A rotation unit, used to rotate the multimedia playback device based on the first human eye position information and the second human eye position information, comprising: The angle determination subunit is used to determine the angle to be rotated of the multimedia playback device based on the first human eye position information and the second human eye position information; including: determining the moving distance of the target user based on the first human eye position information and the second human eye position information; obtaining the viewing distance from the multimedia playback device to the target user before the target user moves; and calculating the angle to be rotated of the multimedia playback device based on the moving distance and the viewing distance. A rotating subunit, used for rotating the multimedia playback device according to the angle to be rotated; The intelligent rotation device of the multimedia playback device also includes: a position determination unit, used to determine the distance ratio between the position of the target user after movement and the two sides of the first image, the position after movement being the position corresponding to the second human eye position information; an angle maintaining unit, used to maintain the playback angle of the multimedia playback device unchanged and not rotate the multimedia playback device when the distance ratio is within a preset distance ratio range.
6. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps in the intelligent rotation method of the multimedia playback device according to any one of claims 1 to 4 are implemented.