Display method, electronic equipment and medium
By obtaining and analyzing the orientation data of the user and the objects behind on the transparent screen and adjusting the output content to match the observation angle, the problem of poor display of transparent screens at different angles is solved, and the user's observation experience is improved.
Patent Information
- Application Number
- CN202411746146.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-02-28
AI Technical Summary
On a transparent screen, when users view the display content and the objects behind the screen at different viewing angles, the display effect may be different, resulting in only being able to see the content aligned with the object position at certain angles, while not being aligned at other angles, resulting in poor viewing effect.
By obtaining the first data, including the orientation of the first object and/or the second object relative to the target screen, if the data meets a certain condition, a target policy is determined and the target content is output based on the policy, so that the target content observed by the first object and the second object satisfy the specific conditions.
By adjusting the output parameters, it is ensured that when the first object observes the second object through a transparent screen, the target content matches the second object in the observation angle, which improves the observation effect and ensures that the content and the position of the object can be clearly seen at multiple angles.
Smart Images

Figure CN119541366A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of information processing, and in particular to a display method, electronic equipment and medium. Background Art
[0002] With the development of electronic technology, transparent screens have appeared in display screens, which allow users to see objects behind the screen through the screen, and the display screen outputs display content corresponding to the objects behind the screen.
[0003] However, when the user views the displayed content on the screen and the object behind at different viewing angles at the same time, the display effects may be different, resulting in the user only being able to see the displayed content on the screen aligned with the position of the object behind at certain viewing angles, while at other viewing angles, the positions of the two are not aligned, resulting in a poor viewing effect. Summary of the invention
[0004] The first aspect of the present application provides a display method, comprising:
[0005] Obtaining first data, the first data including the position of the first object and / or the second object relative to a target screen; the light transmittance of the target screen is higher than a specific light transmittance, and the first object can observe the second object through the target screen;
[0006] If the first data satisfies a first condition, determining a target strategy; the first condition indicates that the position of the first object and / or the second object relative to the target screen has changed;
[0007] Based on the target strategy, target content is outputted so that the target content observed by the first object and the second object satisfy a second condition; and the target content is related to the second object.
[0008] In a possible implementation, outputting target content based on the target strategy includes:
[0009] Get the target content;
[0010] If the target content and the second object satisfy a second condition, outputting the target content based on a first output parameter;
[0011] If the target content and the second object do not satisfy a second condition, adjusting an output parameter of the target content from a first output parameter to a second output parameter; and outputting the target content based on the second output parameter.
[0012] In a possible implementation, adjusting the output parameter of the target content from the first output parameter to the second output parameter includes:
[0013] Based on the first data, determining first adjustment data and / or second adjustment data; the first adjustment data includes a scaling ratio of the output content, and the second adjustment data includes a coordinate change of a central pixel of the output content;
[0014] Based on the first adjustment data and / or the second adjustment data, the first output parameter is adjusted to the second output parameter.
[0015] In a possible implementation, determining first adjustment data based on the first data includes:
[0016] Determine a first angle and a second angle according to the first data, wherein the first angle is an angle between a first direction and a direction of a line connecting the first object and the second object, and the second angle is an angle between the first direction and a direction perpendicular to a target screen, wherein the first direction is a direction from the first object to the target screen and is parallel to a horizontal direction;
[0017] Determine first adjustment data according to the first angle, the second angle and a first determination rule;
[0018] Accordingly, determining the second adjustment data based on the first data includes:
[0019] Determine a first angle and a second angle according to the first data;
[0020] Second adjustment data is determined according to the first angle, the second angle and a second determination rule.
[0021] In a possible implementation, after outputting the target content based on the second output parameter, the method further includes:
[0022] obtaining second data within a target time period, where the second data is different from the first data;
[0023] If the difference between the second data and the first data is smaller than a specific difference threshold, determining a fine-tuning parameter based on the first data and the second data;
[0024] The fine-tuning parameter is used to adjust the second output parameter to a third output parameter, so as to output the target content based on the third output parameter when the orientations of the first object and the second object relative to the target screen are the same as the changed directions corresponding to the first condition.
[0025] In a possible implementation, if the target content and the second object do not satisfy a second condition, adjusting the output parameter of the target content from a first output parameter to a second output parameter includes:
[0026] If the target content and the second object do not satisfy a second condition, inputting the first data into a target model to obtain a second output parameter output by the target model;
[0027] Accordingly, after determining the fine-tuning parameter based on the first data and the second data, the method further includes:
[0028] Based on the fine-tuning parameters, the target model is adjusted, and the adjusted target model can determine a third output parameter to output the target content based on the third output parameter when the orientations of the first object and the second object relative to the target screen are the same as the changed directions corresponding to the first condition.
[0029] In a possible implementation, the target content is indication information that matches the second object and is used to guide the first object to observe the second object.
[0030] In a possible implementation, if the first data satisfies the first condition, determining the target strategy includes any one of the following:
[0031] If the first data of the target first object meets the first condition, a target strategy is determined according to the first data of the target first object, the number of the first objects is at least two, the first objects include the target first object and the non-target first object, and the priority of the target first object is higher than that of the non-target first object;
[0032] If the first data of at least one first object meets the first condition, average first data is determined based on the first data of each first object; and a target strategy is determined based on the average first data.
[0033] A second aspect of the present application provides an electronic device, including:
[0034] The light transmittance of the target screen is higher than a specific light transmittance, and the first object can observe the second object through the target screen;
[0035] The processor is used to determine a target strategy based on first data satisfying a first condition, the first data including the position of a first object and / or a second object relative to a target screen, and the first condition characterizing a change in the position of the first object and / or the second object relative to the target screen; based on the target strategy, output target content so that the target content observed by the first object and the second object satisfy a second condition; the target content is related to the second object.
[0036] A third aspect of the present application provides a computer storage medium, which carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can display the method of the first aspect or any implementation of the first aspect.
[0037] The fourth aspect of the present application provides a computer program product, including computer-readable instructions. When the computer-readable instructions are executed on an electronic device, the electronic device implements the display method of the above-mentioned first aspect or any implementation manner of the first aspect.
[0038] A fifth aspect of the present application provides an electronic device, comprising at least one processor and a memory connected to the processor, wherein:
[0039] The memory is used to store computer programs;
[0040] The processor is used to execute the computer program so that the electronic device can implement the display method of the above-mentioned first aspect or any implementation manner of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0042] Figure 1 It is a flow chart of a display method provided in an embodiment of the present application;
[0043] Figure 2 is a schematic diagram of an application scenario of a target screen provided in an embodiment of the present application;
[0044] Figure 3 It is a flowchart of outputting target content based on the target strategy provided by an embodiment of the present application;
[0045] Figure 4 is a schematic diagram of another application scenario of the target screen provided in an embodiment of the present application;
[0046] Figure 5 is another application scenario schematic diagram of the target screen provided in the embodiment of the present application;
[0047] Figure 6 is a flow chart of adjusting the output parameter of the target content from the first output parameter to the second output parameter provided by an embodiment of the present application;
[0048] Figure 7 is a schematic diagram of target content displayed on a target screen provided by an embodiment of the present application;
[0049] Figure 8 is a schematic diagram of a process for determining first adjustment data based on the first data provided by an embodiment of the present application;
[0050] Fig. 9 is a schematic diagram of another application scenario of the target screen provided in an embodiment of the present application;
[0051] Fig.10 is a flow chart of determining second adjustment data based on the first data provided by an embodiment of the present application;
[0052] Fig.11 is a schematic diagram of a process for determining fine-tuning parameters provided in an embodiment of the present application;
[0053] Fig.12 It is a schematic diagram of the target screen display effect in the application scenario provided by the embodiment of the present application;
[0054] Fig.13 It is a flowchart of determining a target strategy if the first data satisfies a first condition provided by an embodiment of the present application;
[0055] Fig.14 is another flowchart diagram of determining a target strategy if the first data satisfies a first condition provided by an embodiment of the present application;
[0056] Fig.15 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application;
[0057] Fig.16 This is another structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0058] The following describes the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. The terms used in the implementation method section of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application.
[0059] The embodiments of the present application are described below in conjunction with the accompanying drawings. Those skilled in the art will appreciate that, with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0060] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, which is only to describe the distinction mode adopted by the objects of the same attributes when describing in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.
[0061] Figure 1 It is a flow chart of a display method provided in an embodiment of the present application, which may include steps 101 to 103, and these steps are described in detail below.
[0062] 101. Obtain first data, where the first data includes a position of a first object and / or a second object relative to a target screen; the target screen has a light transmittance higher than a specific light transmittance, and the first object can observe the second object through the target screen;
[0063] Among them, the target screen can also be called a transparent screen, whose transmittance is higher than a specific transmittance. The target screen can adopt an OLED (Organic Light Emitting Display) transparent screen, an LED (Light-Emitting Diode) transparent screen, an LCD (Liquid Crystal Display) transparent screen, etc. The specific type of the target screen is not limited in this application.
[0064] The first object and the second object are respectively located on two sides of the target screen, and the display direction of the target screen corresponds to the side where the first object is located.
[0065] The first data is detected by a sensor disposed on the main body where the target screen is located, wherein sensors are disposed on both sides of the target screen to respectively detect the orientation of the target screen relative to the first object and the orientation of the target screen relative to the second object.
[0066] The position of the first object relative to the target screen is the observation angle of the first object observing the target screen; the position of the second object relative to the target screen is the placement angle of the second object relative to the target screen.
[0067] In a specific implementation, the first object is a person who is in front of the target screen and is viewing the content displayed on the target screen, and the second object is an object placed behind the target screen and is being observed.
[0068] The second object may be a fixed object located at one side of the target screen, and the position of the second object relative to the target screen will not change.
[0069] The second object may also be an object located at one side of the target screen and whose position is not fixed, and the position of the second object relative to the target screen may change.
[0070] In a specific implementation, the first object is a person who is in front of the target screen and is viewing the content displayed on the target screen, and the second object is an object placed behind the target screen and is being observed.
[0071] In a possible implementation, a sensor for detecting the target screen and the first object is disposed on the first surface of the body where the target screen is located and close to the upper edge of the body to detect the position of the first object relative to the target screen.
[0072] In a possible implementation, the second object is located on the same supporting surface as the target screen, and a sensor for detecting the target screen and the second object is disposed on the second surface of the body where the target screen is located to detect the position of the second object relative to the target screen.
[0073] For example, the sensor for detecting the first object may be a structure such as a front camera / radar of the target screen, and the sensor for detecting the second object may be a structure such as a rear camera / radar of the target screen.
[0074] Correspondingly, the first data includes information such as the distance and relative angle between the first object / second object and the sensor detected by the sensor (camera / radar).
[0075] Figure 2 2 is a schematic diagram of an application scenario of a target screen provided by an embodiment of the present application, including a first object 201, a target screen 202, and a second object 203. In the schematic diagram, the first object is a person who is in front of the target screen and is watching the content displayed on the target screen, and the second object is an object placed behind the target screen and is observed. A sensor 204 is provided on the upper front side of the target screen, and the sensor 204 is used to detect the position of the first object relative to the target screen. A sensor 205 is provided on the lower back side of the target screen, and the sensor 205 is used to detect the position of the second object relative to the target screen.
[0076] 102. If the first data satisfies a first condition, determine a target strategy; the first condition indicates that the position of the first object and / or the second object relative to the target screen changes;
[0077] If the first data satisfies the first condition, it can represent that the relative positions of the first object and the second object through the target screen have changed.
[0078] The first condition is that the orientation of the first object and / or the second object relative to the target screen changes, and the change may be caused by a change in the placement angle of the second object or a change in the observation angle of the first object.
[0079] Among them, the change in the relative orientation of the first object and the second object through the target screen includes the following three situations: the orientation of the first object relative to the target screen changes, the orientation of the second object relative to the target screen changes, and the orientation of the first object and the second object relative to the target screen changes.
[0080] The target policy is a policy for controlling the target content in the target screen, and different policies can be set for different scenarios.
[0081] In a possible implementation, when there is only one first object, one strategy may be determined as the target strategy; when there are multiple first objects, strategies for multiple first objects may be determined as the target strategies. Figure 13-14 The process of determining target strategies for multiple first objects is described in detail.
[0082] 103. Based on the target strategy, output the target content so that the target content observed by the first object and the second object meet a second condition; the target content is related to the second object.
[0083] Therefore, in this embodiment, a target policy is set to control the output of the target content in the target screen when the first data meets the first condition.
[0084] The target content outputted in the target screen is related to the second object. When the first object observes the second object through the target screen, the target content may be content that assists the first object in observing the second object.
[0085] The second condition may be that the first object observes the content in the target screen and the second object satisfies the observation angle of the first object. Under the observation angle of the first object, the target content in the screen corresponds to the position of the second object.
[0086] Among them, if the first data satisfies the first condition, representing that the orientation of the first object and / or the second object relative to the target screen has changed, the target content in the target screen observed by the first object and the second object may satisfy the second condition, and the second object and the target content in the target screen no longer match the observation angle of the first object. Therefore, it is necessary to adjust the target content of the target screen so that the two match.
[0087] Among them, since the first object observes the second object through the target screen, when the relative directions of the three change, the target content of the target screen will no longer match the observation angle of the first object. However, when the relative directions of the three remain unchanged and only the distance changes, the target content of the target screen will not no longer match the viewing angle of the first object. The target content in the target screen observed by the first object and the second object meet the second condition.
[0088] The target strategy includes whether to adjust the target content in the target screen and the specific adjustment method.
[0089] The target content is the display content output on the target screen. Through the target strategy, the output of the target content on the target screen is controlled to ensure that the target content and the second object in the target screen observed by the first object meet the observation angle of the first object.
[0090] In a possible implementation, it is possible to first determine whether the second object satisfies the second condition when the current target content is output, and output the target content in different ways according to the judgment result, and then Figure 3 This process is described in detail in .
[0091] In this embodiment, a first object observes a second object through a target screen with a transmittance higher than a specific transmittance, and first data is obtained for the scene, where the first data is the position of the first object and / or the second object relative to the target screen; if the first data satisfies a first condition, and the position of the first object and / or the second object relative to the target screen changes, a target strategy is determined, and target content related to the second object is output based on the target strategy, so that the target content observed by the first object and the second object meet the second condition, and by controlling the target content in the target screen, it is ensured that when the first object observes the second object through the target screen, the content of the target screen matches the observation angle of the second object and the first object, thereby improving the observation effect.
[0092] Figure 3 It is a flowchart of outputting target content based on the target strategy provided by an embodiment of the present application, which may include steps 301 to 304. These steps are described in detail below.
[0093] 301. Obtain target content;
[0094] The target content is the content displayed in the current target screen, and when the first object observes the second object through the target screen, the target content can assist in observation.
[0095] 302. Determine whether the target content and the second object satisfy a second condition;
[0096] If the condition is satisfied, execute 303; if not, execute 304-305.
[0097] In a possible implementation, the changed position of the first object relative to the target screen and the position of the second object relative to the target screen are used to determine whether the target content and the second object satisfy the second condition.
[0098] In one possible implementation, the second output parameter can be determined using the first data. If the difference between the second output method and the first output method is not greater than a preset threshold, it is determined that the target content and the second object meet the second condition; if the difference between the second output method and the first output method is less than the preset threshold, it is determined that the target content and the second object do not meet the second condition.
[0099] Figure 4 This is a schematic diagram of another application scenario of the target screen provided by an embodiment of the present application, including a first object 401, a target screen 402, and a second object 403. The target screen displays target content, which is content related to the second object. In the schematic diagram, the first object is a person who is in front of the target screen and is watching the target content in the target screen, and the second object is an object placed behind the target screen and is being observed. (a) is when the positions of the first object and the second object relative to the target screen do not change, the target content and the second object in the target screen match the observation angle relative to the first object, and (b) is when the positions of the first object and the second object relative to the target screen change, the target content and the second object in the target screen do not match the observation angle relative to the first object, and the target content in the target screen and the second object in (a) do not meet the second condition, and the target content in the target screen and the second object in (b) meet the second condition.
[0100] Figure 5 This is another application scenario diagram of the target screen provided by the embodiment of the present application, including a first object 501, a target screen 502, and a second object 503. The target screen displays target content, which is content related to the second object. In the diagram, the first object is a person who is in front of the target screen and is watching the target content in the target screen, and the second object is an object placed behind the target screen and is being observed. (a) is when the positions of the first object and the second object relative to the target screen do not change, the target content and the second object in the target screen match the observation angle relative to the first object, and (b) is when the positions of the first object and the second object relative to the target screen change, the target content and the second object in the target screen match the observation angle relative to the first object. In (a) and (b), the target content and the second object in the target screen do not meet the second condition.
[0101] 303. Output the target content based on the first output parameter;
[0102] The first output parameter is an output parameter used by the target screen to currently output the target content.
[0103] Among them, when the target content and the second object meet the second condition, the target content in the target screen and the observation angle of the second object relative to the first object match, then when the first object observes the second object through the target screen, the output content on the target screen matches the second object, and there is no need to adjust the target content, and the first output parameter is directly used to output the target content.
[0104] 304. Adjust the output parameter of the target content from the first output parameter to the second output parameter;
[0105] Among them, when the target content and the second object do not satisfy the second condition, the target content in the target screen and the second object do not match the observation angle relative to the first object, then when the first object observes the second object through the target screen, the output content on the target screen does not match the second object, and it is necessary to adjust the target content and the first output parameter to adjust it to the second output parameter.
[0106] The second output parameter can adjust the output effect of outputting the target content in the current target screen, and control the output target content and the second object to meet the second condition.
[0107] In a possible implementation, the output parameters can be adjusted from two aspects. Figure 6 The process of adjusting the output parameter of the target content from the first output parameter to the second output parameter is described in detail.
[0108] 305. Output the target content based on the second output parameter.
[0109] After the output parameter is adjusted to the second output parameter, the target content is output based on the second output parameter, so that the output effect of the target content on the target screen is better than the output effect based on the first output parameter.
[0110] In actual application scenarios, the first data can be obtained in real time. If the target content and the second object do not meet the second condition, the output parameters can be adjusted in real time, thereby realizing real-time adjustment of the output content in the target screen, ensuring that the first object observes the second object through the target screen in a stable and optimal experience.
[0111] In a possible implementation, after the target content is output based on the second output parameter, the first object may slightly adjust its position relative to the target screen, and then the fine-tuning parameter is determined in combination with the fine-tuned data. Fig.11The process of determining fine-tuning parameters is described in detail in .
[0112] In this embodiment, the target content is obtained; if the target content and the second object satisfy the second condition, the target content is output based on the first output parameter; if the target content and the second object do not satisfy the second condition, the output parameter of the target content is adjusted from the first output parameter to the second output parameter; the target content is output based on the second output parameter, and different output parameters are determined according to whether the target content and the second object satisfy the second condition, so as to output the target content using different output parameters, thereby ensuring that the target content and the second object finally output satisfy the second condition, and when the first object observes the second object through the target screen, the content output on the target screen matches the second object, thereby improving the observation effect.
[0113] Figure 6 It is a flowchart of adjusting the output parameter of the target content from the first output parameter to the second output parameter provided by an embodiment of the present application, which may include steps 601 to 602, and these steps are described in detail below.
[0114] 601. Determine first adjustment data and / or second adjustment data based on the first data; the first adjustment data includes a scaling ratio of output content, and the second adjustment data includes a coordinate change of a central pixel of the output content;
[0115] The first data includes the positions of the first object and the second object relative to the target screen, and the adjustment data of the first output parameter currently used is determined based on the position. After the first output parameter is adjusted based on the adjustment data, the second output parameter can be obtained.
[0116] The output content is the content to be output to the target screen for display.
[0117] As an example, the output content may be a bubble box, a marking line, etc., and the specific content of the target content is not limited in this application.
[0118] Among them, due to the change in the orientation of the first object and / or the second object relative to the target screen, when the first object observes the second object through the target screen, the target content displayed on the target screen does not match the second object. The mismatch may be a mismatch in output content size, a match in output content position, or both.
[0119] Therefore, the output content is adjusted, specifically by adjusting the output parameters of the output content, specifically by adjusting at least one of the scaling ratio and the output position of the output content.
[0120] The adjustment data includes at least one of a scaling ratio of the output content and an output position of the output content. The output position of the output content is adjusted by adjusting the coordinates of the center pixel of the output content.
[0121] In a possible implementation, different determination rules may be used to determine the orientation relationship between the first object and the second object, the relative orientation relationship between the first object and the target screen, etc. according to the first data, and respectively determine the first adjustment data and the second adjustment data. Figure 8 and Fig.10 The process of determining the first adjustment data and the second adjustment data is described in detail.
[0122] 602. Adjust the first output parameter to the second output parameter based on the first adjustment data and / or the second adjustment data.
[0123] After the adjustment data is determined, the first output parameter is adjusted to the second output parameter according to the adjustment data.
[0124] In a possible implementation, the first output parameter at least includes color information outputted by each pixel in the target screen, and the color information outputted by each pixel constitutes output content outputted by the target screen.
[0125] Among them, the first adjustment data includes a scaling ratio of the output content, which corresponds to the number of pixels in the target screen. The larger the scaling ratio, the more corresponding pixels there are, and accordingly, when output in the target screen, the larger the corresponding display area is; the smaller the scaling ratio, the fewer corresponding pixels there are, and accordingly, when output in the target screen, the smaller the corresponding display area is.
[0126] The second adjustment data includes a coordinate change of a central pixel of the output content, and the coordinate change of the central pixel corresponds to a movement of a display area of the output content in the target screen, such as upward movement, downward right movement, left movement, etc.
[0127] In a possible implementation, the first output parameter is adjusted to a second output parameter, where the second output parameter is color information output by each pixel in the target screen after the scaling ratio of the output content is adjusted and / or the coordinates of the center pixel of the output content are changed.
[0128] Figure 7701 and 702. The target content 702 is a schematic diagram of a target screen provided by an embodiment of the present application, including a target screen 701 and a target content 702. (a) indicates that the original target content is output on the target screen, and the target content is output based on the first output parameter; (b) indicates that the target content is output on the target screen after the scaling is adjusted, and the target content is output based on the second output parameter obtained after the first adjustment parameter is adjusted; (c) indicates that the target content is output on the target screen after the output position is adjusted, and the target content is output based on the second output parameter obtained after the second adjustment parameter is adjusted; (d) indicates that the target content is output on the target screen after the scaling and output position are adjusted, and the target content is output based on the second output parameter obtained after the first adjustment parameter and the second adjustment parameter are adjusted.
[0129] In this embodiment, based on the first data, the first adjustment data and / or the second adjustment data are determined; the first adjustment data includes the scaling ratio of the output content, and the second adjustment data includes the coordinate change of the center pixel of the output content; based on the first adjustment data and / or the second adjustment data, the first output parameter is adjusted to the second output parameter. Based on the first data, the adjustment data for adjusting the output content is determined, and the original first output parameter is adjusted to the second output parameter using the adjustment data, so that the scaling ratio and display position of the output content are adjusted, so that the display area of the target content in the target screen matches when the first object observes the second object through the target screen, thereby improving the observation effect.
[0130] Figure 8 It is a flowchart of determining the first adjustment data based on the first data provided by an embodiment of the present application, which may include steps 801 to 802, and these steps are described in detail below.
[0131] 801. Determine a first angle and a second angle according to the first data, wherein the first angle is an angle between a first direction and a direction of a line connecting the first object and the second object, and the second angle is an angle between the first direction and a direction perpendicular to a target screen, wherein the first direction is a direction from the first object to the target screen and is parallel to a horizontal direction;
[0132] Among them, based on the first data, a first angle between the direction of the line connecting the first object and the second object relative to the first direction, and a second angle between the first direction and the direction perpendicular to the target screen are determined. The first angle is the angle at which the first object views the target screen, and the second angle is the angle at which the first object views the second object through the target screen.
[0133] The first angle and the second angle can represent the relative position relationship among the first object, the second object and the target screen, and the adjustment data is determined by using the first angle and the second angle.
[0134] Fig. 9 901, a target screen 902, and a second object 903. The arrow in the figure indicates a first direction, and the angle between the direction of the line connecting the first object 902 and the second object 903 and the first direction is a first angle. , the angle between the first direction and the vertical direction of the target screen 902 is the second angle .
[0135] In a possible implementation, the sensor set on the target screen can detect the distance and relative angle between the first object / second object and the sensor. In this embodiment, the first angle and the second angle can be determined by using data such as the distance and relative angle between the first object / second object and the sensor.
[0136] 802. Determine first adjustment data according to the first angle, the second angle, and a first determination rule.
[0137] The first determination rule is a rule for adjusting the scaling setting of the output content.
[0138] The first determination rule can be expressed by the following formula (1):
[0139] (1)
[0140] Wherein, S represents the first adjustment data, specifically the scaling ratio of the output content; and is the adjustment factor, used to control the sensitivity of the scaling; , ; represents the first angle; Represents the second angle.
[0141] Among them, the It can be called the scaling adjustment factor, It can be called the object angle scaling adjustment coefficient. and The selection is based on historical experience combined with machine learning optimization.
[0142] Fig.10 It is a flowchart of determining the second adjustment data based on the first data provided by an embodiment of the present application, which may include steps 1001 to 1002, and these steps are described in detail below.
[0143] 1001. Determine a first angle and a second angle according to the first data;
[0144] Among them, the process of determining the first angle and the second angle based on the first data, please refer to the explanation of 801 above, and will not be repeated here.
[0145] 1002. Determine second adjustment data according to the first angle, the second angle, and a second determination rule.
[0146] The second determination rule is a rule for output content displacement adjustment setting.
[0147] The second determination rule can be expressed by the following formula (2):
[0148] (2)
[0149] Wherein, D represents the second adjustment data, specifically the displacement of the output content; and is the adjustment coefficient, used to control the sensitivity of displacement; and The selection is to ensure that the displacement of the output content does not cause the output content to move out of the screen range; represents the first angle; Represents the second angle.
[0150] Among them, the It can be called the displacement adjustment coefficient, It can be called the object angle displacement adjustment coefficient. and The selection is based on historical experience combined with machine learning optimization.
[0151] In a possible implementation, different , , and Based on user feedback, the coefficients are adjusted to optimize visual effects and comfort.
[0152] Specifically, the visual experience feedback can be used to score visual comfort using three factors: visual clarity, visual fatigue, and visual cognitive burden.
[0153] Among them, visual clarity is the user's ability to clearly see the displayed content, visual fatigue is the degree of visual fatigue that may be caused by watching the screen for a long time, and visual cognitive burden is the cognitive effort required for the user to understand and process the displayed content.
[0154] Among them, the visual comfort score can be used to achieve visual experience feedback, and the visual comfort score can be expressed by the following formula (3):
[0155] (3)
[0156] in, represents the visual comfort score of the first object i, represents the visual clarity function, represents the visual fatigue function, represents the visual cognitive burden function. S represents the scaling ratio, D represents the displacement, represents the first angle of the first object i, represents the second angle of the first object i, , and is the weight coefficient.
[0157] Follow-up Fig.11 The fine-tuning parameters determined in are used in the process of machine learning optimization combined with the target model. The machine learning optimization process will be described in detail in the subsequent embodiments.
[0158] In a specific implementation, the process of determining the first angle and the second angle according to the first data may be performed only once, and then the process of determining the first adjustment data and the second adjustment data is performed respectively.
[0159] It should be noted that the first angle is selected in the first determination rule and the second determination rule. and the second angle The purpose of using the sine function of the first angle and the second angle is to achieve geometric simulation of viewing angle changes and smooth changes in visual effects, ultimately achieving a higher user visual experience.
[0160] The geometric simulation of the viewing angle change is due to the fact that in real scenes, when the user moves around the target screen, the viewing angle and When the size and position of the content on the screen change, the visual size and position of the content on the screen will also change. This change can be geometrically represented by and This is because The value of the function changes as the angle increases. This change is nonlinear between 0° and 90°, which can better simulate the changes in visual effects caused by changes in viewing angles in the real world. This means that depending on the viewing angle As the pixel size increases, the screen content gradually shrinks, simulating the visual effect of objects appearing smaller when viewed from the side.
[0161] Among them, the smooth change of visual effect is and Function, in arrive The range is monotonic, which means that as the viewing angle changes, the adjustment of the scale and displacement is smooth without mutation. Such smooth changes are more natural and comfortable for the user's visual experience.
[0162] As an example, the first angle =15°, the second angle =30°, the values of the adjustment coefficients are as follows: =0.2, =0.1, =50 and =10.
[0163] According to the above formula (1), the first adjustment data is calculated ;
[0164] According to the above formula (2), the second adjustment data is calculated .
[0165] According to the above calculation results, the scaling ratio S is 0.91, which is to reduce the output content to 91% of the original size to match the perspective effect when the user views from 30° and 15° angles.
[0166] According to the above calculation results, the displacement D is 27.59, and the output content moves horizontally 27.59 units relative to its original position on the screen. The direction of the displacement (left or right) depends on the angle and The positive and negative values of the angles generally indicate movement to the right, and negative values indicate movement to the left. In this example, the angles are all positive, indicating that the displacement is movement to the right.
[0167] As in the above example, when the user views the transparent screen from the side at angles of 30° and 15°, the content in the target screen will be reduced to 91% of its original size and moved 27.59 units to the right to enhance the user's visual experience from that angle. This ensures that no matter from what angle the user views the screen, the displayed content can be presented to the user in a natural and comfortable manner.
[0168] In this embodiment, a first angle and a second angle are determined based on first data, wherein the first angle is the angle between the first direction and the direction of the line connecting the first object and the second object, and the second angle is the angle between the first direction and the vertical direction of the target screen, and the first direction is the direction from the first object to the target screen and is parallel to the horizontal direction; first adjustment data are determined based on the first angle, the second angle and the first determination rule; and second adjustment data are determined based on the first angle, the second angle and the second determination rule. During the determination process, the relative relationship between the first object, the second object and the target screen is expressed as a specific angle relationship, and the specific angle relationship and the determination rule are used to calculate the adjustment data, and the adjustment data parameters are quantified, thereby achieving the purpose of accurate adjustment.
[0169] Fig.11 It is a flowchart of determining fine-tuning parameters provided in an embodiment of the present application, which may include steps 1101 to 1102. These steps are described in detail below.
[0170] 1101. Obtain second data within a target time period, where the second data is different from the first data;
[0171] After the target content is output based on the second output parameter, the process of determining the fine-tuning parameter in this embodiment is executed.
[0172] After the target screen outputs the target content based on the second output parameter, the relative positions of the first object and the second object are still obtained. If the movement of the first object / the second object causes the relative positions of the screen to change, the second data is obtained.
[0173] The target time period is a relatively short time.
[0174] If the second data is obtained within the target time period, it may be caused by the compensatory fine-tuning (specifically a small adjustment of the orientation) of the first object when the target content of the last adjustment of the output parameters is output on the target screen. The small adjustment of the orientation is because the effect of the first object observing the second object through the target screen does not meet the expectations of the first object. The expected viewing effect of the first object can be achieved through fine-tuning. The small adjustment of the orientation can be regarded as the compensatory fine-tuning of the viewing angle of the first object for the target content output on the current target screen.
[0175] If the second data is obtained within the target time period, it may also be caused by a relatively large direction adjustment when viewing other second objects.
[0176] Therefore, it is necessary to determine whether the current adjustment is a minor fine-tuning, specifically by determining whether the gap between the second data and the first data is smaller than a specific gap threshold.
[0177] Among them, the gap between the second data and the first data can be quantified using the first angle and the second angle, and the corresponding specific gap threshold can use the angle threshold corresponding to the two angles. If the change in the two angles is less than the corresponding angle threshold, it can be determined that the gap between the second data and the first data is less than the specific gap threshold; otherwise, it is determined that the gap between the second data and the first data is not greater than the specific gap threshold.
[0178] If the difference between the second data and the first data is small, it can be determined as a small azimuth adjustment, and the subsequent step 1102 is executed.
[0179] If the difference between the second data and the first data is large, it can be determined as a large-scale azimuth adjustment, and the second data is used as the new first data and returned to execute Figure 1 The display method flow in .
[0180] 1102. If the difference between the second data and the first data is smaller than a specific difference threshold, a fine-tuning parameter is determined based on the first data and the second data; the fine-tuning parameter is used to adjust the second output parameter to a third output parameter, so as to output the target content based on the third output parameter when the orientations of the first object and the second object relative to the target screen are the same as the changed directions corresponding to the first condition.
[0181] The second data includes the position of the current first object after fine-tuning relative to the target in the target screen. The second data is subtracted from the first data to obtain the difference between the two.
[0182] The second data includes a first angle after fine-tuning and a second angle after fine-tuning.
[0183] Among them, the difference between the second data and the first data includes: a first angle change and a second angle change, the changes of the two angles are caused by the fine-tuning of the orientation of the first object this time, the first angle change can be the difference between the first angle after fine-tuning and the first angle corresponding to the first data, the second angle change can be the difference between the second angle after fine-tuning and the second angle corresponding to the first data, and the changes of the two angles can also be regarded as compensatory moving angles.
[0184] A fine-tuning parameter is determined by using the second data and the first data, and the fine-tuning parameter corresponds to the fine-tuning of the first object position.
[0185] In one possible implementation, the second data can be used to determine a new zoom ratio and a new coordinate change of the center pixel of the output content. The new zoom ratio and the new displacement are compared with the zoom ratio and displacement determined by the first data to determine the difference between the two, and the difference can be used as a fine-tuning parameter.
[0186] Among them, the fine-tuning parameter is used to supplement the second output parameter of this time, and the second output parameter can be adjusted to the third output parameter. Since the first object has only a small adjustment in orientation this time, no supplementary adjustment is required. When the same scene appears again in the future, when the orientations of the first object and the second object relative to the target screen are the same as the changed directions corresponding to the first condition, the third target output parameter is directly used to output the target content, ensuring that the first object does not need to make a small adjustment in orientation and directly obtains a better display effect.
[0187] In this embodiment, after the target content is output based on the second output parameter, second data is obtained within the target time period, and the second data is different from the first data; if the difference between the second data and the first data is less than a specific difference threshold, a fine-tuning parameter is determined based on the first data and the second data; wherein the fine-tuning parameter is used to adjust the second output parameter to a third output parameter, so that when the orientations of the first object and the second object relative to the target screen are the same as the directions after the change corresponding to the first condition, the target content is output based on the third output parameter, so that after the output parameters of the target content are adjusted according to the orientations of the first object and the second object relative to the target screen, if the first object fine-tunes its orientation relative to the target screen, the fine-tuning parameter is determined using the fine-tuned second data and the first data, and the fine-tuning parameter adjusts the second output parameter to the third output parameter. When the same scenario as that of obtaining the first data is encountered subsequently, the target content is directly output using the third output parameter, without the need for the first object to fine-tune its orientation, thereby improving the accuracy of the adjusted display.
[0188] In a possible implementation, if the target content and the second object do not satisfy the second condition, adjusting the output parameter of the target content from the first output parameter to the second output parameter includes:
[0189] If the target content and the second object do not satisfy the second condition, input the first data into the target model to obtain a second output parameter output by the target model;
[0190] The target model performs a determination process of determining output parameters based on data (including the positions of the first object and the second object relative to the screen).
[0191] Accordingly, after determining the fine-tuning parameter based on the first data and the second data, the method further includes:
[0192] Based on the fine-tuning parameter, the target model is adjusted, and the adjusted target model can determine a third output parameter to output the target content based on the third output parameter when the orientations of the first object and the second object relative to the target screen are the same as the changed directions corresponding to the first condition.
[0193] Among them, after the fine-tuning parameters are determined, the internal parameters of the target model are adjusted using the fine-tuning parameters to achieve that when the same situation as the current one occurs again (the positions of the first object and the second object relative to the target screen are the same as the changed directions corresponding to the first condition), the target model can determine the third output parameter.
[0194] Among them, the target model can adopt an AI model, which can use reinforcement learning (RL) to optimize the adjustment strategy of the target content.
[0195] In a possible implementation, the target model can also be combined with user experience reinforcement learning to optimize the adjustment strategy of the target content.
[0196] Among them, the reinforcement learning optimization content includes: state (State), action (Action), reward (Reward) Q function.
[0197] The state includes: the first angle included in the first data , the second angle , adjustment coefficient , , and , and compensatory movement angle and ,in, , , represents the first angle after a small orientation of the first object, Indicates the second angle after a small change in the orientation of the first object.
[0198] The state can be expressed by the following formula (4):
[0199] (4)
[0200] The actions include: adjusting , , and The value of .
[0201] Action can be expressed by the following formula (5):
[0202] (5)
[0203] in, express Adjusted value, express Adjusted value, express Adjusted value, express Adjust the value.
[0204] The reward is based on the visual comfort score of the first object. and compensatory movement angle and Sure.
[0205] Reward can be expressed by the following formula (6):
[0206] (6)
[0207] Wherein, α, β, and γ are weight coefficients used to balance the impact of visual comfort and the compensatory movement of the first object.
[0208] Among them, the Q function It represents the expected return obtained by taking action a in state s. The goal is to learn the optimal Q function , so that the dynamics chosen in each state can maximize the long-term reward.
[0209] Among them, in actual use, the objective function can adjust the scaling ratio S and displacement D of the target content in the target screen in real time according to the current first data and the compensatory movement of the first object, so as to ensure that the target content output by the target screen is maintained at a position matching the observation angle of the first object, and try to ensure the viewing experience of the first object.
[0210] In this embodiment, if the target content and the second object do not satisfy the second condition, the first data is input into the target model to obtain the second output parameter of the target model output; then, after the fine-tuning parameter is determined, the target model is adjusted based on the fine-tuning parameter, and the adjusted target model can determine the third output parameter, so that when the orientations of the first object and the second object relative to the target screen are the same as the changed directions corresponding to the first condition, the target content is output based on the third output parameter, and the target model is used to generate the second output parameter for the output content in the target screen, and after the target content is output according to the second output parameter, the compensatory fine-tuning performed on the first object determines that the output parameter that better matches the first data is the third output parameter, and the target model also uses the fine-tuning parameter to adjust the target model to optimize the target model, so that the target model outputs the third output parameter under the same circumstances, thereby improving the adjustment accuracy of the target model.
[0211] In a possible implementation, the target content is instruction information that matches the second object and is used to guide the first object to observe the second object.
[0212] The target content is indication information, and the indication information matches the second object, which may be that the target content and the second object correspond in position, shape, color, or other matching manners.
[0213] The target content is used to guide the first object to observe the second object. The target content may be a frame, a marking line, etc., used to highlight the second object. The target content may also include information explaining the second object, etc.
[0214] Fig.12 12 is a schematic diagram of a target screen display effect in an application scenario provided by an embodiment of the present application. The target screen has a second object 1201 behind it. The target screen displays target content 1202. The target content is a frame surrounding the second object, and the target content also includes a textual explanation of the second object. Fig.12 In the figure, the second object is a plant, and the target content includes a description text for the plant. In the figure, a dotted line is used to represent the second object located on the other side of the target screen, and a solid line is used to represent the target content output by the target screen.
[0215] Fig.13 This is a flowchart of determining a target strategy if the first data meets a first condition provided by an embodiment of the present application, which may include steps 1301 to 1302, and these steps are described in detail below.
[0216] 1301. Determine the first target object;
[0217] When a plurality of first objects observe a second object through a target screen, a target object may be preset, and the priority of the target object is higher than that of other first objects.
[0218] Accordingly, when displaying, priority is given to ensuring the viewing experience of the first target object.
[0219] When the sensor detects that there is a first object within its detection range, the first object may be distinguished to determine whether it is a target first object.
[0220] In a possible implementation, the target first object and other objects can be distinguished by face recognition; or the target first object and non-target first object can be distinguished by the closest person determined by image recognition, and the closest person in the image is used as the target first object, and other people are used as non-target first objects. This application does not limit the method for distinguishing the target first object and non-target first object by the first object.
[0221] If it is the target first object, the first data corresponding to it is obtained and subsequently processed; if it is not the target first object, the corresponding data is not obtained.
[0222] 1302. If the first data of the target first object meets the first condition, determine the target strategy based on the first data of the target first object, the number of first objects is at least two, the first objects include the target first object and the non-target first object, and the priority of the target first object is higher than that of the non-target first object.
[0223] After obtaining the first data of the target first object, only the first data of the target first object is analyzed and processed to determine the target strategy corresponding to the target first object to ensure the observation experience of the target first object.
[0224] As an example, there are three people, ABC, in front of the target screen. After the sensor detects these three people, priority identification is performed on them. Among them, A has the highest priority and is taken as the first target object. The first data of A is collected, and the target strategy is determined to control the target content in the target screen to ensure the purpose output of A's observation effect.
[0225] In this embodiment, when there are multiple first objects, the first objects are divided into target first objects and non-target first objects, and the target first objects have a higher priority than the non-target first objects; if the first data of the target first object meets the first condition, the target strategy is determined based on the first data of the target first object, thereby ensuring the observation effect of the target first object with higher priority.
[0226] Fig.14 This is another flowchart diagram of determining a target strategy if the first data satisfies a first condition provided by an embodiment of the present application, which may include steps 1401 to 1402, and these steps are described in detail below.
[0227] 1401. If first data of at least one first object meets a first condition, determine average first data based on the first data of each first object;
[0228] When the number of the first objects is at least two, display adjustment needs to be performed for the situation where multiple first objects are viewed simultaneously.
[0229] The adjustment method in this embodiment is based on the average viewing angle.
[0230] In a possible implementation, when the first data of any first object meets the first condition, display control may be performed on the target content in the target screen to ensure an overall viewing experience.
[0231] In a possible implementation, the target content in the target screen may be adjusted only when more than a specific proportion of the first data of the first object satisfies the first condition, in order to reduce the frequency of adjustment.
[0232] The specific ratio may be 1 / 2. When more than half of the first objects adjust their viewing positions (causing the first data to meet the first condition), display adjustment is performed on the target content in the target screen to ensure viewing experience for most of the first objects.
[0233] Among them, the sensor that collects data for the first object collects data on the positions of each first object and the target screen within its collection range, and the sensor that collects data for the second object collects data on the positions of the first object and the target screen to obtain the first data of each first object.
[0234] When determining the target strategy, the first objects of each first object are averaged to obtain the average first data of the first object as a whole.
[0235] 1402. Determine a target strategy based on the average first data.
[0236] Among them, the average first data is determined based on the average value of the first data of each first user. Accordingly, the target strategy is determined based on the average first data, and the adjustment data is subsequently determined, etc., which can ensure that the target content output in the target screen is within an acceptable visual effect range for all first objects.
[0237] Among them, the above embodiment can be Figure 8-Figure 10 The first angle and the second angle in are used as the basis for taking the average value, the first angles of the first users are averaged to obtain the average first angle, and the second angles of the first users are averaged to obtain the average second angle. The average first angle and the average second angle are subsequently used as adjustment reference angles to determine the adjustment data.
[0238] The average angle can be determined using the following formula (7) and formula (8):
[0239] (7)
[0240] (8)
[0241] in, represents the average first angle, represents the average second angle, n represents the number of first objects, is the first angle of the i-th user, is the second angle of the i-th user.
[0242] Accordingly, the output parameters of the output content are adjusted based on the average angle to determine the adjustment data.
[0243] The following formulas (9) and (10) can be used to determine the adjustment data in this scenario:
[0244] (9)
[0245] (10)
[0246] Wherein, S represents the first adjustment data, specifically the scaling ratio of the output content; D represents the second adjustment data, specifically the displacement of the output content; , , and is the adjustment factor; represents the average first angle; represents the average second angle.
[0247] In this embodiment, when the number of first objects is at least two, if the first data of at least one first object meets the first condition, average first data is determined based on the first data of each first object; a target strategy is determined based on the average first data, and an adjustment method based on the average viewing angle is adopted to adjust the target content in the target screen, so as to ensure that the target content output in the target screen is within an acceptable visual effect range for all first objects, thereby ensuring the overall first object experience.
[0248] A display method provided by an embodiment of the present application is introduced above, and an electronic device that executes the above display method will be introduced below.
[0249] Fig.15 Schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.15 As shown, the electronic device 1500 includes: a target screen 1501 and a processor 1502 provided with a target strategy;
[0250] The light transmittance of the target screen is higher than a specific light transmittance, and the first object can observe the second object through the target screen;
[0251] The processor is used to determine a target strategy based on first data satisfying a first condition, the first data including the position of a first object and / or a second object relative to a target screen, and the first condition characterizing a change in the position of the first object and / or the second object relative to the target screen; based on the target strategy, output target content so that the target content observed by the first object and the second object satisfy a second condition; the target content is related to the second object.
[0252] In one possible implementation, the processor includes:
[0253] A strategy determination module, configured to determine a target strategy based on the first data satisfying a first condition;
[0254] The output module outputs the target content based on the target strategy.
[0255] In a possible implementation, the output module includes:
[0256] An acquisition unit, used for acquiring target content;
[0257] a first output unit, outputting the target content based on a first output parameter if the target content and the second object satisfy a second condition;
[0258] an adjusting unit, configured to adjust an output parameter of the target content from a first output parameter to a second output parameter if the target content and the second object do not satisfy a second condition;
[0259] The second output unit is configured to output the target content based on the second output parameter.
[0260] In a possible implementation, the adjustment unit includes:
[0261] A determination subunit, configured to determine first adjustment data and / or second adjustment data based on the first data; the first adjustment data includes a scaling ratio of the output content, and the second adjustment data includes a coordinate change of a central pixel of the output content;
[0262] The adjustment subunit is used to adjust the first output parameter to the second output parameter based on the first adjustment data and / or the second adjustment data.
[0263] In a possible implementation, the determining subunit determines the first adjustment data based on the first data, specifically including:
[0264] Determine a first angle and a second angle according to the first data, wherein the first angle is an angle between a first direction and a direction of a line connecting the first object and the second object, and the second angle is an angle between the first direction and a direction perpendicular to the target screen, wherein the first direction is a direction from the first object to the target screen and is parallel to the horizontal direction;
[0265] Determine first adjustment data according to the first angle, the second angle and a first determination rule;
[0266] Correspondingly, the determining subunit determines the second adjustment data based on the first data, specifically including:
[0267] Determine a first angle and a second angle according to the first data;
[0268] Second adjustment data is determined according to the first angle, the second angle and a second determination rule.
[0269] In a possible implementation, the processor further includes:
[0270] an obtaining module, after outputting the target content based on the second output parameter, obtaining second data within a target time period, the second data being different from the first data;
[0271] a determination module, configured to determine a fine-tuning parameter based on the first data and the second data if the difference between the second data and the first data is less than a specific difference threshold;
[0272] The fine-tuning parameter is used to adjust the second output parameter to a third output parameter, so as to output the target content based on the third output parameter when the orientations of the first object and the second object relative to the target screen are the same as the changed directions corresponding to the first condition.
[0273] In a possible implementation, the adjustment unit is specifically configured to:
[0274] If the target content and the second object do not satisfy the second condition, input the first data into the target model to obtain a second output parameter output by the target model;
[0275] Accordingly, the processor further includes:
[0276] The model adjustment module adjusts the target model based on the fine-tuning parameter, and the adjusted target model can determine a third output parameter to output the target content based on the third output parameter when the orientations of the first object and the second object relative to the target screen are the same as the changed directions corresponding to the first condition.
[0277] In a possible implementation, the target content is instruction information that matches the second object and is used to guide the first object to observe the second object.
[0278] In a possible implementation, the policy determination module includes any of the following:
[0279] A first policy determination unit is configured to determine a target policy according to the first data of a target first object if the first data of the target first object satisfies a first condition, the number of the first objects is at least two, the first objects include the target first object and the non-target first object, and the priority of the target first object is higher than that of the non-target first object;
[0280] The second strategy determination unit is configured to determine average first data based on the first data of each first object if the first data of at least one first object meets the first condition; and determine a target strategy based on the average first data.
[0281] It should be noted that for the functional explanation of each component structure in the processor of an electronic device provided in this embodiment, please refer to the explanation in the aforementioned method embodiment, and it will not be repeated in this embodiment.
[0282] In this embodiment, a first object observes a second object through a target screen with a transmittance higher than a specific transmittance, and first data is obtained for the scene, where the first data is the position of the first object and / or the second object relative to the target screen; if the first data satisfies a first condition, and the position of the first object and / or the second object relative to the target screen changes, a target strategy is determined, and target content related to the second object is output based on the target strategy, so that the target content observed by the first object and the second object meet the second condition, and by controlling the target content in the target screen, it is ensured that when the first object observes the second object through the target screen, the content of the target screen matches the observation angle of the second object and the first object, thereby improving the observation effect.
[0283] The present application also provides an electronic device in an embodiment. Fig.16 As shown, it shows another structural schematic diagram of an electronic device suitable for implementing the embodiment of the present application. The electronic device in the embodiment of the present application may include but is not limited to fixed terminals such as mobile phones, notebook computers, PDAs (personal digital assistants), PADs (tablet computers), desktop computers, etc. Fig.16 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0284] like Fig.16 As shown, the electronic device may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 1601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1602 or a program loaded from a storage device 1608 to a random access memory (RAM) 1603. When the electronic device is powered on, various programs and data required for the operation of the electronic device are also stored in the RAM 1603. The processing device 1601, the ROM 1602, and the RAM 1603 are connected to each other via a bus 1604. An input / output (I / O) interface 1605 is also connected to the bus 1604.
[0285] Typically, the following devices may be connected to the I / O interface 1605: an input device 1606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 1607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 1608 including, for example, a memory card, a hard disk, etc.; and a communication device 1609. The communication device 1609 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although Fig.16 An electronic device having various devices is shown, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0286] An embodiment of the present application also provides a computer program product including computer-readable instructions. When the computer-readable instructions are executed on an electronic device, the electronic device implements any display method provided in the embodiment of the present application.
[0287] A computer-readable storage medium is also provided in an embodiment of the present application. The storage medium carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement any display method provided in the embodiment of the present application.
[0288] It should also be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.
[0289] Through the description of the above implementation mode, the technicians in the field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course, it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation mode in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a ROM, a RAM, a disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a training device, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0290] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.
[0291] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a training device, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, training device, or data center. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.
Claims
1. A display method, comprising: Obtaining first data, the first data including the position of the first object and / or the second object relative to the target screen; The light transmittance of the target screen is higher than a specific light transmittance, and the first object can observe the second object through the target screen; If the first data satisfies a first condition, determining a target strategy; The first condition indicates that the position of the first object and / or the second object relative to the target screen changes; Based on the target strategy, target content is outputted so that the target content observed by the first object and the second object satisfy a second condition; and the target content is related to the second object.
2. The display method according to claim 1, wherein outputting target content based on the target strategy comprises: Get the target content; If the target content and the second object satisfy a second condition, outputting the target content based on a first output parameter; If the target content and the second object do not satisfy a second condition, adjusting an output parameter of the target content from a first output parameter to a second output parameter; and outputting the target content based on the second output parameter.
3. The display method according to claim 2, wherein adjusting the output parameter of the target content from the first output parameter to the second output parameter comprises: Based on the first data, determining first adjustment data and / or second adjustment data; The first adjustment data includes a scaling ratio of the output content, and the second adjustment data includes a coordinate change of a central pixel of the output content; Based on the first adjustment data and / or the second adjustment data, the first output parameter is adjusted to the second output parameter.
4. The display method according to claim 3, wherein determining the first adjustment data based on the first data comprises: Determine a first angle and a second angle according to the first data, wherein the first angle is an angle between a first direction and a direction of a line connecting the first object and the second object, and the second angle is an angle between the first direction and a direction perpendicular to a target screen, wherein the first direction is a direction from the first object to the target screen and is parallel to a horizontal direction; Determine first adjustment data according to the first angle, the second angle and a first determination rule; Accordingly, determining the second adjustment data based on the first data includes: Determine a first angle and a second angle according to the first data; Second adjustment data is determined according to the first angle, the second angle and a second determination rule.
5. The display method according to claim 2, after outputting the target content based on the second output parameter, further comprising: obtaining second data within a target time period, where the second data is different from the first data; If the difference between the second data and the first data is smaller than a specific difference threshold, determining a fine-tuning parameter based on the first data and the second data; The fine-tuning parameter is used to adjust the second output parameter to a third output parameter, so as to output the target content based on the third output parameter when the orientations of the first object and the second object relative to the target screen are the same as the changed directions corresponding to the first condition.
6. The display method according to claim 5, wherein the target content and the second object do not satisfy a second condition, and adjusting the output parameter of the target content from a first output parameter to a second output parameter comprises: If the target content and the second object do not satisfy a second condition, inputting the first data into a target model to obtain a second output parameter output by the target model; Accordingly, after determining the fine-tuning parameter based on the first data and the second data, the method further includes: Based on the fine-tuning parameters, the target model is adjusted, and the adjusted target model can determine a third output parameter to output the target content based on the third output parameter when the orientations of the first object and the second object relative to the target screen are the same as the changed directions corresponding to the first condition. 7 . The display method according to claim 1 , wherein the target content is instruction information that matches the second object and is used to guide the first object to observe the second object.
8. The display method according to claim 1, wherein if the first data satisfies the first condition, determining the target strategy comprises any one of the following: If the first data of the target first object meets the first condition, a target strategy is determined according to the first data of the target first object, the number of first objects is at least two, the first objects include the target first object and the non-target first object, and the priority of the target first object is higher than that of the non-target first object; If the first data of at least one first object meets the first condition, determining average first data based on the first data of each first object; A target strategy is determined based on the average first data.
9. An electronic device, comprising: a target screen and a processor having a target policy set therein; The light transmittance of the target screen is higher than a specific light transmittance, and the first object can observe the second object through the target screen; The processor is configured to determine a target strategy based on first data satisfying a first condition, the first data comprising an orientation of a first object and / or a second object relative to a target screen, the first condition indicating that an orientation of the first object and / or the second object relative to the target screen changes; Based on the target strategy, target content is outputted so that the target content observed by the first object and the second object satisfy a second condition; and the target content is related to the second object.
10. A computer storage medium, wherein the storage medium carries one or more computer programs, and when the one or more computer programs are executed by an electronic device, the electronic device can implement the display method as claimed in any one of claims 1 to 8.