Image display method, device, equipment and medium

By detecting the moving information of the target person on the display screen of the electronic device, dynamically adjusting the display area of ​​the target image, the problem of fixed image display in the prior art is solved, and a dynamic and interactive visual experience is achieved.

CN115061573BActive Publication Date: 2025-04-25MIDEA INTELLIGENT LIGHTING & CONTROLS TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210778574.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-30
Publication Date
2025-04-25
Estimated Expiration
2042-06-30

AI Technical Summary

Technical Problem

The image content displayed on the display interface of existing electronic devices is fixed, resulting in poor user attractiveness and poor visual experience.

Method used

When the target person is detected to move, it obtains its movement information, and determines the display adjustment information of the target image based on the movement information, and dynamically adjusts the target image in the display area of ​​the screen interface so that the local area whose initial size is larger than the screen interface size changes as the user moves.

Benefits of technology

It realizes the display of dynamic local image areas on the screen interface, and the picture is related to the user's movement, which can better attract users and improve the visual experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115061573B_ABST
    Figure CN115061573B_ABST
Patent Text Reader

Abstract

The present disclosure relates to an image display method, device, equipment and medium, wherein the method comprises: when detecting the movement of a target person, obtaining the movement information of the target person; determining the display adjustment information of the target image displayed on the screen interface according to the movement information; wherein the initial size of the target image is larger than the size of the screen interface; according to the display adjustment information of the target image, adjusting the current display area of ​​the target image on the screen interface to the target display area; wherein the current display area and / or the target display area is the local area where the target image is displayed on the screen interface. The present disclosure not only presents a dynamic picture effect to the user, but also the dynamically displayed picture is related to the user's own movement, which can better attract the user and effectively improve the user's visual experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of image processing technology, and in particular to an image display method, device, equipment and medium. Background Art

[0002] Most electronic devices today are equipped with display screens and can display images through the screens when needed. However, the screen interfaces of devices such as home appliances, access control systems, and electronic billboards usually display fixed images in some set situations, which are not very attractive to users and provide poor visual experience for users. Summary of the invention

[0003] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides an image display method, device, equipment and medium.

[0004] An embodiment of the present disclosure provides an image display method, the method comprising: when detecting the movement of a target person, acquiring the movement information of the target person; determining the display adjustment information of the target image displayed on the screen interface according to the movement information; the initial size of the target image is larger than the size of the screen interface; according to the display adjustment information of the target image, adjusting the current display area of ​​the target image on the screen interface to a target display area; wherein the current display area and / or the target display area is a local area where the target image is displayed on the screen interface.

[0005] Optionally, the display adjustment information of the target image includes scaling information of the target image and position change information of a center point of a display area of ​​the target image on the screen interface.

[0006] Optionally, the movement information includes a movement direction and a movement distance, and the step of determining display adjustment information of the target image displayed on the screen interface according to the movement information includes: obtaining a vertical displacement component of the target character in a direction perpendicular to the screen interface and a horizontal displacement component of the target character in a direction horizontal to the screen interface according to the movement direction and the movement distance; determining image scaling information based on the vertical displacement component; and determining position change information of a center point of a display area of ​​the target image on the screen interface based on the horizontal displacement component.

[0007] Optionally, the scaling information includes a scaling processing method and a scaling ratio; the step of determining the image scaling information based on the vertical displacement component includes: determining the scaling processing method of the target image based on the displacement direction in the vertical displacement component; the scaling processing method includes: size reduction processing, size enlargement processing or keeping the size unchanged; determining the scaling ratio of the target image based on the displacement length in the vertical displacement component.

[0008] Optionally, the position change information includes the relative position relationship and distance between the center point of the current display area and the center point of the target display area in the target image; the step of determining the position change information of the center point of the display area of ​​the target image in the screen interface based on the horizontal displacement component includes: determining the relative position relationship between the center point of the current display area and the center point of the target display area in the target image based on the displacement direction in the horizontal displacement component; determining the distance between the center point of the current display area and the center point of the target display area in the target image based on the displacement length in the horizontal displacement component.

[0009] Optionally, the step of adjusting the current display area of ​​the target image on the screen interface to the target display area according to the display adjustment information of the target image includes: determining the center point of the target display area in the target image according to the position change information and the position of the center point of the current display area in the target image; adjusting the size of the target image according to the image scaling information, and moving the center point of the target display area to the center position of the screen interface, so that the screen interface displays the target display area.

[0010] Optionally, the method further includes: when the target person is not detected, keeping the screen in a sleep state.

[0011] Optionally, the method further includes: when the target person is detected and the target person does not move, continuously displaying the current display area on the screen interface.

[0012] Optionally, the method also includes: obtaining an original image to be displayed, and obtaining the size of the screen interface; adjusting the size of the original image according to the size of the screen interface so that the size of the adjusted original image is larger than the size of the screen interface; using the original image after the size adjustment as the target image, and the size of the adjusted original image as the initial size of the target image.

[0013] An embodiment of the present disclosure provides an image display method, including: a movement information acquisition module, used to acquire the movement information of a target person when the movement of the target person is detected; an adjustment information determination module, used to determine display adjustment information of a target image displayed on a screen interface according to the movement information; the initial size of the target image is larger than the size of the screen interface; a display area adjustment module, used to adjust the current display area of ​​the target image on the screen interface to a target display area according to the display adjustment information of the target image; the current display area and / or the target display area are the local area where the target image is displayed on the screen interface.

[0014] An embodiment of the present disclosure also provides an electronic device, which includes: a processor; a memory for storing executable instructions of the processor; the processor is used to read the executable instructions from the memory and execute the instructions to implement the image display method provided by the embodiment of the present disclosure.

[0015] The embodiment of the present disclosure further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute the image display method provided by the embodiment of the present disclosure.

[0016] The above technical solution provided by the disclosed embodiment can obtain the movement information of the target person when the movement of the target person is detected, and then determine the display adjustment information of the target image (the initial size is larger than the size of the screen interface) displayed on the screen interface according to the movement information; and then adjust the current display area of ​​the target image on the screen interface to the target display area according to the display adjustment information of the target image; and the current display area and / or the target display area are the local areas of the target image displayed on the screen interface. Since the initial size of the target image is larger than the size of the screen interface, the above method can display the local area of ​​the target image on the screen interface, and dynamically adjust the area of ​​the target image displayed on the screen interface according to the movement information of the target person, which not only presents a dynamic picture effect to the user, but also the dynamically displayed picture is related to the user's own movement, which can better attract users and effectively improve the user's visual experience.

[0017] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0019] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0020] Figure 1 A flowchart of an image display method provided by an embodiment of the present disclosure;

[0021] Figure 2 A front view of an image display scene provided by an embodiment of the present disclosure;

[0022] Figure 3 A schematic diagram of image display adjustment provided by an embodiment of the present disclosure;

[0023] Figure 4 A schematic diagram of image display adjustment provided by an embodiment of the present disclosure;

[0024] Figure 5 A schematic diagram of image display adjustment provided by an embodiment of the present disclosure;

[0025] Figure 6 A schematic diagram of an image area provided by an embodiment of the present disclosure;

[0026] Figure 7 A flowchart of an image display method provided by an embodiment of the present disclosure;

[0027] Figure 8 A schematic diagram of the structure of an image display device provided by an embodiment of the present disclosure;

[0028] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0029] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0030] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0031] Considering that the related art only statically displays fixed picture content on the display screen, which is not very attractive to users and the user's visual experience is not good, in order to improve this problem, the embodiments of the present disclosure provide an image display method, device, equipment and medium, which are specifically explained below.

[0032] Figure 1 This is a flow chart of an image display method provided in an embodiment of the present disclosure. The method can be executed by an image display device, wherein the device can be implemented by software and / or hardware, and can generally be integrated in a controller (or processor) of an electronic device. Therefore, it can also be said that the image display method is applied to an electronic device. In the embodiment of the present disclosure, the electronic device can be configured with a display screen. Figure 1 As shown, the method mainly includes the following steps S102 to S106:

[0033] Step S102, when the target person is detected to be moving, the movement information of the target person is obtained. The movement information includes the movement direction and the movement distance.

[0034] In actual applications, electronic devices can collect environmental data within a specified spatial range in front of a display screen through preset sensors, and then use human body detection technology to analyze the environmental data, and further obtain the movement information of the target person when the target person is detected.

[0035] Among them, the preset sensor can be one or more sensors such as a camera, a distance sensor, an infrared sensor, a laser radar, etc. The embodiment of the present disclosure does not limit the type of preset sensors. Specifically, the sensor that can collect environmental data in front of the display screen can be flexibly selected according to the specific type of electronic equipment and the required cost. The environmental data can be an image, which can be a two-dimensional image or a depth image, or a sensor signal, point cloud data, etc. The form of the environmental data depends on the type of the preset sensor. Through human body detection technology, people can be detected from environmental data. In some implementation examples, all detected people can be used as target people without paying attention to the identity of the person; in other implementation examples, people who meet the conditions among all detected people can be used as target people, such as only people whose identities are pre-entered can be used as target people, that is, only people whose identities are pre-entered have the right to view the image in the screen interface. Specifically, the above method can be flexibly selected according to actual needs. For example, if the electronic device is an electronic billboard, there is no need to pay attention to the identity of the person; if the electronic device is a door access control or a home appliance, there is no need to pay attention to the identity of the person, or the image can be displayed only for the preset legitimate users.

[0036] After detecting a person, the environmental data can be further analyzed to obtain the movement information of the person. For example, if the designated sensor is a depth camera and the environmental data is a depth image, the movement information of the person can be obtained based on the depth image data collected in multiple frames. For example, if the designated sensor is multiple distance sensors and the environmental data is a distance signal, the movement information of the person can be obtained based on the distance signals collected by multiple distance sensors. The above are all exemplary descriptions. In actual applications, other methods can also be used to obtain movement information, which are not limited here.

[0037] Step S104: determining display adjustment information of the target image displayed on the screen interface according to the movement information.

[0038] In the embodiment of the present disclosure, the initial size of the target image used is larger than the size of the screen interface, so that the screen area where the target image is initially displayed in the screen interface is a local area of ​​the target image. In practical applications, an image of a specific size can be pre-made as the target image, or a conventional image can be used, and then the size of the conventional image can be adjusted to obtain a target image of a specific size. For example, the original image to be displayed can be obtained, and the size of the screen interface can be obtained; wherein the screen interface is the interface of the display screen; then the size of the original image is adjusted according to the size of the screen interface, so that the size of the adjusted original image is larger than the size of the screen interface; finally, the original image after the size adjustment is used as the target image, and the size of the adjusted original image is used as the initial size of the target image. The embodiment of the present disclosure does not limit the specific size of the image, such as, the initial length of the target image can be N1 times the length of the screen interface, and the initial width of the target image can be N2 times the width of the screen interface, and N1 and N2 are both values ​​greater than 1. Through the above method, a target image whose size is larger than the screen interface can be obtained conveniently and quickly. The embodiment of the present disclosure does not limit the content of the target image, and the required target image can be flexibly selected depending on the image display requirements of the electronic device. For example, the target image displayed on an electronic billboard can be an advertising image.

[0039] The target image initially only displays a local area screen on the screen interface. The embodiment of the present disclosure can determine the display adjustment information of the target image according to the movement information, so as to dynamically adjust the screen content displayed by the target image on the screen interface according to the display adjustment information. That is, the relative position between the target person and the display screen changes, and the screen content displayed on the screen interface seen by the target person also changes accordingly. Exemplarily, the display adjustment information of the target image includes the scaling information of the target image and the position change information of the center point of the display area of ​​the target image on the screen interface. It should be noted that the position change information of the center point of the display area is the position change information of the center point of the display area in the target image, such as, the current display area of ​​the target image on the screen interface is area A in the target image, and the center point of area A is located at point A in the target image. The position change information of the center point of the current display area (point A) and the center point of the target display area to be displayed (assuming point B) is determined according to the movement information, so that the specific position of point B in the target image can be obtained based on the position change information, and point B is further moved to the center point of the screen interface. At this time, the area displayed on the screen interface is the target display area.

[0040] Exemplarily, when a user (the target person can be regarded as a user) approaches the display screen, the target image (hereinafter referred to as the image) can be enlarged so that the user can see clearer details of the local image. When the user moves backward away from the display screen, the image can be reduced so that the user can see more image content. For example, when the user walks in a direction parallel to the display screen (such as horizontally moving to the left), the display area of ​​the image on the display screen also moves accordingly, which can be figuratively understood as the image moving to the right relative to the display screen, so that the image of the left area can be displayed on the display screen. Before that, only the central area of ​​the image is displayed on the display screen, and the left area is not visible. The above method can give the user a feeling that the image moves with the person. The above is only an exemplary description and should not be regarded as a limitation. When the user moves obliquely relative to the display screen, the image can be scaled and the position of the center point of the display area of ​​the image in the image can be adjusted at the same time. In actual applications, the specific scaling information of the image and the position change information of the center point of the display area of ​​the image on the display screen can be determined according to the user's movement information, so that the display area of ​​the image on the display screen can be reasonably adjusted later, giving the user a feeling that the image screen moves dynamically and adjusts as the user moves.

[0041] Step S106, according to the display adjustment information of the target image, adjust the current display area of ​​the target image on the screen interface to the target display area; wherein the current display area and / or the target display area is a local area where the target image is displayed on the screen interface.

[0042] The current display area is the display area before the target object moves, and the target display area is the display area re-determined according to the movement information of the target object. In some embodiments, when the target person is not detected, the screen is kept in a dormant state, and the screen can display a black screen or a screen saver image; when the target person is detected for the first time, the display screen can be awakened, and a local area (such as the central area) of the target image can be displayed on the display screen. The area displayed at this time is also the current display area. When the target person moves, the display adjustment information of the target image can be determined according to the movement information, and the current display area of ​​the target image on the screen interface is adjusted to the target display area according to the display adjustment information. The above processes are all dynamic adjustment processes, such as when the target person (which can be regarded as the user) is located at the spatial area X1 position in front of the display screen, the electronic device confirms that the user is detected for the first time, and the image partial screen A is displayed to the user at this time, and the partial screen A is used as the current display area; after that, it is detected that the user moves from the X1 position to the X2 position, and the image partial screen B is displayed to the user at this time, and the partial screen B is the target display area. If it is detected that the user continues to move from position X2 to position X3, the partial image B can be used as the current display area, and the partial image C that the user can view at position X3 can be used as the target display area. The above process is a dynamic process. Every time the user moves, the display area of ​​the target image on the screen interface can be adjusted by referring to steps S102 to S106.

[0043] In addition, when the target person is detected and does not move, the current display area can be continuously displayed on the screen interface, and the display area screen of the image is adjusted accordingly only when the person moves.

[0044] In summary, in the disclosed embodiment, since the initial size of the target image is larger than the screen interface size, the above method can display a local area of ​​the target image on the screen interface, and dynamically adjust the area of ​​the target image displayed on the screen interface according to the movement information of the target person, not only presenting a dynamic picture effect to the user, but also the dynamically displayed picture is related to the user's own movement, which can better attract users and effectively improve the user's visual experience. In addition, the disclosed embodiment can achieve a dynamic picture effect with only one image, no longer a fixed static display image, and can achieve an effect of interacting with the user. Compared with the existing technology that requires virtual engines to achieve the effect of interacting with the user, the disclosed embodiment is easier to implement and requires lower costs and requires less memory.

[0045] Further, the embodiment of the present disclosure provides an implementation of the above step S104, which can be implemented by referring to the following steps A to C:

[0046] Step A, according to the moving direction and the moving distance, obtain the vertical displacement component of the target person in the direction perpendicular to the screen interface, and the horizontal displacement component of the target person in the direction horizontal to the screen interface. It is understandable that the user can move in any direction in front of the display screen, but any direction can be decomposed into a direction perpendicular to the display screen and a direction horizontal to the display screen, and this decomposition method is more convenient for subsequent processing.

[0047] Step B, determining the scaling information of the target image based on the vertical displacement component. As mentioned above, when the user approaches the display screen, the target image (hereinafter referred to as the image) can be enlarged so that the user can see clearer local picture details. When the user moves back away from the display screen, the image can be reduced so that the user can see more image content. In some embodiments, the distance between the user and the display screen has a corresponding relationship with the scaling ratio of the image, such as, the closer the user is to the display screen, the greater the image magnification ratio value, and the farther the user is from the display screen, the greater the image reduction ratio value. In some embodiments, the scaling information includes a scaling processing method and a scaling ratio; on this basis, exemplarily, the above step B can be implemented specifically with reference to the following steps B1 and B2:

[0048] Step B1, based on the displacement direction in the vertical displacement component, determine the scaling processing mode of the target image; the scaling processing mode includes: size reduction processing, size enlargement processing or size unchanged.

[0049] If the vertical displacement direction indicates that the target person is moving toward the display screen (that is, approaching the screen interface), the scaling processing method is size enlargement processing; if the vertical displacement direction indicates that the target person is moving away from the display screen, the scaling processing method is size reduction processing; if the vertical displacement direction indicates that the vertical distance between the target person and the display screen remains unchanged (the vertical displacement component is 0), the scaling processing method is to keep the size unchanged.

[0050] Step B2, determining the image scaling ratio of the target image based on the displacement length in the vertical displacement component.

[0051] In some embodiments, the displacement length is positively correlated with the zoom ratio. The larger the displacement length, the larger the zoom ratio, so as to present a visual effect that meets the user's perception. As the user gets closer to the display screen, the magnification ratio of the target image becomes larger and larger, and the user can gradually see the details of the target image clearly. As the user moves further and further away from the display screen, the reduction ratio of the target image becomes larger and larger, and the user can gradually see more and more screen content of the target image completely and comprehensively, until all the screen content of the target image is displayed on the screen interface.

[0052] Step C, determining the position change information of the center point of the display area of ​​the target image on the screen interface based on the horizontal displacement component. In some embodiments, the position change information includes the relative position relationship and distance between the center point of the current display area and the center point of the target display area in the target image; on this basis, illustratively, the above step C can be implemented specifically with reference to the following steps C1 and C2:

[0053] Step C1, based on the displacement direction in the horizontal displacement component, determine the relative position relationship between the center point of the current display area and the center point of the target display area in the target image. For example, when the displacement direction indicates that the target person moves to the left relative to the display screen, it can be determined that the center point of the target display area is located to the left of the center point of the current display area in the target image. Conversely, when the displacement direction indicates that the target person moves to the right relative to the display screen, it can be determined that the center point of the target display area is located to the right of the center point of the current display area in the target image.

[0054] Step C2, based on the displacement length in the horizontal displacement component, determine the distance between the center point of the current display area and the center point of the target display area in the target image. In some implementation examples, the displacement length is positively correlated with the distance, such as the greater the user's horizontal displacement, the greater the distance between the center point of the current display area and the center point of the target display area in the target image.

[0055] Through the above steps A to C, the adjustment information of the image displayed on the display screen can be accurately and reliably determined according to the movement of the person, so as to reasonably and dynamically adjust the image display area and provide the user with a better visual experience.

[0056] Based on the above, illustratively, step S106 can be implemented by referring to the following steps (1) to (2):

[0057] Step (1), determining the center point of the target display area in the target image according to the position change information and the position of the center point of the current display area in the target image.

[0058] It can be understood that after the position of the center point of the current display area in the target image is known, the position of the center point of the current display area in the target image can be obtained based on the position change information of the center point of the display area, which can be specifically represented in the form of point coordinates.

[0059] Step (2), adjusting the size of the target image according to the image scaling information, and moving the center point of the target display area to the center position of the screen interface so that the screen interface displays the target display area.

[0060] The above-mentioned image size adjustment process and center point movement process can be performed simultaneously, or the size can be adjusted first and then the center point; or the center point can be adjusted first and then the size, and there is no restriction here. When the image size is finally adjusted and the center point of the target display area is moved to the center position of the screen interface, the image display area presented on the screen interface is the target display area. In this way, the user can be presented with the effect that the image screen is dynamically adjusted as the user moves.

[0061] To facilitate understanding of the above contents provided by the embodiments of the present disclosure, firstly, Figure 2 The front view of an image display scene shown in FIG. 1 is taken as an example that the initial length and width of the target image are twice the length and width of the display screen, and the target image is a 2D image. The target character is located in the space in front of the display screen and can move in any direction. Figure 2 8 directions are schematically given in the figure. Specifically, D1 indicates that a person approaches the display screen in a direction perpendicular to the display screen, D5 indicates that a person moves backwards away from the display screen in a direction perpendicular to the display screen, D3 indicates that a person moves to the right in a direction horizontal to the display screen, D7 indicates that a person moves to the left in a direction horizontal to the display screen, and D2, D4, D6 and D8 indicate that a person moves obliquely relative to the display screen, and the moving direction has a certain inclination angle with the horizontal direction or the vertical direction. In practical applications, the display adjustment information of the 2D image (such as the scaling processing method, scaling ratio, and the position change information of the center point of the display area, etc.) can be determined according to the moving direction of the person, so that the partial picture of the 2D image displayed on the display screen will change dynamically as the person moves, giving the person a visual perception that the image moves with him.

[0062] exist Figure 2 Based on this, we further provide Figure 3 to Figure 5 The image display adjustment diagram shown in FIG. Figure 3 As shown in FIG. 1 , it indicates that when a person approaches the display screen vertically (ie, the person moves along the direction D1), the 2D image (target image) displayed on the display screen will be enlarged to show the person clear image details; and as shown in FIG. Figure 4 As shown in FIG. 1 , it indicates that when a person moves to the left along the direction horizontal to the display screen (that is, the person moves along the direction D7), the 2D image will move to the right. At this time, the previously invisible left area of ​​the 2D image can be moved to the display screen, and the user can gradually see the image content of the left area of ​​the 2D image that has not been seen before while moving. Figure 5As shown, it is shown that when a person moves to the right along the direction horizontal to the display screen (that is, the person moves along the D3 direction), the 2D image will move to the left. At this time, the previously invisible right area in the 2D image can be moved to the display screen, and the user can gradually see the image content of the right area of ​​the 2D image that has not been seen before while moving. It should be noted that if the person moves obliquely relative to the display screen (that is, the person moves along the D2, D4, D6 and D8 directions), the 2D image can be scaled and moved at the same time to adjust the image content of the 2D image displayed on the display screen.

[0063] For easier understanding, see Figure 6 A schematic diagram of an image area is shown, which roughly divides the screen area of ​​the image to be displayed (i.e., the target image) into 9 areas for description. For example, when the user (i.e., the target person, which can be regarded as the image viewer of the display screen) is initially sensed, the central area of ​​the image can be displayed on the interface of the display screen (for ease of understanding, it is assumed that the interface size of the display screen is equal to the size of the central area), and the user cannot see the other eight peripheral areas at this time. When the user moves along the D1 direction, the image is enlarged, and the interface of the display screen will enlarge and display a partial area of ​​the central area, and the user will not see the complete central area at this time; when the user moves along the D5 direction, the image is reduced, and the interface of the display screen will display the screen content of the other eight peripheral areas, and as the user moves further and further away from the display screen, the screen content of the other eight peripheral areas displayed on the interface of the display screen will increase, until all the screen content of the image is displayed on the interface of the display screen. When the user moves along the D3 direction, the screen content of the right middle area will gradually be displayed on the display screen interface. Assuming that the display screen interface finally displays the right middle area, and assuming that the size of the right middle area is equal to the size of the screen interface, the center point of the display area will move from the center point of the center area of ​​the image to the center point of the right middle area of ​​the image; correspondingly, when the user moves along the D7 direction, the screen content of the left middle area will gradually be displayed on the display screen interface, which will not be repeated here. When the user moves along the D2, D4, D6 or D8 directions, the image will be scaled and the center point of the display area will be moved at the same time, so as to adjust the screen content displayed on the display screen interface.

[0064] It should be noted that Figure 6The image is roughly divided into 9 areas for the convenience of description, which should not be regarded as a limitation. In actual applications, the image may not be divided into zones, and it should not be understood that each zone will be displayed separately on the screen interface. In fact, multiple zones can be displayed on the screen interface at the same time, such as the screen interface showing part of the central area, part of the upper middle area, part of the middle right area, and part of the upper right area. Moreover, in actual applications, as the character moves, the image changes dynamically and gradually, and the character can watch the dynamic adjustment process of the image while moving.

[0065] Based on the above, the present disclosure also provides an image display method, which can be found in Figure 7 The flowchart of an image display method shown in FIG. 1 mainly includes the following steps:

[0066] Step S702, determine whether the target person is detected; if yes, execute step S704, if not, continue to execute step S702.

[0067] Step S704, determine whether the target person moves, if yes, execute step S706, if not, continue to execute step S710.

[0068] In actual applications, environmental data of the specified space in front of the display screen (such as environmental images, point cloud data, detection signals, etc.) can be obtained in real time, and whether the target person is detected can be determined based on the environmental data, and whether the target person moves can be determined based on the continuously collected environmental data.

[0069] Step S706, obtaining movement information of the target person, and determining display adjustment information of the target image displayed on the screen interface according to the movement information.

[0070] Step S708, adjusting the current display area of ​​the target image on the screen interface to the target display area according to the display adjustment information of the target image, and then executing step S702 again.

[0071] That is, it is possible to continue to detect whether the target person is still in front of the display screen, and to determine whether the target person has moved. The target person may be any person, or a person of a specified identity, etc., and is not limited here. It should be noted that when returning to step S702 for another determination, the target display area obtained by the last adjustment is the new current display area.

[0072] Step S710, continue to display the current display area on the screen interface, and return to execute step S704.

[0073] The specific implementation process of the above steps can refer to the above related content description, which will not be repeated here. Figure 7It emphasizes that electronic devices can dynamically detect moving people in real time and continuously and dynamically adjust the image display area on the screen interface.

[0074] In summary, the above-mentioned image display method provided by the embodiment of the present disclosure can display a local area of ​​the target image on the screen interface, and dynamically adjust the area of ​​the target image displayed on the screen interface according to the movement information of the target person, which not only presents a dynamic picture effect to the user, but also the dynamically displayed picture is related to the user's own movement, which can better attract users and effectively improve the user's visual experience, and the above method requires low cost. In addition, the embodiment of the present disclosure can achieve dynamic picture effects with only one image, no longer fixed static display image, and can achieve the effect of interacting with the user. Compared with the existing technology that requires such as virtual engines to achieve the effect of interacting with the user, the embodiment of the present disclosure is easier to implement and requires lower cost, and requires less memory.

[0075] It should be noted that the image display method provided in the embodiments of the present disclosure can be applied to any image, whether a 2D image or a 3D image, and is not limited to a single image, such as being applicable to each frame of an image in a video, which is not limited here. In addition, the embodiments of the present disclosure do not limit the application scenarios of the image display method, such as being applicable to electronic billboards, access control, home appliances with display screens, etc.

[0076] Corresponding to the aforementioned image display method, the present disclosure provides an image display device, Figure 8 The structure diagram of an image display device provided by an embodiment of the present disclosure is shown in FIG. 1 . The device can be implemented by software and / or hardware and can generally be integrated in an electronic device. The image display method can be executed, such as Figure 8 As shown, including:

[0077] The movement information acquisition module 802 is used to acquire the movement information of the target person when the movement of the target person is detected;

[0078] The adjustment information determination module 804 is used to determine the display adjustment information of the target image displayed on the screen interface according to the movement information; the initial size of the target image is larger than the size of the screen interface;

[0079] The display area adjustment module 806 is used to adjust the current display area of ​​the target image on the screen interface to the target display area according to the display adjustment information of the target image; the current display area and / or the target display area is the local area where the target image is displayed on the screen interface.

[0080] The above method not only presents a dynamic picture effect to the user, but also the dynamically displayed picture is related to the user's own movement, which can better attract the user and effectively improve the user's visual experience.

[0081] The image display device provided in the embodiments of the present disclosure can execute the image display method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.

[0082] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described device embodiment can refer to the corresponding process in the method embodiment, and will not be repeated here.

[0083] Fig. 9 The structure diagram of an electronic device provided by the embodiment of the present disclosure is shown in FIG. Fig. 9 As shown, the electronic device 900 includes one or more processors 901 and a memory 902 .

[0084] The processor 901 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 900 to perform desired functions.

[0085] The memory 902 may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, a random access memory (RAM) and / or a cache memory (cache), etc. The non-volatile memory may include, for example, a read-only memory (ROM), a hard disk, a flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 901 may run the program instructions to implement the image display method of the embodiment of the present disclosure described above and / or other desired functions. Various contents such as input signals, signal components, noise components, etc. may also be stored in the computer-readable storage medium.

[0086] In one example, the electronic device 900 may further include: an input device 903 and an output device 904 , and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).

[0087] The input device 903 may also include a keyboard, a mouse, etc.

[0088] The output device 904 can output various information to the outside, including the determined distance information, direction information, etc. The output device 904 can include a display, a speaker, a printer, a communication network and a remote output device connected thereto, and the like.

[0089] Of course, to simplify, Fig. 9 Only some of the components related to the present disclosure in the electronic device 900 are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device 900 may also include any other appropriate components.

[0090] In addition to the above-mentioned method and device, the embodiment of the present disclosure may also be a computer program product, which includes computer program instructions, and when the computer program instructions are executed by a processor, the processor executes the image display method provided by the embodiment of the present disclosure.

[0091] The computer program product may be written in any combination of one or more programming languages ​​to write program code for performing the operations of the disclosed embodiments, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0092] The embodiment of the present disclosure may also be a computer-readable storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the processor executes the image display method provided by the embodiment of the present disclosure.

[0093] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include but is not limited to a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0094] The embodiment of the present disclosure further provides a computer program product, including a computer program / instruction, which implements the image display method in the embodiment of the present disclosure when the computer program / instruction is executed by a processor.

[0095] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0096] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An image display method, characterized in that: include: When the movement of the target person is detected, obtaining the movement information of the target person; Determining display adjustment information of a target image displayed on a screen interface according to the movement information; wherein an initial size of the target image is larger than a size of the screen interface; According to the display adjustment information of the target image, the current display area of ​​the target image on the screen interface is adjusted to the target display area; wherein the current display area and / or the target display area is a local area where the target image is displayed on the screen interface.

2. The method according to claim 1, characterized in that The display adjustment information of the target image includes scaling information of the target image and position change information of a center point of a display area of ​​the target image on the screen interface.

3. The method according to claim 2, characterized in that The movement information includes a movement direction and a movement distance. The step of determining display adjustment information of a target image displayed on a screen interface according to the movement information includes: According to the moving direction and the moving distance, a vertical displacement component of the target person in a direction perpendicular to the screen interface and a horizontal displacement component of the target person in a direction horizontal to the screen interface are obtained; Determining scaling information of the target image based on the vertical displacement component; Based on the horizontal displacement component, position change information of a center point of a display area of ​​a target image on the screen interface is determined.

4. The method according to claim 3, characterized in that: The scaling information includes a scaling processing method and a scaling ratio; The step of determining the scaling information of the target image based on the vertical displacement component comprises: Determining a scaling processing mode of the target image based on the displacement direction in the vertical displacement component; the scaling processing mode includes: image size reduction processing, image size enlargement processing or image size remaining unchanged; Based on the displacement length in the vertical displacement component, a scaling factor of the target image is determined.

5. The method according to claim 3, characterized in that: The position change information includes the relative position relationship and distance between the center point of the current display area and the center point of the target display area in the target image; The step of determining the position change information of the center point of the display area of ​​the target image in the screen interface based on the horizontal displacement component includes: Determining a relative position relationship between a center point of the current display area and a center point of the target display area in the target image based on a displacement direction in the horizontal displacement component; Based on the displacement length in the horizontal displacement component, the distance between the center point of the current display area and the center point of the target display area in the target image is determined.

6. The method according to claim 2, characterized in that The step of adjusting the current display area of ​​the target image on the screen interface to the target display area according to the display adjustment information of the target image comprises: Determine the center point of the target display area in the target image according to the position change information and the position of the center point of the current display area in the target image; The size of the target image is adjusted according to the image scaling information, and the center point of the target display area is moved to the center position of the screen interface, so that the screen interface displays the target display area.

7. The method according to claim 1, characterized in that The method further comprises: When the target person is not detected, the screen remains in sleep mode.

8. The method according to claim 1, characterized in that: The method further comprises: When the target person is detected and does not move, the current display area is continuously displayed on the screen interface.

9. The method according to claim 1, characterized in that: The method further comprises: Acquire the original image to be displayed, and acquire the size of the screen interface; Adjusting the size of the original image according to the size of the screen interface so that the adjusted size of the original image is larger than the size of the screen interface; The original image after the size adjustment is used as the target image, and the size of the original image after the adjustment is used as the initial size of the target image.

10. An image display device, characterized in that: include: A movement information acquisition module, used to acquire the movement information of the target person when the movement of the target person is detected; An adjustment information determination module, used to determine display adjustment information of a target image displayed on a screen interface according to the movement information; an initial size of the target image is larger than a size of the screen interface; A display area adjustment module is used to adjust the current display area of ​​the target image on the screen interface to a target display area according to the display adjustment information of the target image; the current display area and / or the target display area is a local area where the target image is displayed on the screen interface.

11. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the instructions to implement the image display method described in any one of claims 1-9.

12. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program is used to execute the image display method described in any one of claims 1 to 9.

Citation Information

Patent Citations

  • Apparatus and method for video zooming by selecting and tracking an image area

    CN107771314A

  • Display device and sound image figure positioning and tracking method

    CN112866772A