[go: up one dir, main page]

CN114296676A - A display control method, device and electronic device - Google Patents

A display control method, device and electronic device Download PDF

Info

Publication number
CN114296676A
CN114296676A CN202111675056.3A CN202111675056A CN114296676A CN 114296676 A CN114296676 A CN 114296676A CN 202111675056 A CN202111675056 A CN 202111675056A CN 114296676 A CN114296676 A CN 114296676A
Authority
CN
China
Prior art keywords
light source
target
information
determining
target object
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111675056.3A
Other languages
Chinese (zh)
Inventor
李昭赋
叶松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202111675056.3A priority Critical patent/CN114296676A/en
Publication of CN114296676A publication Critical patent/CN114296676A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The application discloses a display control method, a display control device and electronic equipment, wherein the display control method comprises the following steps: acquiring at least one acquired image for the target object and the light source; determining a spatial position relationship of the target object, the electronic device and the target light source based on the acquired image; and determining a display mode of the information to be displayed based on the spatial position relation so as to display the information to be displayed on the electronic equipment based on the display mode.

Description

一种显示控制方法、装置及电子设备A display control method, device and electronic device

技术领域technical field

本申请涉及电子设备技术领域,尤其涉及一种显示控制方法、装置及电子设备。The present application relates to the technical field of electronic devices, and in particular, to a display control method, device, and electronic device.

背景技术Background technique

伴随着电子设备技术的发展,越来越多的电子设备被应用于工作和学习中。电子设备的显示屏幕上内容显示的效果很大程度取决于其所在环境的环境亮度,某些应用环境会影响电子设备的显示效果。例如,电子设备通常会由于外部光源的而影响,造成显示屏幕的部分区域或全部区域的反光现象,影响用户的使用。With the development of electronic device technology, more and more electronic devices are used in work and study. The display effect of the content on the display screen of the electronic device largely depends on the ambient brightness of the environment where the electronic device is located, and some application environments will affect the display effect of the electronic device. For example, an electronic device is usually affected by an external light source, causing a reflection phenomenon in part or all of the display screen, which affects the use of the user.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本申请提供一种显示控制方法、装置及电子设备,如下:In view of this, the present application provides a display control method, device and electronic device, as follows:

一种显示控制方法,包括:A display control method, comprising:

获取针对目标对象和光源的至少一个采集图像;acquiring at least one acquisition image for the target object and the light source;

基于所述采集图像,确定所述目标对象、电子设备以及目标光源的空间位置关系;determining the spatial positional relationship between the target object, the electronic device and the target light source based on the captured image;

基于所述空间位置关系,确定待显示信息的显示模式,以使得基于所述显示模式在所述电子设备上对所述待显示信息进行显示。Based on the spatial positional relationship, a display mode of the information to be displayed is determined, so that the information to be displayed is displayed on the electronic device based on the display mode.

可选地,所述获取针对目标对象和光源的至少一个采集图像,包括:Optionally, the acquiring at least one acquisition image of the target object and the light source includes:

获取针对目标对象和光源的第一角度的第一采集图像;acquiring a first captured image for a first angle of the target object and the light source;

获取针对目标对象和光源的第二角度的第二采集图像,其中,所述第一角度与所述第二角度不同。A second acquired image is acquired for a second angle of the target object and the light source, wherein the first angle is different from the second angle.

可选地,所述基于所述采集图像,确定目标对象、电子设备和目标光源的空间位置关系,包括:Optionally, determining the spatial positional relationship between the target object, the electronic device, and the target light source based on the collected image, including:

基于所述第一采集图像对应的第一图像特征,确定光源信息;determining light source information based on the first image feature corresponding to the first captured image;

基于所述第二采集图像对应的第二图像特征,确定目标对象与电子设备的位置关系;determining the positional relationship between the target object and the electronic device based on the second image feature corresponding to the second captured image;

基于所述位置关系和所述光源信息,确定目标光源;determining a target light source based on the positional relationship and the light source information;

基于所述位置关系和所述目标光源,建立所述目标对象、电子设备以及目标光源的空间位置关系。Based on the positional relationship and the target light source, a spatial positional relationship between the target object, the electronic device, and the target light source is established.

可选地,所述基于所述空间位置关系,确定待显示信息的显示模式,包括:Optionally, determining the display mode of the information to be displayed based on the spatial position relationship includes:

基于所述空间位置关系,确定所述电子设备的反光区域;determining the reflective area of the electronic device based on the spatial positional relationship;

基于所述反光区域,确定待显示信息的显示模式。Based on the reflective area, a display mode of the information to be displayed is determined.

可选地,所述基于所述空间位置关系,确定所述电子设备的反光区域,包括:Optionally, the determining the reflective area of the electronic device based on the spatial position relationship includes:

基于所述空间位置关系,确定所述目标对象的眼部坐标信息以及所述目标光源的边缘坐标信息;Determine eye coordinate information of the target object and edge coordinate information of the target light source based on the spatial position relationship;

基于所述眼部坐标信息和所述目标光源的边缘坐标信息,确定目标关系式;Determine a target relational expression based on the eye coordinate information and the edge coordinate information of the target light source;

基于所述目标关系式以及所述电子设备对应的显示屏信息,确定所述电子设备的显示屏的反光区域。Based on the target relational expression and information on the display screen corresponding to the electronic device, a reflective area of the display screen of the electronic device is determined.

可选地,所述基于所述反光区域,确定待显示信息的显示模式,包括:Optionally, determining the display mode of the information to be displayed based on the reflective area includes:

若所述反光区域不大于目标区域面积,确定与所述反光区域相匹配的目标显示参数,以基于所述目标显示参数对所述反光区域进行调整;If the reflective area is not larger than the area of the target area, determining a target display parameter matching the reflective area, so as to adjust the reflective area based on the target display parameter;

若所述反光区域大于目标区域面积,确定电子设备的角度调整参数,以使得基于所述角度调整参数调整所述电子设备的摆放角度。If the reflective area is larger than the area of the target area, an angle adjustment parameter of the electronic device is determined, so that the placement angle of the electronic device is adjusted based on the angle adjustment parameter.

可选地,所述基于所述空间位置关系,确定待显示信息的显示模式,包括:Optionally, determining the display mode of the information to be displayed based on the spatial position relationship includes:

获取待显示信息的显示特征;Obtain the display characteristics of the information to be displayed;

至少基于所述显示特征和所述空间位置关系,确定待显示信息的目标显示区域,以使所述待显示信息在所述目标显示区域进行显示。A target display area of the information to be displayed is determined based on at least the display feature and the spatial position relationship, so that the information to be displayed is displayed in the target display area.

一种显示控制装置,包括:A display control device, comprising:

获取单元,用于获取针对目标对象和光源的至少一个采集图像;an acquisition unit for acquiring at least one captured image of the target object and the light source;

第一确定单元,用于基于所述采集图像,确定所述目标对象、电子设备以及目标光源的空间位置关系;a first determining unit, configured to determine the spatial positional relationship between the target object, the electronic device, and the target light source based on the captured image;

第二确定单元,用于基于所述空间位置关系,确定待显示信息的显示模式,以使得基于所述显示模式在所述电子设备上对所述待显示信息进行显示。A second determining unit, configured to determine a display mode of the information to be displayed based on the spatial position relationship, so that the information to be displayed is displayed on the electronic device based on the display mode.

一种电子设备,包括:An electronic device comprising:

存储器,用于存储程序;memory for storing programs;

处理器,用于调用并执行所述存储器中的所述程序,通过执行所述程序实现如上中任一项所述的显示控制方法的各个步骤。The processor is configured to call and execute the program in the memory, and implement each step of the display control method described in any one of the above by executing the program.

一种可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时,实现如上中任一项所述的显示控制方法的各个步骤。A readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements each step of the display control method described in any one of the above.

附图说明Description of drawings

为了更清楚地说明本申请实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the embodiments of the present application more clearly, the following briefly introduces the drawings that are used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.

图1为本申请实施例提供的一种显示控制方法的流程示意图;1 is a schematic flowchart of a display control method provided by an embodiment of the present application;

图2为本申请实施例提供的一种确定反光区域的示意图;2 is a schematic diagram of determining a reflective area according to an embodiment of the present application;

图3为本申请实施例提供的一种目标场景的示意图;FIG. 3 is a schematic diagram of a target scene provided by an embodiment of the present application;

图4为本申请实施例提供的一种显示控制装置的结构示意图;FIG. 4 is a schematic structural diagram of a display control device provided by an embodiment of the present application;

图5为本申请实施例提供的一种电子设备的结构示意图。FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

本申请实施例提供了一种显示控制方法,应用于电子设备对待显示信息进行显示的场景。通过对电子设备、需要获取显示信息的目标对象以及当前场景中的光源的信息,使得待显示信息在电子设备上进行显示时能够达到较好的显示效果,满足目标对象的体验效果。An embodiment of the present application provides a display control method, which is applied to a scenario where an electronic device displays information to be displayed. Through the information on the electronic device, the target object that needs to obtain display information, and the light source in the current scene, the information to be displayed can achieve a better display effect when displayed on the electronic device, and satisfy the experience effect of the target object.

请参见图1,为本申请实施例提供的一种显示控制方法的流程示意图,该方法可以包括以下步骤:Please refer to FIG. 1 , which is a schematic flowchart of a display control method provided by an embodiment of the present application. The method may include the following steps:

S101、获取针对目标对象和光源的至少一个采集图像。S101. Acquire at least one captured image of a target object and a light source.

S102、基于采集图像,确定目标对象、电子设备以及目标光源的空间位置关系。S102. Determine the spatial positional relationship between the target object, the electronic device, and the target light source based on the collected image.

S103、基于空间位置关系,确定待显示信息的显示模式。S103. Determine a display mode of the information to be displayed based on the spatial position relationship.

在步骤S101中,目标对象是指基于电子设备获得显示信息的对象,如电子设备的操作者、观看者等。光源是指当前电子设备和目标对象所在场景中的高亮区域,例如阳光区域、灯光区域等。在确定光源时,可以通过获取当前场景的图像,将图像中像素点的亮度大于设亮度阈值对应的图像区域确定为光源。也可以是根据图像进行特征识别,识别出灯所在区域确定为光源。In step S101 , the target object refers to an object that obtains display information based on the electronic device, such as an operator and a viewer of the electronic device. The light source refers to the highlighted area in the scene where the current electronic device and the target object are located, such as the sunlight area, the light area, etc. When determining the light source, an image of the current scene can be acquired, and an image area in which the brightness of the pixels in the image is greater than the brightness threshold corresponding to the set brightness threshold can be determined as the light source. It is also possible to perform feature recognition according to the image, and identify the area where the lamp is located and determine it as the light source.

需要说明的是,在本申请实施例中的采集图像是至少一个,即可以通过多张不同的角度的采集图像确定目标对象、光源以及电子设备的相关信息。具体的,可以通过不同的图像采集元件进行所在场景的图像采集,也可以是基于同一图像采集元件针对不同的图像采集角度进行图像采集。对应的,图像采集元件可以设置在需要对待显示信息进行显示的电子设备上,若是通过不同的图像采集元件进行图像采集,该图像采集元件至少包括普通的二维图像采集元件,如电子设备的前置摄像头,用于获取包括目标对象和光源的场景采集图像;还包括可以获取图像深度信息的深度相机,如采用TOF(Time Of Flight,飞行时间)摄像头或者双目摄像头等,可以通过TOF摄像头来测量目标对象与电子设备之间的距离。若基于同一图像采集元件进行不同角度的图像采集时,该设置在电子设备上的图像采集元件可以是深度相机,该深度相机可以基于不同的采集角度获得若干个深度图像,基于对深度图像进行分析,可以确定出目标对象、光源的空间位置信息,以及电子设备与目标对象之间的空间位置关系。通过多角度图像采集或者多张图像进行相关对象和特征的识别,能够提升识别精度。It should be noted that, in the embodiment of the present application, the captured image is at least one, that is, the relevant information of the target object, the light source, and the electronic device may be determined through a plurality of captured images from different angles. Specifically, the image acquisition of the scene may be performed by different image acquisition elements, or the image acquisition may be performed based on the same image acquisition element for different image acquisition angles. Correspondingly, the image acquisition element can be set on the electronic device that needs to display the information to be displayed. If the image acquisition is performed by different image acquisition elements, the image acquisition element at least includes a common two-dimensional image acquisition element, such as the front of the electronic equipment. It also includes a depth camera that can obtain image depth information, such as a TOF (Time Of Flight) camera or a binocular camera, etc., which can be obtained through the TOF camera. Measure the distance between the target object and the electronic device. If image acquisition at different angles is performed based on the same image acquisition element, the image acquisition element provided on the electronic device may be a depth camera, and the depth camera may acquire several depth images based on different acquisition angles, and analyze the depth images based on , the spatial position information of the target object, the light source, and the spatial position relationship between the electronic device and the target object can be determined. Recognition of related objects and features through multi-angle image acquisition or multiple images can improve the recognition accuracy.

在步骤S102中,可以通过获得采集图像,确定目标对象、电子设备以及目标光源的空间位置关系。例如,通过TOF摄像头和普通摄像头分别采集获得对应的图像,可以确定出光源的空间位置、目标对象人眼的空间位置,基于TOF摄像头采集得到的图像可以确定电子设备与目标对象之间的距离和角度信息,然后基于该距离和角度信息在光源中确定能够直接影响目标对象的目标光源。从而可以建立目标对象、电子设备以及目标光源的空间位置关系。In step S102, the spatial positional relationship between the target object, the electronic device, and the target light source may be determined by obtaining the captured image. For example, the corresponding images are acquired by the TOF camera and the ordinary camera, respectively, and the spatial position of the light source and the spatial position of the target object's eyes can be determined. Based on the images collected by the TOF camera, the distance and distance between the electronic device and the target object can be determined. angle information, and then based on this distance and angle information, a target light source that can directly affect the target object is determined among the light sources. Thus, the spatial positional relationship between the target object, the electronic device and the target light source can be established.

在同一场景中可能会存在至少一个光源,例如,在办公区域中有多个灯,就会被识别为多个光源,但是在这些光源中会存在直接影响目标对象的光源,将该光源确定为目标光源。或者是同一光源具有多个发光点,例如一个灯具具有多个不同摆放角度的灯泡,将最影响目标对象获取显示显示信息的发光点确定为目标光源。在一种实施方式中,最主要是通过目标对象、电子设备和光源之间的角度信息来确定目标光源,还可以是设定一个较高的像素亮度阈值,当光源的平均像素值高于该像素亮度阈值对应的光源确定为目标光源。There may be at least one light source in the same scene, for example, there are multiple lights in an office area, which will be recognized as multiple light sources, but there will be light sources that directly affect the target object in these light sources, and the light source will be determined as target light source. Or the same light source has multiple light-emitting points, for example, a lamp has multiple bulbs with different placement angles, and the light-emitting point that most affects the acquisition and display information of the target object is determined as the target light source. In one embodiment, the target light source is mainly determined by the angle information between the target object, the electronic device and the light source, and a higher pixel brightness threshold can also be set. When the average pixel value of the light source is higher than the The light source corresponding to the pixel brightness threshold is determined as the target light source.

目标对象、电子设备以及目标光源的空间位置关系,主要是通过它们之间的距离和角度来确定。通过该空间位置关系可以确定目标光源在电子设备上的影响区域,如反光区域。也可以根据目标对象与电子设备之间的距离和角度,确定该目标光源在电子设备上对目标对象产生的实际影响区域。The spatial positional relationship between the target object, the electronic device and the target light source is mainly determined by the distance and angle between them. The influence area of the target light source on the electronic device, such as the reflective area, can be determined through the spatial positional relationship. The actual influence area of the target light source on the target object on the electronic device can also be determined according to the distance and angle between the target object and the electronic device.

在步骤S103中,可以根据空间位置关系,确定待显示信息的显示模式。进一步地,可以根据空间位置关系,确定实际影响目标对象的电子设备上的反光区域。确定待显示信息的显示模式可以是调整电子设备上该反光区域的显示参数的关联信息,例如,增加该区域的亮度、对比对等信息。还可以是对待显示信息进行调整,如对相关文字进行放大、加粗等处理,以便能够降低反光区域的影响,还可以是调整电子设备和目标对象的相对角度,使得电子设备能够避开该光源。In step S103, the display mode of the information to be displayed may be determined according to the spatial position relationship. Further, the reflective area on the electronic device that actually affects the target object can be determined according to the spatial position relationship. Determining the display mode of the information to be displayed may be information related to adjusting the display parameters of the reflective area on the electronic device, for example, information such as increasing the brightness of the area, contrasting and matching information. It can also adjust the information to be displayed, such as enlarging and bolding the relevant text, so as to reduce the influence of the reflective area, and it can also adjust the relative angle between the electronic device and the target object, so that the electronic device can avoid the light source. .

在本申请实施例提供的一种显示控制方法中,获取针对目标对象和光源的至少一个采集图像;基于采集图像,确定目标对象、电子设备以及目标光源的空间位置关系;基于空间位置关系,确定待显示信息的显示模式,以使得基于所述显示模式在所述电子设备上对待显示信息进行显示。实现了基于目标对象、电子设备和目标光源的空间位置关系,自动确定对应的显示模式,从而避免了因电子设备的屏幕受光源的影响,而造成目标对象无法看清楚待显示信息的问题,提升了目标对象的体验效果。In a display control method provided by an embodiment of the present application, at least one captured image for a target object and a light source is acquired; based on the captured image, the spatial positional relationship between the target object, the electronic device, and the target light source is determined; based on the spatial positional relationship, the The display mode of the information to be displayed, so that the information to be displayed is displayed on the electronic device based on the display mode. The corresponding display mode is automatically determined based on the spatial position relationship between the target object, the electronic device and the target light source, thereby avoiding the problem that the target object cannot see the information to be displayed clearly due to the influence of the light source on the screen of the electronic device. the experience effect of the target object.

在本申请实施例的一种实施方式中,采集针对目标对象和光源的图像的时候可以是基于不同的采集角度进行采集。具体的,所述获取针对目标对象和光源的至少一个采集图像,包括:获取只针对目标对象和光源的第一角度的第一采集图像;获取针对目标对象和光源的第二角度的第二采集图像。其中,第一角度和第二角度不同。第一角度和第二角度可以是针对目标对象和光源的观测角度,也可以是基于拍摄元件或者拍摄设备的所处位置来确定第一角度和第二角度。为了能够更准确地确定目标对象、电子设备和目标光源的空间位置关系,采集第一采集图像的第一图像采集元件和采集第二采集图像的第二图像采集元件设置在电子设备上,该第一图像采集元件可以是普通摄像头,如电子设备的前置摄像头;第二图像采集元件可以是能够采集图像深度信息的TOF摄像头。第一采集图像和第二采集图像中至少包括目标对象和光源,可以是第一采集图像主要是针对目标对象和光源的采集图像,即能够保证清楚地采集到目标对象和光源的相对位置关系,第二采集图像可以是获取目标对象和光源的深度信息的采集图像,即可以根据第二采集图像获取光源和目标对象的空间位置信息,例如,可以确定出目标对象与电子设备之间的距离和角度信息。例如,通过深度相机进行图像采集,可以确定目标对象和光源的三维坐标信息,即可以确定目标对象和光源的空间位置信息,进一步根据电子设备与目标对象之间的空间位置关系,可以在光源确定出直接影响目标对象的目标光源。最后根据电子设备对应的空间位置信息,将目标对象、电子设备、目标光源映射到同一三维空间坐标系内,即可以获得目标对象、目标光源和电子设备的空间位置关系。。In an implementation manner of the embodiment of the present application, the acquisition of images for the target object and the light source may be based on different acquisition angles. Specifically, the acquiring at least one acquisition image for the target object and the light source includes: acquiring a first acquisition image only for a first angle of the target object and the light source; acquiring a second acquisition for the target object and a second angle of the light source image. Wherein, the first angle and the second angle are different. The first angle and the second angle may be observation angles for the target object and the light source, or the first angle and the second angle may be determined based on the location of the photographing element or the photographing device. In order to be able to more accurately determine the spatial positional relationship between the target object, the electronic device and the target light source, the first image capture element for capturing the first captured image and the second image capture element for capturing the second captured image are arranged on the electronic device. An image acquisition element may be a common camera, such as a front camera of an electronic device; the second image acquisition element may be a TOF camera capable of acquiring image depth information. The first captured image and the second captured image include at least the target object and the light source, and the first captured image may be mainly for the captured image of the target object and the light source, that is, the relative positional relationship between the target object and the light source can be clearly captured, The second captured image may be a captured image obtained by acquiring depth information of the target object and the light source, that is, the spatial position information of the light source and the target object may be obtained according to the second captured image, for example, the distance and the distance between the target object and the electronic device may be determined. angle information. For example, through image acquisition by a depth camera, the three-dimensional coordinate information of the target object and the light source can be determined, and the spatial position information of the target object and the light source can be determined. A target light source that directly affects the target object. Finally, according to the spatial position information corresponding to the electronic device, the target object, the electronic device, and the target light source are mapped into the same three-dimensional space coordinate system, and the spatial positional relationship between the target object, the target light source and the electronic device can be obtained. .

对应的,在本申请实施例的另一实现方式中,所述基于所述采集图像、确定目标对象、电子设备和目标光源的空间位置关系,包括:基于第一采集图像对应的第一图像特征,确定光源信息;基于第二采集图像对应的第二图像特征,确定目标对象与电子设备的位置关系;基于所述位置关系和所述光源信息,确定目标光源;基于所述位置关系和所述目标光源,建立所述目标对象、电子设备以及目标光源的空间位置关系。Correspondingly, in another implementation manner of the embodiment of the present application, the determining the spatial positional relationship between the target object, the electronic device, and the target light source based on the captured image includes: based on a first image feature corresponding to the first captured image , determine the light source information; determine the positional relationship between the target object and the electronic device based on the second image feature corresponding to the second captured image; determine the target light source based on the positional relationship and the light source information; A target light source, establishing the spatial positional relationship between the target object, the electronic device, and the target light source.

在该实施例中,第一采集图像可以是包括目标对象以及当前场景中各个光源区域的图像,第一图像特征是指针对目标对象和光源区域的图像特征,可以通过对第一图像特征进行识别来确定目标对象与每一光源区域的相对距离和角度,从而确定出可能会影响目标对象的光源区域,将其确定为光源信息。第二采集图像除了能够采集目标对象和光源的二图像特征之外,还能够采集得到目标对象和光源的三维坐标信息对应的三维图像特征,即可以得到目标对象和光源的三维坐标信息。可以将电子设备映射到与目标对象和光源所在的同一三维坐标中,通过三维坐标信息的计算,确定目标对象与电子设备的空间位置关系,主要包括目标对象与电子设备之间的距离和角度。目标对象与电子设备之间不同的角度和距离可以确定哪一光源区域会对目标对象产生直接的影响。例如,通过光源信息可以获得当前场景中能够对目标对象产生影响的光源为位于目标对象左侧的第一光源,以及位于目标对象右侧的第二光源。而电子设备也位于目标对象的左侧,则可以将第一光源确定为目标光源,即由于第一光源的照射可以在电子设备上产生反光区域,且该反光区域会影响电子设备的显示信息被目标对象的获取效果。In this embodiment, the first captured image may be an image including the target object and each light source region in the current scene, and the first image feature refers to the image feature of the target object and the light source region, which can be identified by identifying the first image feature. to determine the relative distance and angle between the target object and each light source area, so as to determine the light source area that may affect the target object, and determine it as light source information. In addition to collecting the two image features of the target object and the light source, the second captured image can also collect the three-dimensional image features corresponding to the three-dimensional coordinate information of the target object and the light source, that is, the three-dimensional coordinate information of the target object and the light source can be obtained. The electronic device can be mapped to the same three-dimensional coordinates as the target object and the light source, and the spatial position relationship between the target object and the electronic device can be determined through the calculation of the three-dimensional coordinate information, mainly including the distance and angle between the target object and the electronic device. The different angles and distances between the target object and the electronic device can determine which light source area will have a direct impact on the target object. For example, through the light source information, it can be obtained that the light sources in the current scene that can affect the target object are the first light source on the left side of the target object and the second light source on the right side of the target object. And the electronic device is also located on the left side of the target object, the first light source can be determined as the target light source, that is, a reflective area can be generated on the electronic device due to the irradiation of the first light source, and the reflective area will affect the display information of the electronic device. The acquisition effect of the target object.

在确定了目标光源后,可以建立目标光源、电子设备以及目标对象的空间位置关系,即可以通过三维坐标系,将目标光源的位置信息、电子设备的位置信息和目标对象的位置信息均映射到该三维坐标系中,从而可以得到基于该三维坐标系的目标光源、目标对象和电子设备的空间位置关系。After the target light source is determined, the spatial positional relationship between the target light source, the electronic device and the target object can be established, that is, the position information of the target light source, the position information of the electronic device and the position information of the target object can be mapped to the three-dimensional coordinate system. In the three-dimensional coordinate system, the spatial positional relationship between the target light source, the target object and the electronic device based on the three-dimensional coordinate system can be obtained.

在本申请的另一实施例中,所述基于空间位置关系,确定待显示信息的显示模式,包括:基于空间位置关系,确定电子设备的反光区域;基于反光区域,确定待显示信息的显示模式。In another embodiment of the present application, determining the display mode of the information to be displayed based on the spatial positional relationship includes: determining the reflective area of the electronic device based on the spatial positional relationship; determining the display mode of the information to be displayed based on the reflective area .

在该实施例中,可以基于空间位置关系将目标对象的人眼位置投影至电子设备的屏幕上,并且将目标光源的位置也投影至电子设备的屏幕上,确定电子设备屏幕中对应的人眼的位置和目标光源的位置。然后将屏幕中人眼的位置和目标光源的位置的中心区域作为该屏幕的反光区域。还可以是根据入射光与反射光角度相同,计算出屏幕出现光源镜面反射的位置区域。在确定出反光区域后,可以确定与该反光区域对应的待显示信息的显示模式。可以通过调整该反光区域的显示参数确定待显示信息的显示模式。即当待显示信息在该反光区域进行显示时,以调整后的显示参数进行显示。也可以是针对待显示信息的特征对显示区域,或者显示信息的格式进行调整。In this embodiment, the position of the human eye of the target object can be projected on the screen of the electronic device based on the spatial position relationship, and the position of the target light source can also be projected on the screen of the electronic device, so as to determine the corresponding human eye on the screen of the electronic device. position and the position of the target light source. Then, the central area of the position of the human eye and the position of the target light source in the screen is used as the reflective area of the screen. It is also possible to calculate the position area where the specular reflection of the light source occurs on the screen according to the same angle of the incident light and the reflected light. After the reflective area is determined, the display mode of the information to be displayed corresponding to the reflective area can be determined. The display mode of the information to be displayed can be determined by adjusting the display parameters of the reflective area. That is, when the information to be displayed is displayed in the reflective area, it is displayed with the adjusted display parameters. It is also possible to adjust the display area or the format of the displayed information according to the characteristics of the information to be displayed.

在一种实现方式中,可以预先设定区域面积阈值,根据该阈值与反光区域的面积进行比较,基于比较结果确定对于的调整模式。具体的,预先设定区域面积为目标区域。若反光区域不大于目标区域面积,确定与反光区域相匹配的目标显示参数,以基于所述目标显示参数对所述反光区域进行调整。其中,目标显示参数可以包括亮度、对比度、色彩伽马、锐度等参数。例如,对反光区域内显示信息对应的图像的色调进行增强,或增加反光区域内的亮度,来抵消电子设备显示屏反光区域的反光现象。In an implementation manner, an area area threshold may be preset, and the threshold may be compared with the area of the reflective area, and the corresponding adjustment mode may be determined based on the comparison result. Specifically, the pre-set area area is the target area. If the reflective area is not larger than the area of the target area, a target display parameter matching the reflective area is determined to adjust the reflective area based on the target display parameter. The target display parameters may include parameters such as brightness, contrast, color gamma, and sharpness. For example, the color tone of the image corresponding to the displayed information in the reflective area is enhanced, or the brightness in the reflective area is increased to offset the reflective phenomenon in the reflective area of the display screen of the electronic device.

若反光区域大于目标区域面积,确定电子设备的角度调整参数,以使得基于角度调整参数调整电子设备的摆放角度。即当反光区域面积较大时,直接调整反光区域的显示参数可能效果并不是很好,或者直接对整个反光区域的显示参数进行调整会使得处理效率较低。可以确定电子设备的角度调整参数,以使得通过该角度调整参数对电子设备进行调整,以使得该电子设备避开对应的反光区域。具体的,可以是生成电子设备角度调整的提示信息,当目标对象获取到该提示信息后对电子设备的摆放角度进行手动调整。也可以是电子设备的处理装置与电子设备显示屏的驱动设备连接,当处理装置获取到对应的角度调整参数后,自动传输至显示屏的驱动设备,通过驱动设备调整显示屏的角度参数,以使得能够最大限度地减小反光区域的面积,降低反光的影响。If the reflective area is larger than the area of the target area, an angle adjustment parameter of the electronic device is determined, so that the placement angle of the electronic device is adjusted based on the angle adjustment parameter. That is, when the area of the reflective area is large, directly adjusting the display parameters of the reflective area may not be very effective, or directly adjusting the display parameters of the entire reflective area will result in lower processing efficiency. An angle adjustment parameter of the electronic device may be determined, so that the electronic device is adjusted by the angle adjustment parameter, so that the electronic device avoids the corresponding reflective area. Specifically, it may be to generate prompt information for adjusting the angle of the electronic device, and when the target object obtains the prompt information, manually adjust the placement angle of the electronic device. It can also be that the processing device of the electronic device is connected to the driving device of the display screen of the electronic device. After the processing device obtains the corresponding angle adjustment parameters, it is automatically transmitted to the driving device of the display screen, and the angle parameters of the display screen are adjusted by the driving device. This makes it possible to minimize the area of the reflective area and reduce the influence of the reflective light.

在另一种实现方式中,所述基于空间位置关系,确定待显示信息的显示模式,包括:获取待显示信息的显示特征;至少基于所述显示特征和所述空间位置关系,确定待显示信息的目标显示区域,以使得待显示信息在所述目标显示区域进行显示。In another implementation manner, the determining the display mode of the information to be displayed based on the spatial positional relationship includes: acquiring display characteristics of the information to be displayed; and determining the information to be displayed based on at least the display characteristics and the spatial positional relationship the target display area, so that the information to be displayed is displayed in the target display area.

在该实现方式中,是基于待显示信息的特征确定对应的显示模式。首先根据目标对象、目标光源和电子设备的空间位置关系,确定电子设备显示屏上的反光区域。若待显示信息的显示特征包括文字特征、视频特征和图像特征等。通常待显示信息会在显示屏上进行全屏显示,但是反光区域的存在会影响信息的显示效果。若待显示信息可以进行非全屏显示,可以将显示屏上除反光区域以外的区域确定为目标显示区域。将待显示信息在目标显示区域进行显示,这样可以避开反光区域,不影响最终的显示效果。In this implementation manner, the corresponding display mode is determined based on the characteristics of the information to be displayed. First, according to the spatial positional relationship between the target object, the target light source and the electronic device, the reflective area on the display screen of the electronic device is determined. If the display features of the information to be displayed include text features, video features, and image features, etc. Usually, the information to be displayed will be displayed in full screen on the display screen, but the existence of the reflective area will affect the display effect of the information. If the information to be displayed can be displayed in a non-full screen, the area on the display screen other than the reflective area may be determined as the target display area. Display the information to be displayed in the target display area, so as to avoid the reflective area and not affect the final display effect.

对应的,还可以基于待显示信息的显示特征,对待显示信息进行调整,将调整后的待显示信息显示在反光区域,如更改待显示信息的字体大小、颜色等,以使得目标对象能够清晰地获得反光区域的显示信息。Correspondingly, it is also possible to adjust the information to be displayed based on the display characteristics of the information to be displayed, and display the adjusted information to be displayed in the reflective area, such as changing the font size and color of the information to be displayed, so that the target object can be clearly displayed. Get display information for reflective areas.

在本申请的另一实施例中,还可以基于入射光与反射光角度相同的技术特征,计算出电子设备显示屏出现光源镜面反射的位置区域。具体的,所述基于所述空间位置关系,确定所述电子设备的反光区域,包括:基于所述空间位置关系,确定所述目标对象的眼部坐标信息以及所述目标光源的边缘坐标信息;基于所述眼部坐标信息和所述目标光源的边缘坐标信息,确定目标关系式;基于所述目标关系式以及所述电子设备对应显示屏信息,确定所述电子设备的显示屏的反光区域。In another embodiment of the present application, based on the technical feature that the angle of the incident light and the reflected light are the same, the position area where the specular reflection of the light source occurs on the display screen of the electronic device can be calculated. Specifically, the determining the reflective area of the electronic device based on the spatial position relationship includes: determining the eye coordinate information of the target object and the edge coordinate information of the target light source based on the spatial position relationship; Based on the eye coordinate information and the edge coordinate information of the target light source, a target relational expression is determined; based on the target relational expression and information on the display screen corresponding to the electronic device, a reflective area of the display screen of the electronic device is determined.

基于获得的采集图像以及确定出的目标对象、目标光源和电子设备的空间位置关系,可以将目标对象、目标光源、电子设备的相关位置坐标映射到同一坐标系中进行处理。对应的,可以获取目标对象的眼部坐标信息,以及目标光源的边缘坐标信息。其中,目标对象的眼部坐标信息可以包括目标对象的左眼坐标信息和右眼坐标信息。也可以是为了便于信息处理,将左眼坐标和右眼坐标的中间值坐标作为眼部坐标信息。目标光源的边缘坐标信息是指目标光源的边缘点的坐标。可以根据目标光源的近似形状,确定目标光源的边缘点的坐标信息。例如,目标光源可以是矩形、三角形、圆形、椭圆形中的一种。若目标光源是三角形,可以基于三角形的三个边确定若干个点的坐标作为边缘坐标信息。反光区域的光线会反射到人眼中,使得用户无法清晰获得显示信息。基于入射角与反射角相同的原理,获取眼部坐标对应的镜像坐标,然后基于该眼部镜像坐标和目标光源的边缘坐标信息,确定目标关系式,基于该目标关系式确定显示屏反光区域的边缘信息,最终基于边缘信息确定反光区域。Based on the obtained captured image and the determined spatial positional relationship between the target object, the target light source and the electronic device, the relative position coordinates of the target object, the target light source and the electronic device can be mapped to the same coordinate system for processing. Correspondingly, the eye coordinate information of the target object and the edge coordinate information of the target light source can be obtained. The eye coordinate information of the target object may include left eye coordinate information and right eye coordinate information of the target object. Alternatively, for the convenience of information processing, the coordinate of the intermediate value of the left eye coordinate and the right eye coordinate may be used as the eye coordinate information. The edge coordinate information of the target light source refers to the coordinates of the edge point of the target light source. The coordinate information of the edge point of the target light source can be determined according to the approximate shape of the target light source. For example, the target light source may be one of a rectangle, a triangle, a circle, and an ellipse. If the target light source is a triangle, the coordinates of several points can be determined based on the three sides of the triangle as the edge coordinate information. The light in the reflective area will be reflected to the human eye, making it impossible for the user to clearly obtain the displayed information. Based on the same principle as the incident angle and the reflection angle, the mirror image coordinates corresponding to the eye coordinates are obtained, and then based on the eye mirror image coordinates and the edge coordinate information of the target light source, the target relational expression is determined, and the reflective area of the display screen is determined based on the target relational expression. Edge information, and finally determine the reflective area based on the edge information.

参见图2,为本申请实施例提供的一种确定反光区域的示意图。在图2中眼睛和目标光源处于同一坐标系,以电子设备的前置摄像头的坐标位置为原点坐标,即摄像头坐标为(0,0),具体的可以通过电子设备的TOF传感器和摄像头识别到眼睛坐标和光源的边缘坐标,例如,眼睛坐标为(a,b),眼睛镜像坐标为(a,-b)。光源为灯,灯的截面的左边界的一个点的坐标为(a1,b1),灯的截面的右边界的一个点的坐标为(a2,b2)。Referring to FIG. 2 , it is a schematic diagram of determining a reflective area according to an embodiment of the present application. In Figure 2, the eye and the target light source are in the same coordinate system, and the coordinate position of the front camera of the electronic device is used as the origin coordinate, that is, the camera coordinate is (0, 0), which can be identified by the TOF sensor and the camera of the electronic device. The eye coordinates and the edge coordinates of the light source, for example, the eye coordinates are (a, b), and the eye mirror coordinates are (a, -b). The light source is a lamp, the coordinates of a point on the left border of the cross section of the lamp are (a1, b1), and the coordinates of a point on the right border of the cross section of the lamp are (a2, b2).

由于入射光角度始终等于反射光角度,所以将眼睛镜像(a,-b)和灯的边界坐标连线,两点获得一条直线方程f(x),该直线方程与电子设备的屏幕横轴和纵轴进行交叉的点即为反光区域的一个边缘点。例如,将屏幕坐标y=0,带入方程可得到x坐标,x坐标即为屏幕上的反光区域的一个边缘点的坐标。Since the angle of incident light is always equal to the angle of reflected light, connect the mirror image (a, -b) of the eye and the boundary coordinates of the lamp to obtain a straight line equation f(x) between the two points, which is the sum of the horizontal axis of the screen of the electronic device The point where the vertical axis intersects is an edge point of the reflective area. For example, taking the screen coordinate y=0 into the equation, the x coordinate can be obtained, and the x coordinate is the coordinate of an edge point of the reflective area on the screen.

参见图3,为本申请实施例提供的一种目标场景的示意图,若上述是以图3中方向1为例进行说明的,同理可以获得另一方向,如图3中方向2对应的关系式,然后基于该关系式计算得到方向2中的边缘坐标点,将方向1和方向2对应计算得到的边缘坐标点进行连接,即可以得到对应的反光区域。Referring to FIG. 3 , which is a schematic diagram of a target scene provided by an embodiment of the present application, if the above description takes the direction 1 in FIG. 3 as an example, another direction can be obtained in the same way, such as the relationship corresponding to the direction 2 in FIG. 3 . formula, and then calculate the edge coordinate points in direction 2 based on the relational formula, and connect the corresponding calculated edge coordinate points in direction 1 and direction 2, that is, the corresponding reflective area can be obtained.

在该确定反光区域的计算方式中,仅根据眼部坐标、光源坐标既可以确定出对应的反光区域的边界点信息,计算方式更加便捷和高效。In the calculation method for determining the reflective area, the boundary point information of the corresponding reflective area can be determined only according to the coordinates of the eyes and the coordinates of the light source, and the calculation method is more convenient and efficient.

在本申请的另一实施例中还提供了一种显示控制装置,包括:Another embodiment of the present application also provides a display control device, comprising:

获取单元401,用于获取针对目标对象和光源的至少一个采集图像;an acquisition unit 401, configured to acquire at least one captured image of a target object and a light source;

第一确定单元402,用于基于所述采集图像,确定所述目标对象、电子设备以及目标光源的空间位置关系;a first determining unit 402, configured to determine the spatial positional relationship between the target object, the electronic device, and the target light source based on the captured image;

第二确定单元403,用于基于所述空间位置关系,确定待显示信息的显示模式,以使得基于所述显示模式在所述电子设备上对所述待显示信息进行显示。The second determining unit 403 is configured to determine a display mode of the information to be displayed based on the spatial position relationship, so that the information to be displayed is displayed on the electronic device based on the display mode.

在本申请实施例公开的一种显示控制装置中,获取单元获取针对目标对象和光源的至少一个采集图像;第一确定单元基于采集图像,确定目标对象、电子设备以及目标光源的空间位置关系;第二确定单元基于空间位置关系,确定待显示信息的显示模式,以使得基于所述显示模式在所述电子设备上对待显示信息进行显示。实现了基于目标对象、电子设备和目标光源的空间位置关系,自动确定对应的显示模式,从而避免了因电子设备的屏幕受光源的影响,而造成目标对象无法看清楚待显示信息的问题,提升了目标对象的体验效果。In a display control device disclosed in an embodiment of the present application, the acquisition unit acquires at least one captured image of the target object and the light source; the first determination unit determines the spatial positional relationship between the target object, the electronic device, and the target light source based on the captured image; The second determining unit determines a display mode of the information to be displayed based on the spatial position relationship, so that the information to be displayed is displayed on the electronic device based on the display mode. The corresponding display mode is automatically determined based on the spatial position relationship between the target object, the electronic device and the target light source, thereby avoiding the problem that the target object cannot see the information to be displayed clearly due to the influence of the light source on the screen of the electronic device. the experience effect of the target object.

在一种实施方式中,获取单元401包括:In one embodiment, the obtaining unit 401 includes:

第一获取子单元,用于获取针对目标对象和光源的第一角度的第一采集图像;a first acquisition subunit, configured to acquire a first acquired image at a first angle of the target object and the light source;

第二获取子单元,用于获取针对目标对象和光源的第二角度的第二采集图像,其中,所述第一角度与所述第二角度不同。A second acquisition subunit, configured to acquire a second captured image for a second angle of the target object and the light source, wherein the first angle is different from the second angle.

可选地,第一确定单元402包括:Optionally, the first determining unit 402 includes:

第一确定子单元,用于基于所述第一采集图像对应的第一图像特征,确定光源信息;a first determination subunit, configured to determine light source information based on a first image feature corresponding to the first captured image;

第二确定子单元,用于基于所述第二采集图像对应的第二图像特征,确定目标对象与电子设备的位置关系;a second determination subunit, configured to determine the positional relationship between the target object and the electronic device based on the second image feature corresponding to the second captured image;

第三确定子单元,用于基于所述位置关系和所述光源信息,确定目标光源;a third determination subunit, configured to determine a target light source based on the positional relationship and the light source information;

建立子单元,用于基于所述位置关系和所述目标光源,建立所述目标对象、电子设备以及目标光源的空间位置关系。The establishment subunit is configured to establish the spatial positional relationship between the target object, the electronic device and the target light source based on the positional relationship and the target light source.

进一步地,第二确定单元403包括:Further, the second determining unit 403 includes:

第四确定子单元,用于基于所述空间位置关系,确定所述电子设备的反光区域;a fourth determining subunit, configured to determine the reflective area of the electronic device based on the spatial positional relationship;

第五确定子单元,用于基于所述反光区域,确定待显示信息的显示模式。The fifth determination subunit is configured to determine the display mode of the information to be displayed based on the reflective area.

对应的,所述第四确定子单元具体用于:Correspondingly, the fourth determination subunit is specifically used for:

基于所述空间位置关系,确定所述目标对象的眼部坐标信息以及所述目标光源的边缘坐标信息;Determine eye coordinate information of the target object and edge coordinate information of the target light source based on the spatial position relationship;

基于所述眼部坐标信息和所述目标光源的边缘坐标信息,确定目标关系式;Determine a target relational expression based on the eye coordinate information and the edge coordinate information of the target light source;

基于所述目标关系式以及所述电子设备对应显示屏信息,确定所述电子设备的显示屏的反光区域。Based on the target relational expression and information on the display screen corresponding to the electronic device, a reflective area of the display screen of the electronic device is determined.

可选地,所述第五确定子单元用于:Optionally, the fifth determination subunit is used for:

若所述反光区域不大于目标区域面积,确定与所述反光区域相匹配的目标显示参数,以基于所述目标显示参数对所述反光区域进行调整;If the reflective area is not larger than the area of the target area, determining a target display parameter matching the reflective area, so as to adjust the reflective area based on the target display parameter;

若所述反光区域大于目标区域面积,确定电子设备的角度调整参数,以使得基于所述角度调整参数调整所述电子设备的摆放角度。If the reflective area is larger than the area of the target area, an angle adjustment parameter of the electronic device is determined, so that the placement angle of the electronic device is adjusted based on the angle adjustment parameter.

在一种实施方式中,第二处理单元403具体用于:In one embodiment, the second processing unit 403 is specifically configured to:

获取待显示信息的显示特征;Obtain the display characteristics of the information to be displayed;

至少基于所述显示特征和所述空间位置关系,确定待显示信息的目标显示区域,以使所述待显示信息在所述目标显示区域进行显示。A target display area of the information to be displayed is determined based on at least the display feature and the spatial position relationship, so that the information to be displayed is displayed in the target display area.

需要说明的是,本实施例中各单元的具体实现可以参考前文中的相应内容,此处不再详述。It should be noted that, for the specific implementation of each unit in this embodiment, reference may be made to the corresponding content in the foregoing, which will not be described in detail here.

参见图5,为本申请另一实施例中提供的一种电子设备的结构示意图,该电子设备可以包括:Referring to FIG. 5 , which is a schematic structural diagram of an electronic device provided in another embodiment of the present application, the electronic device may include:

存储器501,用于存储程序;a memory 501 for storing programs;

处理器502,用于调用并执行所述存储器中的所述程序,通过执行所述程序实现如上中任一项所述的显示控制方法的各个步骤。The processor 502 is configured to call and execute the program in the memory, and implement each step of the display control method described in any one of the above by executing the program.

需要说明的是,本实施例中处理器的具体实现可以参考前文中的相应内容,此处不再详述。It should be noted that, for the specific implementation of the processor in this embodiment, reference may be made to the corresponding content in the foregoing, which will not be described in detail here.

在本申请的另一实施例中还提供了一种可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时,实现如上中任一项所述的显示控制方法的各个步骤。In another embodiment of the present application, there is also provided a readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements each of the display control methods described in any of the above step.

本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same and similar parts between the various embodiments can be referred to each other. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant part can be referred to the description of the method.

专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Professionals may further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two, in order to clearly illustrate the possibilities of hardware and software. Interchangeability, the above description has generally described the components and steps of each example in terms of functionality. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.

结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of a method or algorithm described in conjunction with the embodiments disclosed herein may be directly implemented in hardware, a software module executed by a processor, or a combination of the two. A software module can be placed in random access memory (RAM), internal memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other in the technical field. in any other known form of storage medium.

对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本申请。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments enables any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, this application is not intended to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A display control method comprising:
acquiring at least one acquired image for the target object and the light source;
determining a spatial position relationship of the target object, the electronic device and the target light source based on the acquired image;
and determining a display mode of the information to be displayed based on the spatial position relation, so that the information to be displayed is displayed on the electronic equipment based on the display mode.
2. The method of claim 1, the acquiring at least one acquired image for a target object and a light source, comprising:
acquiring a first acquisition image for a first angle of a target object and a light source;
a second acquired image is acquired for a second angle of the target object and the light source, wherein the first angle is different from the second angle.
3. The method of claim 2, the determining a spatial positional relationship of a target object, an electronic device, and a target light source based on the acquired image, comprising:
determining light source information based on a first image characteristic corresponding to the first collected image;
determining the position relation between the target object and the electronic equipment based on the second image characteristics corresponding to the second collected image;
determining a target light source based on the position relationship and the light source information;
and establishing the spatial position relation of the target object, the electronic equipment and the target light source based on the position relation and the target light source.
4. The method of claim 1, wherein determining a display mode of information to be displayed based on the spatial positional relationship comprises:
determining a light reflecting area of the electronic equipment based on the spatial position relation;
and determining the display mode of the information to be displayed based on the light reflection area.
5. The method of claim 4, wherein determining the retroreflective area of the electronic device based on the spatial positional relationship comprises:
determining eye coordinate information of the target object and edge coordinate information of the target light source based on the spatial position relationship;
determining a target relational expression based on the eye coordinate information and the edge coordinate information of the target light source;
and determining a light reflection area of the display screen of the electronic equipment based on the target relational expression and the display screen information corresponding to the electronic equipment.
6. The method of claim 5, the determining a display mode of information to be displayed based on the light reflection area, comprising:
if the light reflecting area is not larger than the area of the target area, determining target display parameters matched with the light reflecting area so as to adjust the light reflecting area based on the target display parameters;
and if the light reflecting area is larger than the area of the target area, determining an angle adjustment parameter of the electronic equipment so as to adjust the placing angle of the electronic equipment based on the angle adjustment parameter.
7. The method of claim 1, wherein determining a display mode of information to be displayed based on the spatial positional relationship comprises:
acquiring display characteristics of information to be displayed;
and determining a target display area of the information to be displayed at least based on the display characteristics and the spatial position relationship so as to display the information to be displayed in the target display area.
8. A display control apparatus comprising:
an acquisition unit for acquiring at least one captured image for a target object and a light source;
a first determination unit configured to determine a spatial positional relationship of the target object, the electronic device, and the target light source based on the acquired image;
a second determining unit, configured to determine a display mode of information to be displayed based on the spatial position relationship, so that the information to be displayed is displayed on the electronic device based on the display mode.
9. An electronic device, comprising:
a memory for storing a program;
a processor for calling and executing the program in the memory, the steps of the display control method according to any one of claims 1 to 7 being implemented by executing the program.
10. A readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the display control method according to any one of claims 1 to 7.
CN202111675056.3A 2021-12-31 2021-12-31 A display control method, device and electronic device Pending CN114296676A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111675056.3A CN114296676A (en) 2021-12-31 2021-12-31 A display control method, device and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111675056.3A CN114296676A (en) 2021-12-31 2021-12-31 A display control method, device and electronic device

Publications (1)

Publication Number Publication Date
CN114296676A true CN114296676A (en) 2022-04-08

Family

ID=80975822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111675056.3A Pending CN114296676A (en) 2021-12-31 2021-12-31 A display control method, device and electronic device

Country Status (1)

Country Link
CN (1) CN114296676A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117440556A (en) * 2023-12-20 2024-01-23 常州海图信息科技股份有限公司 LED control system and switch protection circuit thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150206352A1 (en) * 2014-01-23 2015-07-23 Fujitsu Limited System and method for controlling a display
CN105812678A (en) * 2016-03-07 2016-07-27 合肥联宝信息技术有限公司 Electronic equipmentcapable of improving light reflection phenomenon and method thereof
CN106528034A (en) * 2016-12-23 2017-03-22 维沃移动通信有限公司 Adjustment method for interface display content and mobile terminal
CN106828318A (en) * 2016-12-15 2017-06-13 比亚迪股份有限公司 The control method of vehicle-carrying display screen, device and vehicle
CN110060617A (en) * 2019-03-29 2019-07-26 努比亚技术有限公司 A kind of method, apparatus, terminal and the readable storage medium storing program for executing of screen light-dark cycle

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150206352A1 (en) * 2014-01-23 2015-07-23 Fujitsu Limited System and method for controlling a display
CN105812678A (en) * 2016-03-07 2016-07-27 合肥联宝信息技术有限公司 Electronic equipmentcapable of improving light reflection phenomenon and method thereof
CN106828318A (en) * 2016-12-15 2017-06-13 比亚迪股份有限公司 The control method of vehicle-carrying display screen, device and vehicle
CN106528034A (en) * 2016-12-23 2017-03-22 维沃移动通信有限公司 Adjustment method for interface display content and mobile terminal
CN110060617A (en) * 2019-03-29 2019-07-26 努比亚技术有限公司 A kind of method, apparatus, terminal and the readable storage medium storing program for executing of screen light-dark cycle

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117440556A (en) * 2023-12-20 2024-01-23 常州海图信息科技股份有限公司 LED control system and switch protection circuit thereof
CN117440556B (en) * 2023-12-20 2024-02-23 常州海图信息科技股份有限公司 LED control system and switch protection circuit thereof

Similar Documents

Publication Publication Date Title
JP7632518B2 (en) Image processing device, image processing method, and program
TWI486551B (en) Method and system for three-dimensional data acquisition
US9480397B2 (en) Gaze tracking variations using visible lights or dots
TWI610571B (en) Display method, system and computer-readable recording medium thereof
CN114339194A (en) Projection display method and device, projection equipment and computer readable storage medium
JP7708264B2 (en) Information processing device, information processing method, and computer program
CN108286945B (en) Three-dimensional scanning system and method based on visual feedback
WO2020237565A1 (en) Target tracking method and device, movable platform and storage medium
WO2013146269A1 (en) Image capturing device, image processing method, and program
CN111354088B (en) Environment map building method and system
CN113870213B (en) Image display method, device, storage medium and electronic equipment
CN114363522A (en) Photographing method and related device
TW202115555A (en) Information display method and information display system
KR102176963B1 (en) System and method for capturing horizontal parallax stereo panorama
CN114296676A (en) A display control method, device and electronic device
US10725586B2 (en) Presentation of a digital image of an object
CN115753019A (en) Pose adjusting method, device and equipment of acquisition equipment and readable storage medium
TWI603225B (en) Viewing angle adjusting method and apparatus of liquid crystal display
CN114155349A (en) Three-dimensional mapping method, three-dimensional mapping device and robot
TWI412729B (en) Method and system of real navigation display
CN107341991A (en) Position indication method, operation device for position indication and display system
JP2017173455A (en) Information processing device, information processing method, and program
WO2019024498A1 (en) Positioning system and positioning method
CN116777965A (en) Virtual window configuration device, method and system
JP6393114B2 (en) Information processing system, information processing program, information processing method, and imaging apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination