CN109745014B - Temperature measurement method and related product - Google Patents

Temperature measurement method and related product Download PDF

Info

Publication number
CN109745014B
CN109745014B CN201910031002.XA CN201910031002A CN109745014B CN 109745014 B CN109745014 B CN 109745014B CN 201910031002 A CN201910031002 A CN 201910031002A CN 109745014 B CN109745014 B CN 109745014B
Authority
CN
China
Prior art keywords
determining
point
measured
camera
image
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
CN201910031002.XA
Other languages
Chinese (zh)
Other versions
CN109745014A (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.)
Jiangsu Yuntian Lifei Technology Co ltd
Original Assignee
Jiangsu Yuntian Lifei Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangsu Yuntian Lifei Technology Co ltd filed Critical Jiangsu Yuntian Lifei Technology Co ltd
Publication of CN109745014A publication Critical patent/CN109745014A/en
Application granted granted Critical
Publication of CN109745014B publication Critical patent/CN109745014B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the application discloses a temperature measuring method and a related product, which are applied to electronic equipment, wherein the electronic equipment comprises a camera, a display screen, a point temperature instrument sensor and a distance sensor; the method comprises the following steps: the electronic equipment detects that the person to be measured starts to measure, and the camera is used for collecting images to obtain image information; determining a face image according to the image information; determining a point to be measured according to the face image; determining the rotation direction and the rotation angle of the point thermometer sensor according to the point to be measured, and rotating the point thermometer sensor according to the rotation direction and the rotation angle; and determining that the point temperature instrument sensor rotates in place, measuring the temperature of the measured person, and displaying the temperature measurement result on the display screen. The embodiment of the application provides a temperature measuring method, and by the method, the forehead temperature of a person to be measured can be acquired more quickly and accurately, and the body temperature condition of the person to be measured can be reflected quickly and efficiently.

Description

Temperature measurement method and related product
Technical Field
The application relates to the technical field of electronic equipment, in particular to a temperature measuring method and a related product.
Background
Body temperature is an important physiological index of a human body, body temperature measurement is a common quick health diagnosis means in public places, and body temperature monitoring on specific people and body temperature early warning on abnormal people are important means for preventing epidemic situations in a plurality of scenes. For example, in crowded places, airports, train stations, classrooms, movie theaters and the like, it is very important to detect the body temperature. At present, the mainstream realization method is to use the infrared thermal induction principle, and the reading can be completed by aligning the handheld device of the operator with the forehead of the person to be measured for a certain time. The method has the disadvantages that the testing accuracy is highly dependent on the capability of an operator, and the phenomena of irregular temperature acquisition intervals and forgetting to acquire and miss to acquire frequently occur when the body temperature is measured in an artificial way, so that the change of the state of illness of a patient cannot be mastered in time, and adverse results are caused; not only needs human participation, but also needs posture active coordination for a measurement object, is quite unchanged in use and low in efficiency, and how to improve the efficiency and accuracy of temperature measurement is one of the problems needing to be solved at present.
Disclosure of Invention
The embodiment of the application provides a temperature measurement method and a related product, so that the high efficiency and convenience of temperature measurement are expected to be improved.
In a first aspect, an embodiment of the present application provides a temperature measurement method, which is applied to an electronic device, where the electronic device includes a camera, a display screen, a thermometer sensor, and a distance sensor; the method comprises the following steps:
detecting that a person to be measured starts to measure, and acquiring an image through the camera to obtain image information;
determining a face image according to the image information;
determining a point to be measured according to the face image;
determining the rotation direction and the rotation angle of the point thermometer sensor according to the point to be measured, and rotating the point thermometer sensor according to the rotation direction and the rotation angle;
and determining that the thermometer sensor rotates in place, measuring the temperature of the measured personnel, and displaying the temperature measurement result on the display screen.
In a second aspect, an embodiment of the present application provides a temperature measurement device, which is applied to an electronic device, where the electronic device includes a camera, a display screen, a thermometer sensor, and a distance sensor; the temperature measuring device comprises a processing unit and a communication unit, wherein,
the processing unit is used for detecting that a person to be detected starts to measure, acquiring images through the camera and acquiring image information; the face image is determined according to the image information; the human face image processing device is used for determining a point to be measured according to the human face image; the system comprises a point temperature instrument sensor, a control unit and a control unit, wherein the point temperature instrument sensor is used for measuring a point to be measured; and the temperature measuring device is used for determining that the thermometer sensor rotates in place, measuring the temperature of the measured personnel and displaying the temperature measuring result on the display screen through the communication unit.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing steps in any method of the first aspect of the embodiment of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps described in any one of the methods in the second aspect of the present application.
In a fifth aspect, the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps described in any one of the methods of the second aspect of the present application. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the application, the electronic device detects that the person to be measured starts to measure, and the camera acquires an image to obtain image information; determining a face image according to the image information; determining a point to be measured according to the face image; determining the rotation direction and the rotation angle of the point thermometer sensor according to the point to be measured, and rotating the point thermometer sensor according to the rotation direction and the rotation angle; and determining that the thermometer sensor rotates in place, measuring the temperature of the measured personnel, and displaying the temperature measurement result on the display screen. By the method, the camera of the electronic equipment acquires images, acquires image information, identifies human faces, determines a point to be measured of a measured person, and rotates the point thermometer sensor according to the rotation direction and the rotation angle by determining the rotation direction and the rotation angle of the point thermometer sensor, so that the accuracy and the convenience of temperature measurement are improved; the measuring method is combined with face detection, the point thermometer sensor capable of being automatically adjusted is integrated in the electronic equipment, the angle of the point thermometer sensor needing to rotate is obtained by calculating the rotation angle with the aid of the integrated distance sensor during face detection, the point thermometer sensor is rotated and the temperature is measured, the forehead temperature of a person to be measured can be rapidly and accurately obtained, and the body temperature condition of the person to be measured can be rapidly and efficiently reflected.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1a is a schematic flow chart of a temperature measurement method provided in an embodiment of the present application;
FIG. 1b is a schematic diagram illustrating a principle of rotational positioning of a thermometer sensor according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart of another temperature measurement method provided in the embodiments of the present application;
FIG. 3 is a schematic flow chart of another temperature measurement method provided by the embodiments of the present application;
fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 5 is a block diagram of functional units of a temperature measuring device according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The electronic device related to the embodiment of the present application may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, which are applied to systems such as an access control system and a gate and have functions of face recognition and temperature measurement, and various forms of User Equipment (UE), a Mobile Station (MS), a terminal device (terminal device), and the like. The electronic equipment comprises a camera, a display screen, a point temperature instrument sensor and a distance sensor.
The following describes embodiments of the present application in detail.
Referring to fig. 1a, fig. 1a is a schematic flow chart of a temperature measurement method provided in an embodiment of the present application, and is applied to an electronic device, where the electronic device includes a camera, a display screen, a thermometer sensor, and a distance sensor; the method comprises the following steps:
s101, the electronic equipment detects that a person to be measured starts to measure, and image acquisition is carried out through the camera to obtain image information;
the image information comprises the whole image shot by the camera, namely the background of the person to be measured and the person to be measured;
s102, the electronic equipment determines a face image according to the image information;
the face image comprises face information of the detected person;
s103, the electronic equipment determines a point to be measured according to the face image;
the point to be measured comprises a forehead position positioning point;
s104, the electronic equipment determines the rotation direction and the rotation angle of the point thermometer sensor according to the point to be measured, and rotates the point thermometer sensor according to the rotation direction and the rotation angle;
wherein the direction of rotation includes, but is not limited to, upward rotation and downward rotation;
s105, the electronic equipment determines that the thermometer sensor rotates in place, measures the temperature of the measured person, and displays the temperature measurement result on the display screen.
It can be seen that, in the embodiment of the application, the electronic device detects that the person to be measured starts to measure, and the camera acquires an image to obtain image information; determining a face image according to the image information; determining a point to be measured according to the face image; determining the rotation direction and the rotation angle of the point thermometer sensor according to the point to be measured, and rotating the point thermometer sensor according to the rotation direction and the rotation angle; and determining that the thermometer sensor rotates in place, measuring the temperature of the measured personnel, and displaying the temperature measurement result on the display screen. By the method, the camera of the electronic equipment acquires images, acquires image information, identifies human faces, determines a point to be measured of a measured person, and rotates the point thermometer sensor according to the rotation direction and the rotation angle by determining the rotation direction and the rotation angle of the point thermometer sensor, so that the accuracy and the convenience of temperature measurement are improved; the measuring method is combined with face detection, the point thermometer sensor capable of being automatically adjusted is integrated in the electronic equipment, the angle of the point thermometer sensor needing to rotate is obtained by calculating the rotation angle with the aid of the integrated distance sensor during face detection, the point thermometer sensor is rotated and the temperature is measured, the forehead temperature of a person to be measured can be rapidly and accurately obtained, and the body temperature condition of the person to be measured can be rapidly and efficiently reflected.
In one possible example, the determining a point to be measured according to the face image includes: the electronic equipment determines the highest point of the first eyebrow and the highest point of the second eyebrow according to the face image; and the electronic equipment determines a point to be measured according to the midpoint position of the connecting line of the highest point of the first eyebrow and the highest point of the second eyebrow.
The highest point of the first eyebrow comprises the highest point of the first eyebrow positioned by the person to be detected for face recognition.
And the highest point of the second eyebrow comprises the highest point of the second eyebrow positioned by the detected person for face recognition.
In the specific implementation, the electronic equipment determines the left eyebrow position and the right eyebrow position of the detected person according to the face image, further determines the highest point M of the left eyebrow position and the highest point N of the right eyebrow position of the detected person, determines the midpoint position X of a connecting line of the M and the N, and determines that the point to be detected is X.
In the example, after the eyebrow position of the detected person is detected, the highest point of the first eyebrow and the highest point of the second eyebrow are determined according to the eyebrow position of the detected person, and the point to be measured is accurately positioned through the determined highest point of the first eyebrow and the determined highest point of the second eyebrow, so that the accuracy of determining the point to be measured is improved, the eyebrow position is identified conveniently and quickly, the general rule of distribution of the face part of a human body is met, and the high efficiency and the accuracy of measuring the temperature by the subsequent method are improved.
In a possible example, the determining a point to be measured according to the face image includes: the electronic equipment determines the eye position of the face image according to the face image; the electronic equipment determines an eye central point according to the eye position; the electronic equipment determines the highest point of the face image according to the face image; and the electronic equipment determines a point to be measured according to the eye central point and the highest point of the face.
The highest point of the face comprises the highest point of the face information of the face image obtained after the face identification is carried out on the image information.
In the specific implementation, when the eyebrow part of the person to be detected is shielded by bang or other objects, the eyebrow part of the person to be detected cannot be accurately determined, at this time, the electronic device determines the eye position of the face image according to the face image to obtain an eye central point N, obtains a highest point M of the face according to the face image, and determines a midpoint X of a connecting line of the M and the N, namely the point X to be detected.
As can be seen, in this example, considering that when the eyebrow portion of the person to be detected is blocked by bang or other objects, the eyebrow portion of the person to be detected cannot be accurately determined, at this time, the electronic device determines the eye position of the face image according to the face image, and further determines the eye center point, and since the eye position is in face recognition, as long as the eye position is not blocked, it can be determined more accurately and conveniently; determining the highest point of the face image according to the face image; and finally, determining the point to be measured according to the eye central point and the highest point of the face, wherein the method considers the condition that the electronic equipment cannot accurately position the eyebrow part of the person to be measured, is favorable for improving the accuracy and comprehensiveness of determining the point to be measured according to the face image, and is favorable for improving the high efficiency and accuracy of measuring the temperature by a subsequent method.
In one possible example, the determining a point to be measured according to the face image includes: the electronic equipment determines the center point of the nose tip part of the face image according to the face image; the electronic equipment determines the lowest point of the face image according to the face image; the electronic equipment determines the half height of the face image according to the center point of the nose tip part and the lowest point of the face; and the electronic equipment vertically extends upwards by taking the face central point as a starting point according to the face central point and the half height, extends a first length threshold value and determines the extended end point position as a point to be measured.
Wherein the first length threshold comprises greater than or equal to one-half of the half height and less than or equal to two-thirds of the half height.
In the specific implementation, when the eye part of the detected person is shielded by bang, a cap or other objects and the highest point of the face of the detected person cannot be accurately determined, the electronic equipment determines the nose tip part central point N of the face image according to the face image, and then determines the lowest point M of the face according to the face image; the electronic equipment determines the half height h of the face image according to the N and the M; the electronic equipment vertically extends upwards for 1/2h by taking N as a starting point according to N and h1, and determines the extended end point position X as a determined point X to be measured.
In this example, it can be seen that, when the eye part of the person to be tested is covered by bang, hat or other objects, and when the highest point of the face of the tested person can not be accurately determined, the electronic equipment determines the central point of the nose tip part according to the face image, simultaneously determining the lowest point of the face image, further determining the half height of the face image, according to the face central point and the half height, the face central point is used as a starting point to vertically extend upwards, a first length threshold value is extended, the extended end point position is determined as a point to be measured, the fact that the eye part of a person to be measured is shielded by bang, a hat or other articles is fully considered, the condition of the highest point of the face of the tested person cannot be accurately determined, the comprehensiveness and diversity of the method for determining the point to be tested of the tested person are improved, and the method is favorable for improving the accuracy of the temperature measurement of the subsequent method.
In one possible example, the determining, according to the point to be measured, a rotation direction and a rotation angle of the thermometer sensor, and rotating the thermometer sensor includes: the electronic equipment determines the ratio information of the real object and the image according to the image information and the position information of the detected person; the electronic equipment determines the real vertical height from the point to be measured to the camera according to the image information, the position information of the person to be measured and the proportion information; the electronic equipment determines the rotation angle of the thermometer sensor according to the image information and the real vertical height; the electronic device determines the rotation direction and the rotation angle of the thermometer sensor according to the rotation angle of the thermometer sensor, and rotates the thermometer sensor.
The position information of the person to be measured comprises the distance between the person to be measured and the camera which is determined by the distance sensor.
Wherein the rotation angle of the thermometer sensor comprises a positive sign when the true vertical height is less than the vertical distance between the thermometer sensor and the camera; and when the real vertical height is greater than the vertical distance between the thermometer sensor and the camera, the rotation angle of the thermometer sensor is a negative sign.
In specific implementation, fig. 1b is a schematic diagram illustrating a principle of rotation positioning of a thermometer sensor, as shown in fig. 1b, an electronic device determines that, according to the image information and the position information of the person to be measured, the ratio information of a real object to an image is n, the true vertical height H2 from a point X to be measured to the camera is determined, and the rotation angle θ of the thermometer sensor is determined according to the image information and the true vertical height H2; and A, according to the rotation angle theta of the point temperature instrument sensor, determining that the rotation direction of the point temperature instrument sensor is downwards rotated and the rotation angle is 3 degrees, and rotating the point temperature instrument sensor.
In this example, the electronic device determines the ratio information of the real object and the image according to the image information and the position information of the person to be measured, further determines the real vertical height from the point to be measured to the camera, determines the rotation direction and the rotation angle of the thermometer sensor, and rotates the thermometer sensor; the real vertical height from the point to be measured to the camera is determined by introducing the proportion information of the object and the image, the relation between the image pixel and the real distance is conveniently converted, the direction and the angle of the point thermometer sensor which need to rotate are obtained through the geometric relation and mathematical operation, the direction and the angle of the point thermometer sensor which need to rotate are accurately determined, and the point thermometer rotator is rotated, so that the body temperature condition of the person to be measured can be conveniently measured.
In one possible example, the determining, according to the image information and the position information of the person to be detected, ratio information of a real object to an image includes: the electronic equipment determines the face distance from the face plane of the person to be detected to the camera according to the position information of the person to be detected and the position information of the camera; the electronic equipment determines the real height of an image acquired by the camera according to a half of the camera angle of view and the face distance of the camera, and determines that the half of the real height is half of the real height; the electronic equipment determines half of the image height of the image information according to the image information; and the electronic equipment determines the proportion information of the real object and the image according to the half real height and the half image height.
Wherein the half true height comprises half of the true height, with a measurement unit including, but not limited to, millimeters or centimeters.
Wherein the half image height comprises half of the image height, which metric includes, but is not limited to, pixels.
In a specific implementation, fig. 1B is a schematic diagram illustrating a principle of rotation positioning of a thermometer sensor, as shown in fig. 1B, an electronic device determines a face distance d from a face plane of a person to be measured to a camera according to position information of the person to be measured B and position information of the camera; a, according to a half of camera shooting field angle alpha of the camera and the face distance d, determining the real height H of the image collected by the camera according to the geometric relation3
Figure BDA0001944233040000081
Determining half the length of the true height to be half the true height
Figure BDA0001944233040000082
Determining half the image height h of the image information3(ii) a The electronic equipment determines the proportion information of the real object and the image according to the half of the real height and the half of the image height
Figure BDA0001944233040000083
In this example, the electronic device determines the ratio information of the real object and the image according to the half real height and the half image height, introduces the ratio information, avoids the difference between the image unit and the real object unit, and performs ingenious conversion to prepare for further determining the rotation direction and the rotation angle of the thermometer sensor.
In one possible example, the determining the true vertical height from the point to be measured to the camera according to the image information, the position information of the person to be measured and the scale information includes: the electronic equipment determines the vertical height of the point to be measured from the center of the image according to the position information of the point to be measured and the camera; and the electronic equipment determines the real vertical height from the point to be measured to the camera according to the proportion information and the vertical height.
Wherein the electronic equipment determines the real vertical height from the point to be measured to the camera according to the proportion information and the vertical height,
Figure BDA0001944233040000084
H2represents the true vertical height, h2And the vertical height is represented, alpha represents a half of the camera angle of view, and d represents the face distance.
In specific implementation, fig. 1b is a schematic diagram of a principle of rotation positioning of a point thermometer sensor, and as shown in fig. 1b, an electronic device determines a vertical height h of a point X to be measured from a center of an image in the image according to position information of the point X to be measured and the camera2Root of Chinese characterAccording to the proportion information n and the vertical height h2Is known to
Figure BDA0001944233040000091
Determining the real vertical height from the point to be measured to the camera
Figure BDA0001944233040000092
Figure BDA0001944233040000093
In this example, the electronic device determines the vertical height of the point to be measured from the center of the image in the image according to the position information of the point to be measured and the camera, and further determines the real vertical height from the point to be measured to the camera; by the method, the real vertical height of the camera is skillfully calculated through a mathematical formula, so that the real vertical height from the point to be measured to the camera is further determined, and the temperature of the person to be measured is more conveniently tested.
In one possible example, the determining a rotation angle of the clickthroscope sensor from the image information and the true vertical height comprises: the electronic equipment determines the face distance from the face plane of the person to be detected to the camera according to the position information of the person to be detected and the position information of the camera; the electronic equipment determines the vertical distance between the thermometer sensor and the camera according to the position information of the thermometer sensor and the position information of the camera; and the electronic equipment determines the rotation angle of the thermometer sensor according to the face distance, the vertical distance and the real vertical height.
Wherein the rotation angle of the thermometer sensor includes a sign and a magnitude of the rotation angle.
Wherein the rotation angle θ includes a magnitude of the rotation angle θ being sufficiently small, θ ≈ tan θ.
In specific implementation, fig. 1b is a schematic diagram illustrating a principle of rotation positioning of a point thermometer sensor, as shown in fig. 1b, an electronic deviceDetermining the face distance d from the face plane of the detected person to the camera according to the position information of the detected person and the position information of the camera; according to the position information of the thermometer sensor and the position information of the camera, determining the vertical distance h between the thermometer sensor and the camera1(ii) a The electronic equipment is used for processing the face distance d and the vertical distance h1The true vertical height is known from the above method of the tool
Figure BDA0001944233040000094
Wherein h is2The vertical height is represented, and alpha represents a half of the camera angle of view of the camera; determining a rotation angle of the clickthroscope sensor
Figure BDA0001944233040000095
In this example, the electronic device determines the face distance from the face plane of the person to be measured to the camera according to the position information of the person to be measured and the position information of the camera, and further determines the vertical distance between the thermometer sensor and the camera, so as to finally determine the rotation angle of the thermometer sensor; through the geometry principle, calculate the rotation angle, confirm the direction of rotation and the rotation angle of some temperature appearance sensor, rotate according to direction of rotation and rotation angle some temperature appearance sensor is favorable to carrying out temperature measurement to the personnel of being surveyed more accurately high-efficiently.
In one possible example, the determining a rotation direction and a rotation angle of the clicthermometer sensor according to a rotation angle of the clicthermometer sensor, the rotating the clicthermometer sensor, includes: the electronic equipment determines the rotation direction of the thermometer sensor according to the positive and negative signs of the rotation angle; when the positive and negative signs of the acquired rotation angle are positive signs, the electronic equipment determines that the rotation direction of the thermometer sensor is upward rotation; when the acquired positive and negative signs of the rotation angle are negative signs, the electronic equipment determines that the rotation direction of the thermometer sensor is downward rotation; the electronic equipment determines the rotation angle of the thermometer sensor according to the numerical value of the rotation angle; and the electronic equipment rotates the point temperature instrument sensor according to the determined rotation direction and the determined rotation angle.
Wherein the rotation angle of the clicthermometer sensor includes a magnitude of a numerical value of the rotation angle of the clicthermometer sensor and a sign of the rotation angle of the clicthermometer sensor.
In a specific implementation, the electronic device a obtains the rotation angle θ, fig. 1b is a schematic diagram illustrating a principle of rotation positioning of the thermometer sensor, as shown in fig. 1b,
Figure BDA0001944233040000101
if theta is obtained to be 2, the positive sign and the negative sign of theta are positive signs, and the rotation direction of the thermometer sensor is determined to be upward rotation; determining the rotation angle of the point thermometer sensor to be 2 degrees according to the numerical value 2 of the rotation angle; it is determined that the cliche sensor is rotated 2 ° upward.
Therefore, in this example, the electronic device determines the rotation direction and the rotation angle of the thermometer sensor according to the rotation angle of the thermometer sensor, and rotates the thermometer sensor, so that the accuracy and the convenience of temperature measurement can be improved, and the body temperature condition of the measured person can be reflected quickly and efficiently.
In one possible example, after determining that the thermometer sensor is rotated into position, performing temperature measurement on the person to be measured, and displaying the temperature measurement result on the display screen, the method further includes: the electronic equipment judges whether the body temperature abnormal condition exists in the tested person according to the temperature measurement result displayed on the display screen; and when the electronic equipment judges that the body temperature abnormal condition of the detected person exists, early warning is carried out.
Wherein the abnormal body temperature condition comprises that the body temperature of the tested person is less than 36 degrees or more than 37.5 degrees.
In the specific implementation, the temperature measurement result displayed on the display screen is 35 degrees and less than 36 degrees, the abnormal body temperature condition of the tested person is judged, and early warning is carried out.
Referring to fig. 2, fig. 2 is a schematic flow chart of a temperature measurement method provided in an embodiment of the present application, and the method is applied to an electronic device, where the electronic device includes a camera, a display screen, a thermometer sensor, and a distance sensor; as shown in the figure, the temperature measuring method includes:
s201, the electronic equipment detects that a person to be measured starts to measure, and image acquisition is carried out through the camera to obtain image information;
s202, the electronic equipment determines a face image according to the image information;
s203, the electronic equipment determines the center point of the nose tip part of the face image according to the face image;
s204, the electronic equipment determines the lowest point of the face image according to the face image;
s205, the electronic equipment determines the half height of the face image according to the center point of the nose tip part and the lowest point of the face;
s206, the electronic equipment vertically extends upwards by taking the face central point as a starting point according to the face central point and the half height, extends a first length threshold value and determines the extended end point position as a point to be measured;
s207, the electronic equipment determines the rotation direction and the rotation angle of the point thermometer sensor according to the point to be measured, and rotates the point thermometer sensor according to the rotation direction and the rotation angle;
s208, the electronic equipment determines that the thermometer sensor rotates in place, measures the temperature of the measured person, and displays the temperature measurement result on the display screen.
It can be seen that, in the embodiment of the application, the electronic device detects that the person to be measured starts to measure, and the camera acquires an image to obtain image information; determining a face image according to the image information; determining a point to be measured according to the face image; determining the rotation direction and the rotation angle of the point thermometer sensor according to the point to be measured, and rotating the point thermometer sensor according to the rotation direction and the rotation angle; and determining that the thermometer sensor rotates in place, measuring the temperature of the measured personnel, and displaying the temperature measurement result on the display screen. By the method, the camera of the electronic equipment acquires images, acquires image information, identifies human faces, determines a point to be measured of a measured person, and rotates the point thermometer sensor according to the rotation direction and the rotation angle by determining the rotation direction and the rotation angle of the point thermometer sensor, so that the accuracy and the convenience of temperature measurement are improved; the measuring method is combined with face detection, the point thermometer sensor capable of being automatically adjusted is integrated in the electronic equipment, the angle of the point thermometer sensor needing to rotate is obtained by calculating the rotation angle with the aid of the integrated distance sensor during face detection, the point thermometer sensor is rotated and the temperature is measured, the forehead temperature of a person to be measured can be rapidly and accurately obtained, and the body temperature condition of the person to be measured can be rapidly and efficiently reflected.
In addition, in the present example, when the eye part of the person to be tested is covered by bang, hat or other objects, and when the highest point of the face of the tested person can not be accurately determined, the electronic equipment determines the central point of the nose tip part according to the face image, simultaneously determining the lowest point of the face image, further determining the half height of the face image, according to the face central point and the half height, the face central point is used as a starting point to vertically extend upwards, a first length threshold value is extended, the extended end point position is determined as a point to be measured, the fact that the eye part of a person to be measured is shielded by bang, a hat or other articles is fully considered, the condition of the highest point of the face of the tested person cannot be accurately determined, the comprehensiveness and diversity of the method for determining the point to be tested of the tested person are improved, and the method is favorable for improving the accuracy of the temperature measurement of the subsequent method.
Referring to fig. 3, fig. 3 is a schematic flow chart of a temperature measurement method provided in an embodiment of the present application, and the method is applied to an electronic device, where the electronic device includes a camera, a display screen, a thermometer sensor, and a distance sensor; as shown in the figure, the temperature measuring method includes:
s301, the electronic equipment detects that the person to be measured starts to measure, and image acquisition is carried out through the camera to obtain image information;
s302, the electronic equipment determines a face image according to the image information;
s303, the electronic equipment determines a point to be measured according to the face image;
s304, the electronic equipment determines the proportion information of the real object and the image according to the image information and the position information of the detected person;
s305, the electronic equipment determines the real vertical height from the point to be measured to the camera according to the image information, the position information of the person to be measured and the proportion information;
s306, the electronic equipment determines the rotation angle of the thermometer sensor according to the image information and the real vertical height;
s307, the electronic equipment determines the rotation direction and the rotation angle of the thermometer sensor according to the rotation angle of the thermometer sensor, and rotates the thermometer sensor;
s308, the electronic equipment determines that the thermometer sensor rotates in place, measures the temperature of the person to be measured, and displays the temperature measurement result on the display screen.
It can be seen that, in the embodiment of the application, the electronic device detects that the person to be measured starts to measure, and the camera acquires an image to obtain image information; determining a face image according to the image information; determining a point to be measured according to the face image; determining the rotation direction and the rotation angle of the point thermometer sensor according to the point to be measured, and rotating the point thermometer sensor according to the rotation direction and the rotation angle; and determining that the thermometer sensor rotates in place, measuring the temperature of the measured personnel, and displaying the temperature measurement result on the display screen. By the method, the camera of the electronic equipment acquires images, acquires image information, identifies human faces, determines a point to be measured of a measured person, and rotates the point thermometer sensor according to the rotation direction and the rotation angle by determining the rotation direction and the rotation angle of the point thermometer sensor, so that the accuracy and the convenience of temperature measurement are improved; the measuring method is combined with face detection, the point thermometer sensor capable of being automatically adjusted is integrated in the electronic equipment, the angle of the point thermometer sensor needing to rotate is obtained by calculating the rotation angle with the aid of the integrated distance sensor during face detection, the point thermometer sensor is rotated and the temperature is measured, the forehead temperature of a person to be measured can be rapidly and accurately obtained, and the body temperature condition of the person to be measured can be rapidly and efficiently reflected.
In addition, in the present example, the electronic device determines the ratio information of the real object and the image according to the image information and the position information of the person to be measured, further determines the true vertical height from the point to be measured to the camera, determines the rotation direction and the rotation angle of the thermometer sensor, and rotates the thermometer sensor; the real vertical height from the point to be measured to the camera is determined by introducing the proportion information of the object and the image, the relation between the image pixel and the real distance is conveniently converted, the direction and the angle of the point thermometer sensor which need to rotate are obtained through the geometric relation and mathematical operation, the direction and the angle of the point thermometer sensor which need to rotate are accurately determined, and the point thermometer rotator is rotated, so that the body temperature condition of the person to be measured can be conveniently measured.
Consistent with the embodiments shown in fig. 1a, fig. 2, and fig. 3, please refer to fig. 4, and fig. 4 is a schematic structural diagram of an electronic device 400 provided in an embodiment of the present application, as shown in the figure, the electronic device 400 includes an application processor 410, a memory 420, a communication interface 430, and one or more programs 421, where the one or more programs 421 are stored in the memory 420 and configured to be executed by the application processor 410, and the one or more programs 421 include instructions for performing the following steps;
detecting that a person to be measured starts to measure, and acquiring an image through the camera to obtain image information;
determining a face image according to the image information;
determining a point to be measured according to the face image;
determining the rotation direction and the rotation angle of the point thermometer sensor according to the point to be measured, and rotating the point thermometer sensor according to the rotation direction and the rotation angle;
and determining that the thermometer sensor rotates in place, measuring the temperature of the measured personnel, and displaying the temperature measurement result on the display screen.
It can be seen that, in the embodiment of the application, the electronic device detects that the person to be measured starts to measure, and the camera acquires an image to obtain image information; determining a face image according to the image information; determining a point to be measured according to the face image; determining the rotation direction and the rotation angle of the point thermometer sensor according to the point to be measured, and rotating the point thermometer sensor according to the rotation direction and the rotation angle; and determining that the thermometer sensor rotates in place, measuring the temperature of the measured personnel, and displaying the temperature measurement result on the display screen. By the method, the camera of the electronic equipment acquires images, acquires image information, identifies human faces, determines a point to be measured of a measured person, and rotates the point thermometer sensor according to the rotation direction and the rotation angle by determining the rotation direction and the rotation angle of the point thermometer sensor, so that the accuracy and the convenience of temperature measurement are improved; the measuring method is combined with face detection, the point thermometer sensor capable of being automatically adjusted is integrated in the electronic equipment, the angle of the point thermometer sensor needing to rotate is obtained by calculating the rotation angle with the aid of the integrated distance sensor during face detection, the point thermometer sensor is rotated and the temperature is measured, the forehead temperature of a person to be measured can be rapidly and accurately obtained, and the body temperature condition of the person to be measured can be rapidly and efficiently reflected.
In a possible example, the point to be measured is determined according to the face image, and the instructions in the program are specifically configured to perform the following operations: determining a first eyebrow highest point and a second eyebrow highest point according to the face image; and determining a point to be measured according to the midpoint position of the connecting line of the highest point of the first eyebrow and the highest point of the second eyebrow.
In a possible example, the point to be measured is determined according to the face image, and the instructions in the program are specifically configured to perform the following operations: determining the eye position of the face image according to the face image; determining an eye central point according to the eye position; determining the highest point of the face image according to the face image; and determining a point to be measured according to the eye central point and the highest point of the face.
In a possible example, the point to be measured is determined according to the face image, and the instructions in the program are specifically configured to perform the following operations: determining the center point of the nose tip part of the face image according to the face image; determining the lowest point of the face image according to the face image; determining the half height of the face image according to the center point of the nose tip part and the lowest point of the face; and according to the face central point and the half height, vertically and upwardly extending by taking the face central point as a starting point, extending by a first length threshold value, and determining the extended end point position as a point to be measured.
In a possible example, the method further includes determining a rotation direction and a rotation angle of the thermometer sensor according to the point to be measured, and rotating the thermometer sensor, where the instructions in the program are specifically configured to perform the following operations: determining the ratio information of the real object and the image according to the image information and the position information of the detected person; determining the real vertical height from the point to be measured to the camera according to the image information, the position information of the person to be measured and the proportion information; determining a rotation angle of the thermometer sensor according to the image information and the real vertical height; and determining the rotation direction and the rotation angle of the thermometer sensor according to the rotation angle of the thermometer sensor, and rotating the thermometer sensor.
In a possible example, the determining, according to the image information and the position information of the person under test, ratio information between a real object and an image is performed, and the instructions in the program are specifically configured to perform the following operations: determining the face distance from the face plane of the person to be detected to the camera according to the position information of the person to be detected and the position information of the camera; determining the real height of an image acquired by the camera according to a half of the camera angle of view and the face distance of the camera, and determining that the half of the length of the real height is half of the real height; determining half of the image height of the image information according to the image information; and determining the proportion information of the real object and the image according to the half of the real height and the half of the image height.
In a possible example, the true vertical height from the point to be measured to the camera is determined according to the image information, the position information of the person to be measured and the scale information, and the instructions in the program are specifically configured to perform the following operations: determining the vertical height of the point to be measured from the center of the image according to the position information of the point to be measured and the camera; and determining the real vertical height from the point to be measured to the camera according to the proportion information and the vertical height.
In one possible example, the determining of the rotation angle of the clickthroscope sensor from the image information and the true vertical height, the instructions in the program being specifically configured to: determining the face distance from the face plane of the person to be detected to the camera according to the position information of the person to be detected and the position information of the camera; determining the vertical distance between the thermometer sensor and the camera according to the position information of the thermometer sensor and the position information of the camera; and determining the rotation angle of the thermometer sensor according to the face distance, the vertical distance and the real vertical height.
In one possible example, the determining of the rotation direction and the rotation angle of the clicthermometer sensor from the rotation angle of the clicthermometer sensor, the rotating of the clicthermometer sensor, the instructions in the program being specifically configured to perform the following operations: determining the rotation direction of the thermometer sensor according to the positive and negative signs of the rotation angle; when the acquired positive and negative signs of the rotation angle are positive signs, determining that the rotation direction of the thermometer sensor is upward rotation; when the acquired positive and negative signs of the rotation angle are negative signs, determining that the rotation direction of the thermometer sensor is downward rotation; determining the rotation angle of the thermometer sensor according to the numerical value of the rotation angle; and rotating the thermometer sensor according to the determined rotating direction and the determined rotating angle.
In one possible example, after determining that the thermometer sensor is rotated into position, performing temperature measurement on the person to be measured, and displaying the temperature measurement result on the display screen, the method further includes the following specific instructions in the program: judging whether the body temperature of the person to be measured is abnormal or not according to the temperature measurement result displayed on the display screen; and when the detected person is judged to have abnormal body temperature, early warning is carried out.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 5 is a block diagram showing functional units of a temperature measuring device 500 according to an embodiment of the present application. The temperature measuring device 500 is applied to electronic equipment, and the electronic equipment comprises a camera, a display screen, a point temperature instrument sensor and a distance sensor; the temperature measuring device comprises a processing unit 501 and a communication unit 502, wherein,
the processing unit 501 is configured to detect that a person to be measured starts measuring, and acquire an image through the camera to obtain image information; the face image is determined according to the image information; the human face image processing device is used for determining a point to be measured according to the human face image; the system comprises a point temperature instrument sensor, a control unit and a control unit, wherein the point temperature instrument sensor is used for measuring a point to be measured; and the temperature measuring device is used for determining that the thermometer sensor rotates in place, measuring the temperature of the measured person, and displaying the temperature measurement result on the display screen through the communication unit 502.
It can be seen that, in the embodiment of the application, the electronic device detects that the person to be measured starts to measure, and the camera acquires an image to obtain image information; determining a face image according to the image information; determining a point to be measured according to the face image; determining the rotation direction and the rotation angle of the point thermometer sensor according to the point to be measured, and rotating the point thermometer sensor according to the rotation direction and the rotation angle; and determining that the thermometer sensor rotates in place, measuring the temperature of the measured personnel, and displaying the temperature measurement result on the display screen. By the method, the camera of the electronic equipment acquires images, acquires image information, identifies human faces, determines a point to be measured of a measured person, and rotates the point thermometer sensor according to the rotation direction and the rotation angle by determining the rotation direction and the rotation angle of the point thermometer sensor, so that the accuracy and the convenience of temperature measurement are improved; the measuring method is combined with face detection, the point thermometer sensor capable of being automatically adjusted is integrated in the electronic equipment, the angle of the point thermometer sensor needing to rotate is obtained by calculating the rotation angle with the aid of the integrated distance sensor during face detection, the point thermometer sensor is rotated and the temperature is measured, the forehead temperature of a person to be measured can be rapidly and accurately obtained, and the body temperature condition of the person to be measured can be rapidly and efficiently reflected.
In a possible example, the point to be measured is determined according to the face image, and the processing unit 501 is specifically configured to: determining a first eyebrow highest point and a second eyebrow highest point according to the face image; and determining a point to be measured according to the midpoint position of the connecting line of the highest point of the first eyebrow and the highest point of the second eyebrow.
In a possible example, the point to be measured is determined according to the face image, and the processing unit 501 is specifically configured to: determining the eye position of the face image according to the face image; determining an eye central point according to the eye position; determining the highest point of the face image according to the face image; and determining a point to be measured according to the eye central point and the highest point of the face.
In a possible example, the point to be measured is determined according to the face image, and the processing unit 501 is specifically configured to: determining the center point of the nose tip part of the face image according to the face image; determining the lowest point of the face image according to the face image; determining the half height of the face image according to the center point of the nose tip part and the lowest point of the face; and according to the face central point and the half height, vertically and upwardly extending by taking the face central point as a starting point, extending by a first length threshold value, and determining the extended end point position as a point to be measured.
In a possible example, the processing unit 501 is specifically configured to determine a rotation direction and a rotation angle of the thermometer sensor according to the point to be measured, and rotate the thermometer sensor, and is specifically configured to: determining the ratio information of the real object and the image according to the image information and the position information of the detected person; determining the real vertical height from the point to be measured to the camera according to the image information, the position information of the person to be measured and the proportion information; determining a rotation angle of the thermometer sensor according to the image information and the real vertical height; and determining the rotation direction and the rotation angle of the thermometer sensor according to the rotation angle of the thermometer sensor, and rotating the thermometer sensor.
In a possible example, the processing unit 501 is specifically configured to determine, according to the image information and the position information of the person to be detected, ratio information between a real object and an image, and is specifically configured to: determining the face distance from the face plane of the person to be detected to the camera according to the position information of the person to be detected and the position information of the camera; determining the real height of an image acquired by the camera according to a half of the camera angle of view and the face distance of the camera, and determining that the half of the length of the real height is half of the real height; determining half of the image height of the image information according to the image information; and determining the proportion information of the real object and the image according to the half of the real height and the half of the image height.
In a possible example, the real vertical height from the point to be measured to the camera is determined according to the image information, the position information of the person to be measured, and the ratio information, and the processing unit 501 is specifically configured to: determining the vertical height of the point to be measured from the center of the image according to the position information of the point to be measured and the camera; and determining the real vertical height from the point to be measured to the camera according to the proportion information and the vertical height.
In one possible example, said determining a rotation angle of said clicker sensor based on said image information and said true vertical height, said processing unit 501 is specifically configured to: determining the face distance from the face plane of the person to be detected to the camera according to the position information of the person to be detected and the position information of the camera; determining the vertical distance between the thermometer sensor and the camera according to the position information of the thermometer sensor and the position information of the camera; and determining the rotation angle of the thermometer sensor according to the face distance, the vertical distance and the real vertical height.
In one possible example, the processing unit 501 is specifically configured to determine a rotation direction and a rotation angle of the thermometer sensor according to the rotation angle of the thermometer sensor, and rotate the thermometer sensor: determining the rotation direction of the thermometer sensor according to the positive and negative signs of the rotation angle; when the acquired positive and negative signs of the rotation angle are positive signs, determining that the rotation direction of the thermometer sensor is upward rotation; when the acquired positive and negative signs of the rotation angle are negative signs, determining that the rotation direction of the thermometer sensor is downward rotation; determining the rotation angle of the thermometer sensor according to the numerical value of the rotation angle; and rotating the thermometer sensor according to the determined rotating direction and the determined rotating angle.
In a possible example, after determining that the thermometer sensor is rotated in place, performing temperature measurement on the person to be measured, and displaying the temperature measurement result on the display screen, the method further includes the processing unit 501 specifically configured to: judging whether the body temperature of the person to be measured is abnormal or not according to the temperature measurement result displayed on the display screen; and when the detected person is judged to have abnormal body temperature, early warning is carried out.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (7)

1. The temperature measuring method is characterized by being applied to electronic equipment, wherein the electronic equipment comprises a camera, a display screen, a point temperature instrument sensor and a distance sensor; the method comprises the following steps:
detecting that a person to be measured starts to measure, and acquiring an image through the camera to obtain image information;
determining a face image according to the image information;
determining the center point of the nose tip part of the face image according to the face image; determining the lowest point of the face image according to the face image; determining the half height of the face image according to the center point of the nose tip part and the lowest point of the face; according to the center point of the nose tip part and the half height, the center point of the nose tip part is taken as a starting point to vertically extend upwards, a first length threshold value is extended, the extended end point position is determined as a point to be measured, and the first length threshold value is greater than or equal to one half of the half height and less than or equal to two thirds of the half height;
determining the face distance from the face plane of the person to be detected to the camera according to the position information of the person to be detected and the position information of the camera; determining the real height of an image acquired by the camera according to a half of the camera angle of view and the face distance of the camera, and determining that the half of the length of the real height is half of the real height; determining half of the image height of the image information according to the image information; determining the proportion information of the real object and the image according to the half of the real height and the half of the image height; determining the real vertical height from the point to be measured to the camera according to the image information, the position information of the person to be measured and the proportion information; determining the vertical distance between the thermometer sensor and the camera according to the position information of the thermometer sensor and the position information of the camera; determining a rotation angle of the thermometer sensor according to the face distance, the vertical distance and the real vertical height; determining the rotation direction and the rotation angle of the thermometer sensor according to the rotation angle of the thermometer sensor, and rotating the thermometer sensor according to the rotation direction and the rotation angle;
and determining that the thermometer sensor rotates in place, measuring the temperature of the measured personnel, and displaying the temperature measurement result on a display screen.
2. The method according to claim 1, wherein the determining the true vertical height of the point to be measured from the image information, the position information of the person to be measured and the scale information comprises:
determining the vertical height of the point to be measured from the center of the image according to the position information of the point to be measured and the camera;
and determining the real vertical height from the point to be measured to the camera according to the proportion information and the vertical height.
3. The method of claim 1, wherein said determining a direction and an angle of rotation of said clicthermometer sensor from an angle of rotation of said clicthermometer sensor, rotating said clicthermometer sensor, comprises:
determining the rotation direction of the thermometer sensor according to the positive and negative signs of the rotation angle;
when the acquired positive and negative signs of the rotation angle are positive signs, determining that the rotation direction of the thermometer sensor is upward rotation;
when the acquired positive and negative signs of the rotation angle are negative signs, determining that the rotation direction of the thermometer sensor is downward rotation;
determining the rotation angle of the thermometer sensor according to the numerical value of the rotation angle;
and rotating the thermometer sensor according to the determined rotating direction and the determined rotating angle.
4. The method of claim 1, wherein the step of determining that the thermometer sensor is rotated into position, measuring the temperature of the person being measured, and after displaying the temperature measurement on the display screen, the method further comprises:
judging whether the body temperature of the person to be measured is abnormal or not according to the temperature measurement result displayed on the display screen;
and when the detected person is judged to have abnormal body temperature, early warning is carried out.
5. The temperature measuring device is characterized by being applied to electronic equipment, wherein the electronic equipment comprises a camera, a display screen, a point temperature instrument sensor and a distance sensor; the temperature measuring device comprises a processing unit and a communication unit, wherein,
the processing unit is used for detecting that a person to be detected starts to measure, acquiring images through the camera and acquiring image information; the face image is determined according to the image information; the central point of the nose tip part of the face image is determined according to the face image; determining the lowest point of the face image according to the face image; determining the half height of the face image according to the center point of the nose tip part and the lowest point of the face; according to the center point of the nose tip part and the half height, the center point of the nose tip part is taken as a starting point to vertically extend upwards, a first length threshold value is extended, the extended end point position is determined as a point to be measured, and the first length threshold value is greater than or equal to one half of the half height and less than or equal to two thirds of the half height; the face distance between the face plane of the person to be detected and the camera is determined according to the position information of the person to be detected and the position information of the camera; determining the real height of an image acquired by the camera according to a half of the camera angle of view and the face distance of the camera, and determining that the half of the length of the real height is half of the real height; determining half of the image height of the image information according to the image information; determining the proportion information of the real object and the image according to the half of the real height and the half of the image height; determining the real vertical height from the point to be measured to the camera according to the image information, the position information of the person to be measured and the proportion information; determining the vertical distance between the thermometer sensor and the camera according to the position information of the thermometer sensor and the position information of the camera; determining a rotation angle of the thermometer sensor according to the face distance, the vertical distance and the real vertical height; determining the rotation direction and the rotation angle of the thermometer sensor according to the rotation angle of the thermometer sensor, and rotating the thermometer sensor according to the rotation direction and the rotation angle; and the temperature measuring device is used for determining that the thermometer sensor rotates in place, measuring the temperature of the measured personnel and displaying the temperature measuring result on the display screen through the communication unit.
6. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-4.
7. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-4.
CN201910031002.XA 2018-12-29 2019-01-14 Temperature measurement method and related product Active CN109745014B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811641245 2018-12-29
CN2018116412457 2018-12-29

Publications (2)

Publication Number Publication Date
CN109745014A CN109745014A (en) 2019-05-14
CN109745014B true CN109745014B (en) 2022-05-17

Family

ID=66404661

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910031002.XA Active CN109745014B (en) 2018-12-29 2019-01-14 Temperature measurement method and related product

Country Status (1)

Country Link
CN (1) CN109745014B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111912528A (en) * 2020-07-03 2020-11-10 北京字节跳动网络技术有限公司 Body temperature measuring system, method, device and equipment storage medium
CN112113665A (en) * 2020-08-13 2020-12-22 Oppo(重庆)智能科技有限公司 Temperature measuring method, device, storage medium and terminal
CN112215113A (en) * 2020-09-30 2021-01-12 张成林 Face recognition method and device
CN112287798A (en) * 2020-10-23 2021-01-29 深圳市商汤科技有限公司 Temperature measuring method and device, electronic equipment and storage medium

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6637935B2 (en) * 2002-01-08 2003-10-28 Min-Ying Chen Structure of a clinical thermometer
CN1565381A (en) * 2003-07-07 2005-01-19 林群博 Intelligent type temperature test control system and method
CN201453256U (en) * 2009-07-01 2010-05-12 深圳市特思高电子有限公司 Temperature detector with camera shooting and photographing functions
CN201892585U (en) * 2010-11-18 2011-07-06 杭州自动化技术研究院有限公司 Non-contact dot temperature measurement instrument
CN203337262U (en) * 2013-05-31 2013-12-11 韩忠健 On-line imaging temperature measurement and detection system based on infrared technology
US20150051461A1 (en) * 2013-08-16 2015-02-19 Xerox Corporation System and method for performing a remote medical diagnosis
CN105469064B (en) * 2015-12-03 2018-12-28 广州市皓品信息科技有限公司 A kind of acquisition methods and device of skin aging trend
CN106108859A (en) * 2016-06-13 2016-11-16 中国人民解放军第三军医大学第附属医院 A kind of cranium table array multi-point thermo detector and application thereof
CN108877136A (en) * 2017-05-12 2018-11-23 上海防灾救灾研究所 A kind of fire alarm system and its method of combination gamma camera and infrared point temperature instrument
CN107330370B (en) * 2017-06-02 2020-06-19 广州视源电子科技股份有限公司 Forehead wrinkle action detection method and device and living body identification method and system
CN107361748B (en) * 2017-07-20 2023-11-28 歌尔股份有限公司 Body temperature testing method and device
CN107655575A (en) * 2017-08-25 2018-02-02 李凤环 A kind of face detection system based on infrared scanning imaging
CN107644205A (en) * 2017-09-18 2018-01-30 深圳市思维树科技有限公司 A kind of body temperature measuring system and method
CN107808136B (en) * 2017-10-31 2020-06-12 Oppo广东移动通信有限公司 Image processing method, image processing device, readable storage medium and computer equipment
CN108416253A (en) * 2018-01-17 2018-08-17 深圳天珑无线科技有限公司 Avoirdupois monitoring method, system and mobile terminal based on facial image
CN108344525B (en) * 2018-02-09 2020-06-23 英华达(上海)科技有限公司 Self-adaptive body temperature monitoring method and system
CN108520222A (en) * 2018-04-02 2018-09-11 惠州学院 Identification identification method, device, storage medium and electronic equipment based on face's intelligent scanning

Also Published As

Publication number Publication date
CN109745014A (en) 2019-05-14

Similar Documents

Publication Publication Date Title
CN109745014B (en) Temperature measurement method and related product
TWI652492B (en) Geomagnetic based mobile terminal positioning method and device thereof
CN103955272B (en) A kind of terminal user's attitude detection system
CN107194361A (en) Two-dimentional pose detection method and device
US9697415B2 (en) Recording medium, image processing method, and information terminal
CN102901473B (en) Measure coordinates correction system and method
CN103049084A (en) Electronic device and method for adjusting display direction according to face direction
CN110619314A (en) Safety helmet detection method and device and electronic equipment
CN106778597B (en) Intelligent vision detector based on image analysis
CN106919254B (en) Head-mounted virtual reality equipment and safety protection method
CN112200073B (en) Method, device and equipment for brushing face, measuring temperature and checking body
CN102525400B (en) Intelligent eyesight detecting device with binocular cameras
CN108955901B (en) Infrared temperature measurement method and system and terminal equipment
CN109091118A (en) A kind of sign data monitoring system, monitoring method and terminal
CN104376323B (en) A kind of method and device for determining target range
CN112200002B (en) Body temperature measuring method, device, terminal equipment and storage medium
CN103761011A (en) Method, system and computing device of virtual touch screen
TWI603225B (en) Viewing angle adjusting method and apparatus of liquid crystal display
US20230020578A1 (en) Systems and methods for vision test and uses thereof
CN111803023A (en) Vision value correction method, correction device, terminal equipment and storage medium
CN108896070B (en) Method and device for detecting sensor error in mobile equipment and terminal
CN110781833A (en) Authentication method and device and electronic equipment
CN202437087U (en) Intelligent vision detection device with binocular cameras
EP4054187A1 (en) Calibration method of a portable electronic device
US20180199810A1 (en) Systems and methods for pupillary distance estimation from digital facial images

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