CN112113665A - Temperature measuring method, device, storage medium and terminal - Google Patents

Temperature measuring method, device, storage medium and terminal Download PDF

Info

Publication number
CN112113665A
CN112113665A CN202010814031.6A CN202010814031A CN112113665A CN 112113665 A CN112113665 A CN 112113665A CN 202010814031 A CN202010814031 A CN 202010814031A CN 112113665 A CN112113665 A CN 112113665A
Authority
CN
China
Prior art keywords
temperature
measured
measurement
sensor
temperature measurement
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010814031.6A
Other languages
Chinese (zh)
Inventor
刘凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN202010814031.6A priority Critical patent/CN112113665A/en
Publication of CN112113665A publication Critical patent/CN112113665A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J5/00Radiation pyrometry, e.g. infrared or optical thermometry
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J5/00Radiation pyrometry, e.g. infrared or optical thermometry
    • G01J5/02Constructional details
    • G01J5/0275Control or determination of height or distance or angle information for sensors or receivers
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J5/00Radiation pyrometry, e.g. infrared or optical thermometry
    • G01J5/80Calibration

Abstract

The embodiment of the application discloses a temperature measuring method, a temperature measuring device, a storage medium and a terminal, wherein the method comprises the following steps: determining the relative position information of the measured position of the object to be measured relative to the temperature measuring sensor; adjusting the temperature measuring sensor to a target position according to the relative position information, and reading the actual measurement temperature of the object to be measured at the target position; acquiring a temperature measurement error of the temperature measurement sensor at the target position according to the relative position information; and acquiring the real temperature of the object to be measured based on the actually measured temperature and the temperature measurement error. By adopting the method of the embodiment of the application, the measuring angle of the temperature measuring sensor can be aimed at the measured position of the object to be measured, and the accuracy of the non-contact temperature measuring result is improved.

Description

Temperature measuring method, device, storage medium and terminal
Technical Field
The present application relates to the field of computer technologies, and in particular, to a temperature measurement method and apparatus, a storage medium, and a terminal.
Background
The non-contact temperature measurement facilitates the temperature measurement of target personnel and objects which cannot be touched by detection personnel. For example, under the influence of new coronary pneumonia epidemic situation, each gate of the road and the entrance and exit of the mall are all provided with non-contact body temperature detecting instruments. When a person passes through the instrument, the instrument can read the temperature of the human body and display the temperature on the display screen. When the detected human body temperature is abnormal, special display is performed. Non-contact thermometry can also be performed by a professional on a one-to-one basis with a thermometer for passing personnel.
However, for a moving object to be measured, especially for people with a large flow rate, the non-contact thermometric instrument, including the thermometer, cannot be aimed at the measured position of the object to be measured, which easily results in inaccurate temperature measurement results.
Disclosure of Invention
The embodiment of the application provides a temperature measuring method, a temperature measuring device, a storage medium and a terminal, and the method can solve the problem that the temperature measuring result is inaccurate because the non-contact temperature measuring instrument cannot aim at the measured position of an object to be measured. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a temperature measurement method, where the method includes:
determining the relative position information of the measured position of the object to be measured relative to the temperature measuring sensor;
adjusting the temperature measuring sensor to a target position according to the relative position information, and reading the actual measurement temperature of the object to be measured at the target position;
acquiring a temperature measurement error of the temperature measurement sensor at the target position according to the relative position information;
and acquiring the real temperature of the object to be measured based on the actually measured temperature and the temperature measurement error.
In a second aspect, an embodiment of the present application provides a temperature measurement device, including:
the relative position determining module is used for determining the relative position information of the measured position of the object to be measured relative to the temperature measuring sensor;
the actual measurement temperature reading module is used for adjusting the temperature measurement sensor to a target position according to the relative position information and reading the actual measurement temperature of the object to be measured at the target position;
the measurement error acquisition module is used for acquiring the temperature measurement error of the temperature measurement sensor at the target position according to the relative position information;
and the real temperature acquisition module is used for acquiring the real temperature of the object to be measured based on the measured temperature and the temperature measurement error.
In a third aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of any one of the above methods.
In a fourth aspect, an embodiment of the present application provides a terminal, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the steps of any one of the above methods when executing the program.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
in this application embodiment, integrate the non-contact temperature measurement function in the terminal, carry out the temperature measurement through the terminal, when the terminal carries out temperature measurement to the determinand again, if the temperature measurement sensor fails to aim at the measured position of determinand, will pass through the measurement angle of motor adjustment temperature measurement sensor to make it can completely receive the infrared wavelength of measurand transmission, this step can make the measurement angle of temperature measurement sensor aim at the measured position of determinand, has improved the accuracy of non-contact temperature measurement result.
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. 1 is a schematic flow chart of a temperature measurement method provided in an embodiment of the present application;
FIG. 2 is a schematic flow chart of a temperature measurement method provided in an embodiment of the present application;
FIG. 3 is a diagrammatic representation of a forehead temperature measurement provided by an embodiment of the present application;
FIG. 4 is a schematic flow chart of a temperature measurement method provided by an embodiment of the present application;
FIG. 5 is a schematic structural diagram of a temperature measuring device according to an embodiment of the present disclosure;
FIG. 6 is a schematic structural diagram of a temperature measuring device according to an embodiment of the present disclosure;
FIG. 7 is a schematic structural diagram of a temperature measuring device according to an embodiment of the present disclosure;
fig. 8 is a block diagram of a terminal structure according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The temperature measurement method provided by the embodiment of the present application will be described in detail below with reference to fig. 1 to 4.
Fig. 1 is a schematic flow chart of a temperature measurement method according to an embodiment of the present disclosure.
As shown in fig. 1, the method of the embodiment of the present application may include the steps of:
s101, determining the relative position information of the measured position of the object to be measured relative to the temperature measuring sensor.
The temperature measuring method is applied to the terminal, and the terminal integrates the 3D structure optical module and the infrared temperature measuring sensor and is used for achieving a non-contact temperature measuring function. The temperature of the object to be measured can be read by enabling the terminal to be close to the measured position of the object to be measured.
Specifically, the object to be tested includes, but is not limited to, a human, an animal, an object, and the like. When the object to be measured is a person, the measured position comprises the forehead, the neck, the wrist and the like. When the object to be measured is an animal/object, the measured position may be any position on the surface of the animal/object.
And acquiring the relative position information of the measured position of the object to be measured relative to the temperature measuring sensor based on the sensor carried by the terminal. The relative position information refers to the spatial relative position of the measured position relative to the temperature measuring sensor, and comprises the angle formed by the measured position and the X, Y axis respectively and the linear distance between the measured position and the temperature measuring sensor.
And S102, adjusting the temperature measuring sensor to a target position according to the relative position information, and reading the actual measurement temperature of the object to be measured at the target position.
When the measurement angle of the infrared temperature measurement sensor deviates from the measurement position or the measurement distance between the infrared temperature measurement sensor and the object to be measured is too far and too close, the temperature measurement result is inaccurate, that is, the non-contact temperature measurement is influenced by two factors of the measurement position and the measurement distance.
In the embodiment, the temperature measuring sensor is arranged on the bracket capable of floating freely, and if the temperature measuring sensor is not aligned to a measured position, the measurement angle of the temperature measuring sensor can be changed by adjusting the bracket.
Specifically, according to the relative position information obtained in step S101, the direction of the bracket is reversely adjusted so that the measurement angle of the temperature sensor is directly opposite to the measured position of the object to be measured, and the temperature of the object to be measured is read when the measurement angle of the temperature sensor is directly opposite to the measured position of the object to be measured, and the temperature is used as the measured temperature.
S103, acquiring the temperature measurement error of the temperature measurement sensor at the target position according to the relative position information.
The infrared energy emitted by the object to be measured can be gradually reduced along with the change of the distance, so that after the measuring angle of the temperature measuring sensor is adjusted to the measured position which is opposite to the object to be measured, the temperature measuring error caused by the distance measurement is determined according to the relative position information.
The temperature measurement error can be manually calibrated for the infrared energy consumption corresponding to each measurement distance before the terminal leaves a factory, that is, the temperature measurement error caused by the change of each distance is obtained through a large number of data experiments. The temperature measurement error may be positive or negative depending on the measurement distance. In particular, the energy consumption is calibrated when the measurement angle of the temperature sensor is opposite to the measured position of the object to be measured.
And S104, acquiring the real temperature of the object to be measured based on the actually measured temperature and the temperature measurement error.
And adding the measured temperature and the temperature measurement error to obtain the real temperature of the object to be measured.
In an optional embodiment, if the actual temperature of the object to be measured is not within the preset temperature range, the measurement result may be specially displayed on the screen. For example, a temperature abnormality is prompted, a screen flash is performed, and the like.
In this application embodiment, integrate the non-contact temperature measurement function in the terminal, carry out the temperature measurement through the terminal, when the terminal carries out temperature measurement to the determinand again, if the temperature measurement sensor fails to aim at the measured position of determinand, will pass through the measurement angle of motor adjustment temperature measurement sensor to make it can completely receive the infrared wavelength of measurand transmission, this step can make the measurement angle of temperature measurement sensor aim at the measured position of determinand, has improved the accuracy of non-contact temperature measurement result.
Fig. 2 is a schematic flow chart of a temperature measurement method according to an embodiment of the present disclosure.
As shown in fig. 2, the method of the embodiment of the present application may include the steps of:
s201, acquiring the real temperature of the sample object and the sample temperatures corresponding to different measuring distances, wherein the real temperature of the sample object and the sample temperatures are read at the target position of the temperature measuring sensor.
Likewise, the sample objects include, but are not limited to, humans, animals, objects, and the like. The terminal can calibrate and store the energy loss of different types of sample objects before leaving the factory. When the sample object is a person, infrared energy loss calibration can be carried out on different positions to be measured. For example, the infrared energy loss at different measurement distances at the forehead position is calibrated based on the real temperature obtained at the forehead position and the sample temperature; as another example, the infrared energy loss at different measurement distances at the wrist location is calibrated based on the true temperature obtained at the wrist location and the sample temperature.
During actual temperature measurement, a local part of the measured position is determined according to the infrared image, and the infrared energy loss calibration of the corresponding part is taken to calculate the real temperature of the object to be measured.
The terminal can also calibrate the infrared energy loss of the objects to be tested such as animals before leaving the factory, thereby enlarging the subsequent application range.
S202, calculating temperature measurement errors respectively corresponding to different measurement distances based on the real temperature of the sample object and the sample temperature.
And calculating the difference value between the real temperature and the sample temperature, and taking the difference value as the temperature error of the sample temperature at the measurement distance. The temperature errors at different measuring distances can be obtained through multiple sets of data. The temperature measurement error may be positive or negative at different measurement distances.
S203, establishing a corresponding relation between the measuring distance and the temperature measuring error.
And establishing a functional relation between the measuring distance and the temperature measuring error based on the relation between the measuring distance and the temperature change.
The corresponding relation is not limited to a functional form, and may be in a list form, a tree form, and the like in other embodiments.
S204, determining the relative position information of the measured position of the object to be measured relative to the temperature measuring sensor.
The temperature measuring method is applied to a terminal, and the terminal integrates a 3D structure optical module and an infrared temperature measuring sensor and is used for realizing a non-contact temperature measuring function.
And acquiring the relative position information of the measured position of the object to be measured relative to the temperature measuring sensor based on the sensor carried by the terminal. Wherein the relative position information refers to the spatial relative position of the measured position relative to the temperature measuring sensor, and includes the angle formed by the measured position and the X, Y axis, and is marked as (alpha)1,α2) And a linear distance R between the measured position and the temperature sensor.
S205, adjusting the temperature measuring sensor to a target position based on the compensation angle in the relative position information, and reading the actual measurement temperature of the object to be measured at the target position.
The temperature sensor is arranged on the bracket capable of floating freely, and if the temperature sensor is not aligned with the measuring position, the measuring angle of the temperature sensor can be changed by adjusting the bracket through the motor.
The angles (alpha 1, alpha 2) formed by the measured position of the object to be measured and the X, Y axis are compensation angles, the terminal can adjust the measurement angle of the temperature measurement sensor through the motor based on the compensation angles, and when the angle (alpha) is larger than the angle (alpha), the temperature measurement sensor can be used for measuring the temperature of the object to be measured1,α2) When the measured temperature is zero, the temperature measuring sensor is adjusted to the target position, the temperature of the object to be measured is read at the moment, and the temperature is used as the measured temperature.
S206, determining a target temperature measurement error corresponding to the measured distance in the relative position information based on the corresponding relation between the measured distance and the temperature measurement error, and taking the target temperature measurement error as the temperature measurement error of the temperature measurement sensor at the target position.
And substituting the measured distance into a functional relation between the measured distance and the temperature measurement error to obtain the temperature measurement error corresponding to the measured distance.
After the measurement angle of the temperature sensor is adjusted to the target position, only the temperature measurement error caused by the measurement distance is considered in the implementation.
And S207, acquiring the real temperature of the object to be measured based on the actually measured temperature and the temperature measurement error.
And adding the measured temperature and the temperature measurement error to obtain the real temperature of the object to be measured.
As shown in fig. 3, a forehead temperature measurement demonstration diagram provided in the embodiment of the present application is provided.
In the figure, the angle formed between the measuring angle of the mobile phone temperature measuring sensor and the forehead of the female to be measured is (alpha)1,α2) When the measurement distance is R, the mobile phone detects that the measurement angle of the temperature measurement sensor is not aligned with the forehead position, and the freely floating support is reversely adjusted to enable alpha to be measured1And alpha2The included angles of the temperature measuring sensors are all changed to be zero, the measuring angle of the temperature measuring sensor is aligned to the forehead position at the moment, the measured temperature is read, the target temperature measuring error corresponding to the distance R is determined based on the temperature measuring error calibrated before leaving the factory, and the measured temperature and the target temperature measuring error are summed to obtain the real body temperature of the measured lady.
In this application embodiment, integrate the non-contact temperature measurement function in the terminal, carry out the temperature measurement through the terminal, when the terminal carries out temperature measurement to the determinand again, if the temperature measurement sensor fails to aim at the measured position of determinand, will pass through the measurement angle of motor adjustment temperature measurement sensor to make it can completely receive the infrared wavelength of measurand transmission, this step can make the measurement angle of temperature measurement sensor aim at the measured position of determinand, has improved the accuracy of non-contact temperature measurement result.
Fig. 4 is a schematic flow chart of a temperature measurement method according to an embodiment of the present disclosure.
As shown in fig. 4, the method of the embodiment of the present application may include the steps of:
s401, acquiring the infrared image of the object to be detected acquired through the camera.
The temperature measuring method is applied to the terminal, and the terminal integrates the 3D structure optical module and the infrared temperature measuring sensor and is used for achieving a non-contact temperature measuring function. The temperature of the object to be measured can be read by enabling the terminal to be close to the measured position of the object to be measured.
Before temperature measurement, the outline of an object to be measured is identified through the 3D structure optical module. Specifically, infrared light is emitted to an object to be detected by an infrared projector in the 3D structure optical module, and then the object to be detected is photographed and scanned by an infrared camera in the 3D structure optical module to obtain an infrared image.
S402, creating a three-dimensional model of the object to be measured based on the infrared image, and determining the relative position information of the measured position of the object to be measured relative to the temperature measuring sensor.
And 3D modeling is carried out according to the infrared image, the spatial position of the measured position of the object to be measured in the model is obtained based on a 3D structural algorithm, and the spatial relative position of the measured position relative to the temperature measuring sensor is calculated. The relative position information refers to the spatial relative position of the measured position relative to the temperature measuring sensor, and comprises the angle formed by the measured position and the X, Y axis respectively and the linear distance between the measured position and the temperature measuring sensor.
The object to be measured can be anything that needs to measure temperature.
S403, adjusting the position of the temperature measuring sensor according to the compensation angle, and acquiring the actual angle between the temperature measuring sensor and the measured position of the object to be measured.
The temperature sensor is arranged on the bracket capable of floating freely, and when the measuring angle of the temperature sensor is reversely adjusted according to the compensation angle, whether the temperature sensor is adjusted to the target position or not can be judged according to the actual angle between the temperature sensor and the measured position of the object to be measured.
And setting an angle threshold, and when the actual angle is larger than the angle threshold, determining that the measured angle deviation is larger, wherein the measured angle of the temperature measuring sensor is not adjusted to the target position and needs to be adjusted continuously.
S404, when the actual angle is smaller than or equal to an angle threshold value, determining that the temperature measuring sensor is adjusted to the target position, and reading the actual measurement temperature of the object to be measured at the target position.
And when the actual angle is smaller than or equal to the angle threshold, the measured angle is considered to be basically aligned to the measured position of the object to be measured, and the measured temperature is read.
S405, acquiring a temperature measurement error of the temperature measurement sensor at the target position according to the relative position information.
The infrared energy emitted by the object to be measured can be gradually reduced along with the change of the distance, so that the temperature measurement error is determined according to the relative position information after the measurement angle of the temperature measurement sensor is adjusted to be opposite to the measured position of the object to be measured.
The temperature measurement error can be manually calibrated for the infrared energy consumption corresponding to each measurement distance before the terminal leaves a factory, that is, the temperature measurement error caused by the change of each distance is obtained through a large number of data experiments.
S406, acquiring the real temperature of the object to be measured based on the actually measured temperature and the temperature measurement error.
And adding the measured temperature and the temperature measurement error to obtain the real temperature of the object to be measured.
S407, obtaining the measurement time of the actual measurement temperature of the object to be measured.
After the real temperature of the object to be detected is determined, the real temperature can be recorded, so that the temperature change condition of the object to be detected can be tracked conveniently.
S408, recording the measurement time of the actual measurement temperature of the object to be measured and the real temperature of the object to be measured into a temperature tracking system.
And recording the measurement time of the actual measurement temperature of the object to be measured as the measurement time of the actual temperature of the object to be measured into a temperature tracking system.
The temperature tracking system can form a report according to a plurality of real temperature data measured by the object to be measured in a period of time for a terminal holder to analyze.
In this embodiment, the non-contact temperature measurement function of the terminal may be used as a system function or an application function. When a terminal holder needs to measure the body temperature of a certain target user, the real body temperature of the target user can be read only by starting the non-contact temperature measuring function and enabling the terminal to be close to the forehead of the target user.
In this application embodiment, integrate the non-contact temperature measurement function in the terminal, carry out the temperature measurement through the terminal, when the terminal carries out temperature measurement to the determinand again, if the temperature measurement sensor fails to aim at the measured position of determinand, will pass through the measurement angle of motor adjustment temperature measurement sensor to make it can completely receive the infrared wavelength of measurand transmission, this step can make the measurement angle of temperature measurement sensor aim at the measured position of determinand, has improved the accuracy of non-contact temperature measurement result.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Fig. 5 is a schematic structural diagram of a temperature measuring device according to an exemplary embodiment of the present application. The temperature measuring device shown in the figure can be implemented as all or part of a terminal by software, hardware or a combination of the two, and can also be integrated on a server as a separate module.
The temperature measuring device in the embodiment of the present application is applied to a terminal, the device 1 includes a relative position determining module 11, an actually measured temperature reading module 12, a measurement error obtaining module 13, and a real temperature obtaining module 14, wherein:
a relative position determining module 11, configured to determine relative position information of a measured position of the object to be measured with respect to the temperature measuring sensor;
the actual measurement temperature reading module 12 is configured to adjust the temperature measurement sensor to a target position according to the relative position information, and read an actual measurement temperature of the object to be measured at the target position;
a measurement error obtaining module 13, configured to obtain a temperature measurement error of the temperature sensor at the target position according to the relative position information;
and a real temperature obtaining module 14, configured to obtain a real temperature of the object to be measured based on the measured temperature and the temperature measurement error.
Fig. 6 is a schematic structural diagram of a temperature measuring device according to an exemplary embodiment of the present application.
Optionally, as shown in fig. 6, the temperature measuring apparatus 1 provided in the embodiment of the present application further includes a corresponding relationship establishing module 10, where the corresponding relationship establishing module 10 specifically includes:
a sample temperature obtaining unit 101, configured to obtain a real temperature of a sample object and sample temperatures corresponding to different measurement distances, where the real temperature of the sample object and the sample temperatures are both read at the target position of the temperature measurement sensor;
a temperature measurement error calculation unit 102, configured to calculate temperature measurement errors corresponding to different measurement distances, respectively, based on the actual temperature of the sample object and the sample temperature;
a corresponding relationship establishing unit 103, configured to establish a corresponding relationship between the measurement distance and the temperature measurement error.
The measured temperature reading module 12 is specifically configured to:
and adjusting the temperature measuring sensor to a target position based on the compensation angle in the relative position information, and reading the actual measurement temperature of the object to be measured at the target position.
The measurement error obtaining module 13 is specifically configured to:
and determining a target temperature measurement error corresponding to the measured distance in the relative position information based on the corresponding relation between the measured distance and the temperature measurement error, and taking the target temperature measurement error as the temperature measurement error of the temperature measurement sensor at the target position.
Fig. 7 is a schematic structural diagram of a temperature measuring device according to an exemplary embodiment of the present application.
Optionally, as shown in fig. 7, a relative position determining module 11 in the temperature measuring apparatus 1 provided in the embodiment of the present application includes:
an infrared image obtaining unit 111, configured to obtain an infrared image of the object to be detected, which is collected by a camera;
a relative position determining unit 112, configured to create a three-dimensional model of the object to be measured based on the infrared image, and determine relative position information of the measured position of the object to be measured with respect to the temperature measuring sensor.
The measured temperature reading module 12 comprises:
an actual angle obtaining unit 121, configured to perform position adjustment on the temperature measuring sensor according to the compensation angle, and obtain an actual angle between the temperature measuring sensor and a measured position of the object to be measured;
and the actual measurement temperature reading unit 122 is configured to determine that the temperature measurement sensor is adjusted to the target position when the actual angle is smaller than or equal to an angle threshold, and read the actual measurement temperature of the object to be measured at the target position.
The temperature measuring device 1 further includes a temperature tracking module 15, and the temperature tracking module 15 specifically includes:
a measurement time acquiring unit 151 configured to acquire measurement time of the actual measurement temperature of the object to be measured;
a real temperature recording unit 152, configured to record the measurement time of the measured temperature of the object to be measured and the real temperature of the object to be measured into a temperature tracking system.
It should be noted that, when the temperature measuring apparatus provided in the foregoing embodiment executes the temperature measuring method, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed and completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules, so as to complete all or part of the functions described above. In addition, the temperature measurement device and the temperature measurement method provided by the above embodiments belong to the same concept, and details of implementation processes thereof are referred to in the method embodiments and are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In this application embodiment, integrate the non-contact temperature measurement function in the terminal, carry out the temperature measurement through the terminal, when the terminal carries out temperature measurement to the determinand again, if the temperature measurement sensor fails to aim at the measured position of determinand, will pass through the measurement angle of motor adjustment temperature measurement sensor to make it can completely receive the infrared wavelength of measurand transmission, this step can make the measurement angle of temperature measurement sensor aim at the measured position of determinand, has improved the accuracy of non-contact temperature measurement result.
The embodiments of the present application also provide a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to implement the steps of the method of any one of the foregoing embodiments. The computer-readable storage medium may include, but is not limited to, any type of disk including floppy disks, optical disks, DVD, CD-ROMs, microdrive, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of media or device suitable for storing instructions and/or data.
The embodiment of the present application further provides a terminal, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the program, the steps of any of the above-mentioned embodiments of the method are implemented.
Please refer to fig. 8, which is a block diagram of a terminal according to an embodiment of the present disclosure.
As shown in fig. 8, the terminal 100 includes: a processor 801 and a memory 802.
In this embodiment, the processor 801 is a control center of a computer system, and may be a processor of a physical machine or a processor of a virtual machine. The processor 801 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. The processor 801 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 801 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state.
In this embodiment of the application, the processor 801 is specifically configured to:
determining the relative position information of the measured position of the object to be measured relative to the temperature measuring sensor;
adjusting the temperature measuring sensor to a target position according to the relative position information, and reading the actual measurement temperature of the object to be measured at the target position;
acquiring a temperature measurement error of the temperature measurement sensor at the target position according to the relative position information;
and acquiring the real temperature of the object to be measured based on the actually measured temperature and the temperature measurement error.
Further, the adjusting the temperature measuring sensor to the target position according to the relative position information includes:
and adjusting the temperature measuring sensor to a target position based on the compensation angle in the relative position information.
Further, the obtaining a temperature measurement error of the temperature measurement sensor at the target position according to the relative position information includes:
and determining a target temperature measurement error corresponding to the measured distance in the relative position information based on the corresponding relation between the measured distance and the temperature measurement error, and taking the target temperature measurement error as the temperature measurement error of the temperature measurement sensor at the target position.
Further, before determining the relative position information of the measured position of the object to be measured with respect to the temperature measurement sensor, the method further includes:
acquiring the real temperature of a sample object and sample temperatures respectively corresponding to different measuring distances, wherein the real temperature and the sample temperature of the sample object are both read at the target position of the temperature measuring sensor;
calculating temperature measurement errors respectively corresponding to different measurement distances based on the real temperature of the sample object and the sample temperature;
and establishing a corresponding relation between the measurement distance and the temperature measurement error.
Further, the adjusting the temperature measuring sensor to the target position based on the compensation angle in the relative position information includes:
adjusting the position of the temperature measuring sensor according to the compensation angle to obtain the actual angle between the temperature measuring sensor and the measured position of the object to be measured;
and when the actual angle is smaller than or equal to an angle threshold value, determining that the temperature measurement sensor is adjusted to the target position.
Further, the determining the relative position information of the measured position of the object to be measured with respect to the temperature measurement sensor includes:
acquiring an infrared image of the object to be detected acquired through a camera;
and creating a three-dimensional model of the object to be measured based on the infrared image, and determining the relative position information of the measured position of the object to be measured relative to the temperature measuring sensor.
Further, the method further comprises:
acquiring the measurement time of the actual measurement temperature of the object to be measured;
and recording the measurement time of the actual measurement temperature of the object to be measured and the real temperature of the object to be measured into a temperature tracking system.
Memory 802 may include one or more computer-readable storage media, which may be non-transitory. Memory 802 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments of the present application, a non-transitory computer readable storage medium in the memory 802 is used to store at least one instruction for execution by the processor 801 to implement a method in embodiments of the present application.
In some embodiments, the terminal 100 further includes: a peripheral interface 803 and at least one peripheral. The processor 801, memory 802 and peripheral interface 803 may be connected by bus or signal lines. Various peripheral devices may be connected to peripheral interface 803 by a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a display 804, a camera 805, and an audio circuit 806.
The peripheral interface 803 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 801 and the memory 802. In some embodiments of the present application, the processor 801, the memory 802, and the peripheral interface 803 are integrated on the same chip or circuit board; in some other embodiments of the present application, any one or both of the processor 801, the memory 802, and the peripheral interface 803 may be implemented on separate chips or circuit boards. The embodiment of the present application is not particularly limited to this.
The display screen 804 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display 804 is a touch display, the display 804 also has the ability to capture touch signals on or over the surface of the display 804. The touch signal may be input to the processor 801 as a control signal for processing. At this point, the display 804 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments of the present application, the display screen 804 may be one, and is provided as a front panel of the terminal 100; in other embodiments of the present application, the display 804 may be at least two, respectively disposed on different surfaces of the terminal 100 or in a foldable design; in still other embodiments of the present application, the display 804 may be a flexible display disposed on a curved surface or a folded surface of the terminal 100. Even further, the display 804 may be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display screen 804 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
The camera 805 is used to capture images or video. Optionally, the camera 805 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments of the present application, camera 805 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuitry 806 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 801 for processing. The microphones may be provided in plural, respectively at different portions of the terminal 100 for the purpose of stereo sound collection or noise reduction. The microphone may also be an array microphone or an omni-directional pick-up microphone.
The power supply 807 is used to supply power to various components within the terminal 100. The power supply 807 may be alternating current, direct current, disposable or rechargeable. When the power supply 807 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
The block diagram of the terminal structure shown in the embodiments of the present application does not constitute a limitation to the terminal 100, and the terminal 100 may include more or less components than those shown, or combine some components, or adopt a different arrangement of components.
In this application, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or order; the term "plurality" means two or more unless expressly limited otherwise. The terms "mounted," "connected," "fixed," and the like are to be construed broadly, and for example, "connected" may be a fixed connection, a removable connection, or an integral connection; "coupled" may be direct or indirect through an intermediary. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
In the description of the present application, it is to be understood that the terms "upper", "lower", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience in describing the present application and simplifying the description, but do not indicate or imply that the referred device or unit must have a specific direction, be configured and operated in a specific orientation, and thus, should not be construed as limiting the present application.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Accordingly, all equivalent changes made by the claims of this application are intended to be covered by this application.

Claims (10)

1. A temperature measurement method is applied to a terminal, the terminal comprises a temperature measurement sensor, and the method comprises the following steps:
determining the relative position information of the measured position of the object to be measured relative to the temperature measuring sensor;
adjusting the temperature measuring sensor to a target position according to the relative position information, and reading the actual measurement temperature of the object to be measured at the target position;
acquiring a temperature measurement error of the temperature measurement sensor at the target position according to the relative position information;
and acquiring the real temperature of the object to be measured based on the actually measured temperature and the temperature measurement error.
2. The method of claim 1, wherein adjusting the thermometric sensor to a target position based on the relative position information comprises:
and adjusting the temperature measuring sensor to a target position based on the compensation angle in the relative position information.
3. The method of claim 2, wherein obtaining the temperature measurement error of the thermometric sensor at the target location based on the relative position information comprises:
and determining a target temperature measurement error corresponding to the measured distance in the relative position information based on the corresponding relation between the measured distance and the temperature measurement error, and taking the target temperature measurement error as the temperature measurement error of the temperature measurement sensor at the target position.
4. The method of claim 3, wherein before determining the relative position information of the measured position of the object to be measured with respect to the thermometric sensor, further comprising:
acquiring the real temperature of a sample object and sample temperatures respectively corresponding to different measuring distances, wherein the real temperature and the sample temperature of the sample object are both read at the target position of the temperature measuring sensor;
calculating temperature measurement errors respectively corresponding to different measurement distances based on the real temperature of the sample object and the sample temperature;
and establishing a corresponding relation between the measurement distance and the temperature measurement error.
5. The method of claim 2, wherein adjusting the thermometric sensor to a target position based on the compensated angle in the relative position information comprises:
adjusting the position of the temperature measuring sensor according to the compensation angle to obtain the actual angle between the temperature measuring sensor and the measured position of the object to be measured;
and when the actual angle is smaller than or equal to an angle threshold value, determining that the temperature measurement sensor is adjusted to the target position.
6. The method of claim 1, wherein determining the relative position information of the measured position of the object to be measured with respect to the thermometric sensor comprises:
acquiring an infrared image of the object to be detected acquired through a camera;
and creating a three-dimensional model of the object to be measured based on the infrared image, and determining the relative position information of the measured position of the object to be measured relative to the temperature measuring sensor.
7. The method of claim 1, further comprising:
acquiring the measurement time of the actual measurement temperature of the object to be measured;
and recording the measurement time of the actual measurement temperature of the object to be measured and the real temperature of the object to be measured into a temperature tracking system.
8. A temperature measurement device, the device comprising:
the relative position determining module is used for determining the relative position information of the measured position of the object to be measured relative to the temperature measuring sensor;
the actual measurement temperature reading module is used for adjusting the temperature measurement sensor to a target position according to the relative position information and reading the actual measurement temperature of the object to be measured at the target position;
the measurement error acquisition module is used for acquiring the temperature measurement error of the temperature measurement sensor at the target position according to the relative position information;
and the real temperature acquisition module is used for acquiring the real temperature of the object to be measured based on the measured temperature and the temperature measurement error.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
10. A terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1-7 are implemented when the program is executed by the processor.
CN202010814031.6A 2020-08-13 2020-08-13 Temperature measuring method, device, storage medium and terminal Pending CN112113665A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010814031.6A CN112113665A (en) 2020-08-13 2020-08-13 Temperature measuring method, device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010814031.6A CN112113665A (en) 2020-08-13 2020-08-13 Temperature measuring method, device, storage medium and terminal

Publications (1)

Publication Number Publication Date
CN112113665A true CN112113665A (en) 2020-12-22

Family

ID=73805145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010814031.6A Pending CN112113665A (en) 2020-08-13 2020-08-13 Temperature measuring method, device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN112113665A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113686002A (en) * 2021-08-25 2021-11-23 四川虹美智能科技有限公司 Temperature control method and device
CN113866536A (en) * 2021-09-07 2021-12-31 深圳Tcl数字技术有限公司 Temperature rise detection method and device and temperature rise detection system
CN115165115A (en) * 2022-09-07 2022-10-11 中亿(深圳)信息科技有限公司 Body temperature measuring method and device of smart watch, medium and wearable device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN200980106Y (en) * 2006-12-01 2007-11-21 中兴通讯股份有限公司 A mobile phone with infrared temperature measuring instrument
CN102394983A (en) * 2011-11-16 2012-03-28 谢尚钗 Non-contact infrared thermometry mobile phone
CN103735255A (en) * 2014-01-06 2014-04-23 广州市体达电子科技有限公司 Non-contact infrared thermometer
CN108344525A (en) * 2018-02-09 2018-07-31 英华达(上海)科技有限公司 Adaptive body temperature monitoring method and system
CN109745014A (en) * 2018-12-29 2019-05-14 江苏云天励飞技术有限公司 Thermometry and Related product
CN111147642A (en) * 2020-02-24 2020-05-12 深圳市迪比科电子科技有限公司 Smart phone with non-contact infrared body temperature measuring instrument
CN111504466A (en) * 2020-04-24 2020-08-07 北京小米移动软件有限公司 Body temperature monitoring device, mask assembly, access control method, device and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN200980106Y (en) * 2006-12-01 2007-11-21 中兴通讯股份有限公司 A mobile phone with infrared temperature measuring instrument
CN102394983A (en) * 2011-11-16 2012-03-28 谢尚钗 Non-contact infrared thermometry mobile phone
CN103735255A (en) * 2014-01-06 2014-04-23 广州市体达电子科技有限公司 Non-contact infrared thermometer
CN108344525A (en) * 2018-02-09 2018-07-31 英华达(上海)科技有限公司 Adaptive body temperature monitoring method and system
CN109745014A (en) * 2018-12-29 2019-05-14 江苏云天励飞技术有限公司 Thermometry and Related product
CN111147642A (en) * 2020-02-24 2020-05-12 深圳市迪比科电子科技有限公司 Smart phone with non-contact infrared body temperature measuring instrument
CN111504466A (en) * 2020-04-24 2020-08-07 北京小米移动软件有限公司 Body temperature monitoring device, mask assembly, access control method, device and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113686002A (en) * 2021-08-25 2021-11-23 四川虹美智能科技有限公司 Temperature control method and device
CN113866536A (en) * 2021-09-07 2021-12-31 深圳Tcl数字技术有限公司 Temperature rise detection method and device and temperature rise detection system
CN115165115A (en) * 2022-09-07 2022-10-11 中亿(深圳)信息科技有限公司 Body temperature measuring method and device of smart watch, medium and wearable device

Similar Documents

Publication Publication Date Title
CN106679651B (en) Sound localization method, device and electronic equipment
CN112113665A (en) Temperature measuring method, device, storage medium and terminal
WO2021128777A1 (en) Method, apparatus, device, and storage medium for detecting travelable region
CN110967011B (en) Positioning method, device, equipment and storage medium
WO2020259106A1 (en) Calibration method and device for relative attitudes of camera and inertial measurement unit
US10127732B1 (en) Stereo-based calibration apparatus
US9311883B2 (en) Recalibration of a flexible mixed reality device
CN109253735B (en) Path planning method, device and storage medium
EP3343242B1 (en) Tracking system, tracking device and tracking method
CN103765870A (en) Image processing apparatus, projector and projector system including image processing apparatus, image processing method
CN110689580B (en) Multi-camera calibration method and device
WO2017090426A1 (en) Physical-object measurement device and physical-object measurement method
CN111256676B (en) Mobile robot positioning method, device and computer readable storage medium
CN111982305A (en) Temperature measuring method, device and computer storage medium
CN111126276B (en) Lane line detection method, lane line detection device, computer equipment and storage medium
KR20200005332A (en) Calibration device and method of operation thereof
CN112150560A (en) Method and device for determining vanishing point and computer storage medium
CN112200002B (en) Body temperature measuring method, device, terminal equipment and storage medium
CN111354378B (en) Voice endpoint detection method, device, equipment and computer storage medium
US20230300290A1 (en) Information display system, information display method, and non-transitory recording medium
CN114720932A (en) Battery management system signal sampling precision testing method and device, upper computer and storage medium
CN112882094B (en) First-arrival wave acquisition method and device, computer equipment and storage medium
WO2021177785A1 (en) Location determination method and electronic device for supporting same
CN115684965A (en) System, method and device for verifying SOC (System on chip) precision in vehicle running process and upper computer
CN112541940A (en) Article detection method and system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20201222

RJ01 Rejection of invention patent application after publication