[go: up one dir, main page]

CN115904079A - Display equipment adjusting method, device, terminal and storage medium - Google Patents

Display equipment adjusting method, device, terminal and storage medium Download PDF

Info

Publication number
CN115904079A
CN115904079A CN202211585270.4A CN202211585270A CN115904079A CN 115904079 A CN115904079 A CN 115904079A CN 202211585270 A CN202211585270 A CN 202211585270A CN 115904079 A CN115904079 A CN 115904079A
Authority
CN
China
Prior art keywords
target object
display device
display screen
display
adjusting
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
CN202211585270.4A
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.)
Beijing SoundAI Technology Co Ltd
Original Assignee
Beijing SoundAI Technology Co 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 Beijing SoundAI Technology Co Ltd filed Critical Beijing SoundAI Technology Co Ltd
Priority to CN202211585270.4A priority Critical patent/CN115904079A/en
Publication of CN115904079A publication Critical patent/CN115904079A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

本申请实施例公开了一种显示设备调整方法、装置、终端及存储介质,属于计算机技术领域。该方法包括:基于目标对象的多个人脸关键点,确定所述目标对象的视线与显示设备的显示屏幕的交点;基于所述交点与所述显示屏幕的中心点之间的垂直距离,调整所述显示设备的高度,以使所述显示屏幕的中心点与所述交点位于同一水平高度;基于所述视线与所述显示屏幕在所述中心点处的中垂线之间的夹角,调整所述显示设备的朝向,以使所述视线与中垂线之间的夹角小于角度阈值。该方法能够实现根据用户的视线自动调节显示设备的位置和角度,无需用户手动调节,提高了调节的效率。

Figure 202211585270

The embodiment of the present application discloses a display device adjustment method, device, terminal and storage medium, which belong to the field of computer technology. The method includes: based on a plurality of face key points of the target object, determining an intersection point between the line of sight of the target object and a display screen of a display device; and adjusting the intersection point based on a vertical distance between the intersection point and a center point of the display screen. The height of the display device, so that the center point of the display screen and the intersection point are at the same horizontal height; based on the angle between the line of sight and the perpendicular line of the display screen at the center point, adjust The orientation of the display device is such that the included angle between the line of sight and the mid-perpendicular line is smaller than an angle threshold. The method can automatically adjust the position and angle of the display device according to the user's line of sight, without the need for manual adjustment by the user, thereby improving the adjustment efficiency.

Figure 202211585270

Description

显示设备调整方法、装置、终端及存储介质Display device adjustment method, device, terminal and storage medium

技术领域technical field

本申请实施例涉及计算机技术领域,特别涉及一种显示设备调整方法、装置、终端及存储介质。The embodiments of the present application relate to the field of computer technologies, and in particular to a display device adjustment method, device, terminal, and storage medium.

背景技术Background technique

随着计算机技术的发展,各种电子设备也逐渐得到了普及。用户在使用台式计算机、笔记本电脑等具有显示设备的终端时,往往需要长时间保持同一个姿势观看显示设备。如果显示设备放置的位置不合适,用户很容易会产生疲惫感。因此,如何缓解用户的疲惫感,是一个需要解决的问题。With the development of computer technology, various electronic devices have gradually become popular. When using a terminal with a display device such as a desktop computer or a notebook computer, a user often needs to maintain the same posture for a long time to watch the display device. If the display device is placed in an inappropriate position, users can easily feel fatigued. Therefore, how to alleviate the user's fatigue is a problem that needs to be solved.

目前,通常为显示设备配置一个可以调节高度的支架,用户能够根据自己的坐姿和习惯,通过手动调节支架来调整显示设备的高度,使显示设备的高度在用户的最佳视线范围内,从而缓解用户长时间观看显示设备的疲惫感。但是,采用这种方法,需要用户手动调节,操作较为繁琐,调节效率较低。At present, a height-adjustable bracket is usually configured for the display device. Users can adjust the height of the display device by manually adjusting the bracket according to their sitting posture and habits, so that the height of the display device is within the user's best line of sight, thereby relieving The fatigue of the user watching the display device for a long time. However, with this method, manual adjustment is required by the user, the operation is relatively cumbersome, and the adjustment efficiency is low.

发明内容Contents of the invention

本申请实施例提供了一种显示设备调整方法、装置、终端及存储介质,能够根据用户的视线自动调节显示设备的位置和角度。所述技术方案如下:Embodiments of the present application provide a display device adjustment method, device, terminal, and storage medium, which can automatically adjust the position and angle of the display device according to the user's line of sight. Described technical scheme is as follows:

一方面,提供了一种显示设备调整方法,所述方法包括:In one aspect, a method for adjusting a display device is provided, the method comprising:

基于目标对象的多个人脸关键点,确定所述目标对象的视线与显示设备的显示屏幕的交点;Based on a plurality of face key points of the target object, determine the intersection of the line of sight of the target object and the display screen of the display device;

基于所述交点与所述显示屏幕的中心点之间的垂直距离,调整所述显示设备的高度,以使所述显示屏幕的中心点与所述交点位于同一水平高度;adjusting the height of the display device based on the vertical distance between the intersection point and the center point of the display screen, so that the center point of the display screen is at the same level as the intersection point;

基于所述视线与所述显示屏幕在所述中心点处的中垂线之间的夹角,调整所述显示设备的朝向,以使所述视线与中垂线之间的夹角小于角度阈值。Adjusting the orientation of the display device based on the angle between the line of sight and the vertical line of the display screen at the center point, so that the angle between the line of sight and the vertical line is smaller than an angle threshold .

在一些实施例中,所述基于所述交点与所述显示屏幕的中心点之间的垂直距离,调整所述显示设备的高度,以使所述显示屏幕的中心点与所述交点位于同一水平高度,包括:In some embodiments, the height of the display device is adjusted based on the vertical distance between the intersection point and the center point of the display screen, so that the center point of the display screen is at the same level as the intersection point height, including:

在所述垂直距离不大于距离阈值的情况下,采用第一调整方式对所述显示设备进行调整,所述第一调整方式用于指示采用第一速度调整所述显示设备的高度。If the vertical distance is not greater than the distance threshold, the display device is adjusted in a first adjustment manner, and the first adjustment manner is used to indicate that the height of the display device is adjusted at a first speed.

在一些实施例中,所述方法还包括:In some embodiments, the method also includes:

在所述垂直距离大于所述距离阈值的情况下,在所述显示屏幕上显示提示信息,所述提示信息用于提示所述目标对象暂停使用所述显示设备,将为所述目标对象调整所述显示设备的高度;When the vertical distance is greater than the distance threshold, a prompt message is displayed on the display screen, the prompt message is used to prompt the target object to suspend using the display device, and the target object will be adjusted the height of the display device;

响应于所述目标对象对所述提示信息的确认操作,采用第二调整方式对所述显示设备进行调整,所述第二调整方式用于指示在所述目标对象暂停使用所述显示设备的情况下,通过第二速度调整所述显示设备的高度,所述第二速度大于所述第一速度。In response to the confirmation operation of the prompt information by the target object, the display device is adjusted in a second adjustment manner, and the second adjustment manner is used to indicate that the target object suspends the use of the display device Next, adjust the height of the display device at a second speed, where the second speed is greater than the first speed.

在一些实施例中,所述方法还包括:In some embodiments, the method also includes:

基于所述交点与所述显示屏幕的中心点之间的水平距离,水平调整所述显示设备,以使所述交点位于所述显示屏幕的中心点。Based on the horizontal distance between the intersection point and the center point of the display screen, horizontally adjust the display device so that the intersection point is located at the center point of the display screen.

在一些实施例中,所述方法还包括:In some embodiments, the method also includes:

基于所述目标对象的多个人脸关键点,确定所述目标对象的视线与所述显示屏幕所在的平面之间的夹角;Determining an angle between the line of sight of the target object and the plane where the display screen is located based on a plurality of face key points of the target object;

基于所述目标对象的视线与所述显示屏幕所在的平面之间的夹角,调整所述显示设备的俯仰角度,以使所述目标对象的视线垂直于所述显示屏幕所在的平面。Based on the included angle between the line of sight of the target object and the plane where the display screen is located, adjust the pitch angle of the display device so that the line of sight of the target object is perpendicular to the plane where the display screen is located.

在一些实施例中,所述基于目标对象的多个人脸关键点,确定所述目标对象的视线与显示设备的显示屏幕的交点之前,所述方法还包括:对所述目标对象进行人脸识别,确定所述目标对象的多个人脸关键点。In some embodiments, before determining the intersection of the line of sight of the target object and the display screen of the display device based on the multiple face key points of the target object, the method further includes: performing face recognition on the target object , determining a plurality of face key points of the target object.

在一些实施例中,所述方法还包括:In some embodiments, the method also includes:

对所述目标对象进行姿态识别,确定所述目标对象的多个骨骼关键点;performing gesture recognition on the target object, and determining a plurality of skeletal key points of the target object;

基于所述骨骼关键点的尺寸与标准骨骼关键点的尺寸的比值,确定所述目标对象与所述显示设备之间的距离,所述标准骨骼关键点的尺寸用于指示所述目标对象与所述显示设备之间的预设距离;Determine the distance between the target object and the display device based on the ratio of the size of the skeletal key point to the size of a standard skeletal key point, where the size of the standard skeletal key point is used to indicate the distance between the target object and the display device. the preset distance between the display devices;

基于所述目标对象与所述显示设备之间的距离,对所述显示屏幕的显示亮度、显示内容大小以及屏幕分辨率中的至少一项进行调整。At least one of display brightness, display content size, and screen resolution of the display screen is adjusted based on the distance between the target object and the display device.

另一方面,提供了一种显示设备调整装置,所述装置包括:In another aspect, an apparatus for adjusting a display device is provided, the apparatus comprising:

第一确定模块,用于基于目标对象的多个人脸关键点,确定所述目标对象的视线与显示设备的显示屏幕的交点;The first determination module is used to determine the intersection of the line of sight of the target object and the display screen of the display device based on a plurality of face key points of the target object;

第一调整模块,用于基于所述交点与所述显示屏幕的中心点之间的垂直距离,调整所述显示设备的高度,以使所述显示屏幕的中心点与所述交点位于同一水平高度;A first adjustment module, configured to adjust the height of the display device based on the vertical distance between the intersection point and the center point of the display screen, so that the center point of the display screen is at the same level as the intersection point ;

第二调整模块,用于基于所述视线与所述显示屏幕在所述中心点处的中垂线之间的夹角,调整所述显示设备的朝向,以使所述视线与中垂线之间的夹角小于角度阈值。The second adjustment module is configured to adjust the orientation of the display device based on the angle between the line of sight and the vertical line of the display screen at the center point, so that the distance between the line of sight and the vertical line The angle between them is smaller than the angle threshold.

在一些实施例中,所述第一调整模块,用于在所述垂直距离不大于距离阈值的情况下,采用第一调整方式对所述显示设备进行调整,所述第一调整方式用于指示采用第一速度调整所述显示设备的高度。In some embodiments, the first adjustment module is configured to adjust the display device in a first adjustment mode when the vertical distance is not greater than a distance threshold, and the first adjustment mode is used to indicate Adjusting the height of the display device with a first speed.

在一些实施例中,所述第一调整模块,用于在所述垂直距离大于所述距离阈值的情况下,在所述显示屏幕上显示提示信息,所述提示信息用于提示所述目标对象暂停使用所述显示设备,将为所述目标对象调整所述显示设备的高度;响应于所述目标对象对所述提示信息的确认操作,采用第二调整方式对所述显示设备进行调整,所述第二调整方式用于指示在所述目标对象暂停使用所述显示设备的情况下,通过第二速度调整所述显示设备的高度,所述第二速度大于所述第一速度。In some embodiments, the first adjustment module is configured to display prompt information on the display screen when the vertical distance is greater than the distance threshold, and the prompt information is used to prompt the target object Suspending the use of the display device, the height of the display device will be adjusted for the target object; in response to the confirmation operation of the target object on the prompt information, the second adjustment method is used to adjust the display device, so The second adjustment manner is used to indicate that when the target object suspends using the display device, adjust the height of the display device at a second speed, where the second speed is greater than the first speed.

在一些实施例中,所述第一调整模块,用于基于所述交点与所述显示屏幕的中心点之间的水平距离,水平调整所述显示设备,以使所述交点位于所述显示屏幕的中心点。In some embodiments, the first adjustment module is configured to horizontally adjust the display device based on the horizontal distance between the intersection point and the center point of the display screen, so that the intersection point is located on the display screen the center point of .

在一些实施例中,所述第二调整模块,用于基于所述目标对象的多个人脸关键点,确定所述目标对象的视线与所述显示屏幕所在的平面之间的夹角;基于所述目标对象的视线与所述显示屏幕所在的平面之间的夹角,调整所述显示设备的俯仰角度,以使所述目标对象的视线垂直于所述显示屏幕所在的平面。In some embodiments, the second adjustment module is configured to determine the included angle between the line of sight of the target object and the plane on which the display screen is located based on a plurality of facial key points of the target object; adjusting the pitch angle of the display device so that the line of sight of the target object is perpendicular to the plane where the display screen is located.

在一些实施例中,所述装置还包括:In some embodiments, the device also includes:

第二确定模块,用于对所述目标对象进行人脸识别,确定所述目标对象的多个人脸关键点。The second determining module is configured to perform face recognition on the target object, and determine a plurality of face key points of the target object.

在一些实施例中,所述装置还包括:In some embodiments, the device also includes:

第三确定模块,用于对所述目标对象进行姿态识别,确定所述目标对象的多个骨骼关键点;The third determining module is configured to perform gesture recognition on the target object, and determine a plurality of skeletal key points of the target object;

第四确定模块,用于基于所述骨骼关键点的尺寸与标准骨骼关键点的尺寸的比值,确定所述目标对象与所述显示设备之间的距离,所述标准骨骼关键点的尺寸用于指示所述目标对象与所述显示设备之间的预设距离;A fourth determination module, configured to determine the distance between the target object and the display device based on the ratio of the size of the key point of the bone to the size of the key point of the standard bone, the size of the key point of the standard bone is used for Indicating a preset distance between the target object and the display device;

第三调整模块,用于基于所述目标对象与所述显示设备之间的距离,对所述显示屏幕的显示亮度、显示内容大小以及屏幕分辨率中的至少一项进行调整。A third adjustment module, configured to adjust at least one of display brightness, display content size, and screen resolution of the display screen based on the distance between the target object and the display device.

另一方面,提供了一种终端,所述终端包括处理器和存储器,所述存储器中存储有至少一条计算机程序,所述至少一条计算机程序由所述处理器加载并执行,以实现如上述方面所述的显示设备调整方法。In another aspect, a terminal is provided, the terminal includes a processor and a memory, at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor, so as to realize the above aspects The display device adjustment method.

另一方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条计算机程序,所述至少一条计算机程序由处理器加载并执行,以实现如上述方面所述的显示设备调整方法。In another aspect, a computer-readable storage medium is provided, wherein at least one computer program is stored in the computer-readable storage medium, and the at least one computer program is loaded and executed by a processor, so as to realize the above-mentioned Displays the device adjustment method.

另一方面,提供了一种计算机程序产品,包括计算机程序,所述计算机程序由处理器加载并执行,以实现如上述方面所述的显示设备调整方法。In another aspect, a computer program product is provided, including a computer program, the computer program is loaded and executed by a processor, so as to implement the method for adjusting a display device as described in the above aspects.

本申请实施例提供了一种显示设备调整方案,通过目标对象的多个人脸关键点,能够确定目标对象的视线的方向以及目标对象的视线与显示设备的显示屏幕的交点。根据该交点和显示屏幕的中心点在垂直方向上的距离,来调整显示设备的高度,能够使显示屏幕的中心点和视线在显示屏幕上的交点位于同一水平高度。在显示屏幕没有正对目标对象的情况下,显示屏幕在中心点处的中垂线和目标对象的视线具有一定的夹角,基于该夹角调整显示设备的朝向,能够使视线与中垂线之间的夹角小于角度阈值,从而将显示屏幕调节到正对目标对象的朝向。因此,通过目标对象的多个人脸关键点调整显示设备的高度和朝向,能够实现根据用户的视线自动调节显示设备的位置和角度,无需用户手动调节,提高了调节的效率。The embodiment of the present application provides a display device adjustment solution, which can determine the direction of the target object's line of sight and the intersection point of the target object's line of sight and the display screen of the display device through multiple face key points of the target object. The height of the display device is adjusted according to the vertical distance between the intersection point and the center point of the display screen, so that the center point of the display screen and the intersection point of the line of sight on the display screen are at the same horizontal height. When the display screen is not directly facing the target object, there is a certain angle between the vertical line of the display screen at the center point and the line of sight of the target object. Adjusting the orientation of the display device based on the angle can make the line of sight and the vertical line The angle between them is smaller than the angle threshold, so that the display screen is adjusted to face the orientation of the target object. Therefore, by adjusting the height and orientation of the display device through multiple face key points of the target object, the position and angle of the display device can be automatically adjusted according to the user's line of sight, without manual adjustment by the user, and the adjustment efficiency is improved.

附图说明Description of drawings

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

图1是本申请实施例提供的一种实施环境的示意图;FIG. 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application;

图2是本申请实施例提供的一种显示设备调整方法的流程图;FIG. 2 is a flowchart of a method for adjusting a display device provided by an embodiment of the present application;

图3是本申请实施例提供的另一种显示设备调整方法的流程图;Fig. 3 is a flow chart of another method for adjusting a display device provided by an embodiment of the present application;

图4是本申请实施例提供的一种显示设备的示意图;FIG. 4 is a schematic diagram of a display device provided by an embodiment of the present application;

图5是本申请实施例提供的一种显示设备调整装置的结构示意图;Fig. 5 is a schematic structural diagram of a device for adjusting a display device provided by an embodiment of the present application;

图6是本申请实施例提供的另一种显示设备调整装置的结构示意图;Fig. 6 is a schematic structural diagram of another display device adjustment device provided by an embodiment of the present application;

图7是本申请实施例提供的一种终端的结构示意图。FIG. 7 is a schematic structural diagram of a terminal provided by an embodiment of the present application.

具体实施方式Detailed ways

为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the following will further describe the embodiments of the present application in detail in conjunction with the accompanying drawings.

本申请中术语“第一”“第二”等字样用于对作用和功能基本相同的相同项或相似项进行区分,应理解,“第一”、“第二”、“第n”之间不具有逻辑或时序上的依赖关系,也不对数量和执行顺序进行限定。In this application, the terms "first" and "second" are used to distinguish the same or similar items with basically the same function and function. It should be understood that "first", "second" and "nth" There are no logical or timing dependencies, nor are there restrictions on quantity or order of execution.

本申请中术语“至少一个”是指一个或多个,“多个”的含义是指两个或两个以上。In this application, the term "at least one" means one or more, and the meaning of "multiple" means two or more.

需要说明的是,本申请所涉及的信息(包括但不限于用户设备信息、用户个人信息等)、数据(包括但不限于用于分析的数据、存储的数据、展示的数据等)以及信号,均为经用户授权或者经过各方充分授权的,且相关数据的收集、使用和处理需要遵守相关国家和地区的相关法律法规和标准。例如,本申请中涉及到的目标对象的多个人脸关键点是在充分授权的情况下获取的。It should be noted that the information (including but not limited to user equipment information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application, All are authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the multiple face key points of the target object involved in this application are obtained under sufficient authorization.

图1是本申请实施例提供的一种实施环境的示意图,参见图1,该实施环境包括:显示设备101、拍摄设备102和三轴旋转支架103。FIG. 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application. Referring to FIG. 1 , the implementation environment includes: a display device 101 , a photographing device 102 and a three-axis rotating support 103 .

显示设备101和拍摄设备102能够通过有线或无线通信方式进行直接或间接地连接,本申请在此不做限制。The display device 101 and the photographing device 102 can be connected directly or indirectly through wired or wireless communication, which is not limited in this application.

在一些实施例中,显示设备101是具有显示屏幕的台式计算机、笔记本电脑、平板电脑、智能手机、智能语音交互设备以及VR(Virtual Reality,虚拟现实)、AR(AugmentedReality,增强现实)等虚拟现实设备等,但并不局限于此。显示设备101安装和运行有支持调整显示设备101的应用程序。示意性的,通过使用该应用程序,能够基于用户的视线自动调整显示设备101的高度。In some embodiments, the display device 101 is a desktop computer with a display screen, a notebook computer, a tablet computer, a smart phone, an intelligent voice interaction device, and VR (Virtual Reality, virtual reality), AR (Augmented Reality, augmented reality) and other virtual realities. equipment, etc., but not limited thereto. The display device 101 is installed and runs an application program that supports adjustment of the display device 101 . Schematically, by using this application program, the height of the display device 101 can be automatically adjusted based on the user's line of sight.

在一些实施例中,显示设备101配置有三轴旋转支架103。三轴旋转支架103的调整方向包括X轴、Y轴和Z轴三个轴向,能够为显示设备101提供高度、朝向以及俯仰度的多维度调整。In some embodiments, the display device 101 is configured with a three-axis rotating stand 103 . The adjustment direction of the three-axis rotating bracket 103 includes three axes of X-axis, Y-axis and Z-axis, which can provide multi-dimensional adjustment of height, orientation and pitch for the display device 101 .

在一些实施例中,拍摄设备102是摄像头、照相机、摄像机和3D体感摄影机等具有拍摄功能的设备。拍摄设备102用于对用户进行人脸识别和姿态识别,确定用户的多个人脸关键点和多个骨骼关键点,从而确定用户的视线和用户与显示设备101之间的距离。示意性的,显示设备101安装的应用程序能够基于拍摄设备102确定的用户的视线,确定显示设备101需要调整的高度、朝向和俯仰角度,从而控制三轴旋转支架103对显示设备101进行相应的调整。In some embodiments, the shooting device 102 is a device with a shooting function such as a camera, a still camera, a video camera, and a 3D somatosensory camera. The photographing device 102 is used to perform face recognition and gesture recognition on the user, and determine multiple face key points and multiple bone key points of the user, thereby determining the user's line of sight and the distance between the user and the display device 101 . Schematically, the application program installed on the display device 101 can determine the height, orientation, and pitch angle of the display device 101 that need to be adjusted based on the user's line of sight determined by the shooting device 102, so as to control the three-axis rotating bracket 103 to perform corresponding adjustments on the display device 101. Adjustment.

在一些实施例中,实施环境还包括服务器。服务器是独立的物理服务器,也能够是多个物理服务器构成的服务器集群或者分布式系统,还能够是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、CDN(ContentDelivery Network,内容分发网络)、以及大数据和人工智能平台等基础云计算服务的云服务器。服务器用于该应用程序提供后台服务。在一些实施例中,服务器承担主要计算工作,显示设备101承担次要计算工作;或者,服务器承担次要计算工作,显示设备101承担主要计算工作;或者,服务器和显示设备101二者之间采用分布式计算架构进行协同计算。In some embodiments, the implementation environment also includes a server. The server is an independent physical server, or it can be a server cluster or distributed system composed of multiple physical servers, and it can also provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware Cloud servers for basic cloud computing services such as domain name services, security services, CDN (ContentDelivery Network, content distribution network), and big data and artificial intelligence platforms. The server is used by the application to provide background services. In some embodiments, the server undertakes the main calculation work, and the display device 101 undertakes the secondary calculation work; or, the server undertakes the secondary calculation work, and the display device 101 undertakes the main calculation work; or, the server and the display device 101 adopt Distributed computing architecture for collaborative computing.

本领域技术人员可以知晓,上述显示设备的数量可以更多或更少。比如上述显示设备可以仅为一个,或者上述显示设备为几十个或几百个,或者更多数量。本申请实施例对显示设备的数量和设备类型不加以限定。Those skilled in the art may know that the number of the above display devices may be more or less. For example, there may be only one display device, or there may be dozens or hundreds of display devices, or more. The embodiment of the present application does not limit the number and type of display devices.

图2是本申请实施例提供的一种显示设备调整方法的流程图,本申请实施例由显示设备执行,显示设备可以是终端,也可以是终端外接的用于显示图像的设备。参见图2,该方法包括:Fig. 2 is a flowchart of a method for adjusting a display device provided by an embodiment of the present application. The embodiment of the present application is executed by a display device, and the display device may be a terminal or a device external to the terminal for displaying images. Referring to Figure 2, the method includes:

201、基于目标对象的多个人脸关键点,确定目标对象的视线与显示设备的显示屏幕的交点。201. Based on multiple face key points of a target object, determine an intersection point between a line of sight of the target object and a display screen of a display device.

在本申请实施例中,目标对象为使用显示设备的用户。该显示设备安装有显示屏幕和拍摄设备。在目标对象观看显示设备的显示屏幕的过程中,拍摄设备能够实时捕捉目标对象的面部信息,以确定目标对象的多个人脸关键点。其中,人脸关键点包括眉毛、眼睛、瞳孔、鼻子和嘴巴等关键点。In the embodiment of the present application, the target object is a user using a display device. The display device is equipped with a display screen and a shooting device. When the target object watches the display screen of the display device, the photographing device can capture the face information of the target object in real time to determine multiple face key points of the target object. Among them, the key points of the face include key points such as eyebrows, eyes, pupils, nose and mouth.

基于拍摄设备捕捉到的多个人脸关键点,能够确定目标对象的瞳孔关键点相对于其他人脸关键点的运动方向,也即是确定目标对象的眼睛运动方向,进而确定目标对象的视线方向。在目标对象长时间观看显示屏幕的某个位置的情况下,能够根据目标对象的视线方向,确定显示屏幕上与该视线方向对应的像素点,并将该像素点作为目标对象的视线与显示屏幕的交点。Based on multiple face key points captured by the shooting device, it is possible to determine the movement direction of the pupil key point of the target object relative to other face key points, that is, determine the eye movement direction of the target object, and then determine the line of sight direction of the target object. When the target object watches a certain position of the display screen for a long time, the pixel point corresponding to the line of sight direction on the display screen can be determined according to the line of sight direction of the target object, and the pixel point can be used as the line of sight of the target object and the display screen intersection point.

202、基于交点与显示屏幕的中心点之间的垂直距离,调整显示设备的高度,以使显示屏幕的中心点与交点位于同一水平高度。202. Based on the vertical distance between the intersection point and the center point of the display screen, adjust the height of the display device, so that the center point of the display screen and the intersection point are at the same horizontal height.

在本申请实施例中,基于显示屏幕的尺寸,能够确定位于显示屏幕正中心的像素点,并将该像素点作为显示屏幕的中心点。若显示屏幕的中心点对应的像素点和交点对应的像素点在垂直方向上具有一定的距离,则显示设备的高度并不符合目标对象的最佳观看高度,需要对显示设备的高度进行调整。其中,最佳观看高度为用户观看显示屏幕时不容易产生疲惫感的高度。最佳观看高度可以根据经验在显示设备出厂时设置,也可以由用户根据需求设置。In the embodiment of the present application, based on the size of the display screen, the pixel point at the center of the display screen can be determined, and this pixel point can be used as the center point of the display screen. If there is a certain distance between the pixel point corresponding to the center point of the display screen and the pixel point corresponding to the intersection point in the vertical direction, the height of the display device does not meet the optimum viewing height of the target object, and the height of the display device needs to be adjusted. Wherein, the optimal viewing height is a height at which the user is not likely to feel tired when watching the display screen. The optimum viewing height can be set according to experience when the display device leaves the factory, or can be set by the user according to requirements.

在本申请实施例中,显示设备安装有三轴旋转支架。该三轴旋转支架能支持在三个不同的轴向进行调整,从而为显示设备提供高度、朝向以及俯仰度的多维度调整。显示设备将显示屏幕的中心点对应的像素点和交点对应的像素点在垂直方向的距离,作为交点与显示屏幕的中心点之间的垂直距离。显示设备基于该垂直距离,通过控制三轴旋转支架,在垂直方向上调整显示设备的高度,直至显示屏幕的中心点与交点位于同一水平高度,此时该垂直距离为0,显示设备的高度符合目标对象的最佳观看高度。In the embodiment of the present application, the display device is installed with a three-axis rotating bracket. The three-axis rotating bracket can support adjustments in three different axes, thereby providing multi-dimensional adjustments of height, orientation and pitch for the display device. The display device uses the vertical distance between the pixel point corresponding to the center point of the display screen and the pixel point corresponding to the intersection point as the vertical distance between the intersection point and the center point of the display screen. Based on the vertical distance, the display device adjusts the height of the display device in the vertical direction by controlling the three-axis rotating bracket until the center point of the display screen and the intersection point are at the same horizontal height. At this time, the vertical distance is 0, and the height of the display device conforms to Optimal viewing height for the target object.

203、基于视线与显示屏幕在中心点处的中垂线之间的夹角,调整显示设备的朝向,以使视线与中垂线之间的夹角小于角度阈值。203. Based on the angle between the line of sight and the vertical line at the center point of the display screen, adjust the orientation of the display device, so that the angle between the line of sight and the vertical line is smaller than an angle threshold.

在本申请实施例中,显示屏幕在中心点处的中垂线垂直于该显示屏幕所在的平面,并且能够反应显示屏幕的朝向。在目标对象的视线与该中垂线存在一定的角度的情况下,显示屏幕的朝向并没有正对目标对象。显示设备基于目标对象的视线与该中垂线之间的夹角,通过控制三轴旋转支架调整显示设备的朝向,直至目标对象的视线与该中垂线之间的夹角小于角度阈值,此时显示屏幕的朝向正对目标对象。其中,角度阈值可以为一个预设的角度,如5°、7°或者10°,本申请实施例对角度阈值不做限定。In the embodiment of the present application, the vertical line at the central point of the display screen is perpendicular to the plane where the display screen is located, and can reflect the orientation of the display screen. When there is a certain angle between the line of sight of the target object and the vertical line, the direction of the display screen is not directly facing the target object. Based on the angle between the line of sight of the target object and the perpendicular, the display device adjusts the orientation of the display device by controlling the three-axis rotating bracket until the angle between the line of sight of the target object and the perpendicular is smaller than the angle threshold. When the display screen is facing the target object. Wherein, the angle threshold may be a preset angle, such as 5°, 7° or 10°, and the embodiment of the present application does not limit the angle threshold.

本申请实施例提供了一种显示设备调整方法,通过目标对象的多个人脸关键点,能够确定目标对象的视线的方向以及目标对象的视线与显示设备的显示屏幕的交点。根据该交点和显示屏幕的中心点在垂直方向上的距离,来调整显示设备的高度,能够使显示屏幕的中心点和视线在显示屏幕上的交点位于同一水平高度。在显示屏幕没有正对目标对象的情况下,显示屏幕在中心点处的中垂线和目标对象的视线具有一定的夹角,基于该夹角调整显示设备的朝向,能够使视线与中垂线之间的夹角小于角度阈值,从而将显示屏幕调节到正对目标对象的朝向。因此,通过目标对象的多个人脸关键点调整显示设备的高度和朝向,能够实现根据用户的视线自动调节显示设备的位置和角度,无需用户手动调节,提高了调节的效率。The embodiment of the present application provides a method for adjusting a display device, which can determine the direction of the target object's line of sight and the intersection point of the target object's line of sight and the display screen of the display device through multiple key points of the target object's face. The height of the display device is adjusted according to the vertical distance between the intersection point and the center point of the display screen, so that the center point of the display screen and the intersection point of the line of sight on the display screen are at the same horizontal height. When the display screen is not directly facing the target object, there is a certain angle between the vertical line of the display screen at the center point and the line of sight of the target object. Adjusting the orientation of the display device based on the angle can make the line of sight and the vertical line The angle between them is smaller than the angle threshold, so that the display screen is adjusted to face the orientation of the target object. Therefore, by adjusting the height and orientation of the display device through multiple face key points of the target object, the position and angle of the display device can be automatically adjusted according to the user's line of sight, without manual adjustment by the user, and the adjustment efficiency is improved.

图3是本申请实施例提供的另一种显示设备调整方法的流程图,本申请实施例由显示设备执行,显示设备可以是终端,也可以是终端外接的用于显示图像的设备。参见图3,该方法包括:Fig. 3 is a flow chart of another method for adjusting a display device provided by an embodiment of the present application. The embodiment of the present application is executed by a display device, and the display device may be a terminal or a device external to the terminal for displaying images. Referring to Figure 3, the method includes:

301、对目标对象进行人脸识别,确定目标对象的多个人脸关键点。301. Perform face recognition on the target object, and determine multiple face key points of the target object.

在本申请实施例中,目标对象为使用显示设备的用户。该显示设备安装有显示屏幕和拍摄设备。在目标对象观看显示设备的显示屏幕的过程中,拍摄设备能够实时捕捉目标对象的面部信息,以确定目标对象的多个人脸关键点。其中,人脸关键点包括眉毛、眼睛、瞳孔、鼻子和嘴巴等关键点。In the embodiment of the present application, the target object is a user using a display device. The display device is equipped with a display screen and a shooting device. When the target object watches the display screen of the display device, the photographing device can capture the face information of the target object in real time to determine multiple face key points of the target object. Among them, the key points of the face include key points such as eyebrows, eyes, pupils, nose and mouth.

在一些实施例中,显示设备能够通过人脸识别模型来基于目标对象的面部信息,确定目标对象的多个人脸关键点。相应地,基于人脸识别模型,对拍摄设备捕捉到的目标对象的面部信息进行人脸关键点识别,确定目标对象的眉毛、眼睛、瞳孔、鼻子和嘴巴等多个人脸关键点。其中,人脸识别模型用于基于输入的目标对象的面部信息,确定目标对象的多个人脸关键点以及每个人脸关键点的位置。由于该人脸识别模型具有自主学习能力,即该人脸识别模型进行人脸识别的次数越多,模型的自主学习能力就越强,进而基于面部信息得到的人脸关键点就更加准确,从而能够更加准确地确定目标对象的多个人脸关键点和每个人脸关键点的位置。In some embodiments, the display device can determine a plurality of facial key points of the target object based on the facial information of the target object through a face recognition model. Correspondingly, based on the face recognition model, face key point recognition is performed on the facial information of the target object captured by the shooting device, and multiple face key points such as eyebrows, eyes, pupils, nose, and mouth of the target object are determined. Wherein, the face recognition model is used to determine multiple key points of the face of the target object and the position of each key point of the face based on the input facial information of the target object. Because the face recognition model has self-learning ability, that is, the more times the face recognition model performs face recognition, the stronger the self-learning ability of the model, and then the key points of the face obtained based on facial information are more accurate, thus A plurality of facial key points of a target object and the position of each facial key point can be determined more accurately.

302、基于目标对象的多个人脸关键点,确定目标对象的视线与显示设备的显示屏幕的交点。302. Based on the multiple face key points of the target object, determine an intersection point between the line of sight of the target object and the display screen of the display device.

在本申请实施例中,基于目标对象的多个人脸关键点和每个人脸关键点的位置,能够确定目标对象的瞳孔关键点相对于其他人脸关键点的运动方向,也即是确定目标对象的眼睛运动方向,进而确定目标对象的视线方向。在目标对象长时间观看显示屏幕的某个位置的情况下,能够根据目标对象的视线方向,确定显示屏幕上与该视线方向对应的像素点,并将该像素点作为目标对象的视线与显示屏幕的交点。In the embodiment of the present application, based on the multiple face key points of the target object and the position of each face key point, it is possible to determine the movement direction of the pupil key point of the target object relative to other face key points, that is, to determine the target object eye movement direction, and then determine the gaze direction of the target object. When the target object watches a certain position of the display screen for a long time, the pixel point corresponding to the line of sight direction on the display screen can be determined according to the line of sight direction of the target object, and the pixel point can be used as the line of sight of the target object and the display screen intersection point.

在一些实施例中,拍摄设备为具有红外功能的摄像头。拍摄设备能够通过红外光源向目标对象投射可控制的红外光点、红外光线或者红外光面,以采集目标对象对投射的红外光产生的反射图像。然后基于采集到的反射图像和多个人脸关键点的位置,识别红外光在目标对象的瞳孔关键点上的反射,确定目标对象的眼动方向。基于目标对象的眼动方向相对于其他人脸关键点的运动方向,能够确定目标对象的视线方向。In some embodiments, the photographing device is a camera with an infrared function. The photographing device can project controllable infrared light spots, infrared rays or infrared light surfaces to the target object through the infrared light source, so as to collect reflection images generated by the target object to the projected infrared light. Then, based on the collected reflection images and the positions of multiple face key points, the reflection of infrared light on the pupil key points of the target object is identified, and the eye movement direction of the target object is determined. Based on the eye movement direction of the target object relative to the movement directions of other facial key points, the gaze direction of the target object can be determined.

303、基于交点与显示屏幕的中心点之间的垂直距离,调整显示设备的高度,以使显示屏幕的中心点与交点位于同一水平高度。303. Based on the vertical distance between the intersection point and the center point of the display screen, adjust the height of the display device, so that the center point of the display screen and the intersection point are at the same horizontal height.

在本申请实施例中,基于显示屏幕的尺寸,能够确定位于显示屏幕正中心的像素点,并将该像素点作为显示屏幕的中心点。若显示屏幕的中心点对应的像素点和交点对应的像素点在垂直方向上具有一定的距离,则显示设备的高度并不符合目标对象的最佳观看高度,需要对显示设备的高度进行调整。其中,最佳观看高度是指用户观看显示屏幕时,不容易产生疲惫感的高度。最佳观看高度可以根据经验在显示设备出厂时设置,也可以由用户根据需求设置。In the embodiment of the present application, based on the size of the display screen, the pixel point at the center of the display screen can be determined, and this pixel point can be used as the center point of the display screen. If there is a certain distance between the pixel point corresponding to the center point of the display screen and the pixel point corresponding to the intersection point in the vertical direction, the height of the display device does not meet the optimum viewing height of the target object, and the height of the display device needs to be adjusted. Wherein, the optimal viewing height refers to a height at which the user is not likely to feel tired when watching the display screen. The optimum viewing height can be set according to experience when the display device leaves the factory, or can be set by the user according to requirements.

在本申请实施例中,显示设备安装有三轴旋转支架。该三轴旋转支架能支持在三个不同的轴向进行调整,从而为显示设备提供高度、朝向以及俯仰度的多维度调整。显示设备将显示屏幕的中心点对应的像素点和交点对应的像素点在垂直方向的距离,作为交点与显示屏幕的中心点之间的垂直距离。显示设备基于该垂直距离,通过控制三轴旋转支架,在垂直方向上调整显示设备的高度,直至显示屏幕的中心点与交点的位于同一水平高度,此时该垂直距离为0,显示设备的高度符合目标对象的最佳观看高度。In the embodiment of the present application, the display device is installed with a three-axis rotating bracket. The three-axis rotating bracket can support adjustments in three different axes, thereby providing multi-dimensional adjustments of height, orientation and pitch for the display device. The display device uses the vertical distance between the pixel point corresponding to the center point of the display screen and the pixel point corresponding to the intersection point as the vertical distance between the intersection point and the center point of the display screen. Based on the vertical distance, the display device adjusts the height of the display device in the vertical direction by controlling the three-axis rotating bracket until the center point of the display screen and the intersection point are at the same horizontal height. At this time, the vertical distance is 0, and the height of the display device is Matches the optimum viewing height for the target audience.

在一些实施例中,显示设备安装有可伸缩可调角度的摇杆。如图4所示,显示设备401能够基于拍摄设备402采集到的目标对象的面部信息,确定目标对象的视线与显示屏幕的交点,并根据该交点与显示屏幕的中心点之间的垂直距离,通过控制可伸缩可调角度的摇杆403调整显示设备的高度,以使显示屏幕的中心点与交点的位于同一水平高度。In some embodiments, the display device is equipped with a telescopic and adjustable rocker. As shown in FIG. 4, the display device 401 can determine the intersection point between the line of sight of the target object and the display screen based on the facial information of the target object collected by the shooting device 402, and according to the vertical distance between the intersection point and the center point of the display screen, The height of the display device is adjusted by controlling the telescopic and adjustable rocker 403 so that the center point of the display screen and the intersection point are at the same level.

需要说明的是,显示设备能够基于交点与显示屏幕的中心点之间的垂直距离,分别采用下述两种调整方式对显示设备进行调整。It should be noted that, based on the vertical distance between the intersection point and the center point of the display screen, the display device can use the following two adjustment methods to adjust the display device respectively.

方式一、在垂直距离不大于距离阈值的情况下,显示设备需要调整的幅度较小,因此采用第一调整方式对显示设备进行调整。其中,距离阈值可以为一个预设的距离,如3厘米、5厘米或者7厘米,本申请实施例对距离阈值不做限定。第一调整方式用于指示采用第一速度调整显示设备的高度。其中,第一速度为较慢的速度。相应地,显示设备控制三轴旋转支架采用第一调整方式缓慢地对显示设备的高度进行微调,能够在不影响目标用户使用显示设备的情况下,将显示屏幕的中心点调整至与交点位于同一水平高度,此时垂直距离为0,显示设备的高度符合目标对象的最佳观看高度。Mode 1: In the case where the vertical distance is not greater than the distance threshold, the display device needs to be adjusted in a relatively small range, so the display device is adjusted in the first adjustment mode. Wherein, the distance threshold may be a preset distance, such as 3 centimeters, 5 centimeters or 7 centimeters, and the embodiment of the present application does not limit the distance threshold. The first adjustment mode is used to indicate that the height of the display device is adjusted at a first speed. Wherein, the first speed is a relatively slow speed. Correspondingly, the display device controls the three-axis rotating bracket to slowly fine-tune the height of the display device using the first adjustment method, and can adjust the center point of the display screen to be at the same position as the intersection point without affecting the use of the display device by the target user. Horizontal height. At this time, the vertical distance is 0, indicating that the height of the display device meets the best viewing height of the target object.

方式二、在垂直距离大于距离阈值的情况下,显示设备需要调整的幅度较大,因此需要在目标对象暂停使用显示设备的情况下,采用较快的速度调整显示设备的高度,以提升调整的效率。相应地,在垂直距离大于距离阈值的情况下,在显示屏幕上显示提示信息。其中,提示信息用于提示目标对象暂停使用显示设备,将为目标对象采用较快的速度调整显示设备的高度。响应于目标对象对提示信息的确认操作,显示设备控制三轴旋转支架采用第二调整方式对显示设备进行调整,第二调整方式用于指示在目标对象暂停使用显示设备的情况下,通过第二速度调整显示设备的高度,直至显示屏幕的中心点与交点位于同一水平高度,此时垂直距离为0,显示设备的高度符合目标对象的最佳观看高度。其中,第二速度为较快的速度,第二速度大于第一速度。Method 2. When the vertical distance is greater than the distance threshold, the display device needs to be adjusted to a large extent. Therefore, when the target object suspends using the display device, it is necessary to adjust the height of the display device at a faster speed to improve the adjustment. efficiency. Correspondingly, when the vertical distance is greater than the distance threshold, prompt information is displayed on the display screen. Wherein, the prompt information is used to prompt the target object to suspend the use of the display device, and the target object will adjust the height of the display device at a faster speed. In response to the confirmation operation of the target object on the prompt information, the display device controls the three-axis rotating bracket to adjust the display device in a second adjustment mode, and the second adjustment mode is used to indicate that when the target object suspends using the display device, through the second Adjust the height of the display device until the center point of the display screen and the intersection point are at the same horizontal height. At this time, the vertical distance is 0, and the height of the display device conforms to the optimal viewing height of the target object. Wherein, the second speed is a relatively fast speed, and the second speed is greater than the first speed.

在一些实施例中,还能够对显示设备进行水平调整。若显示屏幕的中心点对应的像素点和交点对应的像素点在水平方向上具有一定的距离,则目标对象的视线并没有正对显示屏幕的中心点,因此在水平方向对显示设备进行调整。显示设备将显示屏幕的中心点对应的像素点和交点对应的像素点在水平方向的距离,作为交点与显示屏幕的中心点之间的水平距离。显示设备基于交点与显示屏幕的中心点之间的水平距离,控制三轴旋转支架水平调整显示设备,直至交点位于显示屏幕的中心点,此时该水平距离为0,显示设备的中心点正对目标对象的视线,目标对象即使长时间观看显示屏幕也不容易产生疲惫感。In some embodiments, a horizontal adjustment of the display device is also enabled. If there is a certain distance between the pixel point corresponding to the center point of the display screen and the pixel point corresponding to the intersection point in the horizontal direction, the line of sight of the target object is not directly facing the center point of the display screen, so the display device is adjusted in the horizontal direction. The display device uses the horizontal distance between the pixel point corresponding to the center point of the display screen and the pixel point corresponding to the intersection point as the horizontal distance between the intersection point and the center point of the display screen. Based on the horizontal distance between the intersection point and the center point of the display screen, the display device controls the three-axis rotating bracket to adjust the display device horizontally until the intersection point is at the center point of the display screen. At this time, the horizontal distance is 0, and the center point of the display device is facing The line of sight of the target object, even if the target object watches the display screen for a long time, it is not easy to feel tired.

304、基于视线与显示屏幕在中心点处的中垂线之间的夹角,调整显示设备的朝向,以使视线与中垂线之间的夹角小于角度阈值。304. Based on the included angle between the line of sight and the vertical line at the center point of the display screen, adjust the orientation of the display device, so that the angle between the line of sight and the vertical line is smaller than an angle threshold.

在本申请实施例中,显示屏幕在中心点处的中垂线垂直于该显示屏幕所在的平面,并且能够反应显示屏幕的朝向。在目标对象的视线与该中垂线存在一定的角度的情况下,显示屏幕的朝向并没有正对目标对象。显示设备基于目标对象的视线与该中垂线之间的夹角,通过控制三轴旋转支架调整显示设备的朝向,直至目标对象的视线与该中垂线之间的夹角小于角度阈值,此时显示屏幕的朝向正对目标对象。其中,角度阈值可以为一个预设的角度,如5°、7°或者10°,本申请实施例对角度阈值不做限定。In the embodiment of the present application, the vertical line at the central point of the display screen is perpendicular to the plane where the display screen is located, and can reflect the orientation of the display screen. When there is a certain angle between the line of sight of the target object and the vertical line, the direction of the display screen is not directly facing the target object. Based on the angle between the line of sight of the target object and the perpendicular, the display device adjusts the orientation of the display device by controlling the three-axis rotating bracket until the angle between the line of sight of the target object and the perpendicular is smaller than the angle threshold. When the display screen is facing the target object. Wherein, the angle threshold may be a preset angle, such as 5°, 7° or 10°, and the embodiment of the present application does not limit the angle threshold.

在一些实施例中,能够基于目标对象的视线,对显示设备的俯仰角度进行调整。显示设备基于目标对象的多个人脸关键点,确定目标对象的视线方向。在目标对象观看显示屏幕的某个位置的情况下,能够根据目标对象的视线方向和显示屏幕所在的平面,确定目标对象的视线与显示屏幕所在的平面之间的夹角。在该夹角不是90°的情况下,显示屏幕的俯仰角度不符合用户的最佳观看角度,用户在非最佳观看角度观看显示屏幕很容易产生疲惫感。因此,需要基于目标对象的视线与显示屏幕所在的平面之间的夹角,调整显示设备的俯仰角度,以使目标对象的视线垂直于显示屏幕所在的平面,此时显示屏幕的俯仰角度符合用户的最佳观看角度,用户通过该最佳观看角度观看显示屏幕时,不容易产生疲惫感。In some embodiments, the pitch angle of the display device can be adjusted based on the line of sight of the target object. The display device determines the gaze direction of the target object based on the multiple face key points of the target object. When the target object watches a certain position of the display screen, the included angle between the line of sight of the target object and the plane where the display screen is located can be determined according to the line of sight direction of the target object and the plane where the display screen is located. If the included angle is not 90°, the pitch angle of the display screen does not meet the user's optimum viewing angle, and the user will easily feel tired when viewing the display screen at a non-optimum viewing angle. Therefore, it is necessary to adjust the pitch angle of the display device based on the angle between the line of sight of the target object and the plane where the display screen is located, so that the line of sight of the target object is perpendicular to the plane where the display screen is located. The best viewing angle, when the user watches the display screen through the best viewing angle, it is not easy to feel tired.

在一些实施例中,能够基于目标对象和显示设备之间的距离,对显示屏幕的参数进行调整。拍摄设备通过对目标对象进行姿态识别,能够确定目标对象的多个骨骼关键点。显示设备基于目标对象的骨骼关键点的尺寸与标准骨骼关键点的尺寸的比值,确定目标对象与显示设备之间的距离,标准骨骼关键点的尺寸用于指示目标对象与显示设备之间的预设距离。其中,预设距离为用户观看显示屏幕时不容易产生疲惫感的距离。预设距离可以根据经验在显示设备出厂时设置,也可以由用户根据需求设置。基于目标对象与显示设备之间的距离,对显示屏幕的显示亮度、显示内容大小以及屏幕分辨率中的至少一项进行调整。In some embodiments, parameters of the display screen can be adjusted based on the distance between the target object and the display device. The photographing device can determine a plurality of bone key points of the target object by performing gesture recognition on the target object. The display device determines the distance between the target object and the display device based on the ratio of the size of the bone key point of the target object to the size of the standard bone key point. The size of the standard bone key point is used to indicate the expected distance between the target object and the display device. Set distance. Wherein, the preset distance is a distance at which the user is not likely to feel tired when watching the display screen. The preset distance can be set according to experience when the display device leaves the factory, or can be set by the user according to requirements. Based on the distance between the target object and the display device, at least one of display brightness, display content size, and screen resolution of the display screen is adjusted.

例如,在目标对象与显示设备之间的距离大于预设距离的情况下,目标对象与显示设备之间的距离较大,则将显示屏幕显示的内容调大;在目标对象与显示设备之间的距离小于预设距离的情况下,目标对象与显示设备之间的距离较小,则将显示屏幕的显示亮度调低,避免目标对象长时间观看较亮的显示屏幕造成视觉疲劳。For example, when the distance between the target object and the display device is greater than the preset distance, and the distance between the target object and the display device is relatively large, the content displayed on the display screen will be enlarged; between the target object and the display device When the distance is less than the preset distance, and the distance between the target object and the display device is small, the display brightness of the display screen is lowered to avoid visual fatigue caused by the target object watching a brighter display screen for a long time.

在一些实施例中,显示设备基于拍摄设备采集到的人脸关键点或者骨骼关键点,能够检测目标对象的疲劳程度。进而根据目标对象的疲劳程度,对显示设备进行调整,以减轻目标对象的疲劳感。例如,在目标对象的眼睛关键点的尺寸小于预设尺寸,或者目标对象的骨骼关键点与疲劳状态下对应的骨骼关键点的相似程度较高的情况下,目标对象的疲劳程度较高。其中,预设尺寸为目标对象处于非疲劳状态时眼睛关键点的尺寸。相应地,显示设备将显示屏幕显示的内容调大,或者将显示屏幕的亮度调高,或者将显示设备与目标对象之间的距离调小。能够使目标对象能够更清楚地观看显示屏幕的内容,从而在一定程度上缓解目标对象的疲劳感。In some embodiments, the display device can detect the fatigue degree of the target object based on the key points of the face or the key points of the skeleton collected by the shooting device. Furthermore, according to the fatigue degree of the target object, the display device is adjusted to reduce the fatigue feeling of the target object. For example, if the size of the eye key points of the target object is smaller than the preset size, or the similarity between the key points of the bones of the target object and the corresponding bone key points in the fatigue state is high, the fatigue degree of the target object is high. Wherein, the preset size is the size of key points of the eyes when the target object is in a non-fatigue state. Correspondingly, the display device increases the content displayed on the display screen, or increases the brightness of the display screen, or decreases the distance between the display device and the target object. It can enable the target object to watch the content of the display screen more clearly, thereby alleviating the fatigue of the target object to a certain extent.

本申请实施例提供了一种显示设备调整方法,通过目标对象的多个人脸关键点,能够确定目标对象的视线的方向以及目标对象的视线与显示设备的显示屏幕的交点。根据该交点和显示屏幕的中心点在垂直方向上的距离,来调整显示设备的高度,能够使显示屏幕的中心点和视线在显示屏幕上的交点位于同一水平高度。在显示屏幕没有正对目标对象的情况下,显示屏幕在中心点处的中垂线和目标对象的视线具有一定的夹角,基于该夹角调整显示设备的朝向,能够使视线与中垂线之间的夹角小于角度阈值,从而将显示屏幕调节到正对目标对象的朝向。因此,通过目标对象的多个人脸关键点调整显示设备的高度和朝向,能够实现根据用户的视线自动调节显示设备的位置和角度,无需用户手动调节,提高了调节的效率。The embodiment of the present application provides a method for adjusting a display device, which can determine the direction of the target object's line of sight and the intersection point of the target object's line of sight and the display screen of the display device through multiple key points of the target object's face. The height of the display device is adjusted according to the vertical distance between the intersection point and the center point of the display screen, so that the center point of the display screen and the intersection point of the line of sight on the display screen are at the same horizontal height. When the display screen is not directly facing the target object, there is a certain angle between the vertical line of the display screen at the center point and the line of sight of the target object. Adjusting the orientation of the display device based on the angle can make the line of sight and the vertical line The angle between them is smaller than the angle threshold, so that the display screen is adjusted to face the orientation of the target object. Therefore, by adjusting the height and orientation of the display device through multiple face key points of the target object, the position and angle of the display device can be automatically adjusted according to the user's line of sight, without manual adjustment by the user, and the adjustment efficiency is improved.

图5是本申请实施例提供的一种显示设备调整装置的结构示意图。参见图5,该装置包括:第一确定模块501、第一调整模块502和第二调整模块503。FIG. 5 is a schematic structural diagram of an apparatus for adjusting a display device provided by an embodiment of the present application. Referring to FIG. 5 , the device includes: a first determination module 501 , a first adjustment module 502 and a second adjustment module 503 .

第一确定模块501,用于基于目标对象的多个人脸关键点,确定目标对象的视线与显示设备的显示屏幕的交点;The first determination module 501 is configured to determine the intersection of the line of sight of the target object and the display screen of the display device based on a plurality of face key points of the target object;

第一调整模块502,用于基于交点与显示屏幕的中心点之间的垂直距离,调整显示设备的高度,以使显示屏幕的中心点与交点位于同一水平高度;The first adjustment module 502 is configured to adjust the height of the display device based on the vertical distance between the intersection point and the center point of the display screen, so that the center point of the display screen and the intersection point are at the same horizontal height;

第二调整模块503,用于基于视线与显示屏幕在中心点处的中垂线之间的夹角,调整显示设备的朝向,以使视线与中垂线之间的夹角小于角度阈值。The second adjustment module 503 is configured to adjust the orientation of the display device based on the angle between the line of sight and the vertical line at the center point of the display screen, so that the angle between the line of sight and the vertical line is smaller than an angle threshold.

在一些实施例中,第一调整模块502,用于在垂直距离不大于距离阈值的情况下,采用第一调整方式对显示设备进行调整,第一调整方式用于指示采用第一速度调整显示设备的高度。In some embodiments, the first adjustment module 502 is configured to adjust the display device in a first adjustment mode when the vertical distance is not greater than the distance threshold, and the first adjustment mode is used to indicate that the display device is adjusted in a first speed the height of.

在一些实施例中,第一调整模块502,用于在垂直距离大于距离阈值的情况下,在显示屏幕上显示提示信息,提示信息用于提示目标对象暂停使用显示设备,将为目标对象调整显示设备的高度;响应于目标对象对提示信息的确认操作,采用第二调整方式对显示设备进行调整,第二调整方式用于指示在目标对象暂停使用显示设备的情况下,通过第二速度调整显示设备的高度,第二速度大于第一速度。In some embodiments, the first adjustment module 502 is configured to display prompt information on the display screen when the vertical distance is greater than the distance threshold, the prompt information is used to prompt the target object to suspend using the display device, and to adjust the display for the target object The height of the device; in response to the confirmation operation of the target object on the prompt information, the display device is adjusted in a second adjustment mode, and the second adjustment mode is used to indicate that when the target object suspends using the display device, the display device is adjusted at a second speed The height of the device, the second speed is greater than the first speed.

在一些实施例中,第一调整模块502,用于基于交点与显示屏幕的中心点之间的水平距离,水平调整显示设备,以使交点位于显示屏幕的中心点。In some embodiments, the first adjustment module 502 is configured to horizontally adjust the display device based on the horizontal distance between the intersection point and the center point of the display screen, so that the intersection point is located at the center point of the display screen.

在一些实施例中,第二调整模块503,用于基于目标对象的多个人脸关键点,确定目标对象的视线与显示屏幕所在的平面之间的夹角;基于目标对象的视线与显示屏幕所在的平面之间的夹角,调整显示设备的俯仰角度,以使目标对象的视线垂直于显示屏幕所在的平面。In some embodiments, the second adjustment module 503 is configured to determine the angle between the line of sight of the target object and the plane where the display screen is located based on multiple key points of the target object; Adjust the pitch angle of the display device so that the line of sight of the target object is perpendicular to the plane where the display screen is located.

在一些实施例中,图6是本申请实施例提供的另一种显示设备调整装置的结构示意图,如图6所示,装置还包括:In some embodiments, FIG. 6 is a schematic structural diagram of another display device adjustment device provided in the embodiment of the present application. As shown in FIG. 6 , the device further includes:

第二确定模块504,用于对所述目标对象进行人脸识别,确定所述目标对象的多个人脸关键点。The second determination module 504 is configured to perform face recognition on the target object, and determine multiple key points of the target object's face.

在一些实施例中,如图6所示,装置还包括:In some embodiments, as shown in Figure 6, the device further includes:

第三确定模块505用于对目标对象进行姿态识别,确定目标对象的多个骨骼关键点;The third determination module 505 is used to perform gesture recognition on the target object, and determine a plurality of skeletal key points of the target object;

第四确定模块506,用于基于骨骼关键点的尺寸与标准骨骼关键点的尺寸的比值,确定目标对象与显示设备之间的距离,标准骨骼关键点的尺寸用于指示目标对象与显示设备之间的预设距离;The fourth determination module 506 is used to determine the distance between the target object and the display device based on the ratio of the size of the key point of the skeleton to the size of the key point of the standard bone, and the size of the key point of the standard bone is used to indicate the distance between the target object and the display device. preset distance between

第三调整模块507,用于基于目标对象与显示设备之间的距离,对显示屏幕的显示亮度、显示内容大小以及屏幕分辨率中的至少一项进行调整。The third adjustment module 507 is configured to adjust at least one of display brightness, display content size and screen resolution of the display screen based on the distance between the target object and the display device.

本申请实施例提供了一种显示设备调整装置,通过目标对象的多个人脸关键点,能够确定目标对象的视线的方向以及目标对象的视线与显示设备的显示屏幕的交点。根据该交点和显示屏幕的中心点在垂直方向上的距离,来调整显示设备的高度,能够使显示屏幕的中心点和视线在显示屏幕上的交点位于同一水平高度。在显示屏幕没有正对目标对象的情况下,显示屏幕在中心点处的中垂线和目标对象的视线具有一定的夹角,基于该夹角调整显示设备的朝向,能够使视线与中垂线之间的夹角小于角度阈值,从而将显示屏幕调节到正对目标对象的朝向。因此,通过目标对象的多个人脸关键点调整显示设备的高度和朝向,能够实现根据用户的视线自动调节显示设备的位置和角度,无需用户手动调节,提高了调节的效率。An embodiment of the present application provides an apparatus for adjusting a display device, which can determine the direction of the target object's line of sight and the intersection point of the target object's line of sight and the display screen of the display device through multiple key points of the target object's face. The height of the display device is adjusted according to the vertical distance between the intersection point and the center point of the display screen, so that the center point of the display screen and the intersection point of the line of sight on the display screen are at the same horizontal height. When the display screen is not directly facing the target object, there is a certain angle between the vertical line of the display screen at the center point and the line of sight of the target object. Adjusting the orientation of the display device based on the angle can make the line of sight and the vertical line The angle between them is smaller than the angle threshold, so that the display screen is adjusted to face the orientation of the target object. Therefore, by adjusting the height and orientation of the display device through multiple face key points of the target object, the position and angle of the display device can be automatically adjusted according to the user's line of sight, without manual adjustment by the user, and the adjustment efficiency is improved.

需要说明的是:上述实施例提供的显示设备调整装置,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将终端的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的显示设备调整装置与显示设备调整方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that the display device adjustment device provided in the above embodiment is only illustrated by dividing the above functional modules. The structure is divided into different functional modules to complete all or part of the functions described above. In addition, the device for adjusting the display device provided by the above embodiment is based on the same idea as the embodiment of the method for adjusting the display device, and its specific implementation process can be found in the method embodiment, and will not be repeated here.

本申请实施例还提供了一种终端,该终端包括处理器和存储器,存储器中存储有至少一条计算机程序,该至少一条计算机程序由处理器加载并执行,以实现上述实施例的显示设备调整方法。An embodiment of the present application also provides a terminal, the terminal includes a processor and a memory, at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor, so as to implement the method for adjusting the display device in the above embodiment .

图7是本申请实施例提供的一种终端的结构示意图。FIG. 7 is a schematic structural diagram of a terminal provided by an embodiment of the present application.

终端700包括有:处理器701和存储器702。The terminal 700 includes: a processor 701 and a memory 702 .

处理器701可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器701可以采用DSP(Digital Signal Processing,数字信号处理)、FPGA(FieldProgrammable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器701也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central ProcessingUnit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器701可以集成有GPU(Graphics Processing Unit,图像处理的交互器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器701还可以包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。The processor 701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 701 can be realized by at least one hardware form of DSP (Digital Signal Processing, digital signal processing), FPGA (Field Programmable Gate Array, field programmable gate array), and PLA (Programmable Logic Array, programmable logic array). Processor 701 may also include a main processor and a coprocessor, and the main processor is a processor for processing data in a wake-up state, also known as a CPU (Central Processing Unit, central processing unit); Low-power processor for processing data in standby state. In some embodiments, the processor 701 may be integrated with a GPU (Graphics Processing Unit, image processing interactor), and the GPU is used for rendering and drawing the content that needs to be displayed on the display screen. In some embodiments, the processor 701 may also include an AI (Artificial Intelligence, artificial intelligence) processor, where the AI processor is configured to process computing operations related to machine learning.

存储器702可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器702还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器702中的非暂态的计算机可读存储介质用于存储至少一条计算机程序,该至少一条计算机程序用于被处理器701所具有以实现本申请中方法实施例提供的显示设备调整方法。Memory 702 may include one or more computer-readable storage media, which may be non-transitory. The memory 702 may also include high-speed random access memory, and non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 702 is used to store at least one computer program, and the at least one computer program is used to be possessed by the processor 701 to implement the methods provided by the method embodiments in this application. Displays the device adjustment method.

在一些实施例中,终端700还可选包括有:外围设备接口703和至少一个外围设备。处理器701、存储器702和外围设备接口703之间可以通过总线或信号线相连。各个外围设备可以通过总线、信号线或电路板与外围设备接口703相连。可选地,外围设备包括:射频电路704、显示屏705、摄像头组件706、音频电路707和电源708中的至少一种。In some embodiments, the terminal 700 may optionally further include: a peripheral device interface 703 and at least one peripheral device. The processor 701, the memory 702, and the peripheral device interface 703 may be connected through buses or signal lines. Each peripheral device can be connected to the peripheral device interface 703 through a bus, a signal line or a circuit board. Optionally, the peripheral device includes: at least one of a radio frequency circuit 704 , a display screen 705 , a camera assembly 706 , an audio circuit 707 and a power supply 708 .

外围设备接口703可被用于将I/O(Input/Output,输入/输出)相关的至少一个外围设备连接到处理器701和存储器702。在一些实施例中,处理器701、存储器702和外围设备接口703被集成在同一芯片或电路板上;在一些其他实施例中,处理器701、存储器702和外围设备接口703中的任意一个或两个可以在单独的芯片或电路板上实现,本实施例对此不加以限定。The peripheral device interface 703 may be used to connect at least one peripheral device related to I/O (Input/Output, input/output) to the processor 701 and the memory 702 . In some embodiments, the processor 701, memory 702 and peripheral device interface 703 are integrated on the same chip or circuit board; in some other embodiments, any one of the processor 701, memory 702 and peripheral device interface 703 or The two can be implemented on a separate chip or circuit board, which is not limited in this embodiment.

射频电路704用于接收和发射RF(Radio Frequency,射频)信号,也称电磁信号。射频电路704通过电磁信号与通信网络以及其他通信设备进行通信。射频电路704将电信号转换为电磁信号进行发送,或者,将接收到的电磁信号转换为电信号。可选地,射频电路704包括:天线系统、RF收发器、一个或多个放大器、调谐器、振荡器、数字信号处理器、编解码芯片组、用户身份模块卡等等。射频电路704可以通过至少一种无线通信协议来与其它设备进行通信。该无线通信协议包括但不限于:城域网、各代移动通信网络(2G、3G、4G及5G)、无线局域网和/或WiFi(Wireless Fidelity,无线保真)网络。在一些实施例中,射频电路704还可以包括NFC(Near Field Communication,近距离无线通信)有关的电路,本申请对此不加以限定。The radio frequency circuit 704 is used to receive and transmit RF (Radio Frequency, radio frequency) signals, also called electromagnetic signals. The radio frequency circuit 704 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 704 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 704 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and the like. The radio frequency circuit 704 can communicate with other devices through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: metropolitan area network, mobile communication networks of various generations (2G, 3G, 4G and 5G), wireless local area network and/or WiFi (Wireless Fidelity, wireless fidelity) network. In some embodiments, the radio frequency circuit 704 may also include circuits related to NFC (Near Field Communication, short-range wireless communication), which is not limited in this application.

显示屏705用于显示UI(User Interface,用户界面)。该UI可以包括图形、文本、图标、视频及其它们的任意组合。当显示屏705是触摸显示屏时,显示屏705还具有采集在显示屏705的表面或表面上方的触摸信号的能力。该触摸信号可以作为控制信号输入至处理器701进行处理。此时,显示屏705还可以用于提供虚拟按钮和/或虚拟键盘,也称软按钮和/或软键盘。在一些实施例中,显示屏705可以为一个,设置在终端700的前面板;在另一些实施例中,显示屏705可以为至少两个,分别设置在终端700的不同表面或呈折叠设计;在另一些实施例中,显示屏705可以是柔性显示屏,设置在终端700的弯曲表面上或折叠面上。甚至,显示屏705还可以设置成非矩形的不规则图形,也即异形屏。显示屏705可以采用LCD(Liquid Crystal Display,液晶显示屏)、OLED(Organic Light-Emitting Diode,有机发光二极管)等材质制备。The display screen 705 is used to display a UI (User Interface, user interface). The UI can include graphics, text, icons, video, and any combination thereof. When the display screen 705 is a touch display screen, the display screen 705 also has the ability to collect touch signals on or above the surface of the display screen 705 . The touch signal can be input to the processor 701 as a control signal for processing. At this time, the display screen 705 can also be used to provide virtual buttons and/or virtual keyboards, also called soft buttons and/or soft keyboards. In some embodiments, there may be one display screen 705, which is arranged on the front panel of the terminal 700; in other embodiments, there may be at least two display screens 705, which are respectively arranged on different surfaces of the terminal 700 or in a folding design; In some other embodiments, the display screen 705 may be a flexible display screen, which is arranged on a curved surface or a folded surface of the terminal 700 . Even, the display screen 705 can also be set as a non-rectangular irregular figure, that is, a special-shaped screen. The display screen 705 can be made of LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, organic light-emitting diode) and other materials.

摄像头组件706用于采集图像或视频。可选地,摄像头组件706包括前置摄像头和后置摄像头。前置摄像头设置在终端700的前面板,后置摄像头设置在终端700的背面。在一些实施例中,后置摄像头为至少两个,分别为主摄像头、景深摄像头、广角摄像头、长焦摄像头中的任意一种,以实现主摄像头和景深摄像头融合实现背景虚化功能、主摄像头和广角摄像头融合实现全景拍摄以及VR(Virtual Reality,虚拟现实)拍摄功能或者其它融合拍摄功能。在一些实施例中,摄像头组件706还可以包括闪光灯。闪光灯可以是单色温闪光灯,也可以是双色温闪光灯。双色温闪光灯是指暖光闪光灯和冷光闪光灯的组合,可以用于不同色温下的光线补偿。The camera assembly 706 is used to capture images or videos. Optionally, the camera component 706 includes a front camera and a rear camera. The front camera is set on the front panel of the terminal 700 , and the rear camera is set on the back of the terminal 700 . In some embodiments, there are at least two rear cameras, which are any one of the main camera, depth-of-field camera, wide-angle camera, and telephoto camera, so as to realize the fusion of the main camera and the depth-of-field camera to realize the background blur function. Combined with the wide-angle camera to achieve panoramic shooting and VR (Virtual Reality, virtual reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 706 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. Dual color temperature flash refers to the combination of warm light flash and cold light flash, which can be used for light compensation under different color temperatures.

音频电路707可以包括麦克风和扬声器。麦克风用于采集用户及环境的声波,并将声波转换为电信号输入至处理器701进行处理,或者输入至射频电路704以实现语音通信。出于立体声采集或降噪的目的,麦克风可以为多个,分别设置在终端700的不同部位。麦克风还可以是阵列麦克风或全向采集型麦克风。扬声器则用于将来自处理器701或射频电路704的电信号转换为声波。扬声器可以是传统的薄膜扬声器,也可以是压电陶瓷扬声器。当扬声器是压电陶瓷扬声器时,不仅可以将电信号转换为人类可听见的声波,也可以将电信号转换为人类听不见的声波以进行测距等用途。在一些实施例中,音频电路707还可以包括耳机插孔。Audio circuitry 707 may include a microphone and speakers. The microphone is used to collect sound waves of the user and the environment, and convert the sound waves into electrical signals and input them to the processor 701 for processing, or input them to the radio frequency circuit 704 to realize voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 700 . The microphone can also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert the electrical signal from the processor 701 or the radio frequency circuit 704 into sound waves. The loudspeaker can be a conventional membrane loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, it is possible not only to convert electrical signals into sound waves audible to humans, but also to convert electrical signals into sound waves inaudible to humans for purposes such as distance measurement. In some embodiments, the audio circuit 707 may also include a headphone jack.

电源708用于为终端700中的各个组件进行供电。电源708可以是交流电、直流电、一次性电池或可充电电池。当电源708包括可充电电池时,该可充电电池可以支持有线充电或无线充电。该可充电电池还可以用于支持快充技术。The power supply 708 is used to supply power to various components in the terminal 700 . Power source 708 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When the power source 708 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.

在一些实施例中,终端700还包括有一个或多个传感器709。该一个或多个传感器709包括但不限于:加速度传感器710、陀螺仪传感器711、压力传感器712、光学传感器713以及接近传感器714。In some embodiments, the terminal 700 also includes one or more sensors 709 . The one or more sensors 709 include, but are not limited to: an acceleration sensor 710 , a gyro sensor 711 , a pressure sensor 712 , an optical sensor 713 and a proximity sensor 714 .

加速度传感器710可以检测以终端700建立的坐标系的三个坐标轴上的加速度大小。比如,加速度传感器710可以用于检测重力加速度在三个坐标轴上的分量。处理器701可以根据加速度传感器710采集的重力加速度信号,控制显示屏705以横向视图或纵向视图进行用户界面的显示。加速度传感器710还可以用于游戏或者用户的运动数据的采集。The acceleration sensor 710 can detect the acceleration on the three coordinate axes of the coordinate system established by the terminal 700 . For example, the acceleration sensor 710 can be used to detect the components of the acceleration of gravity on the three coordinate axes. The processor 701 may control the display screen 705 to display a user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 710 . The acceleration sensor 710 can also be used for collecting game or user's motion data.

陀螺仪传感器711可以检测终端700的机体方向及转动角度,陀螺仪传感器711可以与加速度传感器710协同采集用户对终端700的3D动作。处理器701根据陀螺仪传感器711采集的数据,可以实现如下功能:动作感应(比如根据用户的倾斜操作来改变UI)、拍摄时的图像稳定、游戏控制以及惯性导航。The gyro sensor 711 can detect the body direction and rotation angle of the terminal 700 , and the gyro sensor 711 can cooperate with the acceleration sensor 710 to collect 3D actions of the user on the terminal 700 . According to the data collected by the gyroscope sensor 711, the processor 701 can realize the following functions: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control and inertial navigation.

压力传感器712可以设置在终端700的侧边框和/或显示屏705的下层。当压力传感器712设置在终端700的侧边框时,可以检测用户对终端700的握持信号,由处理器701根据压力传感器712采集的握持信号进行左右手识别或快捷操作。当压力传感器712设置在显示屏705的下层时,由处理器701根据用户对显示屏705的压力操作,实现对UI界面上的可操作性控件进行控制。可操作性控件包括按钮控件、滚动条控件、图标控件、菜单控件中的至少一种。The pressure sensor 712 may be disposed on a side frame of the terminal 700 and/or a lower layer of the display screen 705 . When the pressure sensor 712 is installed on the side frame of the terminal 700 , it can detect the user's grip signal on the terminal 700 , and the processor 701 performs left and right hand recognition or shortcut operation according to the grip signal collected by the pressure sensor 712 . When the pressure sensor 712 is disposed on the lower layer of the display screen 705, the processor 701 controls operable controls on the UI interface according to the user's pressure operation on the display screen 705. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.

光学传感器713用于采集环境光强度。在一个实施例中,处理器701可以根据光学传感器713采集的环境光强度,控制显示屏705的显示亮度。可选地,当环境光强度较高时,调高显示屏705的显示亮度;当环境光强度较低时,调低显示屏705的显示亮度。在另一个实施例中,处理器701还可以根据光学传感器713采集的环境光强度,动态调整摄像头组件706的拍摄参数。The optical sensor 713 is used to collect ambient light intensity. In one embodiment, the processor 701 may control the display brightness of the display screen 705 according to the ambient light intensity collected by the optical sensor 713 . Optionally, when the ambient light intensity is high, the display brightness of the display screen 705 is increased; when the ambient light intensity is low, the display brightness of the display screen 705 is decreased. In another embodiment, the processor 701 may also dynamically adjust shooting parameters of the camera assembly 706 according to the ambient light intensity collected by the optical sensor 713 .

接近传感器714,也称距离传感器,设置在终端700的前面板。接近传感器714用于采集用户与终端700的正面之间的距离。在一个实施例中,当接近传感器714检测到用户与终端700的正面之间的距离逐渐变小时,由处理器701控制显示屏705从亮屏状态切换为息屏状态;当接近传感器714检测到用户与终端700的正面之间的距离逐渐变大时,由处理器701控制显示屏705从息屏状态切换为亮屏状态。A proximity sensor 714 , also called a distance sensor, is disposed on the front panel of the terminal 700 . The proximity sensor 714 is used to collect the distance between the user and the front of the terminal 700 . In one embodiment, when the proximity sensor 714 detects that the distance between the user and the front of the terminal 700 gradually decreases, the processor 701 controls the display screen 705 to switch from the bright screen state to the off screen state; when the proximity sensor 714 detects When the distance between the user and the front of the terminal 700 gradually increases, the processor 701 controls the display screen 705 to switch from the off-screen state to the on-screen state.

本领域技术人员可以理解,图7中示出的结构并不构成对终端700的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。Those skilled in the art can understand that the structure shown in FIG. 7 does not constitute a limitation on the terminal 700, and may include more or less components than shown in the figure, or combine certain components, or adopt different component arrangements.

本申请实施例还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有至少一条计算机程序,该至少一条计算机程序由处理器加载并执行,以实现上述实施例提供的显示设备调整方法。The embodiment of the present application also provides a computer-readable storage medium, at least one computer program is stored in the computer-readable storage medium, and the at least one computer program is loaded and executed by a processor, so as to realize the display device provided by the above-mentioned embodiment Adjustment method.

本申请实施例还提供了一种计算机程序产品,包括计算机程序,计算机程序由处理器加载并执行,以实现如上述实施例提供的显示设备调整方法。An embodiment of the present application further provides a computer program product, including a computer program, the computer program is loaded and executed by a processor, so as to implement the method for adjusting a display device as provided in the foregoing embodiments.

本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,上述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above-mentioned embodiments can be completed by hardware, and can also be completed by instructing related hardware through a program. The above-mentioned program can be stored in a computer-readable storage medium. The above-mentioned The storage medium can be a read-only memory, a magnetic disk or an optical disk, etc.

以上所述仅为本申请实施例的可选实施例,并不用以限制本申请实施例,凡在本申请实施例的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above descriptions are only optional embodiments of the embodiments of the present application, and are not intended to limit the embodiments of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the embodiments of the present application shall be Included within the scope of protection of this application.

Claims (10)

1. A method for adjusting a display device, the method comprising:
determining an intersection point of a sight line of a target object and a display screen of display equipment based on a plurality of face key points of the target object;
adjusting the height of the display device based on the vertical distance between the intersection point and the central point of the display screen, so that the central point of the display screen and the intersection point are positioned at the same horizontal height;
based on the sight with the display screen is in the contained angle between the perpendicular bisector of central point department, adjust display device's orientation, so that the contained angle between sight and the perpendicular bisector is less than the angle threshold value.
2. The method of claim 1, wherein the adjusting the height of the display device based on the vertical distance between the intersection point and the center point of the display screen so that the center point of the display screen and the intersection point are located at the same horizontal height comprises:
and under the condition that the vertical distance is not greater than the distance threshold, adjusting the display equipment by adopting a first adjusting mode, wherein the first adjusting mode is used for indicating that the height of the display equipment is adjusted by adopting a first speed.
3. The method of claim 2, further comprising:
displaying prompt information on the display screen when the vertical distance is greater than the distance threshold, wherein the prompt information is used for prompting the target object to suspend using the display device, and the height of the display device is to be adjusted for the target object;
and responding to the confirmation operation of the target object on the prompt message, and adjusting the display equipment by adopting a second adjustment mode, wherein the second adjustment mode is used for indicating that the height of the display equipment is adjusted by a second speed under the condition that the target object suspends the use of the display equipment, and the second speed is greater than the first speed.
4. The method of claim 1, further comprising:
and horizontally adjusting the display equipment based on the horizontal distance between the intersection point and the central point of the display screen, so that the intersection point is positioned at the central point of the display screen.
5. The method of claim 1, further comprising:
determining an included angle between the sight of the target object and a plane where the display screen is located based on the plurality of face key points of the target object;
and adjusting the pitching angle of the display equipment based on the included angle between the sight line of the target object and the plane where the display screen is located, so that the sight line of the target object is perpendicular to the plane where the display screen is located.
6. The method of claim 1, further comprising:
performing gesture recognition on the target object, and determining a plurality of bone key points of the target object;
determining a distance between the target object and the display device based on a ratio of a size of the skeletal keypoints to a size of standard skeletal keypoints, the size of the standard skeletal keypoints being indicative of a preset distance between the target object and the display device;
adjusting at least one of a display brightness, a display content size, and a screen resolution of the display screen based on a distance between the target object and the display device.
7. An apparatus for adjusting a display device, the apparatus comprising:
the device comprises a first determination module, a second determination module and a display module, wherein the first determination module is used for determining an intersection point of a sight line of a target object and a display screen of display equipment based on a plurality of face key points of the target object;
the first adjusting module is used for adjusting the height of the display equipment based on the vertical distance between the intersection point and the central point of the display screen, so that the central point of the display screen and the intersection point are positioned at the same horizontal height;
and the second adjusting module is used for adjusting the orientation of the display equipment based on the included angle between the sight line and the perpendicular bisector of the central point on the basis of the included angle between the sight line and the perpendicular bisector, so that the included angle between the sight line and the perpendicular bisector is smaller than an angle threshold value.
8. A terminal, characterized in that the terminal comprises a processor and a memory, wherein at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor to implement the display device adjustment method according to any one of claims 1 to 6.
9. A computer-readable storage medium, in which at least one computer program is stored, the at least one computer program being loaded and executed by a processor to implement the display device adjustment method according to any one of claims 1 to 6.
10. A computer program product comprising a computer program, wherein the computer program is loaded and executed by a processor to implement a display device adjustment method according to any one of claims 1 to 6.
CN202211585270.4A 2022-12-09 2022-12-09 Display equipment adjusting method, device, terminal and storage medium Pending CN115904079A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211585270.4A CN115904079A (en) 2022-12-09 2022-12-09 Display equipment adjusting method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211585270.4A CN115904079A (en) 2022-12-09 2022-12-09 Display equipment adjusting method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN115904079A true CN115904079A (en) 2023-04-04

Family

ID=86481350

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211585270.4A Pending CN115904079A (en) 2022-12-09 2022-12-09 Display equipment adjusting method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN115904079A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117742388A (en) * 2024-02-07 2024-03-22 广东海洋大学 Intelligent control method and system based on reading furniture

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030103324A1 (en) * 2001-12-03 2003-06-05 Gallivan Susanne M. Position adjustable display screen for portable computer devices
CN105892647A (en) * 2016-03-23 2016-08-24 京东方科技集团股份有限公司 Display screen adjusting method and device as well as display device
CN107329570A (en) * 2017-06-29 2017-11-07 合肥步瑞吉智能家居有限公司 A kind of method that display device angle is automatically adjusted according to individual beholder position
CN109284743A (en) * 2018-10-30 2019-01-29 安徽优品智能科技有限公司 A kind of control system adjusting display screen angle
CN110727316A (en) * 2019-10-12 2020-01-24 北京硬壳科技有限公司 Method and device for automatically adjusting position of display and display

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030103324A1 (en) * 2001-12-03 2003-06-05 Gallivan Susanne M. Position adjustable display screen for portable computer devices
CN105892647A (en) * 2016-03-23 2016-08-24 京东方科技集团股份有限公司 Display screen adjusting method and device as well as display device
CN107329570A (en) * 2017-06-29 2017-11-07 合肥步瑞吉智能家居有限公司 A kind of method that display device angle is automatically adjusted according to individual beholder position
CN109284743A (en) * 2018-10-30 2019-01-29 安徽优品智能科技有限公司 A kind of control system adjusting display screen angle
CN110727316A (en) * 2019-10-12 2020-01-24 北京硬壳科技有限公司 Method and device for automatically adjusting position of display and display

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117742388A (en) * 2024-02-07 2024-03-22 广东海洋大学 Intelligent control method and system based on reading furniture
CN117742388B (en) * 2024-02-07 2024-04-30 广东海洋大学 Intelligent control method and system based on reading furniture

Similar Documents

Publication Publication Date Title
CN110488977B (en) Virtual reality display method, device, system and storage medium
CN109712224B (en) Virtual scene rendering method and device and intelligent device
CN110992493B (en) Image processing method, device, electronic equipment and storage medium
CN110333834B (en) Frame frequency adjusting method and device, display device and computer readable storage medium
CN110427110B (en) Live broadcast method and device and live broadcast server
CN108803896B (en) Method, device, terminal and storage medium for controlling screen
CN111324250B (en) Three-dimensional image adjusting method, device and equipment and readable storage medium
US11845007B2 (en) Perspective rotation method and apparatus, device, and storage medium
CN107809658A (en) A kind of barrage content display method and terminal
CN109862412B (en) Method and device for video co-shooting and storage medium
WO2020233403A1 (en) Personalized face display method and apparatus for three-dimensional character, and device and storage medium
CN111028144B (en) Video face changing method and device and storage medium
CN109688461B (en) Video playback method and device
CN110933452B (en) Method and device for displaying lovely face gift and storage medium
WO2022134632A1 (en) Work processing method and apparatus
CN108628515A (en) A kind of operating method and mobile terminal of multimedia content
CN108848405B (en) Image processing method and device
WO2022199102A1 (en) Image processing method and device
WO2021218926A1 (en) Image display method and apparatus, and computer device
CN110349527B (en) Virtual reality display method, device and system and storage medium
CN112381729A (en) Image processing method, device, terminal and storage medium
CN115798418A (en) Image display method, device, terminal and storage medium
CN115904079A (en) Display equipment adjusting method, device, terminal and storage medium
US20250037342A1 (en) Virtual object interaction
CN110728744B (en) Volume rendering method and device and intelligent equipment

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