Display area adjustment method and device, electronic equipment and storage medium
Patent Information
- Application Number
- CN202310579249.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-22
- Publication Date
- 2026-09-11
- Estimated Expiration
- 2043-05-22
AI Technical Summary
[0005]本申请实施例提供了一种显示区域的调整方法、装置、电子设备及存储介质,可以解决曲面屏的显示区域频繁移动造成画面晃动,降低了用户的观影效果的问题
[0044] The display area adjustment method of this application is applied to an electronic device, which includes a curved screen. The method involves acquiring a target image and target movement information of a target object, including gestures or facial expressions. If the target image and a preset image of the target object meet preset matching conditions, region adjustment information of the display area is determined based on the target movement information. This region adjustment information represents the information that the display area of a preset curved surface size follows the movement of the target object. Based on the target movement information and the region adjustment information, a shaking parameter of the display area is determined. Shaking display compensation is then performed on the display area based on the target movement information and the shaking parameter. Because the shaking parameter of the display area is determined after the region adjustment information is determined, and then the shaking display compensation is performed, the impact of the shaking of the display area on the user's viewing experience is reduced, excessive following of the display area's movement is avoided, eye fatigue is reduced, and the user's viewing experience is improved.
Smart Images

Figure CN116721613B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of smart speaker technology, and in particular relates to a method, device, electronic device and storage medium for adjusting the display area. Background Technology
[0002] With societal development, smart speakers are becoming increasingly common in people's lives, and their functional designs are becoming more and more adapted to people's lifestyles. For example, the addition of curved flexible screens to smart speakers allows people to watch videos. However, due to the varying viewing angles of curved flexible screens, viewers cannot see the entire screen when watching videos.
[0003] Existing technologies use a display area that follows the face to adjust its position. However, due to human physiology or daily activities, the display area cannot be fixed, and frequent movement of the display area causes screen flickering, reducing the user's viewing experience.
[0004] Existing technologies suffer from the problem that the display area of curved screens frequently moves, causing the image to flicker and reducing the user's viewing experience. Summary of the Invention
[0005] This application provides a method, apparatus, electronic device, and storage medium for adjusting the display area, which can solve the problem of screen shaking caused by frequent movement of the display area of a curved screen, thus reducing the user's viewing experience.
[0006] In a first aspect, embodiments of this application provide a method for adjusting a display area, applied to an electronic device, the electronic device including a curved screen, the adjustment method comprising:
[0007] The target image and target movement information of the target object are acquired respectively, and the target object includes gestures or facial expressions;
[0008] If the target image and the preset image of the target object meet the preset matching conditions, based on the target movement information, the region adjustment information of the display area is determined. The region adjustment information represents the information that the display area of the preset curved surface size moves with the target object.
[0009] Based on the target movement information and the area adjustment information, the shaking parameters of the display area are determined;
[0010] The display area is compensated for shaking based on the target movement information and the shaking parameters.
[0011] In one embodiment, the area adjustment information includes the area movement path and the area movement speed;
[0012] If the target image and the preset image of the target object satisfy a preset matching condition, based on the target movement information, the region adjustment information of the display area is determined, including:
[0013] Based on the target image and the preset image of the target object, determine whether the target image and the preset image meet the preset matching conditions;
[0014] If the target image and the preset image meet the preset matching conditions, the regional movement path of the display area is determined based on the target movement information;
[0015] The region movement speed of the display area is determined based on the region movement path.
[0016] In one embodiment, the target image includes a first target image and a second target image, the first target image and the second target image respectively representing images of the target object at different times, the preset image includes a first preset image corresponding to the first target image and a second preset image corresponding to the second target image, the movement path includes a starting movement position and an ending movement position, and the preset matching condition includes a first preset matching condition and a second preset matching condition;
[0017] If the target image and the preset image satisfy the preset matching condition, determining the region movement path of the display area based on the target movement information includes:
[0018] If the first target image and the first preset image satisfy the first preset matching condition, the starting movement position of the display area is determined based on the target movement information;
[0019] If the second target image and the second preset image meet the second preset matching condition, the end movement position of the display area is determined based on the target movement information;
[0020] Based on the starting position and the ending position, the area movement path of the display area is determined.
[0021] In one embodiment, the matching percentage of the first preset matching condition is greater than or equal to the matching percentage of the second preset matching condition.
[0022] In one embodiment, the area movement speed includes a first area movement speed and a second area movement speed;
[0023] Determining the regional movement speed of the display area based on the regional movement path includes:
[0024] Based on the area movement path and the first duration of the area movement path, the first area movement speed of the display area is determined;
[0025] Based on the area movement path and the second duration of the area movement path, the second area movement speed of the display area is determined;
[0026] Wherein, the second duration is greater than or equal to the first duration, and the second region's movement speed is less than or equal to the first region's movement speed.
[0027] In one embodiment, the shaking parameters include regional position difference and center change frequency. The regional position difference represents the position difference of the display area before and after moving with the target object, and the center change frequency represents the number of times the center position of the display area changes during the movement of the target object.
[0028] The step of determining the shaking parameters of the display area based on the target movement information and the area adjustment information includes:
[0029] Based on the target movement information and the area adjustment information, the regional position difference of the display area is determined;
[0030] Based on the target movement information and the area adjustment information, the center change frequency of the display area is determined.
[0031] In one embodiment, the step of performing shake display compensation on the display area based on the target movement information and the shake parameters includes:
[0032] Based on the target movement information and the regional position difference, determine the position difference display compensation;
[0033] Based on the target movement information and the center change frequency, center display compensation is determined.
[0034] Secondly, embodiments of this application provide a display area adjustment device applied to an electronic device, the electronic device including a curved screen, the adjustment device comprising:
[0035] The acquisition module is used to acquire the target image and target movement information of the target object, respectively, wherein the target object includes gestures or facial expressions;
[0036] The first determining module is used to determine the region adjustment information of the display area based on the target movement information if the target image and the preset image of the target object meet the preset matching conditions. The region adjustment information represents the information that the display area of the preset curved surface size moves with the target object.
[0037] The second determining module is used to determine the shaking parameters of the display area based on the target movement information and the area adjustment information;
[0038] The display compensation module is used to perform shake display compensation on the display area based on the target movement information and the shake parameters.
[0039] Thirdly, embodiments of this application provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method as described in any one of the first aspects above.
[0040] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method as described in any one of the first aspects above.
[0041] Fifthly, embodiments of this application provide a computer program product that, when run on a terminal device, causes the terminal device to execute the method described in any one of the first aspects above.
[0042] It is understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant descriptions in the first aspect above, and will not be repeated here.
[0043] The beneficial effects of the embodiments in this application compared with the prior art are:
[0044] The display area adjustment method of this application is applied to an electronic device, which includes a curved screen. The method involves acquiring a target image and target movement information of a target object, including gestures or facial expressions. If the target image and a preset image of the target object meet preset matching conditions, region adjustment information of the display area is determined based on the target movement information. This region adjustment information represents the information that the display area of a preset curved surface size follows the movement of the target object. Based on the target movement information and the region adjustment information, a shaking parameter of the display area is determined. Shaking display compensation is then performed on the display area based on the target movement information and the shaking parameter. Because the shaking parameter of the display area is determined after the region adjustment information is determined, and then the shaking display compensation is performed, the impact of the shaking of the display area on the user's viewing experience is reduced, excessive following of the display area's movement is avoided, eye fatigue is reduced, and the user's viewing experience is improved. Attached Figure Description
[0045] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0046] Figure 1 This is a flowchart illustrating a method for adjusting a display area according to an embodiment of this application;
[0047] Figure 2 This is a schematic diagram of the overall structure of an electronic device with a curved screen according to another embodiment of this application;
[0048] Figure 3 This is a flowchart illustrating the process of determining the area adjustment information of the display area based on the target movement information if the target image and the preset image of the target object meet the preset matching conditions.
[0049] Figure 4 This is a flowchart illustrating the process of determining the regional movement path of the display area based on target movement information if the target image and the preset image meet preset matching conditions, according to another embodiment of this application.
[0050] Figure 5 This is a flowchart illustrating the process of determining the regional movement speed of a display area based on a regional movement path, provided in another embodiment of this application.
[0051] Figure 6 This is a flowchart illustrating the process of determining the shaking parameters of a display area based on target movement information and area adjustment information, provided in another embodiment of this application.
[0052] Figure 7 This is a schematic diagram of a process for compensating for shaking in a display area based on target movement information and shaking parameters, provided in another embodiment of this application.
[0053] Figure 8 This is a schematic diagram of the structure of a display area adjustment device provided in an embodiment of this application. Detailed Implementation
[0054] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0055] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0056] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0057] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0058] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0059] Currently, curved flexible screens are installed on the side walls of smart speakers to allow users to watch videos. However, due to the varying viewing angles of these curved screens, viewers cannot see the entire screen, impacting the viewing experience. Existing technology uses a display area that follows the viewer's face to adjust its position. However, due to physiological needs and daily activities, faces cannot remain in a fixed position and need to move frequently. This causes the display area to move continuously with the face, resulting in screen flickering and eye strain, further reducing the user experience.
[0060] Therefore, existing technologies suffer from the problem that the display area of curved screens frequently moves, causing the image to shake, which reduces the user's viewing experience and overall experience.
[0061] This application provides a method for adjusting a display area, applied to an electronic device including a curved screen. The method involves acquiring a target image and target movement information of a target object, including gestures or facial expressions. If the target image and a preset image of the target object meet preset matching conditions, region adjustment information for the display area is determined based on the target movement information. This region adjustment information represents information about the display area of a preset curved surface size following the movement of the target object. Based on the target movement information and the region adjustment information, a shaking parameter for the display area is determined. Shaking display compensation is then performed on the display area based on the target movement information and the shaking parameter. Because the shaking parameter is determined and the display area is compensated for after determining the region adjustment information, the impact of display area shaking on the user's viewing experience is reduced, excessive following of movement by the display area is avoided, eye fatigue is reduced, and the user's viewing experience is improved.
[0062] The technical solution of this application will be described below through specific embodiments.
[0063] Firstly, such as Figure 1 As shown, this embodiment provides a method for adjusting the display area, applied to an electronic device, which includes a curved screen. The adjustment method includes:
[0064] S100, acquire the target image and target movement information of the target object respectively, the target object includes gestures or facial expressions.
[0065] In one embodiment, Figure 2 This is a schematic diagram of the overall structure of an electronic device equipped with a curved screen. The electronic device acquires a target image and target movement information of a target object through an image sensing sensor (e.g., a camera), thereby identifying the target object and sensing its movement information. This facilitates subsequent data processing and allows for adjustment of the position and / or range of the display area. In one embodiment, the target object includes a gesture or facial expression, the target image is an image of the gesture or facial expression, and the target movement information is the movement information of the gesture or facial expression.
[0066] In one embodiment, the gestures or facial expressions are preset gestures or preset facial expressions to avoid unintentional routine gestures or everyday facial expressions triggering the display area adjustment function.
[0067] It should be noted that the target object is not limited to gestures or facial expressions; the target object can also be a target object, which includes various items or any combination of items, such as mobile phones, teacups, stationery, toys, etc.
[0068] S200, if the target image and the preset image of the target object meet the preset matching conditions, based on the target movement information, determine the area adjustment information of the display area. The area adjustment information represents the adjustment information of the display area of the preset curved surface size as the target object moves.
[0069] In one embodiment, if the target image and the preset image of the target object meet the preset matching conditions, the area adjustment information of the display area is determined based on the target movement information. This is beneficial for the electronic device to start the movement of the display area based on the matching of the target image and the corresponding preset image. Compared with the prior art, this avoids the display area from constantly moving with the movement of the face, causing the display area to move frequently, which causes the human eye to constantly focus on the display area, increases the degree of eye fatigue, and reduces the user experience.
[0070] In one embodiment, the area adjustment information includes the area movement path and the area movement speed, which facilitates better adjustment of the display area.
[0071] In one embodiment, such as Figure 3 As shown, if the target image and the preset image of the target object meet the preset matching conditions, based on the target movement information, the area adjustment information of the display area is determined, including:
[0072] S210, based on the target image and the preset image of the target object, determine whether the target image and the preset image meet the preset matching conditions.
[0073] In one embodiment, the target image is matched and compared with a corresponding preset image pre-stored in the electronic device to determine the timing of the display area adjustment, thereby avoiding random triggering of the display area adjustment function by everyday gestures, faces, facial expressions, or target objects.
[0074] S220, if the target image and the preset image meet the preset matching conditions, determine the area movement path of the display area based on the target movement information.
[0075] In one embodiment, if the target image and the preset image meet the preset matching conditions, the display area adjustment function is enabled. Based on the target movement information, the region movement path of the display area is determined, which is beneficial for adjusting the display area according to the region movement path.
[0076] In one embodiment, the target image includes a first target image and a second target image, which respectively represent images of the target object at different times. The preset image includes a first preset image corresponding to the first target image and a second preset image corresponding to the second target image. The target image and the preset image have a corresponding relationship, which facilitates rapid identification by electronic devices, improves response speed, and avoids accidental triggering and adjustment of the display area.
[0077] In one embodiment, the movement path includes a starting movement position and an ending movement position. The position of the display area corresponding to the recognition of the first target image is set as the starting movement position, and the position of the display area corresponding to the recognition of the second target image is set as the ending movement position. This helps to clarify the adjustment range and adjustment time of the display area.
[0078] In one embodiment, the preset matching conditions include a first preset matching condition and a second preset matching condition. The first preset matching condition is used to determine whether the matching degree between the first target image and the first preset image meets the matching requirements, and the second preset matching condition is used to determine whether the matching degree between the second target image and the second preset image meets the matching requirements.
[0079] In one embodiment, such as Figure 4 As shown, if the target image and the preset image meet the preset matching conditions, the region movement path of the display area is determined based on the target movement information, including:
[0080] S221, if the first target image and the first preset image meet the first preset matching conditions, determine the starting movement position of the display area based on the target movement information.
[0081] In one embodiment, if the first target image and the first preset image meet the first preset matching condition, the display area adjustment function is triggered, and the starting movement position of the display area when the adjustment function is triggered is determined based on the target movement information.
[0082] In one embodiment, the first target image is a pouting expression. If the pouting expression meets the first preset matching condition with a preset pouting expression, the adjustment function of the display area is triggered. Based on the movement information of the face maintaining the pouting expression, the starting movement position of the display area when the adjustment function is triggered is determined.
[0083] S222, if the second target image and the second preset image meet the second preset matching conditions, determine the end movement position of the display area based on the target movement information.
[0084] In one embodiment, if the second target image and the second preset image meet the second preset matching condition, the adjustment function of the display area is stopped. Based on the target movement information, the end movement position of the display area when the adjustment function is stopped is determined, which is helpful in determining the movement path of the display area.
[0085] In one embodiment, the second target image is a normal facial expression without pouting. If the normal facial expression without pouting meets the second preset matching condition with the preset face image, the adjustment function of the display area is stopped. Based on the stop movement information of the normal facial expression without pouting, the end movement position of the display area when the adjustment function is stopped is determined.
[0086] S223, determine the area movement path of the display area based on the starting movement position and the ending movement position.
[0087] In one embodiment, based on the starting and ending moving positions, the movement trajectory of the display area during the process from the starting and ending moving positions is saved, thereby determining the area movement path of the display area, which is beneficial for adjusting the display area according to the area movement path.
[0088] In one embodiment, the image content of the first target image and the second target image are the same, or the image content of the first target image and the second target image are different. When the image content of the first target image and the second target image are the same, the amount of computation is reduced, which makes it easier for the electronic device to quickly identify and improve the response speed. When the image content of the first target image and the second target image are different, the electronic device can distinguish between the two target images, avoid misidentification and stop adjusting the display area before the display area has reached the specified position, and improve the accuracy of the electronic device in adjusting the display area.
[0089] In one embodiment, to reduce the likelihood of the display area adjustment function being accidentally triggered, the matching percentage of the first preset matching condition is set to be greater than or equal to the matching percentage of the second preset matching condition. It should be noted that the specific range of the matching percentage setting is determined according to the needs of the specific scenario; for example, the matching percentage of the first preset matching condition may be greater than or equal to 90%, or greater than or equal to 85%.
[0090] In one embodiment, the area adjustment information also includes the display area range, which facilitates adaptive adjustment of the size of the display area.
[0091] In one embodiment, if the target image and the preset image of the target object meet preset matching conditions, the region adjustment information of the display area is determined based on the target movement information. The method further includes: if the target image and the preset image of the target object meet preset matching conditions, the display area range of the display area is determined based on the target movement information.
[0092] In one embodiment, the preset matching conditions further include a third preset matching condition and a fourth preset matching condition.
[0093] In one embodiment, if the target image and a preset image of the target object satisfy preset matching conditions, the display area range of the display area is determined based on the target movement information, including:
[0094] Based on the target image and a preset image of the target object, it is determined whether the target image and the preset image meet preset matching conditions. If the first target image and the first preset image meet a third preset matching condition, the starting display area range of the display area is determined based on the target movement information. If the second target image and the second preset image meet a fourth preset matching condition, the ending display area range of the display area is determined based on the target movement information. That is, when the first target image and the first preset image meet the third preset matching condition, the display area range adjustment function of the display area is triggered to determine the starting display area range of the display area. When the second target image and the second preset image meet the fourth preset matching condition, the display area range adjustment function of the display area is stopped to determine the ending display area range of the display area, which facilitates adjustment of the display area range according to the user's habitual and preferred position.
[0095] In one embodiment, when the first target image and the first preset image meet a third preset matching condition, a dashed border is displayed at the boundary of the display area. During the movement of the target object, the dashed border is scaled up or down according to a preset definition. When the second target image and the second preset image meet a fourth preset matching condition, the display area is adjusted to the range enclosed by the dashed border, and the dashed border is hidden at the boundary of the display area. The dashed border is set to semi-transparent, with both the inside and outside of the border being transparent, so as not to affect the user's viewing of the video.
[0096] It should be noted that the starting and ending display areas of the display area can be adjusted based on the target movement information. The direction of the target movement information can be customized to expand or shrink the display area, and the speed of the target movement information can also be customized to expand or shrink the display area. In this embodiment, no specific restrictions are imposed, and specific settings can be made according to the user's needs.
[0097] In one embodiment, the third preset matching condition may be the same as or different from the first preset matching condition, and the fourth preset matching condition may be the same as or different from the second preset matching condition. The specific matching percentage is set according to the user's needs.
[0098] S230, determine the area movement speed of the display area based on the area movement path.
[0099] In one embodiment, in order to accommodate the sensitivity requirements of different users for adjusting the display area, the area movement speed includes a first area movement speed and a second area movement speed.
[0100] In one embodiment, such as Figure 5 As shown, the area movement speed of the display area is determined based on the area movement path, including:
[0101] S231, based on the area movement path and the first duration of the area movement path, determine the first area movement speed of the display area.
[0102] S232, based on the area movement path and the second duration of the area movement path, determine the second area movement speed of the display area, wherein the second duration is greater than or equal to the first duration, and the second area movement speed is less than or equal to the first area movement speed.
[0103] It should be noted that when the second duration is longer than the first duration, the movement speed of the second area is slower than that of the first area because the movement path is the same. Therefore, users who prefer high sensitivity can speed up the movement speed of the first and second target images when the movement path is the same, thus speeding up the adjustment of the display area. Conversely, users who prefer low sensitivity will slow down the movement speed of the first and second target images when the movement path is the same, gradually adjusting the display area to a more suitable viewing area.
[0104] S300 determines the shaking parameters of the display area based on target movement information and area adjustment information.
[0105] In one embodiment, the shaking parameters include the regional position difference and the center change frequency. The regional position difference represents the position difference of the display area before and after following the target object's movement, and the center change frequency represents the number of times the center position of the display area changes during the movement of the target object. Based on the target movement information and the regional adjustment information, the shaking parameters of the display area are determined, which is beneficial for compensating the display area according to the shaking parameters to improve the user's viewing experience.
[0106] It should be noted that the area position difference can be the position difference between the four boundary vertices of the display area before and after moving with the target object, or the position difference between the center point of the display area before and after moving with the target object, or the position difference between a specified reference point of the display area before and after moving with the target object. The specific setting depends on the needs.
[0107] In one embodiment, such as Figure 6 As shown, based on target movement information and area adjustment information, the shaking parameters of the display area are determined, including:
[0108] S310, based on target movement information and area adjustment information, determines the regional position difference of the display area.
[0109] S320 determines the frequency of center change of the display area based on target movement information and area adjustment information.
[0110] In one embodiment, the regional position difference and center change frequency of the display area are determined based on the target movement trajectory and the regional movement path, regional movement speed, or display area range. This is beneficial for compensating for shaking display based on the regional position difference and center change frequency.
[0111] S400 performs shake display compensation on the display area based on target movement information and shake parameters.
[0112] In one embodiment, the display area is compensated for shaking based on target movement information and shaking parameters. Because the display area is compensated for shaking, the impact of the shaking of the display area on the user's viewing experience is reduced, excessive following of the display area is avoided, eye fatigue is reduced, and the user's viewing experience is improved.
[0113] In one embodiment, such as Figure 7 As shown, the display area is compensated for shaking based on target movement information and shaking parameters, including:
[0114] S410 determines position difference display compensation based on target movement information and regional position difference.
[0115] In one embodiment, the target movement information includes the target movement trajectory. Based on the target movement trajectory of the target object and the regional position difference, the average value of the regional position difference is calculated by dividing by 2. Half of the regional position difference is determined as the display area position difference display compensation. That is, the display area is set at the midpoint between the position of the display area before it moves with the target object and the position of the display area after it moves with the target object. The compensated display area is located in the target movement trajectory, which avoids the user's viewing area changing too much and improves the user's viewing experience.
[0116] In another embodiment, the target movement information includes the target movement trajectory. Based on the target movement trajectory and the regional position difference, the regional position difference is continuously calculated during the target movement trajectory. Then, a weighted average of the regional position difference is calculated, and the weighted average of the regional position difference is determined as the position difference display compensation for the display area. This smooths the process of the display area's position before and after following the target object's movement, and the compensated display area is located within the target movement trajectory. This avoids excessive changes in the display area viewed by the user, reduces the number of times the user's eyes need to focus, reduces eye fatigue, and improves the user's viewing experience.
[0117] In one embodiment, the target movement trajectory is a movement trajectory of the target object formed based on the geometric center of the target object.
[0118] S420 determines center display compensation based on target movement information and center change frequency.
[0119] In one embodiment, based on the target movement information and the center change frequency, the median value of the center change frequency is used for center display compensation. This reduces the number of times the display area changes its center position due to the target object's movement, thereby reducing the frequency of the display area changing its center position due to the target object's movement, reducing the number of times the user's eyes have to focus, reducing the user's eye fatigue, and improving the user's viewing experience.
[0120] In one embodiment, based on the target movement information of the target object, the target object moves from position A to position B. The center position of the display area changes 5 times. Then, the midpoint of 5 times (3 times) is taken as the center display compensation. That is, the center position of the display area actually only changes 3 times from the position corresponding to position A to the position corresponding to position B. This reduces the frequency of the center position change caused by the display area moving with the target object, reduces the number of times the user's eyes have to focus, reduces the user's eye fatigue, and improves the user's viewing experience.
[0121] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0122] The beneficial effects of the embodiments in this application compared with the prior art are:
[0123] The display area adjustment method of this application is applied to an electronic device, which includes a curved screen. The method involves acquiring a target image and target movement information of a target object, including gestures or facial expressions. If the target image and a preset image of the target object meet preset matching conditions, region adjustment information of the display area is determined based on the target movement information. This region adjustment information represents the information that the display area of a preset curved surface size follows the movement of the target object. Based on the target movement information and the region adjustment information, a shaking parameter of the display area is determined. Shaking display compensation is then performed on the display area based on the target movement information and the shaking parameter. Because the shaking parameter of the display area is determined after the region adjustment information is determined, and then the shaking display compensation is performed, the impact of the shaking of the display area on the user's viewing experience is reduced, excessive following of the display area's movement is avoided, eye fatigue is reduced, and the user's viewing experience is improved.
[0124] Secondly, such as Figure 8 As shown, this embodiment provides a display area adjustment device applied to an electronic device, the electronic device including a curved screen, and the adjustment device including:
[0125] The acquisition module 100 is used to acquire the target image and target movement information of the target object, including gestures or facial expressions;
[0126] The first determining module 200 is used to determine the area adjustment information of the display area based on the target movement information if the target image and the preset image of the target object meet the preset matching conditions. The area adjustment information represents the information of the display area of the preset curved surface size following the movement of the target object.
[0127] The second determining module 300 is used to determine the shaking parameters of the display area based on the target movement information and the area adjustment information;
[0128] The display compensation module 400 is used to perform shake display compensation on the display area based on target movement information and shake parameters.
[0129] It should be noted that the information interaction and execution process between the above-mentioned devices / modules are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.
[0130] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to 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 embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0131] Thirdly, this embodiment provides an electronic device, including:
[0132] A curved screen, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the method as described in any one of the first aspects above.
[0133] Fourthly, this embodiment also provides a computer-readable storage medium, including:
[0134] The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method as described in any one of the first aspects above.
[0135] Fifthly, embodiments of this application provide a computer program product that, when run on a terminal device, causes the terminal device to execute the method described in any one of the first aspects above.
[0136] It is understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here.
[0137] The method for adjusting the display area provided in this application embodiment can be applied to terminal devices such as mobile phones, tablets, wearable devices, in-vehicle devices, augmented reality (AR) / virtual reality (VR) devices, laptops, ultra-mobile personal computers (UMPCs), netbooks, and personal digital assistants (PDAs) with curved screens. This application embodiment does not impose any restrictions on the specific type of terminal device.
[0138] If the integrated unit is implemented as 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, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms.
[0139] The computer-readable medium may include at least: any entity or device capable of carrying computer program code to a photographic device / terminal device, recording media, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media. Examples include USB flash drives, portable hard drives, magnetic disks, or optical discs. In some jurisdictions, according to legislation and patent practice, computer-readable media may not be electrical carrier signals or telecommunication signals.
[0140] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0141] Those skilled in the art will recognize that the units and algorithm steps of the various examples 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 implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0142] In the embodiments provided in this application, it should be understood that the disclosed apparatus / network devices and methods can be implemented in other ways. For example, the apparatus / network device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0143] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0144] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A method for adjusting a display area, characterized in that, Applied to an electronic device, the electronic device including a curved screen, the adjustment method includes: The target image and target movement information of the target object are acquired respectively, and the target object includes gestures or facial expressions; If the target image and the preset image of the target object meet the preset matching conditions, based on the target movement information, the region adjustment information of the display area is determined. The region adjustment information represents the adjustment information of the display area of the preset curved surface size as it moves with the target object. Based on the target movement information and the area adjustment information, the shaking parameters of the display area are determined; wherein, the area adjustment information includes the area movement path and the area movement speed; the shaking parameters include the area position difference and the center change frequency, the area position difference characterizes the position difference of the display area before and after following the target object, and the center change frequency characterizes the number of times the center position of the display area changes during the process of following the target object; The display area is compensated for shaking based on the target movement information and the shaking parameters.
2. The method as described in claim 1, characterized in that, If the target image and the preset image of the target object satisfy a preset matching condition, based on the target movement information, the region adjustment information of the display area is determined, including: Based on the target image and the preset image of the target object, determine whether the target image and the preset image meet the preset matching conditions; If the target image and the preset image meet the preset matching conditions, the regional movement path of the display area is determined based on the target movement information; The region movement speed of the display area is determined based on the region movement path.
3. The method as described in claim 2, characterized in that, The target image includes a first target image and a second target image, the first target image and the second target image respectively representing images of the target object at different times; the preset image includes a first preset image corresponding to the first target image and a second preset image corresponding to the second target image; the movement path includes a starting movement position and an ending movement position; and the preset matching condition includes a first preset matching condition and a second preset matching condition. If the target image and the preset image satisfy the preset matching condition, determining the region movement path of the display area based on the target movement information includes: If the first target image and the first preset image satisfy the first preset matching condition, the starting movement position of the display area is determined based on the target movement information; If the second target image and the second preset image meet the second preset matching condition, the end movement position of the display area is determined based on the target movement information; Based on the starting position and the ending position, the area movement path of the display area is determined.
4. The method as described in claim 3, characterized in that, The matching percentage of the first preset matching condition is greater than or equal to the matching percentage of the second preset matching condition.
5. The method as described in claim 2, characterized in that, The regional movement speed includes the first regional movement speed and the second regional movement speed; Determining the regional movement speed of the display area based on the regional movement path includes: Based on the area movement path and the first duration of the area movement path, the first area movement speed of the display area is determined; Based on the area movement path and the second duration of the area movement path, the second area movement speed of the display area is determined; Wherein, the second duration is greater than or equal to the first duration, and the second region's movement speed is less than or equal to the first region's movement speed.
6. The method as described in claim 1, characterized in that, The step of determining the shaking parameters of the display area based on the target movement information and the area adjustment information includes: Based on the target movement information and the area adjustment information, the regional position difference of the display area is determined; Based on the target movement information and the area adjustment information, the center change frequency of the display area is determined.
7. The method as described in claim 6, characterized in that, The step of performing shake display compensation on the display area based on the target movement information and the shake parameters includes: Based on the target movement information and the regional position difference, determine the position difference display compensation; Based on the target movement information and the center change frequency, center display compensation is determined.
8. A display area adjustment device, characterized in that, Applied to an electronic device, the electronic device including a curved screen, the adjustment device includes: The acquisition module is used to acquire the target image and target movement information of the target object, respectively, wherein the target object includes gestures or facial expressions; The first determining module is used to determine the region adjustment information of the display area based on the target movement information if the target image and the preset image of the target object meet the preset matching conditions. The region adjustment information represents the information that the display area of the preset curved surface size moves with the target object. The second determining module is used to determine the shaking parameters of the display area based on the target movement information and the area adjustment information; wherein, the area adjustment information includes the area movement path and the area movement speed; the shaking parameters include the area position difference and the center change frequency, the area position difference represents the position difference of the display area before and after following the target object, and the center change frequency represents the number of times the center position of the display area changes during the process of following the target object; The display compensation module is used to perform shake display compensation on the display area based on the target movement information and the shake parameters.
9. An electronic device comprising a curved screen, a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method as described in any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Method and terminal for display adjustment
CN105511753A
Video capture method and apparatus, electronic device, and storage medium
WO2023284591A1