WO2017032035A1 - Method and device for adjusting, and terminal - Google Patents

Method and device for adjusting, and terminal Download PDF

Info

Publication number
WO2017032035A1
WO2017032035A1 PCT/CN2016/080596 CN2016080596W WO2017032035A1 WO 2017032035 A1 WO2017032035 A1 WO 2017032035A1 CN 2016080596 W CN2016080596 W CN 2016080596W WO 2017032035 A1 WO2017032035 A1 WO 2017032035A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
front cameras
distance
current distance
user
Prior art date
Application number
PCT/CN2016/080596
Other languages
French (fr)
Chinese (zh)
Inventor
王世强
Original Assignee
宇龙计算机通信科技(深圳)有限公司
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 宇龙计算机通信科技(深圳)有限公司 filed Critical 宇龙计算机通信科技(深圳)有限公司
Publication of WO2017032035A1 publication Critical patent/WO2017032035A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer

Definitions

  • the present invention relates to the field of terminal technologies, and in particular, to an adjustment method, an adjustment device, and a terminal.
  • the user can manually adjust the brightness of the terminal (such as a mobile phone), the size of the text, and the volume of the audio and video.
  • manual adjustment by the user inevitably requires multiple operations, and the operation is cumbersome at the same time. For example, frequent switching of the terminal interface reduces the entertainment and intelligence of the terminal.
  • the invention is based on the above problems, and proposes a new technical solution, which can automatically adjust a plurality of parameters such as screen brightness, volume size and text size of the terminal, thereby avoiding manual adjustment by the user, thereby improving the user experience.
  • the first aspect of the present invention provides an adjustment method for adjusting a terminal, wherein the terminal is provided with a plurality of front cameras, and the adjusting method includes: controlling the plurality of front cameras Any two front cameras detect a current distance between a particular part of the user of the terminal and a screen of the terminal; the terminal is adjusted according to the current distance and/or the operating mode of the terminal.
  • the terminal is automatically adjusted by detecting the current distance between a specific part of the user (such as an eye) and the screen of the terminal, and the terminal is automatically adjusted according to the working mode of the terminal, for example, the terminal is playing a video, and when the user is detected
  • the current distance between the eye and the screen of the terminal is When it is increased, it means that the distance between the user and the terminal is getting farther and farther, which can enhance the brightness of the terminal and increase the volume of the played video, so that the user can watch the video more clearly and hear the sound clearly, avoiding the user.
  • the working mode includes: a text mode and an audio and video mode; and the step of adjusting the terminal according to the current distance and/or the working mode of the terminal, specifically: When detecting that the terminal is in the text mode, performing brightness adjustment and text parameter adjustment on the terminal according to the current distance; and when detecting that the terminal is in the audio and video mode, according to the current distance pair The terminal performs brightness adjustment and audio and video parameter adjustment.
  • the terminal when detecting that the terminal is in the text mode, can perform brightness adjustment and text parameter adjustment according to the current distance, wherein the text parameters include, but are not limited to, font size, font thickness, font color, and font spacing.
  • the terminal automatically controls the font in the webpage or the novel to become larger and the font is bolded, and the height is increased. The brightness of the screen of the terminal, so that the user can see more clearly when browsing the web or reading the novel.
  • the terminal can perform brightness adjustment and audio and video parameter adjustment on the terminal according to the current distance in the audio and video mode, wherein the audio and video parameters include, but are not limited to, volume and video resolution.
  • the terminal when the terminal detects that the current distance between the user and the terminal is getting farther and farther, the terminal automatically adjusts the volume and changes the brightness of the terminal, thereby achieving the best effect of viewing.
  • the user is prevented from manually adjusting the terminal, thereby making the terminal more intelligent, thereby improving the user experience.
  • the step of adjusting the terminal according to the current distance and/or the working mode of the terminal specifically includes: performing brightness adjustment on the terminal according to the current distance.
  • the terminal is adjusted according to the current distance, wherein the terminal can be in a certain working mode or in the main operation interface, and the terminal can be more intelligently adjusted by controlling the brightness of the terminal in real time, so that the user Have the best experience.
  • the controlling two of the plurality of front cameras The step of detecting, by the front camera, the current distance between the specific part of the user of the terminal and the screen of the terminal, specifically: acquiring each of the front positions of the specific part in the two front cameras And imaging a specific portion of the imaging surface of the camera, and obtaining a distance between the imaging point of the specific portion of each of the front cameras and a designated intersection point, wherein the designated intersection point is the An intersection between the optical axis and the imaging surface of each of the front cameras; according to a distance between a center point of the two front cameras, a focal length of the two front cameras, Determining an angle between an optical axis of any two front cameras and a distance between the imaged point of the specific portion of each of the front cameras and the designated intersection point, determining between the user and the terminal The current distance.
  • any two front cameras detect the current distance between a specific part of the user (such as an eye) and the screen of the terminal
  • the specific part of the user is in each of the front cameras of the two front cameras.
  • a specific portion of the imaging point is formed on the imaging surface, and the current distance between the specific portion of the user (such as the eye) and the screen of the terminal can be accurately calculated by combining the optical path maps of any two front cameras with a specific portion of the user.
  • the focal lengths of the two front cameras are the same, and the current distance between the user and the terminal is determined by the following formula: Where L represents the current distance, d represents the distance between the center points of any two front cameras, f represents the focal length of the two front cameras, and ⁇ represents the two front cameras An angle between the optical axes, x1 represents the distance between the imaged point of the specific portion of any of the two front cameras and the corresponding designated intersection point, and x2 represents the The distance between the imaged point of the particular portion of the other front camera of the two front cameras and the corresponding designated intersection.
  • the above formula for calculating the current distance is created according to the optical geometric relationship. Specifically, the formula for calculating the current distance is created by the similarity relationship between the triangle where the specific part of the user is located and the triangle where the imaging point is located, thereby The current distance between the specific part of the user and the screen of the terminal is calculated more accurately and quickly.
  • a second aspect of the present invention provides an adjusting device for adjusting a terminal, wherein the terminal is provided with a plurality of front cameras, and the adjusting device comprises: a control unit, configured to control the plurality of Any two of the front cameras detect the current distance between the specific part of the user of the terminal and the screen of the terminal; the adjusting unit is configured to be based on the current distance and/or the terminal The working mode adjusts the terminal.
  • the terminal is automatically adjusted by detecting the current distance between a specific part of the user (such as an eye) and the screen of the terminal, and the terminal is automatically adjusted according to the working mode of the terminal, for example, the terminal is playing a video, and when the user is detected
  • the current distance between the eye and the screen of the terminal is increasing, it means that the distance between the user and the terminal is farther and farther, the brightness of the terminal can be enhanced and the volume of the played video can be increased, so that the user can clearly and clearly Watching the video and clearly hearing the sound avoids the user manually adjusting the terminal, making the terminal more intelligent and improving the user experience.
  • the working mode includes: a text mode and an audio and video mode; and the adjusting unit is specifically configured to: when detecting that the terminal is in the text mode, according to the current distance
  • the terminal performs brightness adjustment and text parameter adjustment; when detecting that the terminal is in the audio and video mode, performing brightness adjustment and audio and video parameter adjustment on the terminal according to the current distance.
  • the terminal when detecting that the terminal is in the text mode, can perform brightness adjustment and text parameter adjustment according to the current distance, wherein the text parameters include, but are not limited to, font size, font thickness, font color, and font spacing.
  • the terminal automatically controls the font in the webpage or the novel to become larger and the font is bolded, and the height is increased. The brightness of the screen of the terminal, so that the user can see more clearly when browsing the web or reading the novel.
  • the terminal can perform brightness adjustment and audio and video parameter adjustment on the terminal according to the current distance in the audio and video mode, wherein the audio and video parameters include, but are not limited to, volume and video resolution.
  • the terminal when the terminal detects that the current distance between the user and the terminal is getting farther and farther, the terminal automatically adjusts the volume and changes the brightness of the terminal, thereby achieving the best effect of viewing.
  • the user is prevented from manually adjusting the terminal, thereby making the terminal more intelligent, thereby improving the user experience.
  • the adjusting unit is configured to perform brightness adjustment on the terminal according to the current distance.
  • the terminal is adjusted according to the current distance, wherein the terminal can be in a certain working mode or in the main operation interface, and the terminal can be more intelligently adjusted by controlling the brightness of the terminal in real time, so that the user Have the best experience.
  • the control unit includes: an acquiring unit, configured to acquire a specific part imaging point of the specific portion on an imaging surface of each of the two front cameras And obtaining a distance between the imaging point of the specific portion of each of the front cameras and a designated intersection point, wherein the designated intersection point is an optical axis of each of the front cameras and each of the front cameras An intersection between the imaging planes; a determining unit for determining a distance between the center points of the two front cameras, a focal length of the two front cameras, the two front positions The current distance between the user and the terminal is determined by an angle between optical axes of the camera and a distance between the imaged point of the particular portion of each of the front cameras and the designated intersection.
  • any two front cameras detect the current distance between a specific part of the user (such as an eye) and the screen of the terminal
  • the specific part of the user is in each of the front cameras of the two front cameras.
  • a specific portion of the imaging point is formed on the imaging surface, and the current distance between the specific portion of the user (such as the eye) and the screen of the terminal can be accurately calculated by combining the optical path maps of any two front cameras with a specific portion of the user.
  • the focal lengths of the two front cameras are the same, and the determining unit is specifically configured to determine the current distance between the user and the terminal by using the following formula: Where L represents the current distance, d represents the distance between the center points of any two front cameras, f represents the focal length of the two front cameras, and ⁇ represents the two front cameras An angle between the optical axes, x1 represents the distance between the imaged point of the specific portion of any of the two front cameras and the corresponding designated intersection point, and x2 represents the The distance between the imaged point of the particular portion of the other front camera of the two front cameras and the corresponding designated intersection.
  • the above formula for calculating the current distance is created according to the optical geometric relationship. Specifically, the formula for calculating the current distance is created by the similarity relationship between the triangle where the specific part of the user is located and the triangle where the imaging point is located, thereby Calculate accurately and quickly The current distance between the specific part of the user and the screen of the terminal is obtained.
  • a third aspect of the present invention provides a terminal, wherein the terminal is provided with a plurality of front cameras, the terminal includes a processor and a memory, wherein the memory stores a set of program codes, and the processor uses The program code stored in the memory is called to perform the following operations:
  • the terminal is adjusted according to the current distance and/or the working mode of the terminal.
  • the working mode comprises: a text mode and an audio and video mode; and the specific step of the processor adjusting the terminal according to the current distance and/or the working mode of the terminal is:
  • the terminal When it is detected that the terminal is in the audio and video mode, the terminal is subjected to brightness adjustment and audio and video parameter adjustment according to the current distance.
  • the specific step of the processor adjusting the terminal according to the current distance and/or the working mode of the terminal is:
  • the specific step of the processor controlling any one of the plurality of front cameras to detect a current distance between a specific part of the user of the terminal and a screen of the terminal is:
  • the focal length of the two front cameras, the angle between the optical axes of any two front cameras, and each of the front Determining a distance between the imaged point of the specific portion of the camera and the designated intersection point to determine the current distance between the user and the terminal.
  • the focal lengths of the two front cameras are the same,
  • the processor is specifically configured to determine the current distance between the user and the terminal by using the following formula:
  • L represents the current distance
  • d represents the distance between the center points of any two front cameras
  • f represents the focal length of the two front cameras
  • represents the two front cameras
  • x1 represents the distance between the imaged point of the specific portion of any of the two front cameras and the corresponding designated intersection point
  • x2 represents the The distance between the imaged point of the particular portion of the other front camera of the two front cameras and the corresponding designated intersection.
  • multiple parameters such as screen brightness, volume size and text size of the terminal can be automatically adjusted, thereby avoiding manual adjustment by the user, thereby improving the user experience.
  • FIG. 1 is a flow chart showing an adjustment method according to an embodiment of the present invention
  • FIG. 2 is a flow chart showing an adjustment method according to another embodiment of the present invention.
  • Figure 3 is a block diagram showing the structure of an adjusting device according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • Figure 5 is a schematic illustration of the optical path of a dual front camera in accordance with one embodiment of the present invention.
  • FIG. 6 shows a schematic diagram of an optical path of a dual front camera according to another embodiment of the present invention.
  • FIG. 7 shows a schematic structural diagram of a terminal according to another embodiment of the present invention.
  • Figure 1 shows a flow diagram of an adjustment method in accordance with one embodiment of the present invention.
  • an adjustment method is used to adjust a terminal, and the terminal is provided with a plurality of front cameras, and the adjustment method includes:
  • Step 102 Control any two of the plurality of front cameras to detect a current distance between a specific part of the user of the terminal and a screen of the terminal;
  • Step 104 Adjust the terminal according to the current distance and/or the working mode of the terminal.
  • the terminal is automatically adjusted by detecting the current distance between a specific part of the user (such as an eye) and the screen of the terminal, and the terminal is automatically adjusted according to the working mode of the terminal, for example, the terminal is playing a video, and when the user is detected
  • the current distance between the eye and the screen of the terminal is increasing, it means that the distance between the user and the terminal is farther and farther, the brightness of the terminal can be enhanced and the volume of the played video can be increased, so that the user can clearly and clearly Watching the video and clearly hearing the sound avoids the user manually adjusting the terminal, making the terminal more intelligent and improving the user experience.
  • the working mode includes: a text mode and an audio and video mode; and step 104, specifically: when detecting that the terminal is in the text mode, the terminal is according to the current distance Performing brightness adjustment and text parameter adjustment; when detecting that the terminal is in the audio and video mode, performing brightness adjustment and audio and video parameter adjustment on the terminal according to the current distance.
  • the terminal when detecting that the terminal is in the text mode, can perform brightness adjustment and text parameter adjustment according to the current distance, wherein the text parameters include, but are not limited to, font size, font thickness, font color, and font spacing.
  • the terminal automatically controls the font in the webpage or the novel to become larger and the font is bolded, and the height is increased. The brightness of the screen of the terminal, so that the user can see more clearly when browsing the web or reading the novel.
  • the terminal can perform brightness adjustment and audio and video parameter adjustment on the terminal according to the current distance in the audio and video mode, wherein the audio and video parameters include, but are not limited to, volume and video resolution.
  • the audio and video parameters include, but are not limited to, volume and video resolution.
  • the step 104 includes: performing brightness adjustment on the terminal according to the current distance.
  • the terminal is adjusted according to the current distance, wherein the terminal can be in a certain working mode or in the main operation interface, and the terminal can be more intelligently adjusted by controlling the brightness of the terminal in real time, so that the user Have the best experience.
  • the step 102 includes: acquiring a specific part imaging point of the specific part on an imaging surface of each of the two front cameras, and acquiring the a distance between the imaging point of the specific portion of each front camera and a designated intersection point, wherein the designated intersection point is an optical axis of each of the front cameras and the imaging surface of each of the front cameras The intersection between the centers of the two front cameras, the focal length of the two front cameras, the angle between the optical axes of any two front cameras, and Determining a distance between the specific portion of the image of the front camera and the designated intersection point, and determining the current distance between the user and the terminal.
  • any two front cameras detect the current distance between a specific part of the user (such as an eye) and the screen of the terminal
  • the specific part of the user is in each of the front cameras of the two front cameras.
  • a specific portion of the imaging point is formed on the imaging surface, and the current distance between the specific portion of the user (such as the eye) and the screen of the terminal can be accurately calculated by combining the optical path maps of any two front cameras with a specific portion of the user.
  • the focal lengths of the two front cameras are the same, and the current distance between the user and the terminal is determined by the following formula: Where L represents the current distance, d represents the distance between the center points of any two front cameras, f represents the focal length of the two front cameras, and ⁇ represents the two front cameras An angle between the optical axes, x1 represents the distance between the imaged point of the specific portion of any of the two front cameras and the corresponding designated intersection point, and x2 represents the The distance between the imaged point of the particular portion of the other front camera of the two front cameras and the corresponding designated intersection.
  • the above formula for calculating the current distance is created according to the optical geometric relationship. Specifically, the formula for calculating the current distance is created by the similarity relationship between the triangle where the specific part of the user is located and the triangle where the imaging point is located, thereby The current distance between the specific part of the user and the screen of the terminal is calculated more accurately and quickly.
  • FIG. 2 is a flow chart showing an adjustment method according to another embodiment of the present invention.
  • an adjustment method according to another embodiment of the present invention (in this embodiment, the terminal is a mobile phone, and the mobile phone is provided with a dual front camera), including:
  • Step 202 Detect the current distance L between the user's eyes and the screen of the mobile phone through the dual front camera.
  • Step 204 Obtain a working mode of the mobile phone, when the mobile phone is in the state of loading the webpage or displaying the information state (when the mobile phone is in the text mode), adjust the screen brightness and the text size of the mobile phone according to the current distance; when the mobile phone is in the playing video or music state ( When the mobile phone is in the audio and video state, adjust the screen brightness and volume of the mobile phone according to the current distance.
  • Fig. 3 shows a schematic structural view of an adjusting device according to an embodiment of the present invention.
  • an adjusting device 300 is used for adjusting a terminal.
  • the terminal is provided with a plurality of front cameras, and the adjusting device 300 includes: a control unit 302 for controlling the terminal. ???said two front cameras of the plurality of front cameras detect a current distance between a specific part of the user of the terminal and a screen of the terminal; the adjusting unit 304 is configured to use the current distance and/or the The working mode of the terminal adjusts the terminal.
  • the terminal is automatically adjusted by detecting the current distance between a specific part of the user (such as an eye) and the screen of the terminal, and the terminal is automatically adjusted according to the working mode of the terminal, for example, the terminal is playing a video, and when the user is detected
  • the current distance between the eye and the screen of the terminal is increasing, it means that the distance between the user and the terminal is farther and farther, the brightness of the terminal can be enhanced and the volume of the played video can be increased, so that the user can clearly and clearly Watching the video and clearly hearing the sound avoids the user manually adjusting the terminal, making the terminal more intelligent and improving the user experience.
  • the working mode includes: a text mode and an audio and video mode; and the adjusting unit 304 is specifically configured to: when detecting that the terminal is in the text In the mode, performing brightness adjustment and text parameter adjustment on the terminal according to the current distance; and when detecting that the terminal is in the audio and video mode, performing brightness adjustment and audio and video parameter adjustment on the terminal according to the current distance .
  • the terminal when detecting that the terminal is in the text mode, can perform brightness adjustment and text parameter adjustment according to the current distance, wherein the text parameters include, but are not limited to, font size, font thickness, font color, and font spacing.
  • the terminal automatically controls the font in the webpage or the novel to become larger and the font is bolded, and the height is increased. The brightness of the screen of the terminal, so that the user can see more clearly when browsing the web or reading the novel.
  • the terminal can perform brightness adjustment and audio and video parameter adjustment on the terminal according to the current distance in the audio and video mode, wherein the audio and video parameters include, but are not limited to, volume and video resolution.
  • the terminal when the terminal detects that the current distance between the user and the terminal is getting farther and farther, the terminal automatically adjusts the volume and changes the brightness of the terminal, thereby achieving the best effect of viewing.
  • the user is prevented from manually adjusting the terminal, thereby making the terminal more intelligent, thereby improving the user experience.
  • the adjusting unit 304 is configured to perform brightness adjustment on the terminal according to the current distance.
  • the terminal is adjusted according to the current distance, wherein the terminal can be in a certain working mode or in the main operation interface, and the terminal can be more intelligently adjusted by controlling the brightness of the terminal in real time, so that the user Have the best experience.
  • the control unit 302 includes: an obtaining unit 3022, configured to acquire a specific part of the imaging surface of the front camera of each of the two front cameras An imaging point, and a distance between the imaging point of the specific portion of each of the front cameras and a designated intersection point, wherein the designated intersection point is an optical axis of each of the front cameras and each of the front An intersection between the imaging faces of the camera; a determining unit 3024 for determining a distance between the center points of the two front cameras, a focal length of the two front cameras, and any two of the two front cameras Determining the angle between the optical axes of the front cameras and the distance between the imaged points of the specific portion of each of the front cameras and the designated intersection, determining the between the user and the terminal Current distance.
  • an obtaining unit 3022 configured to acquire a specific part of the imaging surface of the front camera of each of the two front cameras An imaging point, and a distance between the imaging point of the specific portion of each of the front cameras and a designated intersection point, wherein the designated intersection point
  • any two front cameras detect the current distance between a specific part of the user (such as an eye) and the screen of the terminal
  • the specific part of the user is in each of the front cameras of the two front cameras.
  • a specific portion of the imaging point is formed on the imaging surface, and the current distance between the specific portion of the user (such as the eye) and the screen of the terminal can be accurately calculated by combining the optical path maps of any two front cameras with a specific portion of the user.
  • the focal lengths of the two front cameras are the same, and the determining unit 3024 is specifically configured to determine the current distance between the user and the terminal by using the following formula: Where L represents the current distance, d represents the distance between the center points of any two front cameras, f represents the focal length of the two front cameras, and ⁇ represents the two front cameras An angle between the optical axes, x1 represents the distance between the imaged point of the specific portion of any of the two front cameras and the corresponding designated intersection point, and x2 represents the The distance between the imaged point of the particular portion of the other front camera of the two front cameras and the corresponding designated intersection.
  • the above formula for calculating the current distance is created according to the optical geometric relationship. Specifically, the formula for calculating the current distance is created by the similarity relationship between the triangle where the specific part of the user is located and the triangle where the imaging point is located, thereby The current distance between the specific part of the user and the screen of the terminal is calculated more accurately and quickly.
  • FIG. 4 shows a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • a terminal 400 according to an embodiment of the present invention includes the adjustment device 300 according to any one of the above aspects, and therefore, the terminal 400 has the adjustment described in any one of the above technical solutions.
  • the same technical effects of the device 300 are not described herein.
  • Figure 5 is a schematic illustration of the optical path of a dual front camera in accordance with one embodiment of the present invention
  • Figure 6 is a schematic illustration of the optical path of a dual front camera in accordance with another embodiment of the present invention.
  • the terminal is a mobile phone, and the mobile phone is provided with a dual front camera, that is, a front camera A and a front camera B):
  • Imaging point specific part imaging point
  • front camera A and corresponding designated intersection previously The distance between the optical axis of the camera A and the imaging surface of the front camera A is x1
  • the front camera B and the corresponding designated intersection point the optical axis of the front camera B and the imaging surface of the front camera B
  • the distance between the intersection points is x2
  • the angle between the front camera A and the optical axis of the front camera B is ⁇
  • the distance L between the M point and the front camera A and the front camera B ie, the user's specific The current distance between the part and the screen of the terminal
  • the focal lengths of the front camera A and the front camera B are f
  • the distance between the center points of the front camera A and the front camera B is d, according to the optical path diagram
  • the formula for obtaining the distance L between the M point and the front camera A and the front camera B is:
  • the distance between the M point and the front camera A and the front camera B can be accurately calculated by the calculation formula of L.
  • An imaging point (a specific part imaging point) of the M point (a specific part of the user) is formed on the imaging surface of the front camera B, and the front camera A and the corresponding designated intersection point (the optical axis of the front camera A and the front camera)
  • the distance between the intersections of the imaging planes of A is x1
  • the distance between the front camera B and the corresponding designated intersection (the intersection of the optical axis of the front camera B and the imaging surface of the front camera B) is x2
  • M The distance L between the point and the front camera A and the front camera B ie, the current distance between the specific part of the user and the screen of the terminal
  • the focal lengths of the front camera A and the front camera B are both f
  • the formula for obtaining the distance L between the M point and the front camera A and the front camera B is:
  • the distance between the M point and the front camera A and the front camera B can be accurately calculated by the calculation formula of L.
  • FIG. 7 is a block diagram showing the structure of a terminal according to another embodiment of the present invention.
  • the terminal 7 may include: at least one processor 71, such as a CPU, at least one communication bus 72, and a memory 73;
  • the bus 72 is used to implement connection communication between these components;
  • the memory 73 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
  • a plurality of front cameras are disposed on the terminal.
  • a set of program codes is stored in the memory 73, and the processor 71 is configured to call the program code stored in the memory 73 for performing the following operations:
  • the terminal 7 is adjusted according to the current distance and/or the operating mode of the terminal 7.
  • the working mode includes: a text mode and an audio and video mode; and the specific step of the processor 71 adjusting the terminal 7 according to the current distance and/or the working mode of the terminal 7 is:
  • the terminal 7 When it is detected that the terminal 7 is in the audio and video mode, the terminal 7 is subjected to brightness adjustment and audio and video parameter adjustment according to the current distance.
  • the specific step of the processor 71 adjusting the terminal 7 according to the current distance and/or the working mode of the terminal 7 is:
  • the terminal 7 is subjected to brightness adjustment according to the current distance.
  • the processor 71 controls a specific step of detecting, by any one of the plurality of front cameras, a current distance between a specific part of the user of the terminal 7 and a screen of the terminal 7 for:
  • the focal length of the two front cameras, the angle between the optical axes of any two front cameras, and each of the front Determining a distance between the imaged point of the specific portion of the camera and the designated intersection point to determine the current distance between the user and the terminal 7.
  • the focal lengths of the two front cameras are the same.
  • the processor 71 is specifically configured to determine the current distance between the user and the terminal 7 by using the following formula:
  • L represents the current distance
  • d represents the distance between the center points of any two front cameras
  • f represents the focal length of the two front cameras
  • represents the two front cameras
  • x1 represents the distance between the imaged point of the specific portion of any of the two front cameras and the corresponding designated intersection point
  • x2 represents the The distance between the imaged point of the particular portion of the other front camera of the two front cameras and the corresponding designated intersection.

Abstract

A method and device for adjusting, and a terminal thereof are provided. The method for adjusting includes: any two front cameras of the multiple front cameras are controlled to detect the current distance between the specific part of the user of the terminal and the screen of the terminal (102); the terminal is adjusted according to the current distance and/or the working mode of the terminal (104). By the technical solution, the screen brightness, the volume, the character size and other parameters of the terminal could be automatically adjusted, the user manual adjustment could be avoided, therefore the user experience could be improved.

Description

调节方法、调节装置和终端Adjustment method, adjustment device and terminal
本申请要求于2015年8月25日提交中国专利局,申请号为201510528308.8、发明名称为“调节方法、调节装置和终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201510528308.8, entitled "Adjustment Method, Regulating Device, and Terminal", filed on August 25, 2015, the entire contents of which is incorporated herein by reference. .
技术领域Technical field
本发明涉及终端技术领域,具体而言,涉及一种调节方法、一种调节装置和一种终端。The present invention relates to the field of terminal technologies, and in particular, to an adjustment method, an adjustment device, and a terminal.
背景技术Background technique
目前,用户可以手动调节终端(如手机)的亮度、文字大小以及音视频的音量大小等。但是,用户手动调节不可避免地需要多次操作,同时操作也比较繁琐。例如,终端界面的频繁切换,这样就降低了终端的娱乐性和智能性。At present, the user can manually adjust the brightness of the terminal (such as a mobile phone), the size of the text, and the volume of the audio and video. However, manual adjustment by the user inevitably requires multiple operations, and the operation is cumbersome at the same time. For example, frequent switching of the terminal interface reduces the entertainment and intelligence of the terminal.
因此,如何避免用户手动调节终端的屏幕亮度、音量大小和文字大小等多项参数,从而提升用户体验成为亟待解决的问题。Therefore, how to avoid the user to manually adjust the screen brightness, volume and text size of the terminal, thereby improving the user experience has become an urgent problem to be solved.
发明内容Summary of the invention
本发明正是基于上述问题,提出了一种新的技术方案,可以实现自动调节终端的屏幕亮度、音量大小和文字大小等多项参数,避免了用户手动调节,从而提升用户体验。The invention is based on the above problems, and proposes a new technical solution, which can automatically adjust a plurality of parameters such as screen brightness, volume size and text size of the terminal, thereby avoiding manual adjustment by the user, thereby improving the user experience.
有鉴于此,本发明的第一方面提出了一种调节方法,用于调节终端,所述终端上设置有多个前置摄像头,所述调节方法包括:控制所述多个前置摄像头中的任两个前置摄像头检测所述终端的用户的特定部位与所述终端的屏幕之间的当前距离;根据所述当前距离和/或所述终端的工作模式对所述终端进行调节。In view of this, the first aspect of the present invention provides an adjustment method for adjusting a terminal, wherein the terminal is provided with a plurality of front cameras, and the adjusting method includes: controlling the plurality of front cameras Any two front cameras detect a current distance between a particular part of the user of the terminal and a screen of the terminal; the terminal is adjusted according to the current distance and/or the operating mode of the terminal.
在该技术方案中,通过检测用户的特定部位(如眼睛)与终端的屏幕之间的当前距离,并结合终端的工作模式对终端进行自动调节,例如,终端在进行播放视频,当检测到用户的眼睛与终端的屏幕之间的当前距离在 增大时,也就说明用户与终端的距离越来越远,则可增强终端的亮度以及增大播放视频的音量,从而使用户可以比较清晰地观看视频以及清晰地听到声音,避免了用户手动对终端进行调节,从而使终端更加智能化,同时提升了用户体验。In this technical solution, the terminal is automatically adjusted by detecting the current distance between a specific part of the user (such as an eye) and the screen of the terminal, and the terminal is automatically adjusted according to the working mode of the terminal, for example, the terminal is playing a video, and when the user is detected The current distance between the eye and the screen of the terminal is When it is increased, it means that the distance between the user and the terminal is getting farther and farther, which can enhance the brightness of the terminal and increase the volume of the played video, so that the user can watch the video more clearly and hear the sound clearly, avoiding the user. Manually adjust the terminal to make the terminal more intelligent and enhance the user experience.
在上述技术方案中,优选地,所述工作模式包括:文本模式和音视频模式;以及所述根据所述当前距离和/或所述终端的工作模式对所述终端进行调节的步骤,具体包括:当检测到所述终端处于所述文本模式时,根据所述当前距离对所述终端进行亮度调节和文本参数调节;当检测到所述终端处于所述音视频模式时,根据所述当前距离对所述终端进行亮度调节和音视频参数调节。In the above technical solution, preferably, the working mode includes: a text mode and an audio and video mode; and the step of adjusting the terminal according to the current distance and/or the working mode of the terminal, specifically: When detecting that the terminal is in the text mode, performing brightness adjustment and text parameter adjustment on the terminal according to the current distance; and when detecting that the terminal is in the audio and video mode, according to the current distance pair The terminal performs brightness adjustment and audio and video parameter adjustment.
在该技术方案中,当检测到终端处于文本模式时可以根据当前距离对终端进行亮度调节和文本参数调节,其中,文本参数包括但不限于:字体大小、字体粗细、字体颜色以及字体间距。例如,用户在使用终端浏览网页或阅读小说时,检测到用户的眼睛与终端的屏幕的当前距离越来越远,则终端自动控制网页或小说中的字体变大以及字体加粗,同时调高终端的屏幕的亮度,从而使用户在浏览网页或者阅读小说时能看的更加清楚。另外,终端在音视频模式下可以根据当前距离对终端进行亮度调节和音视频参数调节,其中,音视频参数包括但不限于:音量大小和视频分辨率等。例如,终端在音视频模式下,当检测到用户与终端的当前距离越来越远,自动调高音量以及改变终端亮度,从而达到观影的最佳效果。通过上述技术方案,避免了用户手动对终端进行调节,从而使终端更加智能化,进而提升了用户体验。In this technical solution, when detecting that the terminal is in the text mode, the terminal can perform brightness adjustment and text parameter adjustment according to the current distance, wherein the text parameters include, but are not limited to, font size, font thickness, font color, and font spacing. For example, when the user browses the webpage or reads the novel using the terminal, detecting that the current distance between the user's eyes and the screen of the terminal is getting farther and farther, the terminal automatically controls the font in the webpage or the novel to become larger and the font is bolded, and the height is increased. The brightness of the screen of the terminal, so that the user can see more clearly when browsing the web or reading the novel. In addition, the terminal can perform brightness adjustment and audio and video parameter adjustment on the terminal according to the current distance in the audio and video mode, wherein the audio and video parameters include, but are not limited to, volume and video resolution. For example, in the audio and video mode, when the terminal detects that the current distance between the user and the terminal is getting farther and farther, the terminal automatically adjusts the volume and changes the brightness of the terminal, thereby achieving the best effect of viewing. Through the above technical solution, the user is prevented from manually adjusting the terminal, thereby making the terminal more intelligent, thereby improving the user experience.
在上述技术方案中,优选地,所述根据所述当前距离和/或所述终端的工作模式对所述终端进行调节的步骤,具体包括:根据所述当前距离对所述终端进行亮度调节。In the above technical solution, preferably, the step of adjusting the terminal according to the current distance and/or the working mode of the terminal specifically includes: performing brightness adjustment on the terminal according to the current distance.
在该技术方案中,根据当前距离对终端进行亮度调节,其中,终端可以处于某种工作模式下,也可以处于主操作界面中,通过实时地控制终端亮度,可以更加智能地调节终端,使用户具有最佳的使用体验。In the technical solution, the terminal is adjusted according to the current distance, wherein the terminal can be in a certain working mode or in the main operation interface, and the terminal can be more intelligently adjusted by controlling the brightness of the terminal in real time, so that the user Have the best experience.
在上述技术方案中,优选地,所述控制所述多个前置摄像头中的任两 个前置摄像头检测所述终端的用户的特定部位与所述终端的屏幕之间的当前距离的步骤,具体包括:获取所述特定部位在所述任两个前置摄像头中的每个前置摄像头的成像面上的特定部位成像点,以及获取所述每个前置摄像头的所述特定部位成像点与指定交点之间的距离,其中,所述指定交点为所述每个前置摄像头的光轴与所述每个前置摄像头的所述成像面之间的交点;根据所述任两个前置摄像头的中心点之间的距离、所述任两个前置摄像头的焦距、所述任两个前置摄像头的光轴之间的夹角以及所述每个前置摄像头的所述特定部位成像点与所述指定交点之间的距离,确定所述用户与所述终端之间的所述当前距离。In the above technical solution, preferably, the controlling two of the plurality of front cameras The step of detecting, by the front camera, the current distance between the specific part of the user of the terminal and the screen of the terminal, specifically: acquiring each of the front positions of the specific part in the two front cameras And imaging a specific portion of the imaging surface of the camera, and obtaining a distance between the imaging point of the specific portion of each of the front cameras and a designated intersection point, wherein the designated intersection point is the An intersection between the optical axis and the imaging surface of each of the front cameras; according to a distance between a center point of the two front cameras, a focal length of the two front cameras, Determining an angle between an optical axis of any two front cameras and a distance between the imaged point of the specific portion of each of the front cameras and the designated intersection point, determining between the user and the terminal The current distance.
在该技术方案中,当任两个前置摄像头检测用户的特定部位(如眼睛)与终端的屏幕之间的当前距离时,用户的特定部位在任两个前置摄像头中的每个前置摄像头的成像面上形成特定部位成像点,并结合任两个前置摄像头与用户的特定部位的光路图可以准确地计算出用户的特定部位(如眼睛)与终端的屏幕之间的当前距离。In this technical solution, when any two front cameras detect the current distance between a specific part of the user (such as an eye) and the screen of the terminal, the specific part of the user is in each of the front cameras of the two front cameras. A specific portion of the imaging point is formed on the imaging surface, and the current distance between the specific portion of the user (such as the eye) and the screen of the terminal can be accurately calculated by combining the optical path maps of any two front cameras with a specific portion of the user.
在上述技术方案中,优选地,所述任两个前置摄像头的焦距相同,并通过以下公式确定所述用户与所述终端之间的所述当前距离:
Figure PCTCN2016080596-appb-000001
其中,L表示所述当前距离,d表示所述任两个前置摄像头的中心点之间的距离,f表示所述任两个前置摄像头的焦距,α表示所述任两个前置摄像头的光轴之间的夹角,x1表示所述任两个前置摄像头中的任一前置摄像头的所述特定部位成像点与对应的所述指定交点之间的距离,以及x2表示所述任两个前置摄像头中的另一前置摄像头的所述特定部位成像点与对应的所述指定交点之间的距离。
In the above technical solution, preferably, the focal lengths of the two front cameras are the same, and the current distance between the user and the terminal is determined by the following formula:
Figure PCTCN2016080596-appb-000001
Where L represents the current distance, d represents the distance between the center points of any two front cameras, f represents the focal length of the two front cameras, and α represents the two front cameras An angle between the optical axes, x1 represents the distance between the imaged point of the specific portion of any of the two front cameras and the corresponding designated intersection point, and x2 represents the The distance between the imaged point of the particular portion of the other front camera of the two front cameras and the corresponding designated intersection.
在该技术方案中,根据光学几何关系创建上述计算当前距离的公式,具体地,通过用户的特定部位所在的三角形和成像点所在的三角形之间的相似关系创建上述计算当前距离的公式,从而可以比较准确、快速地计算得到用户的特定部位与终端的屏幕之间的当前距离。In the technical solution, the above formula for calculating the current distance is created according to the optical geometric relationship. Specifically, the formula for calculating the current distance is created by the similarity relationship between the triangle where the specific part of the user is located and the triangle where the imaging point is located, thereby The current distance between the specific part of the user and the screen of the terminal is calculated more accurately and quickly.
本发明的第二方面提出了一种调节装置,用于调节终端,所述终端上设置有多个前置摄像头,所述调节装置包括:控制单元,用于控制所述多 个前置摄像头中的任两个前置摄像头检测所述终端的用户的特定部位与所述终端的屏幕之间的当前距离;调节单元,用于根据所述当前距离和/或所述终端的工作模式对所述终端进行调节。A second aspect of the present invention provides an adjusting device for adjusting a terminal, wherein the terminal is provided with a plurality of front cameras, and the adjusting device comprises: a control unit, configured to control the plurality of Any two of the front cameras detect the current distance between the specific part of the user of the terminal and the screen of the terminal; the adjusting unit is configured to be based on the current distance and/or the terminal The working mode adjusts the terminal.
在该技术方案中,通过检测用户的特定部位(如眼睛)与终端的屏幕之间的当前距离,并结合终端的工作模式对终端进行自动调节,例如,终端在进行播放视频,当检测到用户的眼睛与终端的屏幕之间的当前距离在增大时,也就说明用户与终端的距离越来越远,则可增强终端的亮度以及增大播放视频的音量,从而使用户可以比较清晰地观看视频以及清晰地听到声音,避免了用户手动对终端进行调节,从而使终端更加智能化,同时提升了用户体验。In this technical solution, the terminal is automatically adjusted by detecting the current distance between a specific part of the user (such as an eye) and the screen of the terminal, and the terminal is automatically adjusted according to the working mode of the terminal, for example, the terminal is playing a video, and when the user is detected When the current distance between the eye and the screen of the terminal is increasing, it means that the distance between the user and the terminal is farther and farther, the brightness of the terminal can be enhanced and the volume of the played video can be increased, so that the user can clearly and clearly Watching the video and clearly hearing the sound avoids the user manually adjusting the terminal, making the terminal more intelligent and improving the user experience.
在上述技术方案中,优选地,所述工作模式包括:文本模式和音视频模式;以及所述调节单元具体用于,当检测到所述终端处于所述文本模式时,根据所述当前距离对所述终端进行亮度调节和文本参数调节;当检测到所述终端处于所述音视频模式时,根据所述当前距离对所述终端进行亮度调节和音视频参数调节。In the above technical solution, preferably, the working mode includes: a text mode and an audio and video mode; and the adjusting unit is specifically configured to: when detecting that the terminal is in the text mode, according to the current distance The terminal performs brightness adjustment and text parameter adjustment; when detecting that the terminal is in the audio and video mode, performing brightness adjustment and audio and video parameter adjustment on the terminal according to the current distance.
在该技术方案中,当检测到终端处于文本模式时可以根据当前距离对终端进行亮度调节和文本参数调节,其中,文本参数包括但不限于:字体大小、字体粗细、字体颜色以及字体间距。例如,用户在使用终端浏览网页或阅读小说时,检测到用户的眼睛与终端的屏幕的当前距离越来越远,则终端自动控制网页或小说中的字体变大以及字体加粗,同时调高终端的屏幕的亮度,从而使用户在浏览网页或者阅读小说时能看的更加清楚。另外,终端在音视频模式下可以根据当前距离对终端进行亮度调节和音视频参数调节,其中,音视频参数包括但不限于:音量大小和视频分辨率等。例如,终端在音视频模式下,当检测到用户与终端的当前距离越来越远,自动调高音量以及改变终端亮度,从而达到观影的最佳效果。通过上述技术方案,避免了用户手动对终端进行调节,从而使终端更加智能化,进而提升了用户体验。In this technical solution, when detecting that the terminal is in the text mode, the terminal can perform brightness adjustment and text parameter adjustment according to the current distance, wherein the text parameters include, but are not limited to, font size, font thickness, font color, and font spacing. For example, when the user browses the webpage or reads the novel using the terminal, detecting that the current distance between the user's eyes and the screen of the terminal is getting farther and farther, the terminal automatically controls the font in the webpage or the novel to become larger and the font is bolded, and the height is increased. The brightness of the screen of the terminal, so that the user can see more clearly when browsing the web or reading the novel. In addition, the terminal can perform brightness adjustment and audio and video parameter adjustment on the terminal according to the current distance in the audio and video mode, wherein the audio and video parameters include, but are not limited to, volume and video resolution. For example, in the audio and video mode, when the terminal detects that the current distance between the user and the terminal is getting farther and farther, the terminal automatically adjusts the volume and changes the brightness of the terminal, thereby achieving the best effect of viewing. Through the above technical solution, the user is prevented from manually adjusting the terminal, thereby making the terminal more intelligent, thereby improving the user experience.
在上述技术方案中,优选地,所述调节单元具体用于,根据所述当前距离对所述终端进行亮度调节。 In the above technical solution, preferably, the adjusting unit is configured to perform brightness adjustment on the terminal according to the current distance.
在该技术方案中,根据当前距离对终端进行亮度调节,其中,终端可以处于某种工作模式下,也可以处于主操作界面中,通过实时地控制终端亮度,可以更加智能地调节终端,使用户具有最佳的使用体验。In the technical solution, the terminal is adjusted according to the current distance, wherein the terminal can be in a certain working mode or in the main operation interface, and the terminal can be more intelligently adjusted by controlling the brightness of the terminal in real time, so that the user Have the best experience.
在上述技术方案中,优选地,所述控制单元包括:获取单元,用于获取所述特定部位在所述任两个前置摄像头中的每个前置摄像头的成像面上的特定部位成像点,以及获取所述每个前置摄像头的所述特定部位成像点与指定交点之间的距离,其中,所述指定交点为所述每个前置摄像头的光轴与所述每个前置摄像头的所述成像面之间的交点;确定单元,用于根据所述任两个前置摄像头的中心点之间的距离、所述任两个前置摄像头的焦距、所述任两个前置摄像头的光轴之间的夹角以及所述每个前置摄像头的所述特定部位成像点与所述指定交点之间的距离,确定所述用户与所述终端之间的所述当前距离。In the above technical solution, preferably, the control unit includes: an acquiring unit, configured to acquire a specific part imaging point of the specific portion on an imaging surface of each of the two front cameras And obtaining a distance between the imaging point of the specific portion of each of the front cameras and a designated intersection point, wherein the designated intersection point is an optical axis of each of the front cameras and each of the front cameras An intersection between the imaging planes; a determining unit for determining a distance between the center points of the two front cameras, a focal length of the two front cameras, the two front positions The current distance between the user and the terminal is determined by an angle between optical axes of the camera and a distance between the imaged point of the particular portion of each of the front cameras and the designated intersection.
在该技术方案中,当任两个前置摄像头检测用户的特定部位(如眼睛)与终端的屏幕之间的当前距离时,用户的特定部位在任两个前置摄像头中的每个前置摄像头的成像面上形成特定部位成像点,并结合任两个前置摄像头与用户的特定部位的光路图可以准确地计算出用户的特定部位(如眼睛)与终端的屏幕之间的当前距离。In this technical solution, when any two front cameras detect the current distance between a specific part of the user (such as an eye) and the screen of the terminal, the specific part of the user is in each of the front cameras of the two front cameras. A specific portion of the imaging point is formed on the imaging surface, and the current distance between the specific portion of the user (such as the eye) and the screen of the terminal can be accurately calculated by combining the optical path maps of any two front cameras with a specific portion of the user.
在上述技术方案中,优选地,所述任两个前置摄像头的焦距相同,所述确定单元具体用于,通过以下公式确定所述用户与所述终端之间的所述当前距离:
Figure PCTCN2016080596-appb-000002
其中,L表示所述当前距离,d表示所述任两个前置摄像头的中心点之间的距离,f表示所述任两个前置摄像头的焦距,α表示所述任两个前置摄像头的光轴之间的夹角,x1表示所述任两个前置摄像头中的任一前置摄像头的所述特定部位成像点与对应的所述指定交点之间的距离,以及x2表示所述任两个前置摄像头中的另一前置摄像头的所述特定部位成像点与对应的所述指定交点之间的距离。
In the above technical solution, preferably, the focal lengths of the two front cameras are the same, and the determining unit is specifically configured to determine the current distance between the user and the terminal by using the following formula:
Figure PCTCN2016080596-appb-000002
Where L represents the current distance, d represents the distance between the center points of any two front cameras, f represents the focal length of the two front cameras, and α represents the two front cameras An angle between the optical axes, x1 represents the distance between the imaged point of the specific portion of any of the two front cameras and the corresponding designated intersection point, and x2 represents the The distance between the imaged point of the particular portion of the other front camera of the two front cameras and the corresponding designated intersection.
在该技术方案中,根据光学几何关系创建上述计算当前距离的公式,具体地,通过用户的特定部位所在的三角形和成像点所在的三角形之间的相似关系创建上述计算当前距离的公式,从而可以比较准确、快速地计算 得到用户的特定部位与终端的屏幕之间的当前距离。In the technical solution, the above formula for calculating the current distance is created according to the optical geometric relationship. Specifically, the formula for calculating the current distance is created by the similarity relationship between the triangle where the specific part of the user is located and the triangle where the imaging point is located, thereby Calculate accurately and quickly The current distance between the specific part of the user and the screen of the terminal is obtained.
本发明的第三方面提出了一种终端,所述终端上设置有多个前置摄像头,所述终端包括处理器和存储器,其中,所述存储器中存储一组程序代码,且所述处理器用于调用所述存储器中存储的程序代码,用于执行以下操作:A third aspect of the present invention provides a terminal, wherein the terminal is provided with a plurality of front cameras, the terminal includes a processor and a memory, wherein the memory stores a set of program codes, and the processor uses The program code stored in the memory is called to perform the following operations:
控制所述多个前置摄像头中的任两个前置摄像头检测所述终端的用户的特定部位与所述终端的屏幕之间的当前距离;Controlling that any two of the plurality of front cameras detect a current distance between a specific portion of a user of the terminal and a screen of the terminal;
根据所述当前距离和/或所述终端的工作模式对所述终端进行调节。The terminal is adjusted according to the current distance and/or the working mode of the terminal.
优选地,所述工作模式包括:文本模式和音视频模式;以及所述处理器根据所述当前距离和/或所述终端的工作模式对所述终端进行调节的具体步骤为:Preferably, the working mode comprises: a text mode and an audio and video mode; and the specific step of the processor adjusting the terminal according to the current distance and/or the working mode of the terminal is:
当检测到所述终端处于所述文本模式时,根据所述当前距离对所述终端进行亮度调节和文本参数调节;When detecting that the terminal is in the text mode, performing brightness adjustment and text parameter adjustment on the terminal according to the current distance;
当检测到所述终端处于所述音视频模式时,根据所述当前距离对所述终端进行亮度调节和音视频参数调节。When it is detected that the terminal is in the audio and video mode, the terminal is subjected to brightness adjustment and audio and video parameter adjustment according to the current distance.
优选地,所述处理器根据所述当前距离和/或所述终端的工作模式对所述终端进行调节的具体步骤为:Preferably, the specific step of the processor adjusting the terminal according to the current distance and/or the working mode of the terminal is:
根据所述当前距离对所述终端进行亮度调节。Adjusting the brightness of the terminal according to the current distance.
优选地,所述处理器控制所述多个前置摄像头中的任两个前置摄像头检测所述终端的用户的特定部位与所述终端的屏幕之间的当前距离的具体步骤为:Preferably, the specific step of the processor controlling any one of the plurality of front cameras to detect a current distance between a specific part of the user of the terminal and a screen of the terminal is:
获取所述特定部位在所述任两个前置摄像头中的每个前置摄像头的成像面上的特定部位成像点,以及获取所述每个前置摄像头的所述特定部位成像点与指定交点之间的距离,其中,所述指定交点为所述每个前置摄像头的光轴与所述每个前置摄像头的所述成像面之间的交点;Obtaining a specific part imaging point of the specific part on an imaging surface of each of the two front cameras, and acquiring the specific part imaging point and the designated intersection of each of the front cameras a distance between the optical axis of each of the front cameras and the imaging surface of each of the front cameras;
根据所述任两个前置摄像头的中心点之间的距离、所述任两个前置摄像头的焦距、所述任两个前置摄像头的光轴之间的夹角以及所述每个前置摄像头的所述特定部位成像点与所述指定交点之间的距离,确定所述用户与所述终端之间的所述当前距离。Depending on the distance between the center points of any two front cameras, the focal length of the two front cameras, the angle between the optical axes of any two front cameras, and each of the front Determining a distance between the imaged point of the specific portion of the camera and the designated intersection point to determine the current distance between the user and the terminal.
优选地,所述任两个前置摄像头的焦距相同, Preferably, the focal lengths of the two front cameras are the same,
所述处理器具体用于,通过以下公式确定所述用户与所述终端之间的所述当前距离:The processor is specifically configured to determine the current distance between the user and the terminal by using the following formula:
Figure PCTCN2016080596-appb-000003
Figure PCTCN2016080596-appb-000003
其中,L表示所述当前距离,d表示所述任两个前置摄像头的中心点之间的距离,f表示所述任两个前置摄像头的焦距,α表示所述任两个前置摄像头的光轴之间的夹角,x1表示所述任两个前置摄像头中的任一前置摄像头的所述特定部位成像点与对应的所述指定交点之间的距离,以及x2表示所述任两个前置摄像头中的另一前置摄像头的所述特定部位成像点与对应的所述指定交点之间的距离。Where L represents the current distance, d represents the distance between the center points of any two front cameras, f represents the focal length of the two front cameras, and α represents the two front cameras An angle between the optical axes, x1 represents the distance between the imaged point of the specific portion of any of the two front cameras and the corresponding designated intersection point, and x2 represents the The distance between the imaged point of the particular portion of the other front camera of the two front cameras and the corresponding designated intersection.
通过本发明的技术方案,可以实现自动调节终端的屏幕亮度、音量大小和文字大小等多项参数,避免了用户手动调节,从而提升用户体验。Through the technical solution of the invention, multiple parameters such as screen brightness, volume size and text size of the terminal can be automatically adjusted, thereby avoiding manual adjustment by the user, thereby improving the user experience.
附图说明DRAWINGS
图1示出了根据本发明的一个实施例的调节方法的流程示意图;1 is a flow chart showing an adjustment method according to an embodiment of the present invention;
图2示出了根据本发明的另一个实施例的调节方法的流程示意图;2 is a flow chart showing an adjustment method according to another embodiment of the present invention;
图3示出了根据本发明的一个实施例的调节装置的结构示意图;Figure 3 is a block diagram showing the structure of an adjusting device according to an embodiment of the present invention;
图4示出了根据本发明的一个实施例的终端的结构示意图;FIG. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention; FIG.
图5示出了根据本发明的一个实施例的双前置摄像头的光路示意图;Figure 5 is a schematic illustration of the optical path of a dual front camera in accordance with one embodiment of the present invention;
图6示出了根据本发明的另一个实施例的双前置摄像头的光路示意图;6 shows a schematic diagram of an optical path of a dual front camera according to another embodiment of the present invention;
图7示出了根据本发明的另一个实施例的终端的结构示意图。FIG. 7 shows a schematic structural diagram of a terminal according to another embodiment of the present invention.
具体实施方式detailed description
为了可以更清楚地理解本发明的上述目的、特征和优点,下面结合附图和具体实施方式对本发明进行进一步的详细描述。需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。The above described objects, features and advantages of the present invention will become more apparent from the detailed description of the appended claims. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
在下面的描述中阐述了很多具体细节以便于充分理解本发明,但是,本发明还可以采用其他不同于在此描述的其他方式来实施,因此,本发明 的保护范围并不受下面公开的具体实施例的限制。In the following description, numerous specific details are set forth in order to facilitate a full understanding of the invention, but the invention may be practiced in other embodiments than described herein. The scope of protection is not limited by the specific embodiments disclosed below.
图1示出了根据本发明的一个实施例的调节方法的流程示意图。Figure 1 shows a flow diagram of an adjustment method in accordance with one embodiment of the present invention.
如图1所示,根据本发明的一个实施例的调节方法,用于调节终端,所述终端上设置有多个前置摄像头,所述调节方法包括:As shown in FIG. 1 , an adjustment method according to an embodiment of the present invention is used to adjust a terminal, and the terminal is provided with a plurality of front cameras, and the adjustment method includes:
步骤102,控制所述多个前置摄像头中的任两个前置摄像头检测所述终端的用户的特定部位与所述终端的屏幕之间的当前距离;Step 102: Control any two of the plurality of front cameras to detect a current distance between a specific part of the user of the terminal and a screen of the terminal;
步骤104,根据所述当前距离和/或所述终端的工作模式对所述终端进行调节。Step 104: Adjust the terminal according to the current distance and/or the working mode of the terminal.
在该技术方案中,通过检测用户的特定部位(如眼睛)与终端的屏幕之间的当前距离,并结合终端的工作模式对终端进行自动调节,例如,终端在进行播放视频,当检测到用户的眼睛与终端的屏幕之间的当前距离在增大时,也就说明用户与终端的距离越来越远,则可增强终端的亮度以及增大播放视频的音量,从而使用户可以比较清晰地观看视频以及清晰地听到声音,避免了用户手动对终端进行调节,从而使终端更加智能化,同时提升了用户体验。In this technical solution, the terminal is automatically adjusted by detecting the current distance between a specific part of the user (such as an eye) and the screen of the terminal, and the terminal is automatically adjusted according to the working mode of the terminal, for example, the terminal is playing a video, and when the user is detected When the current distance between the eye and the screen of the terminal is increasing, it means that the distance between the user and the terminal is farther and farther, the brightness of the terminal can be enhanced and the volume of the played video can be increased, so that the user can clearly and clearly Watching the video and clearly hearing the sound avoids the user manually adjusting the terminal, making the terminal more intelligent and improving the user experience.
在上述技术方案中,优选地,所述工作模式包括:文本模式和音视频模式;以及步骤104,具体包括:当检测到所述终端处于所述文本模式时,根据所述当前距离对所述终端进行亮度调节和文本参数调节;当检测到所述终端处于所述音视频模式时,根据所述当前距离对所述终端进行亮度调节和音视频参数调节。In the above technical solution, preferably, the working mode includes: a text mode and an audio and video mode; and step 104, specifically: when detecting that the terminal is in the text mode, the terminal is according to the current distance Performing brightness adjustment and text parameter adjustment; when detecting that the terminal is in the audio and video mode, performing brightness adjustment and audio and video parameter adjustment on the terminal according to the current distance.
在该技术方案中,当检测到终端处于文本模式时可以根据当前距离对终端进行亮度调节和文本参数调节,其中,文本参数包括但不限于:字体大小、字体粗细、字体颜色以及字体间距。例如,用户在使用终端浏览网页或阅读小说时,检测到用户的眼睛与终端的屏幕的当前距离越来越远,则终端自动控制网页或小说中的字体变大以及字体加粗,同时调高终端的屏幕的亮度,从而使用户在浏览网页或者阅读小说时能看的更加清楚。另外,终端在音视频模式下可以根据当前距离对终端进行亮度调节和音视频参数调节,其中,音视频参数包括但不限于:音量大小和视频分辨率等。例如,终端在音视频模式下,当检测到用户与终端的当前距离越来越远, 自动调高音量以及改变终端亮度,从而达到观影的最佳效果。通过上述技术方案,避免了用户手动对终端进行调节,从而使终端更加智能化,进而提升了用户体验。In this technical solution, when detecting that the terminal is in the text mode, the terminal can perform brightness adjustment and text parameter adjustment according to the current distance, wherein the text parameters include, but are not limited to, font size, font thickness, font color, and font spacing. For example, when the user browses the webpage or reads the novel using the terminal, detecting that the current distance between the user's eyes and the screen of the terminal is getting farther and farther, the terminal automatically controls the font in the webpage or the novel to become larger and the font is bolded, and the height is increased. The brightness of the screen of the terminal, so that the user can see more clearly when browsing the web or reading the novel. In addition, the terminal can perform brightness adjustment and audio and video parameter adjustment on the terminal according to the current distance in the audio and video mode, wherein the audio and video parameters include, but are not limited to, volume and video resolution. For example, in the audio and video mode, when the terminal detects that the current distance between the user and the terminal is getting farther and farther, Automatically adjust the volume and change the brightness of the terminal to achieve the best results. Through the above technical solution, the user is prevented from manually adjusting the terminal, thereby making the terminal more intelligent, thereby improving the user experience.
在上述技术方案中,优选地,步骤104,具体包括:根据所述当前距离对所述终端进行亮度调节。In the above technical solution, preferably, the step 104 includes: performing brightness adjustment on the terminal according to the current distance.
在该技术方案中,根据当前距离对终端进行亮度调节,其中,终端可以处于某种工作模式下,也可以处于主操作界面中,通过实时地控制终端亮度,可以更加智能地调节终端,使用户具有最佳的使用体验。In the technical solution, the terminal is adjusted according to the current distance, wherein the terminal can be in a certain working mode or in the main operation interface, and the terminal can be more intelligently adjusted by controlling the brightness of the terminal in real time, so that the user Have the best experience.
在上述技术方案中,优选地,步骤102,具体包括:获取所述特定部位在所述任两个前置摄像头中的每个前置摄像头的成像面上的特定部位成像点,以及获取所述每个前置摄像头的所述特定部位成像点与指定交点之间的距离,其中,所述指定交点为所述每个前置摄像头的光轴与所述每个前置摄像头的所述成像面之间的交点;根据所述任两个前置摄像头的中心点之间的距离、所述任两个前置摄像头的焦距、所述任两个前置摄像头的光轴之间的夹角以及所述每个前置摄像头的所述特定部位成像点与所述指定交点之间的距离,确定所述用户与所述终端之间的所述当前距离。In the above technical solution, preferably, the step 102 includes: acquiring a specific part imaging point of the specific part on an imaging surface of each of the two front cameras, and acquiring the a distance between the imaging point of the specific portion of each front camera and a designated intersection point, wherein the designated intersection point is an optical axis of each of the front cameras and the imaging surface of each of the front cameras The intersection between the centers of the two front cameras, the focal length of the two front cameras, the angle between the optical axes of any two front cameras, and Determining a distance between the specific portion of the image of the front camera and the designated intersection point, and determining the current distance between the user and the terminal.
在该技术方案中,当任两个前置摄像头检测用户的特定部位(如眼睛)与终端的屏幕之间的当前距离时,用户的特定部位在任两个前置摄像头中的每个前置摄像头的成像面上形成特定部位成像点,并结合任两个前置摄像头与用户的特定部位的光路图可以准确地计算出用户的特定部位(如眼睛)与终端的屏幕之间的当前距离。In this technical solution, when any two front cameras detect the current distance between a specific part of the user (such as an eye) and the screen of the terminal, the specific part of the user is in each of the front cameras of the two front cameras. A specific portion of the imaging point is formed on the imaging surface, and the current distance between the specific portion of the user (such as the eye) and the screen of the terminal can be accurately calculated by combining the optical path maps of any two front cameras with a specific portion of the user.
在上述技术方案中,优选地,所述任两个前置摄像头的焦距相同,并通过以下公式确定所述用户与所述终端之间的所述当前距离:
Figure PCTCN2016080596-appb-000004
其中,L表示所述当前距离,d表示所述任两个前置摄像头的中心点之间的距离,f表示所述任两个前置摄像头的焦距,α表示所述任两个前置摄像头的光轴之间的夹角,x1表示所述任两个前置摄像头中的任一前置摄像头的所述特定部位成像点与对应的所述指定交点之间的距离,以及x2表示所述任两个前置摄像头中的另一前置摄像头 的所述特定部位成像点与对应的所述指定交点之间的距离。
In the above technical solution, preferably, the focal lengths of the two front cameras are the same, and the current distance between the user and the terminal is determined by the following formula:
Figure PCTCN2016080596-appb-000004
Where L represents the current distance, d represents the distance between the center points of any two front cameras, f represents the focal length of the two front cameras, and α represents the two front cameras An angle between the optical axes, x1 represents the distance between the imaged point of the specific portion of any of the two front cameras and the corresponding designated intersection point, and x2 represents the The distance between the imaged point of the particular portion of the other front camera of the two front cameras and the corresponding designated intersection.
在该技术方案中,根据光学几何关系创建上述计算当前距离的公式,具体地,通过用户的特定部位所在的三角形和成像点所在的三角形之间的相似关系创建上述计算当前距离的公式,从而可以比较准确、快速地计算得到用户的特定部位与终端的屏幕之间的当前距离。In the technical solution, the above formula for calculating the current distance is created according to the optical geometric relationship. Specifically, the formula for calculating the current distance is created by the similarity relationship between the triangle where the specific part of the user is located and the triangle where the imaging point is located, thereby The current distance between the specific part of the user and the screen of the terminal is calculated more accurately and quickly.
图2示出了根据本发明的另一个实施例的调节方法的流程示意图。2 is a flow chart showing an adjustment method according to another embodiment of the present invention.
如图2所示,根据本发明的另一个实施例的调节方法(在该实施例中,终端为手机,手机上设置有双前置摄像头),包括:As shown in FIG. 2, an adjustment method according to another embodiment of the present invention (in this embodiment, the terminal is a mobile phone, and the mobile phone is provided with a dual front camera), including:
步骤202,通过双前置摄像头检测用户的眼睛至手机的屏幕之间的当前距离L。Step 202: Detect the current distance L between the user's eyes and the screen of the mobile phone through the dual front camera.
步骤204,获取手机的工作模式,当手机处于加载网页状态或者显示信息状态时(当手机处于文本模式时),根据当前距离调节手机的屏幕亮度和文字大小;当手机处于播放视频或者音乐状态(当手机处于音视频状态时),根据当前距离调节手机的屏幕亮度和音量大小。Step 204: Obtain a working mode of the mobile phone, when the mobile phone is in the state of loading the webpage or displaying the information state (when the mobile phone is in the text mode), adjust the screen brightness and the text size of the mobile phone according to the current distance; when the mobile phone is in the playing video or music state ( When the mobile phone is in the audio and video state, adjust the screen brightness and volume of the mobile phone according to the current distance.
图3示出了根据本发明的一个实施例的调节装置的结构示意图。Fig. 3 shows a schematic structural view of an adjusting device according to an embodiment of the present invention.
如图3所示,根据本发明的一个实施例的调节装置300,用于调节终端,所述终端上设置有多个前置摄像头,所述调节装置300包括:控制单元302,用于控制所述多个前置摄像头中的任两个前置摄像头检测所述终端的用户的特定部位与所述终端的屏幕之间的当前距离;调节单元304,用于根据所述当前距离和/或所述终端的工作模式对所述终端进行调节。As shown in FIG. 3, an adjusting device 300 according to an embodiment of the present invention is used for adjusting a terminal. The terminal is provided with a plurality of front cameras, and the adjusting device 300 includes: a control unit 302 for controlling the terminal. ???said two front cameras of the plurality of front cameras detect a current distance between a specific part of the user of the terminal and a screen of the terminal; the adjusting unit 304 is configured to use the current distance and/or the The working mode of the terminal adjusts the terminal.
在该技术方案中,通过检测用户的特定部位(如眼睛)与终端的屏幕之间的当前距离,并结合终端的工作模式对终端进行自动调节,例如,终端在进行播放视频,当检测到用户的眼睛与终端的屏幕之间的当前距离在增大时,也就说明用户与终端的距离越来越远,则可增强终端的亮度以及增大播放视频的音量,从而使用户可以比较清晰地观看视频以及清晰地听到声音,避免了用户手动对终端进行调节,从而使终端更加智能化,同时提升了用户体验。In this technical solution, the terminal is automatically adjusted by detecting the current distance between a specific part of the user (such as an eye) and the screen of the terminal, and the terminal is automatically adjusted according to the working mode of the terminal, for example, the terminal is playing a video, and when the user is detected When the current distance between the eye and the screen of the terminal is increasing, it means that the distance between the user and the terminal is farther and farther, the brightness of the terminal can be enhanced and the volume of the played video can be increased, so that the user can clearly and clearly Watching the video and clearly hearing the sound avoids the user manually adjusting the terminal, making the terminal more intelligent and improving the user experience.
在上述技术方案中,优选地,所述工作模式包括:文本模式和音视频模式;以及所述调节单元304具体用于,当检测到所述终端处于所述文本 模式时,根据所述当前距离对所述终端进行亮度调节和文本参数调节;当检测到所述终端处于所述音视频模式时,根据所述当前距离对所述终端进行亮度调节和音视频参数调节。In the above technical solution, preferably, the working mode includes: a text mode and an audio and video mode; and the adjusting unit 304 is specifically configured to: when detecting that the terminal is in the text In the mode, performing brightness adjustment and text parameter adjustment on the terminal according to the current distance; and when detecting that the terminal is in the audio and video mode, performing brightness adjustment and audio and video parameter adjustment on the terminal according to the current distance .
在该技术方案中,当检测到终端处于文本模式时可以根据当前距离对终端进行亮度调节和文本参数调节,其中,文本参数包括但不限于:字体大小、字体粗细、字体颜色以及字体间距。例如,用户在使用终端浏览网页或阅读小说时,检测到用户的眼睛与终端的屏幕的当前距离越来越远,则终端自动控制网页或小说中的字体变大以及字体加粗,同时调高终端的屏幕的亮度,从而使用户在浏览网页或者阅读小说时能看的更加清楚。另外,终端在音视频模式下可以根据当前距离对终端进行亮度调节和音视频参数调节,其中,音视频参数包括但不限于:音量大小和视频分辨率等。例如,终端在音视频模式下,当检测到用户与终端的当前距离越来越远,自动调高音量以及改变终端亮度,从而达到观影的最佳效果。通过上述技术方案,避免了用户手动对终端进行调节,从而使终端更加智能化,进而提升了用户体验。In this technical solution, when detecting that the terminal is in the text mode, the terminal can perform brightness adjustment and text parameter adjustment according to the current distance, wherein the text parameters include, but are not limited to, font size, font thickness, font color, and font spacing. For example, when the user browses the webpage or reads the novel using the terminal, detecting that the current distance between the user's eyes and the screen of the terminal is getting farther and farther, the terminal automatically controls the font in the webpage or the novel to become larger and the font is bolded, and the height is increased. The brightness of the screen of the terminal, so that the user can see more clearly when browsing the web or reading the novel. In addition, the terminal can perform brightness adjustment and audio and video parameter adjustment on the terminal according to the current distance in the audio and video mode, wherein the audio and video parameters include, but are not limited to, volume and video resolution. For example, in the audio and video mode, when the terminal detects that the current distance between the user and the terminal is getting farther and farther, the terminal automatically adjusts the volume and changes the brightness of the terminal, thereby achieving the best effect of viewing. Through the above technical solution, the user is prevented from manually adjusting the terminal, thereby making the terminal more intelligent, thereby improving the user experience.
在上述技术方案中,优选地,所述调节单元304具体用于,根据所述当前距离对所述终端进行亮度调节。In the above technical solution, preferably, the adjusting unit 304 is configured to perform brightness adjustment on the terminal according to the current distance.
在该技术方案中,根据当前距离对终端进行亮度调节,其中,终端可以处于某种工作模式下,也可以处于主操作界面中,通过实时地控制终端亮度,可以更加智能地调节终端,使用户具有最佳的使用体验。In the technical solution, the terminal is adjusted according to the current distance, wherein the terminal can be in a certain working mode or in the main operation interface, and the terminal can be more intelligently adjusted by controlling the brightness of the terminal in real time, so that the user Have the best experience.
在上述技术方案中,优选地,所述控制单元302包括:获取单元3022,用于获取所述特定部位在所述任两个前置摄像头中的每个前置摄像头的成像面上的特定部位成像点,以及获取所述每个前置摄像头的所述特定部位成像点与指定交点之间的距离,其中,所述指定交点为所述每个前置摄像头的光轴与所述每个前置摄像头的所述成像面之间的交点;确定单元3024,用于根据所述任两个前置摄像头的中心点之间的距离、所述任两个前置摄像头的焦距、所述任两个前置摄像头的光轴之间的夹角以及所述每个前置摄像头的所述特定部位成像点与所述指定交点之间的距离,确定所述用户与所述终端之间的所述当前距离。 In the above technical solution, preferably, the control unit 302 includes: an obtaining unit 3022, configured to acquire a specific part of the imaging surface of the front camera of each of the two front cameras An imaging point, and a distance between the imaging point of the specific portion of each of the front cameras and a designated intersection point, wherein the designated intersection point is an optical axis of each of the front cameras and each of the front An intersection between the imaging faces of the camera; a determining unit 3024 for determining a distance between the center points of the two front cameras, a focal length of the two front cameras, and any two of the two front cameras Determining the angle between the optical axes of the front cameras and the distance between the imaged points of the specific portion of each of the front cameras and the designated intersection, determining the between the user and the terminal Current distance.
在该技术方案中,当任两个前置摄像头检测用户的特定部位(如眼睛)与终端的屏幕之间的当前距离时,用户的特定部位在任两个前置摄像头中的每个前置摄像头的成像面上形成特定部位成像点,并结合任两个前置摄像头与用户的特定部位的光路图可以准确地计算出用户的特定部位(如眼睛)与终端的屏幕之间的当前距离。In this technical solution, when any two front cameras detect the current distance between a specific part of the user (such as an eye) and the screen of the terminal, the specific part of the user is in each of the front cameras of the two front cameras. A specific portion of the imaging point is formed on the imaging surface, and the current distance between the specific portion of the user (such as the eye) and the screen of the terminal can be accurately calculated by combining the optical path maps of any two front cameras with a specific portion of the user.
在上述技术方案中,优选地,所述任两个前置摄像头的焦距相同,所述确定单元3024具体用于,通过以下公式确定所述用户与所述终端之间的所述当前距离:
Figure PCTCN2016080596-appb-000005
其中,L表示所述当前距离,d表示所述任两个前置摄像头的中心点之间的距离,f表示所述任两个前置摄像头的焦距,α表示所述任两个前置摄像头的光轴之间的夹角,x1表示所述任两个前置摄像头中的任一前置摄像头的所述特定部位成像点与对应的所述指定交点之间的距离,以及x2表示所述任两个前置摄像头中的另一前置摄像头的所述特定部位成像点与对应的所述指定交点之间的距离。
In the above technical solution, preferably, the focal lengths of the two front cameras are the same, and the determining unit 3024 is specifically configured to determine the current distance between the user and the terminal by using the following formula:
Figure PCTCN2016080596-appb-000005
Where L represents the current distance, d represents the distance between the center points of any two front cameras, f represents the focal length of the two front cameras, and α represents the two front cameras An angle between the optical axes, x1 represents the distance between the imaged point of the specific portion of any of the two front cameras and the corresponding designated intersection point, and x2 represents the The distance between the imaged point of the particular portion of the other front camera of the two front cameras and the corresponding designated intersection.
在该技术方案中,根据光学几何关系创建上述计算当前距离的公式,具体地,通过用户的特定部位所在的三角形和成像点所在的三角形之间的相似关系创建上述计算当前距离的公式,从而可以比较准确、快速地计算得到用户的特定部位与终端的屏幕之间的当前距离。In the technical solution, the above formula for calculating the current distance is created according to the optical geometric relationship. Specifically, the formula for calculating the current distance is created by the similarity relationship between the triangle where the specific part of the user is located and the triangle where the imaging point is located, thereby The current distance between the specific part of the user and the screen of the terminal is calculated more accurately and quickly.
图4示出了根据本发明的一个实施例的终端的结构示意图。FIG. 4 shows a schematic structural diagram of a terminal according to an embodiment of the present invention.
如图4所示,根据本发明的一个实施例的终端400,包括上述技术方案中任一项所述的调节装置300,因此,该终端400具有和上述技术方案中任一项所述的调节装置300相同的技术效果,在此不再赘述。As shown in FIG. 4, a terminal 400 according to an embodiment of the present invention includes the adjustment device 300 according to any one of the above aspects, and therefore, the terminal 400 has the adjustment described in any one of the above technical solutions. The same technical effects of the device 300 are not described herein.
图5示出了根据本发明的一个实施例的双前置摄像头的光路示意图;图6示出了根据本发明的另一个实施例的双前置摄像头的光路示意图。Figure 5 is a schematic illustration of the optical path of a dual front camera in accordance with one embodiment of the present invention; and Figure 6 is a schematic illustration of the optical path of a dual front camera in accordance with another embodiment of the present invention.
下面结合图5和图6详细说明本发明的技术方案(在该实施例中终端为手机,手机上设置有双前置摄像头,即前置摄像头A和前置摄像头B):The technical solution of the present invention is described in detail below with reference to FIG. 5 and FIG. 6 (in this embodiment, the terminal is a mobile phone, and the mobile phone is provided with a dual front camera, that is, a front camera A and a front camera B):
如图5所示,前置摄像头A和前置摄像头B的光轴之间有一定的夹角,在前置摄像头A和前置摄像头B的成像面上形成有M点(用户的特定部位)的成像点(特定部位成像点),前置摄像头A与对应的指定交点(前 置摄像头A的光轴与前置摄像头A的成像面的交点)之间的距离为x1,前置摄像头B与对应的指定交点(前置摄像头B的光轴与前置摄像头B的成像面的交点)之间的距离为x2,前置摄像头A和前置摄像头B光轴之间的夹角为α,M点与前置摄像头A和前置摄像头B之间的距离L(即用户的特定部位与终端的屏幕之间的当前距离),前置摄像头A和前置摄像头B的焦距均为f,前置摄像头A和前置摄像头B的中心点之间的距离为d,根据光路图中的三角形的相似原理可以得到以下公式:As shown in FIG. 5, there is a certain angle between the optical axes of the front camera A and the front camera B, and M points (specific portions of the user) are formed on the imaging surfaces of the front camera A and the front camera B. Imaging point (specific part imaging point), front camera A and corresponding designated intersection (previous The distance between the optical axis of the camera A and the imaging surface of the front camera A is x1, and the front camera B and the corresponding designated intersection point (the optical axis of the front camera B and the imaging surface of the front camera B) The distance between the intersection points is x2, the angle between the front camera A and the optical axis of the front camera B is α, and the distance L between the M point and the front camera A and the front camera B (ie, the user's specific The current distance between the part and the screen of the terminal), the focal lengths of the front camera A and the front camera B are f, and the distance between the center points of the front camera A and the front camera B is d, according to the optical path diagram The similarity principle of the triangle can get the following formula:
Figure PCTCN2016080596-appb-000006
Figure PCTCN2016080596-appb-000006
Figure PCTCN2016080596-appb-000007
Figure PCTCN2016080596-appb-000007
则根据上述公式可以得到M点与前置摄像头A和前置摄像头B之间的距离L的公式为:Then, according to the above formula, the formula for obtaining the distance L between the M point and the front camera A and the front camera B is:
Figure PCTCN2016080596-appb-000008
Figure PCTCN2016080596-appb-000008
因此,通过L的计算公式可以准确地计算出M点与前置摄像头A和前置摄像头B之间的距离。Therefore, the distance between the M point and the front camera A and the front camera B can be accurately calculated by the calculation formula of L.
如图6所示,前置摄像头A和前置摄像头B的光轴之间平行,即前置摄像头A和前置摄像头B光轴之间的夹角为α=0°,在前置摄像头A和前置摄像头B的成像面上形成有M点(用户的特定部位)的成像点(特定部位成像点),前置摄像头A与对应的指定交点(前置摄像头A的光轴与前置摄像头A的成像面的交点)之间的距离为x1,前置摄像头B与对应的指定交点(前置摄像头B的光轴与前置摄像头B的成像面的交点)之间的距离为x2,M点与前置摄像头A和前置摄像头B之间的距离L(即用户的特定部位与终端的屏幕之间的当前距离),前置摄像头A和前置摄像头B的焦距均为f,前置摄像头A和前置摄像头B的中心点之间的距离为d,根据光路图中的三角形的相似原理可以得到以下公式:As shown in FIG. 6, the optical axes of the front camera A and the front camera B are parallel, that is, the angle between the optical axes of the front camera A and the front camera B is α=0°, in the front camera A. An imaging point (a specific part imaging point) of the M point (a specific part of the user) is formed on the imaging surface of the front camera B, and the front camera A and the corresponding designated intersection point (the optical axis of the front camera A and the front camera) The distance between the intersections of the imaging planes of A is x1, and the distance between the front camera B and the corresponding designated intersection (the intersection of the optical axis of the front camera B and the imaging surface of the front camera B) is x2, M The distance L between the point and the front camera A and the front camera B (ie, the current distance between the specific part of the user and the screen of the terminal), the focal lengths of the front camera A and the front camera B are both f, front The distance between the center point of the camera A and the front camera B is d. According to the similarity principle of the triangle in the light path diagram, the following formula can be obtained:
Figure PCTCN2016080596-appb-000009
Figure PCTCN2016080596-appb-000009
Figure PCTCN2016080596-appb-000010
Figure PCTCN2016080596-appb-000010
则根据上述公式可以得到M点与前置摄像头A和前置摄像头B之间的距离L的公式为:Then, according to the above formula, the formula for obtaining the distance L between the M point and the front camera A and the front camera B is:
Figure PCTCN2016080596-appb-000011
Figure PCTCN2016080596-appb-000011
因此,通过L的计算公式可以准确地计算出M点与前置摄像头A和前置摄像头B之间的距离。Therefore, the distance between the M point and the front camera A and the front camera B can be accurately calculated by the calculation formula of L.
以上结合附图详细说明了本发明的技术方案,可以实现自动调节终端的屏幕亮度、音量大小和文字大小等多项参数,避免了用户手动调节,从而提升用户体验。The technical solution of the present invention is described in detail above with reference to the accompanying drawings, and multiple parameters such as screen brightness, volume size, and text size of the terminal can be automatically adjusted, thereby avoiding manual adjustment by the user, thereby improving the user experience.
图7示出了根据本发明的另一个实施例的终端的结构示意图,如图7所示,该终端7可以包括:至少一个处理器71,例如CPU,至少一个通信总线72以及存储器73;通信总线72用于实现这些组件之间的连接通信;存储器73可以是高速RAM存储器,也可以是非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。所述终端上设置有多个前置摄像头。存储器73中存储一组程序代码,且处理器71用于调用存储器73中存储的程序代码,用于执行以下操作:FIG. 7 is a block diagram showing the structure of a terminal according to another embodiment of the present invention. As shown in FIG. 7, the terminal 7 may include: at least one processor 71, such as a CPU, at least one communication bus 72, and a memory 73; The bus 72 is used to implement connection communication between these components; the memory 73 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory. A plurality of front cameras are disposed on the terminal. A set of program codes is stored in the memory 73, and the processor 71 is configured to call the program code stored in the memory 73 for performing the following operations:
控制所述多个前置摄像头中的任两个前置摄像头检测所述终端7的用户的特定部位与所述终端7的屏幕之间的当前距离;Controlling that any two of the plurality of front cameras detect a current distance between a specific portion of the user of the terminal 7 and a screen of the terminal 7;
根据所述当前距离和/或所述终端7的工作模式对所述终端7进行调节。The terminal 7 is adjusted according to the current distance and/or the operating mode of the terminal 7.
可选地,所述工作模式包括:文本模式和音视频模式;以及所述处理器71根据所述当前距离和/或所述终端7的工作模式对所述终端7进行调节的具体步骤为:Optionally, the working mode includes: a text mode and an audio and video mode; and the specific step of the processor 71 adjusting the terminal 7 according to the current distance and/or the working mode of the terminal 7 is:
当检测到所述终端7处于所述文本模式时,根据所述当前距离对所述终端7进行亮度调节和文本参数调节;When detecting that the terminal 7 is in the text mode, performing brightness adjustment and text parameter adjustment on the terminal 7 according to the current distance;
当检测到所述终端7处于所述音视频模式时,根据所述当前距离对所述终端7进行亮度调节和音视频参数调节。 When it is detected that the terminal 7 is in the audio and video mode, the terminal 7 is subjected to brightness adjustment and audio and video parameter adjustment according to the current distance.
可选地,所述处理器71根据所述当前距离和/或所述终端7的工作模式对所述终端7进行调节的具体步骤为:Optionally, the specific step of the processor 71 adjusting the terminal 7 according to the current distance and/or the working mode of the terminal 7 is:
根据所述当前距离对所述终端7进行亮度调节。The terminal 7 is subjected to brightness adjustment according to the current distance.
可选地,所述处理器71控制所述多个前置摄像头中的任两个前置摄像头检测所述终端7的用户的特定部位与所述终端7的屏幕之间的当前距离的具体步骤为:Optionally, the processor 71 controls a specific step of detecting, by any one of the plurality of front cameras, a current distance between a specific part of the user of the terminal 7 and a screen of the terminal 7 for:
获取所述特定部位在所述任两个前置摄像头中的每个前置摄像头的成像面上的特定部位成像点,以及获取所述每个前置摄像头的所述特定部位成像点与指定交点之间的距离,其中,所述指定交点为所述每个前置摄像头的光轴与所述每个前置摄像头的所述成像面之间的交点;Obtaining a specific part imaging point of the specific part on an imaging surface of each of the two front cameras, and acquiring the specific part imaging point and the designated intersection of each of the front cameras a distance between the optical axis of each of the front cameras and the imaging surface of each of the front cameras;
根据所述任两个前置摄像头的中心点之间的距离、所述任两个前置摄像头的焦距、所述任两个前置摄像头的光轴之间的夹角以及所述每个前置摄像头的所述特定部位成像点与所述指定交点之间的距离,确定所述用户与所述终端7之间的所述当前距离。Depending on the distance between the center points of any two front cameras, the focal length of the two front cameras, the angle between the optical axes of any two front cameras, and each of the front Determining a distance between the imaged point of the specific portion of the camera and the designated intersection point to determine the current distance between the user and the terminal 7.
可选地,所述任两个前置摄像头的焦距相同,Optionally, the focal lengths of the two front cameras are the same,
所述处理器71具体用于,通过以下公式确定所述用户与所述终端7之间的所述当前距离:The processor 71 is specifically configured to determine the current distance between the user and the terminal 7 by using the following formula:
Figure PCTCN2016080596-appb-000012
Figure PCTCN2016080596-appb-000012
其中,L表示所述当前距离,d表示所述任两个前置摄像头的中心点之间的距离,f表示所述任两个前置摄像头的焦距,α表示所述任两个前置摄像头的光轴之间的夹角,x1表示所述任两个前置摄像头中的任一前置摄像头的所述特定部位成像点与对应的所述指定交点之间的距离,以及x2表示所述任两个前置摄像头中的另一前置摄像头的所述特定部位成像点与对应的所述指定交点之间的距离。Where L represents the current distance, d represents the distance between the center points of any two front cameras, f represents the focal length of the two front cameras, and α represents the two front cameras An angle between the optical axes, x1 represents the distance between the imaged point of the specific portion of any of the two front cameras and the corresponding designated intersection point, and x2 represents the The distance between the imaged point of the particular portion of the other front camera of the two front cameras and the corresponding designated intersection.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明 的保护范围之内。 The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and scope of the present invention are intended to be included in the present invention. Within the scope of protection.

Claims (15)

  1. 一种调节方法,用于调节终端,其特征在于,所述终端上设置有多个前置摄像头,所述调节方法包括:An adjustment method for adjusting a terminal, wherein the terminal is provided with a plurality of front cameras, and the adjusting method comprises:
    控制所述多个前置摄像头中的任两个前置摄像头检测所述终端的用户的特定部位与所述终端的屏幕之间的当前距离;Controlling that any two of the plurality of front cameras detect a current distance between a specific portion of a user of the terminal and a screen of the terminal;
    根据所述当前距离和/或所述终端的工作模式对所述终端进行调节。The terminal is adjusted according to the current distance and/or the working mode of the terminal.
  2. 根据权利要求1所述的调节方法,其特征在于,所述工作模式包括:文本模式和音视频模式;以及所述根据所述当前距离和/或所述终端的工作模式对所述终端进行调节的步骤,具体包括:The adjustment method according to claim 1, wherein the operation mode comprises: a text mode and an audio and video mode; and the adjusting the terminal according to the current distance and/or an operation mode of the terminal The steps specifically include:
    当检测到所述终端处于所述文本模式时,根据所述当前距离对所述终端进行亮度调节和文本参数调节;When detecting that the terminal is in the text mode, performing brightness adjustment and text parameter adjustment on the terminal according to the current distance;
    当检测到所述终端处于所述音视频模式时,根据所述当前距离对所述终端进行亮度调节和音视频参数调节。When it is detected that the terminal is in the audio and video mode, the terminal is subjected to brightness adjustment and audio and video parameter adjustment according to the current distance.
  3. 根据权利要求1所述的调节方法,其特征在于,所述根据所述当前距离和/或所述终端的工作模式对所述终端进行调节的步骤,具体包括:The adjusting method according to claim 1, wherein the step of adjusting the terminal according to the current distance and/or the working mode of the terminal specifically includes:
    根据所述当前距离对所述终端进行亮度调节。Adjusting the brightness of the terminal according to the current distance.
  4. 根据权利要求1至3中任一项所述的调节方法,其特征在于,所述控制所述多个前置摄像头中的任两个前置摄像头检测所述终端的用户的特定部位与所述终端的屏幕之间的当前距离的步骤,具体包括:The adjustment method according to any one of claims 1 to 3, wherein the control of any one of the plurality of front cameras detects a specific part of a user of the terminal and the The steps of the current distance between the screens of the terminal specifically include:
    获取所述特定部位在所述任两个前置摄像头中的每个前置摄像头的成像面上的特定部位成像点,以及获取所述每个前置摄像头的所述特定部位成像点与指定交点之间的距离,其中,所述指定交点为所述每个前置摄像头的光轴与所述每个前置摄像头的所述成像面之间的交点;Obtaining a specific part imaging point of the specific part on an imaging surface of each of the two front cameras, and acquiring the specific part imaging point and the designated intersection of each of the front cameras a distance between the optical axis of each of the front cameras and the imaging surface of each of the front cameras;
    根据所述任两个前置摄像头的中心点之间的距离、所述任两个前置摄像头的焦距、所述任两个前置摄像头的光轴之间的夹角以及所述每个前置摄像头的所述特定部位成像点与所述指定交点之间的距离,确定所述用户与所述终端之间的所述当前距离。Depending on the distance between the center points of any two front cameras, the focal length of the two front cameras, the angle between the optical axes of any two front cameras, and each of the front Determining a distance between the imaged point of the specific portion of the camera and the designated intersection point to determine the current distance between the user and the terminal.
  5. 根据权利要求4所述的调节方法,其特征在于,所述任两个前置摄 像头的焦距相同,The adjustment method according to claim 4, wherein said two pre-shots The focal length of the head is the same,
    所述确定单元具体用于,通过以下公式确定所述用户与所述终端之间的所述当前距离:The determining unit is specifically configured to determine the current distance between the user and the terminal by using the following formula:
    Figure PCTCN2016080596-appb-100001
    Figure PCTCN2016080596-appb-100001
    其中,L表示所述当前距离,d表示所述任两个前置摄像头的中心点之间的距离,f表示所述任两个前置摄像头的焦距,α表示所述任两个前置摄像头的光轴之间的夹角,x1表示所述任两个前置摄像头中的任一前置摄像头的所述特定部位成像点与对应的所述指定交点之间的距离,以及x2表示所述任两个前置摄像头中的另一前置摄像头的所述特定部位成像点与对应的所述指定交点之间的距离。Where L represents the current distance, d represents the distance between the center points of any two front cameras, f represents the focal length of the two front cameras, and α represents the two front cameras An angle between the optical axes, x1 represents the distance between the imaged point of the specific portion of any of the two front cameras and the corresponding designated intersection point, and x2 represents the The distance between the imaged point of the particular portion of the other front camera of the two front cameras and the corresponding designated intersection.
  6. 一种调节装置,用于调节终端,其特征在于,所述终端上设置有多个前置摄像头,所述调节装置包括:An adjusting device for adjusting a terminal, wherein the terminal is provided with a plurality of front cameras, and the adjusting device comprises:
    控制单元,用于控制所述多个前置摄像头中的任两个前置摄像头检测所述终端的用户的特定部位与所述终端的屏幕之间的当前距离;a control unit, configured to control, by any one of the plurality of front cameras, a current distance between a specific part of the user detecting the terminal and a screen of the terminal;
    调节单元,用于根据所述当前距离和/或所述终端的工作模式对所述终端进行调节。And an adjusting unit, configured to adjust the terminal according to the current distance and/or an operating mode of the terminal.
  7. 根据权利要求6所述的调节装置,其特征在于,所述工作模式包括:文本模式和音视频模式;以及所述调节单元具体用于,The adjusting device according to claim 6, wherein the working mode comprises: a text mode and an audio and video mode; and the adjusting unit is specifically configured to:
    当检测到所述终端处于所述文本模式时,根据所述当前距离对所述终端进行亮度调节和文本参数调节;When detecting that the terminal is in the text mode, performing brightness adjustment and text parameter adjustment on the terminal according to the current distance;
    当检测到所述终端处于所述音视频模式时,根据所述当前距离对所述终端进行亮度调节和音视频参数调节。When it is detected that the terminal is in the audio and video mode, the terminal is subjected to brightness adjustment and audio and video parameter adjustment according to the current distance.
  8. 根据权利要求6所述的调节装置,其特征在于,所述调节单元具体用于,The adjusting device according to claim 6, wherein the adjusting unit is specifically configured to
    根据所述当前距离对所述终端进行亮度调节。Adjusting the brightness of the terminal according to the current distance.
  9. 根据权利要求6至8中任一项所述的调节装置,其特征在于,所述控制单元包括: The adjustment device according to any one of claims 6 to 8, wherein the control unit comprises:
    获取单元,用于获取所述特定部位在所述任两个前置摄像头中的每个前置摄像头的成像面上的特定部位成像点,以及获取所述每个前置摄像头的所述特定部位成像点与指定交点之间的距离,其中,所述指定交点为所述每个前置摄像头的光轴与所述每个前置摄像头的所述成像面之间的交点;An acquiring unit, configured to acquire a specific part imaging point of the specific part on an imaging surface of each of the two front cameras, and acquire the specific part of each of the front cameras a distance between the imaging point and the designated intersection point, wherein the designated intersection point is an intersection between an optical axis of each of the front cameras and the imaging surface of each of the front cameras;
    确定单元,根据所述任两个前置摄像头的中心点之间的距离、所述任两个前置摄像头的焦距、所述任两个前置摄像头的光轴之间的夹角以及所述每个前置摄像头的所述特定部位成像点与所述指定交点之间的距离,确定所述用户与所述终端之间的所述当前距离。Determining a unit according to a distance between a center point of the two front cameras, a focal length of the two front cameras, an angle between optical axes of the two front cameras, and The distance between the imaged point of the specific portion of each front camera and the designated intersection point determines the current distance between the user and the terminal.
  10. 根据权利要求9所述的调节装置,其特征在于,所述任两个前置摄像头的焦距相同,并通过以下公式确定所述用户与所述终端之间的所述当前距离:The adjusting device according to claim 9, wherein the focal lengths of the two front cameras are the same, and the current distance between the user and the terminal is determined by the following formula:
    Figure PCTCN2016080596-appb-100002
    Figure PCTCN2016080596-appb-100002
    其中,L表示所述当前距离,d表示所述任两个前置摄像头的中心点之间的距离,f表示所述任两个前置摄像头的焦距,α表示所述任两个前置摄像头的光轴之间的夹角,x1表示所述任两个前置摄像头中的任一前置摄像头的所述特定部位成像点与对应的所述指定交点之间的距离,以及x2表示所述任两个前置摄像头中的另一前置摄像头的所述特定部位成像点与对应的所述指定交点之间的距离。Where L represents the current distance, d represents the distance between the center points of any two front cameras, f represents the focal length of the two front cameras, and α represents the two front cameras An angle between the optical axes, x1 represents the distance between the imaged point of the specific portion of any of the two front cameras and the corresponding designated intersection point, and x2 represents the The distance between the imaged point of the particular portion of the other front camera of the two front cameras and the corresponding designated intersection.
  11. 一种终端,其特征在于,所述终端上设置有多个前置摄像头,所述终端包括处理器和存储器,其中,所述存储器中存储一组程序代码,且所述处理器用于调用所述存储器中存储的程序代码,用于执行以下操作:A terminal, wherein the terminal is provided with a plurality of front cameras, the terminal includes a processor and a memory, wherein the memory stores a set of program codes, and the processor is configured to invoke the Program code stored in memory to perform the following operations:
    控制所述多个前置摄像头中的任两个前置摄像头检测所述终端的用户的特定部位与所述终端的屏幕之间的当前距离;Controlling that any two of the plurality of front cameras detect a current distance between a specific portion of a user of the terminal and a screen of the terminal;
    根据所述当前距离和/或所述终端的工作模式对所述终端进行调节。The terminal is adjusted according to the current distance and/or the working mode of the terminal.
  12. 根据权利要求11所述的终端,其特征在于,所述工作模式包括:文本模式和音视频模式;以及所述处理器根据所述当前距离和/或所述终端 的工作模式对所述终端进行调节的具体步骤为:The terminal according to claim 11, wherein said working mode comprises: a text mode and an audio and video mode; and said processor is based on said current distance and/or said terminal The specific steps of the working mode for adjusting the terminal are:
    当检测到所述终端处于所述文本模式时,根据所述当前距离对所述终端进行亮度调节和文本参数调节;When detecting that the terminal is in the text mode, performing brightness adjustment and text parameter adjustment on the terminal according to the current distance;
    当检测到所述终端处于所述音视频模式时,根据所述当前距离对所述终端进行亮度调节和音视频参数调节。When it is detected that the terminal is in the audio and video mode, the terminal is subjected to brightness adjustment and audio and video parameter adjustment according to the current distance.
  13. 根据权利要求11所述的终端,其特征在于,所述处理器根据所述当前距离和/或所述终端的工作模式对所述终端进行调节的具体步骤为:The terminal according to claim 11, wherein the specific step of the processor adjusting the terminal according to the current distance and/or the working mode of the terminal is:
    根据所述当前距离对所述终端进行亮度调节。Adjusting the brightness of the terminal according to the current distance.
  14. 根据权利要求11至13中任一项所述的终端,其特征在于,所述处理器控制所述多个前置摄像头中的任两个前置摄像头检测所述终端的用户的特定部位与所述终端的屏幕之间的当前距离的具体步骤为:The terminal according to any one of claims 11 to 13, wherein the processor controls any two of the plurality of front cameras to detect a specific part and a user of the user of the terminal The specific steps of the current distance between the screens of the terminal are:
    获取所述特定部位在所述任两个前置摄像头中的每个前置摄像头的成像面上的特定部位成像点,以及获取所述每个前置摄像头的所述特定部位成像点与指定交点之间的距离,其中,所述指定交点为所述每个前置摄像头的光轴与所述每个前置摄像头的所述成像面之间的交点;Obtaining a specific part imaging point of the specific part on an imaging surface of each of the two front cameras, and acquiring the specific part imaging point and the designated intersection of each of the front cameras a distance between the optical axis of each of the front cameras and the imaging surface of each of the front cameras;
    根据所述任两个前置摄像头的中心点之间的距离、所述任两个前置摄像头的焦距、所述任两个前置摄像头的光轴之间的夹角以及所述每个前置摄像头的所述特定部位成像点与所述指定交点之间的距离,确定所述用户与所述终端之间的所述当前距离。Depending on the distance between the center points of any two front cameras, the focal length of the two front cameras, the angle between the optical axes of any two front cameras, and each of the front Determining a distance between the imaged point of the specific portion of the camera and the designated intersection point to determine the current distance between the user and the terminal.
  15. 根据权利要求14所述的终端,其特征在于,所述任两个前置摄像头的焦距相同,The terminal according to claim 14, wherein the focal lengths of the two front cameras are the same.
    所述处理器具体用于,通过以下公式确定所述用户与所述终端之间的所述当前距离:The processor is specifically configured to determine the current distance between the user and the terminal by using the following formula:
    Figure PCTCN2016080596-appb-100003
    Figure PCTCN2016080596-appb-100003
    其中,L表示所述当前距离,d表示所述任两个前置摄像头的中心点之间的距离,f表示所述任两个前置摄像头的焦距,α表示所述任两个前置摄像头的光轴之间的夹角,x1表示所述任两个前置摄像头中的任一前置摄像 头的所述特定部位成像点与对应的所述指定交点之间的距离,以及x2表示所述任两个前置摄像头中的另一前置摄像头的所述特定部位成像点与对应的所述指定交点之间的距离。 Where L represents the current distance, d represents the distance between the center points of any two front cameras, f represents the focal length of the two front cameras, and α represents the two front cameras The angle between the optical axes, x1 represents any of the two front cameras a distance between the specific portion of the image point of the head and the corresponding designated intersection point, and x2 representing the specific portion of the image of the other of the two front cameras Specify the distance between intersections.
PCT/CN2016/080596 2015-08-25 2016-04-29 Method and device for adjusting, and terminal WO2017032035A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510528308.8 2015-08-25
CN201510528308.8A CN105607733B (en) 2015-08-25 2015-08-25 Adjusting method, regulating device and terminal

Publications (1)

Publication Number Publication Date
WO2017032035A1 true WO2017032035A1 (en) 2017-03-02

Family

ID=55987719

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/080596 WO2017032035A1 (en) 2015-08-25 2016-04-29 Method and device for adjusting, and terminal

Country Status (2)

Country Link
CN (1) CN105607733B (en)
WO (1) WO2017032035A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109756788A (en) * 2017-11-03 2019-05-14 腾讯科技(深圳)有限公司 Video caption automatic adjusting method and device, terminal and readable storage medium storing program for executing
CN110275612A (en) * 2019-05-28 2019-09-24 Oppo广东移动通信有限公司 Brightness adjusting method, device, electronic equipment and storage medium

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107105183A (en) * 2017-04-28 2017-08-29 宇龙计算机通信科技(深圳)有限公司 recording volume adjusting method and device
CN107506171B (en) * 2017-08-22 2021-09-28 深圳传音控股股份有限公司 Audio playing device and sound effect adjusting method thereof
CN107656621B (en) * 2017-09-27 2020-07-28 京东方科技集团股份有限公司 Audio-visual adjusting equipment and control method thereof
CN108519820A (en) * 2018-03-30 2018-09-11 上海爱优威软件开发有限公司 Screen brightness regulation method and system
KR20200005858A (en) * 2018-07-09 2020-01-17 엘지이노텍 주식회사 Method and apparatus for outputting light
CN110222597B (en) * 2019-05-21 2023-09-22 平安科技(深圳)有限公司 Method and device for adjusting screen display based on micro-expressions
CN111832253A (en) * 2020-07-03 2020-10-27 Oppo广东移动通信有限公司 Font adjusting method and device, storage medium and electronic equipment
CN116702701A (en) * 2022-10-26 2023-09-05 荣耀终端有限公司 Word weight adjusting method, terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752438A (en) * 2011-04-20 2012-10-24 中兴通讯股份有限公司 Method and device for automatically regulating terminal interface display
US20120327123A1 (en) * 2011-06-23 2012-12-27 Verizon Patent And Licensing Inc. Adjusting font sizes
CN102981422A (en) * 2012-11-23 2013-03-20 广州华多网络科技有限公司 Volume adjusting method and system
CN103019384A (en) * 2012-12-21 2013-04-03 广东欧珀移动通信有限公司 Method and device for adjusting display interface on terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752438A (en) * 2011-04-20 2012-10-24 中兴通讯股份有限公司 Method and device for automatically regulating terminal interface display
US20120327123A1 (en) * 2011-06-23 2012-12-27 Verizon Patent And Licensing Inc. Adjusting font sizes
CN102981422A (en) * 2012-11-23 2013-03-20 广州华多网络科技有限公司 Volume adjusting method and system
CN103019384A (en) * 2012-12-21 2013-04-03 广东欧珀移动通信有限公司 Method and device for adjusting display interface on terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109756788A (en) * 2017-11-03 2019-05-14 腾讯科技(深圳)有限公司 Video caption automatic adjusting method and device, terminal and readable storage medium storing program for executing
CN109756788B (en) * 2017-11-03 2022-08-23 腾讯科技(深圳)有限公司 Video subtitle automatic adjustment method and device, terminal and readable storage medium
CN110275612A (en) * 2019-05-28 2019-09-24 Oppo广东移动通信有限公司 Brightness adjusting method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN105607733B (en) 2018-12-25
CN105607733A (en) 2016-05-25

Similar Documents

Publication Publication Date Title
WO2017032035A1 (en) Method and device for adjusting, and terminal
EP3105921B1 (en) Photo composition and position guidance in an imaging device
US20210192703A1 (en) Face beautification method and apparatus, computer device, and storage medium
US9760976B2 (en) Image processing apparatus and image processing method
KR20190021138A (en) Electronic device which stores depth information associating with image in accordance with Property of depth information acquired using image and the controlling method thereof
EP2813922A1 (en) Visibility improvement method based on eye tracking, machine-readable storage medium and electronic device
JP6109413B2 (en) Image display method, image display apparatus, terminal, program, and recording medium
WO2017107524A1 (en) Imaging distortion test method and apparatus for virtual reality helmet
WO2014208052A1 (en) Image processing apparatus, image processing method, and program
WO2016197639A1 (en) Screen picture display method and apparatus
US11792351B2 (en) Image processing method, electronic device, and computer-readable storage medium
TWI524258B (en) Electronic book display adjustment system and method
US9959841B2 (en) Image presentation control methods and image presentation control apparatuses
KR101897549B1 (en) Apparatus and method for displaying camera view area in a portable terminal
WO2016197494A1 (en) Method and device for adjusting focusing area
JP6283329B2 (en) Augmented Reality Object Recognition Device
US20230033956A1 (en) Estimating depth based on iris size
WO2018054097A1 (en) Self-portrait line-of-sight alignment method, device, and terminal
CN113315915B (en) Image definition determining method, device, medium and electronic equipment
WO2017107324A1 (en) Photographing mode processing method and device
WO2020024196A1 (en) Method for adjusting parameters of photographing device, control device and photographing system
US9860480B2 (en) Method for processing information and electronic device
US20230305625A1 (en) Eye Tracking Data Filtering
JP2017204718A (en) Imaging apparatus and zoom control method thereof
WO2020000522A1 (en) Method and device for picture quality assessment after dynamic panoramic video stream cropping

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16838297

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16838297

Country of ref document: EP

Kind code of ref document: A1