CN106791425B - Prompting system and method for prompting user of optimal imaging distance and mobile phone - Google Patents

Prompting system and method for prompting user of optimal imaging distance and mobile phone Download PDF

Info

Publication number
CN106791425B
CN106791425B CN201710003374.2A CN201710003374A CN106791425B CN 106791425 B CN106791425 B CN 106791425B CN 201710003374 A CN201710003374 A CN 201710003374A CN 106791425 B CN106791425 B CN 106791425B
Authority
CN
China
Prior art keywords
distance
camera
calculating
sorig
prompting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710003374.2A
Other languages
Chinese (zh)
Other versions
CN106791425A (en
Inventor
唐向东
刘杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Reliable Intellectual Property Service Co ltd
Original Assignee
JRD Communication Shenzhen Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by JRD Communication Shenzhen Ltd filed Critical JRD Communication Shenzhen Ltd
Priority to CN201710003374.2A priority Critical patent/CN106791425B/en
Publication of CN106791425A publication Critical patent/CN106791425A/en
Application granted granted Critical
Publication of CN106791425B publication Critical patent/CN106791425B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a prompt system for prompting a user of an optimal imaging distance, which comprises: the distance acquisition module is used for calculating and acquiring a first distance between human eyes and the camera through convex lens imaging and sending the first distance to the judgment module for judgment; the judging module is used for calculating a difference value between the first distance and the target distance according to the first distance and sending the difference value to the prompting module; and the prompting module is used for planning a path according to the difference value and prompting a user to move to an optimal position according to the planned path. A prompting method for prompting an optimal imaging distance of a user comprises the steps of calculating and obtaining a first distance between human eyes and a camera through convex lens imaging; calculating a difference value between the first distance and the target distance according to the first distance; and planning a path according to the distance difference, and prompting the user to move to the optimal position according to the planned path. The invention also provides a mobile phone. Compared with the prior art, the method and the device enable the user to know how far the optimal position still needs to be moved, and improve the photographing efficiency.

Description

Prompting system and method for prompting user of optimal imaging distance and mobile phone
Technical Field
The invention relates to the field of image measurement, in particular to a device capable of prompting a user of an optimal imaging distance and a using method.
Background
Many mobile communication equipment or intelligent bracelet all have eyeball identification function now. For a mobile phone with eyeball identification, when a user picks up the mobile phone and aligns to a front camera, the mobile phone is often not in the best imaging position, so that the imaging quality is poor, and the user experience is influenced. At this time, the user does not know the optimal imaging distance, that is, even if the imaging is not good, the user does not know which direction the front camera of the mobile phone should be moved, and how much distance the front camera of the mobile phone needs to be moved to obtain the optimal imaging distance.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a prompting system and method for prompting a user of an optimal imaging distance, and a mobile phone, so that the user can be prompted of the optimal imaging distance, and the image quality is improved.
The invention provides a prompt system for prompting a user of an optimal imaging distance, which comprises:
the distance acquisition module is used for calculating and acquiring a first distance between human eyes and the camera through convex lens imaging and sending the first distance to the judgment module for judgment;
the judging module is used for calculating a difference value between the first distance and the target distance according to the first distance and sending the difference value to the prompting module;
and the prompting module is used for planning a path according to the difference value and prompting a user to move to an optimal position according to the planned path.
Further, the step of calculating and acquiring the first distance between the human eyes and the camera by the distance acquisition module comprises the following steps:
step S01, calculating an included angle formed by a light ray penetrating through the center of the lens of the camera at the edge of the human eye and a horizontal line;
step two S02, calculating the distance between the human eyes and the lens as u;
step three S03, calculating the distance between the sensor of the camera and the lens as v, and the original size of the human eyes as Sorig, and then calculating the first distance u2 between the human eyes and the camera as:
u2=v*tan(angle)=v*(Sorig/u)=Sorig*v/s2
where u2 is the actual distance, Sorig is the original size of the human eye, s2 is the size of the image of the human eye at the first distance, and v is the distance from the sensor to the lens.
Further, the judging module is implemented by adopting the following method according to the difference value between the first distance and the target distance:
according to a first distance u2 between the human eyes and the camera, calculating the distance (u1-u2) that the mobile phone camera needs to move, wherein the formula is as follows:
Sorig*v/s2=(s1*u1/v)*v/s2=u1*s1/s2
u1-u2=Sorig*v/s1-Sorig*v/s2
wherein u1 is a target distance, u2 is a first distance between human eyes and a camera, Sorig is an original size of the human eyes, s1 is an imaging size of the human eyes at the target distance, s2 is the imaging size of the human eyes at the first distance, and v is a distance from a sensor to a lens.
Further, the optimal position obtained by the prompt module is calculated by adopting the following formula:
u1*(1–s1/s2)。
the invention also provides a prompting method for prompting the optimal imaging distance of the user, which comprises the following steps:
calculating and acquiring a first distance between human eyes and a camera through convex lens imaging;
calculating a difference value between the first distance and the target distance according to the first distance;
and planning a path according to the distance difference, and prompting the user to move to the optimal position according to the planned path.
Further, the calculating and acquiring the first distance between the human eyes and the camera comprises the following steps:
step S01, calculating an included angle formed by a light ray penetrating through the center of the lens of the camera at the edge of the human eye and a horizontal line;
step two S02, calculating the distance between the human eyes and the lens as u;
step three S03, calculating the distance between the sensor of the camera and the lens as v, and the original size of the human eyes as Sorig, and then calculating the first distance u2 between the human eyes and the camera as:
u2=v*tan(angle)=v*(Sorig/u)=Sorig*v/s2
wherein u2 is a first distance between a human eye and a camera, Sorig is an original size of the human eye, s2 is an imaging size of the human eye at the first distance, and v is a distance from a sensor to a lens.
Further, the judging module is implemented by adopting the following method according to the difference value between the first distance and the target distance:
according to a first distance u2 between the human eyes and the camera, calculating the distance (u1-u2) that the mobile phone camera needs to move, wherein the formula is as follows:
Sorig*v/s2=(s1*u1/v)*v/s2=u1*s1/s2
u1-u2=Sorig*v/s1-Sorig*v/s2
wherein u1 is a target distance, u2 is a first distance between human eyes and a camera, Sorig is an original size of the human eyes, s1 is an imaging size of the human eyes at the target distance, s2 is the imaging size of the human eyes at the first distance, and v is a distance from a sensor to a lens.
Further, the optimal position obtained by the prompt module is calculated by adopting the following formula:
u1*(1–s1/s2)。
the invention also provides a mobile phone which comprises the prompt system for prompting the user of the optimal imaging distance.
Compared with the prior art, the method and the device have the advantages that the convex lens imaging calculation obtains the first distance between the human eyes and the camera and calculates the difference value between the first distance and the target distance, so that the optimal position is obtained, a user can know how far the optimal position needs to be moved, and the photographing efficiency is improved.
Drawings
FIG. 1 is a schematic diagram of a method of use of the present invention;
FIG. 2 is a block diagram of the reminder system of the present invention;
FIG. 3 is a flow chart of a hinting method of the present invention;
fig. 4 is a flowchart of acquiring a first distance between a human eye and a camera according to the present invention.
Detailed Description
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the specific embodiments set forth herein. Rather, these embodiments are provided to explain the principles of the invention and its practical application to thereby enable others skilled in the art to understand the invention for various embodiments and with various modifications as are suited to the particular use contemplated.
As shown in fig. 1, the imaging principle of the convex lens is known, and in the case that the image distance and the focal length are fixed, the difference of the object distance causes the imaging size to change correspondingly. As shown in the following figures, the same size object is at the position of u1 and u2, and the sizes imaged on the Sensor are s1 and s2, respectively.
If the included angle formed by the light rays of the edge of the object penetrating through the center of the lens and the horizontal line is angle, the distance from the object to the lens is u, the distance from the Sensor to the lens is v, and the original size of the object is Sorig, the calculation formula of the imaging size Simg is as follows:
Simg=v*tan(angle)=v*(Sorig/u)=Sorig*v/u
since the front cameras are all fixed-focus modules, that is, the focal lengths are fixed, and the image distances are not changed once adjusted, the value of the target distance can be calculated by the above formula, assuming that the optimal object distance at which the eyes of the image are located is u1 in fig. 1, that is, the target distance, that is, the imaging size is s1, and when u1 is fixed, s1 is also a fixed value because the size of the eyes is a fixed value.
As shown in fig. 2, a prompt system for prompting a user of an optimal imaging distance according to the present invention includes:
the distance acquisition module is used for calculating and acquiring a first distance between human eyes and the camera through convex lens imaging and sending the first distance to the judgment module for judgment;
the judging module is used for calculating a difference value between the first distance and the target distance according to the first distance and sending the difference value to the prompting module;
and the prompting module is used for planning a path according to the difference value and prompting a user to move to an optimal position according to the planned path. As shown in fig. 1 and 4, the calculating and acquiring a first distance between a human eye and a camera by the distance acquiring module includes the following steps:
step S01, calculating an included angle formed by a light ray penetrating through the center of the lens of the camera at the edge of the human eye and a horizontal line;
step two S02, calculating the distance between the human eyes and the lens as u;
step three S03, calculating the distance between the sensor of the camera and the lens as v, and the original size of the human eyes as Sorig, and then calculating the first distance u2 between the human eyes and the camera as:
u2=v*tan(angle)=v*(Sorig/u)=Sorig*v/s2
wherein u2 is a first distance between a human eye and a camera, Sorig is an original size of the human eye, s2 is an imaging size of the human eye at the first distance, and v is a distance from a sensor to a lens.
The judgment module is realized by adopting the following method according to the difference value between the first distance and the target distance:
according to a first distance u2 between the human eyes and the camera, calculating the distance (u1-u2) that the mobile phone camera needs to move, wherein the formula is as follows:
Sorig*v/s2=(s1*u1/v)*v/s2=u1*s1/s2
u1-u2=Sorig*v/s1-Sorig*v/s2
wherein u1 is a target distance, u2 is a first distance between human eyes and a camera, Sorig is an original size of the human eyes, s1 is an imaging size of the human eyes at the target distance, s2 is the imaging size of the human eyes at the first distance, and v is a distance from a sensor to a lens.
The optimal position obtained by the prompt module is calculated by adopting the following formula:
u1*(1–s1/s2)。
as shown in fig. 3, a prompting method for prompting a user of an optimal imaging distance is characterized in that: the method comprises the following steps:
calculating and acquiring a first distance between human eyes and a camera through convex lens imaging;
calculating a difference value between the first distance and the target distance according to the first distance;
and planning a path according to the distance difference, and prompting the user to move to the optimal position according to the planned path.
As shown in fig. 1 and 4, the calculating and acquiring the first distance between the human eye and the camera includes the following steps:
step S01, calculating an included angle formed by a light ray penetrating through the center of the lens of the camera at the edge of the human eye and a horizontal line;
step two S02, calculating the distance between the human eyes and the lens as u;
step three S03, calculating the distance between the sensor of the camera and the lens as v, and the original size of the human eyes as Sorig, and then calculating the first distance u2 between the human eyes and the camera as:
u2=v*tan(angle)=v*(Sorig/u)=Sorig*v/s2
wherein u2 is a first distance between a human eye and a camera, Sorig is an original size of the human eye, s2 is an imaging size of the human eye at the first distance, and v is a distance from a sensor to a lens.
The judgment module is realized by adopting the following method according to the difference value between the first distance and the target distance:
according to a first distance u2 between the human eyes and the camera, calculating the distance (u1-u2) that the mobile phone camera needs to move, wherein the formula is as follows:
Sorig*v/s2=(s1*u1/v)*v/s2=u1*s1/s2
u1-u2=Sorig*v/s1-Sorig*v/s2
wherein u1 is a target distance, u2 is a first distance between human eyes and a camera, Sorig is an original size of the human eyes, s1 is an imaging size of the human eyes at the target distance, s2 is the imaging size of the human eyes at the first distance, and v is a distance from a sensor to a lens.
The optimal position obtained by the prompt module is calculated by adopting the following formula:
u1*(1–s1/s2)。
the method of the present invention is described below in conjunction with a system;
the distance judgment module obtains a first distance between human eyes and the camera through convex lens imaging calculation and sends the iang first distance to the judgment module;
the judging module calculates a difference value between the first distance and the target distance according to the first distance and sends the difference value to the prompting module;
and the prompting module is used for planning a path according to the difference value and prompting the user to move to the optimal position according to the planned path.
The prompt module prompts through a prompt box in a display screen of the mobile terminal.
The invention also provides a mobile phone which comprises the prompt system for prompting the user of the optimal imaging distance, and the description is omitted here.
While the invention has been shown and described with reference to certain embodiments, those skilled in the art will understand that: various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims and their equivalents.

Claims (3)

1. A prompt system for prompting a user for an optimal imaging distance, comprising: this reminder system includes:
the distance acquisition module is used for calculating and acquiring a first distance between human eyes and the camera through convex lens imaging and sending the first distance to the judgment module for judgment;
the judging module is used for calculating a difference value between the first distance and the target distance according to the first distance and sending the difference value to the prompting module;
a prompting module for planning the path according to the difference value, prompting the user to move to the optimal position according to the planned path,
the distance acquisition module calculates and acquires a first distance between human eyes and the camera, and comprises the following steps: step S01, calculating an included angle formed by a light ray penetrating through the center of the lens of the camera at the edge of the human eye and a horizontal line; step two S02, calculating the distance between the human eyes and the lens as u; step three S03, calculating the distance between the sensor of the camera and the lens as v, and the original size of the human eyes as Sorig, and then calculating the first distance u2 between the human eyes and the camera as: u2 (v tan) (angle) v (Sorig/u) (Sorig v/s 2), where u2 is the first distance between the human eye and the camera, Sorig is the original size of the human eye, s2 is the size of the image of the human eye at the first distance, v is the distance from the sensor to the lens,
the judgment module is realized by adopting the following method according to the difference value between the first distance and the target distance: according to a first distance u2 between the human eyes and the camera, calculating the distance (u1-u2) that the mobile phone camera needs to move, wherein the formula is as follows: sorig × v/s2 (s1 × u1/v) × v/s2 (u1 × s1/s2), u1-u2 (Sorig × v/s1-Sorig × v/s2, where u1 is the target distance, u2 is the first distance between the human eye and the camera, Sorig is the original size of the human eye, s1 is the size of the image of the human eye at the target distance, s2 is the size of the image of the human eye at the first distance, v is the distance from the sensor to the lens,
the optimal position obtained by the prompt module is calculated by adopting the following formula: u1 (1-s 1/s 2).
2. A prompting method for prompting a user of an optimal imaging distance is characterized by comprising the following steps: the method comprises the following steps:
calculating and acquiring a first distance between human eyes and a camera through convex lens imaging;
calculating a difference value between the first distance and the target distance according to the first distance;
planning a path according to the distance difference, prompting a user to move a lens to an optimal position according to the planned path,
the step of calculating and acquiring the first distance between the human eyes and the camera comprises the following steps: step S01, calculating an included angle formed by a light ray penetrating through the center of the lens of the camera at the edge of the human eye and a horizontal line; step two S02, calculating the distance between the human eyes and the lens as u; step three S03, calculating the distance between the sensor of the camera and the lens as v, and the original size of the human eyes as Sorig, and then calculating the first distance u2 between the human eyes and the camera as: u2 (v tan) (angle) v (Sorig/u) (Sorig v/s 2), where u2 is the first distance between the human eye and the camera, Sorig is the original size of the human eye, s2 is the size of the image of the human eye at the first distance, v is the distance from the sensor to the lens,
the judgment module is realized by adopting the following method according to the difference value between the first distance and the target distance: according to a first distance u2 between the human eyes and the camera, calculating the distance (u1-u2) that the mobile phone camera needs to move, wherein the formula is as follows: sorig × v/s2 (s1 × u1/v) × v/s2 (u1 × s1/s2), u1-u2 (Sorig × v/s1-Sorig × v/s2, where u1 is the target distance, u2 is the first distance between the human eye and the camera, Sorig is the original size of the human eye, s1 is the size of the image of the human eye at the target distance, s2 is the size of the image of the human eye at the first distance, v is the distance from the sensor to the lens,
the optimal position obtained by the prompt module is calculated by adopting the following formula: u1 (1-s 1/s 2).
3. A mobile phone, characterized in that: a prompting system including the system of claim 1 for prompting a user for an optimal imaging distance.
CN201710003374.2A 2017-01-04 2017-01-04 Prompting system and method for prompting user of optimal imaging distance and mobile phone Active CN106791425B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710003374.2A CN106791425B (en) 2017-01-04 2017-01-04 Prompting system and method for prompting user of optimal imaging distance and mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710003374.2A CN106791425B (en) 2017-01-04 2017-01-04 Prompting system and method for prompting user of optimal imaging distance and mobile phone

Publications (2)

Publication Number Publication Date
CN106791425A CN106791425A (en) 2017-05-31
CN106791425B true CN106791425B (en) 2020-04-10

Family

ID=58949792

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710003374.2A Active CN106791425B (en) 2017-01-04 2017-01-04 Prompting system and method for prompting user of optimal imaging distance and mobile phone

Country Status (1)

Country Link
CN (1) CN106791425B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109451237B (en) * 2018-11-13 2020-11-03 信利光电股份有限公司 AA focusing method and device for camera module

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104506773A (en) * 2014-12-22 2015-04-08 天津市亚安科技股份有限公司 Camera automatic zoom control method based on human eye distance
CN105554384A (en) * 2015-12-17 2016-05-04 上海青橙实业有限公司 Wearable apparatus and shooting method
CN105787435A (en) * 2016-02-03 2016-07-20 北京天诚盛业科技有限公司 Indication method and apparatus for iris acquisition

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015228543A (en) * 2014-05-30 2015-12-17 株式会社東芝 Electronic apparatus and display processing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104506773A (en) * 2014-12-22 2015-04-08 天津市亚安科技股份有限公司 Camera automatic zoom control method based on human eye distance
CN105554384A (en) * 2015-12-17 2016-05-04 上海青橙实业有限公司 Wearable apparatus and shooting method
CN105787435A (en) * 2016-02-03 2016-07-20 北京天诚盛业科技有限公司 Indication method and apparatus for iris acquisition

Also Published As

Publication number Publication date
CN106791425A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
EP3248374B1 (en) Method and apparatus for multiple technology depth map acquisition and fusion
EP3389268B1 (en) Depth information acquisition method and apparatus, and image collection device
US10306165B2 (en) Image generating method and dual-lens device
CN109035309A (en) Pose method for registering between binocular camera and laser radar based on stereoscopic vision
CN108833795B (en) Focusing method and device of image acquisition equipment
KR20170056698A (en) Autofocus method, device and electronic apparatus
CN109429060B (en) Pupil distance measuring method, wearable eye equipment and storage medium
US8928584B2 (en) Display apparatus, display method, and storage medium
US10904512B2 (en) Combined stereoscopic and phase detection depth mapping in a dual aperture camera
JP2024504027A (en) Pose estimation method and related device
CN103247020A (en) Fisheye image spread method based on radial characteristics
CN109409147A (en) A kind of bar code recognition and device
WO2017187694A1 (en) Region of interest image generating device
US20130329019A1 (en) Image processing apparatus that estimates distance information, method of controlling the same, and storage medium
CN110830707A (en) Lens control method and device and terminal
CN106859652A (en) A kind of Human Height measuring method
CN106846395B (en) Method and system for calculating area of target graph in photo
CN106791425B (en) Prompting system and method for prompting user of optimal imaging distance and mobile phone
CN110136203B (en) Calibration method and calibration system of TOF equipment
CN106558078B (en) A kind of binocular stereo vision video camera and its image capture method
CN105787435A (en) Indication method and apparatus for iris acquisition
EP3154256B1 (en) Automatic photographing method, apparatus and terminal
CN103139477A (en) Three-dimensional (3D) camera and method of stereo image obtaining
CN116405653A (en) Real-time naked eye 3D image processing method, system, equipment and medium
JP2013162348A (en) Imaging apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230915

Address after: Room 501, 85 Xiaguang Dongli, Haicang District, Xiamen City, Fujian Province, 361000

Patentee after: Xiamen reliable intellectual property service Co.,Ltd.

Address before: 518057 16th floor, block B, TCL building, South 1st Road, Gaoxin, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: JRD COMMUNICATION (SHENZHEN) Ltd.