Infrared temperature measurement correction method based on infrared image and terminal

文档序号:875138 发布日期:2021-03-19 浏览:10次 中文

阅读说明:本技术 一种基于红外图像的红外测温校正方法及终端 (Infrared temperature measurement correction method based on infrared image and terminal ) 是由 李晨亮 于 2020-11-24 设计创作,主要内容包括:本发明公开了一种基于红外图像的红外测温校正方法及终端,接收红外测温请求时,获取相机在不同室温环境下拍摄到的视频,根据每一室温环境下对应的视频图像帧进行基于红外图像的温度计算,得到多个不同室温值,获取多个不同室温值以及所述多个不同室温值下测得的温度后得出温度误差校正函数,并以此对通过红外测温测得的温度进行校正;利用红外图像对每个图像帧的温度进行计算,能够精确地测量室内温度,并且能够精确得到温度误差校正函数,利用温度误差校正函数对通过红外测温测得的温度进行校正,从而得到精度较高的人体温度;通过使用红外图像计算室温,能够在计算量小的同时保证测温的精度,从而减少环境温度因素对人体测温精度的影响。(The invention discloses an infrared temperature measurement correction method and a terminal based on infrared images, wherein when an infrared temperature measurement request is received, videos shot by a camera under different room temperature environments are obtained, temperature calculation based on the infrared images is carried out according to a video image frame corresponding to each room temperature environment to obtain a plurality of different room temperature values, a plurality of different room temperature values and temperatures measured under the different room temperature values are obtained, and then a temperature error correction function is obtained, so that the temperatures measured through infrared temperature measurement are corrected; the temperature of each image frame is calculated by utilizing the infrared image, the indoor temperature can be accurately measured, a temperature error correction function can be accurately obtained, and the temperature measured by infrared temperature measurement is corrected by utilizing the temperature error correction function, so that the human body temperature with higher precision is obtained; by using the infrared image to calculate the room temperature, the temperature measurement precision can be ensured while the calculated amount is small, so that the influence of environmental temperature factors on the human body temperature measurement precision is reduced.)

1. An infrared temperature measurement correction method based on an infrared image is characterized by comprising the following steps:

receiving an infrared temperature measurement request, and acquiring videos shot by a camera in different room temperature environments;

according to the corresponding video in each room temperature environment, performing temperature calculation based on the infrared image to obtain a plurality of different room temperature values;

and obtaining a temperature error correction function according to the plurality of different room temperature values and the corresponding human body temperatures measured under the plurality of different room temperature values, and correcting the temperature measured by infrared temperature measurement according to the temperature error correction function.

2. The infrared temperature measurement correction method based on the infrared image as claimed in claim 1, wherein the performing the temperature calculation based on the infrared image according to the video corresponding to each room temperature environment includes:

the temperature calculation is performed in a standard room temperature environment and a room temperature environment different from the standard room temperature environment.

3. The infrared temperature measurement correction method based on the infrared image as claimed in claim 1, wherein the temperature calculation based on the infrared image comprises the steps of:

extracting an infrared image frame according to a shot video, dividing the infrared image frame into a plurality of first image blocks, and screening out the high-temperature first image blocks to obtain image blocks to be calculated;

dividing the image block to be calculated into a plurality of second image blocks, screening out low-temperature second image blocks to obtain a target image block, calculating an average value according to the target image blocks, and setting the average value as the current room temperature.

4. The infrared temperature measurement correction method based on the infrared image according to claim 3, wherein the step of screening out the first image block with high temperature to obtain the image block to be calculated comprises:

calculating the average temperature of pixel points in each first image block to obtain the temperature corresponding to each first image block;

sorting the plurality of first image blocks according to the temperature from large to small, and selecting first image blocks arranged behind the first image blocks in a first preset proportion as the image blocks to be calculated;

screening out low-temperature second image blocks to obtain a target image block comprises the following steps:

calculating the average temperature of pixel points in each second image block to obtain the temperature corresponding to each second image block;

and sorting the plurality of second image blocks according to the temperature from large to small, and selecting the second image blocks arranged in front in a second preset proportion as the target image blocks.

5. The infrared temperature measurement correction method based on the infrared image as claimed in claim 2, wherein the obtaining of the temperature error correction function according to the plurality of different room temperature values and the corresponding human body temperatures measured at the plurality of different room temperature values comprises:

and setting the temperature measured in the standard room temperature environment as the actual temperature of the surface of the human body, and performing least square fitting according to the actual temperature of the surface of the human body, the room temperature environment different from the standard room temperature environment and the temperature measured in the room temperature environment different from the standard room temperature environment to obtain a temperature error correction function.

6. An infrared temperature measurement correction terminal based on infrared images, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, and is characterized in that the processor executes the computer program to realize the following steps:

receiving an infrared temperature measurement request, and acquiring videos shot by a camera in different room temperature environments;

according to the corresponding video in each room temperature environment, performing temperature calculation based on the infrared image to obtain a plurality of different room temperature values;

and obtaining a temperature error correction function according to the plurality of different room temperature values and the corresponding human body temperatures measured under the plurality of different room temperature values, and correcting the temperature measured by infrared temperature measurement according to the temperature error correction function.

7. The infrared temperature measurement correction terminal based on infrared image of claim 6, characterized in that, the temperature calculation based on infrared image according to the corresponding video in each room temperature environment comprises:

the temperature calculation is performed in a standard room temperature environment and a room temperature environment different from the standard room temperature environment.

8. The infrared temperature measurement correction terminal based on the infrared image as claimed in claim 6, wherein the temperature calculation based on the infrared image comprises the steps of:

extracting an infrared image frame according to a shot video, dividing the infrared image frame into a plurality of first image blocks, and screening out the high-temperature first image blocks to obtain image blocks to be calculated;

dividing the image block to be calculated into a plurality of second image blocks, screening out low-temperature second image blocks to obtain a target image block, calculating an average value according to the target image blocks, and setting the average value as the current room temperature.

9. The infrared temperature measurement correction terminal based on the infrared image according to claim 8, wherein the step of screening out the first image block with high temperature to obtain the image block to be calculated comprises:

calculating the average temperature of pixel points in each first image block to obtain the temperature corresponding to each first image block;

sorting the plurality of first image blocks according to the temperature from large to small, and selecting first image blocks arranged behind the first image blocks in a first preset proportion as the image blocks to be calculated;

screening out low-temperature second image blocks to obtain a target image block comprises the following steps:

calculating the average temperature of pixel points in each second image block to obtain the temperature corresponding to each second image block;

and sorting the plurality of second image blocks according to the temperature from large to small, and selecting the second image blocks arranged in front in a second preset proportion as the target image blocks.

10. The infrared temperature measurement correction terminal based on infrared image of claim 7, characterized in that, the obtaining the temperature error correction function according to the plurality of different room temperature values and the corresponding human body temperatures measured at the plurality of different room temperature values comprises:

and setting the temperature measured in the standard room temperature environment as the actual temperature of the surface of the human body, and performing least square fitting according to the actual temperature of the surface of the human body, the room temperature environment different from the standard room temperature environment and the temperature measured in the room temperature environment different from the standard room temperature environment to obtain a temperature error correction function.

Technical Field

The invention relates to the technical field of infrared temperature measurement, in particular to an infrared temperature measurement correction method and a terminal based on infrared images.

Background

Thermal infrared temperature measurement is a non-contact measurement, and the measurement speed is high, and the thermal infrared temperature measurement is often used for quick screening in quarantine, and the principle is to capture the thermal radiation of an object, and the thermal radiation has propagation attenuation in the atmosphere, and the object can also exchange with the atmospheric thermal radiation, that is, the measurement result can be deviated due to the high and low environmental temperature. In the prior art, one is to manually input the ambient temperature to correct the measurement result, and the other is to solve and correct all the measurement results in one day so as to make the measurement results consistent, thereby eliminating the influence caused by the ambient temperature. But the former has single data and poor correction effect; the latter requires a large number of data sets and is computationally expensive.

Disclosure of Invention

The technical problem to be solved by the invention is as follows: the infrared temperature measurement correction method and the terminal based on the infrared image can reduce the influence of environmental temperature factors on human body temperature measurement precision and improve the temperature measurement precision.

In order to solve the technical problems, the invention adopts the technical scheme that:

an infrared temperature measurement correction method based on infrared images comprises the following steps:

receiving an infrared temperature measurement request, and acquiring videos shot by a camera in different room temperature environments;

according to the corresponding video in each room temperature environment, performing temperature calculation based on the infrared image to obtain a plurality of different room temperature values;

and obtaining a temperature error correction function according to the plurality of different room temperature values and the corresponding human body temperatures measured under the plurality of different room temperature values, and correcting the temperature measured by infrared temperature measurement according to the temperature error correction function.

In order to solve the technical problem, the invention adopts another technical scheme as follows:

an infrared temperature measurement correction terminal based on an infrared image comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the computer program to realize the following steps:

receiving an infrared temperature measurement request, and acquiring videos shot by a camera in different room temperature environments;

according to the corresponding video in each room temperature environment, performing temperature calculation based on the infrared image to obtain a plurality of different room temperature values;

and obtaining a temperature error correction function according to the plurality of different room temperature values and the corresponding human body temperatures measured under the plurality of different room temperature values, and correcting the temperature measured by infrared temperature measurement according to the temperature error correction function.

The invention has the beneficial effects that: when receiving an infrared temperature measurement request, acquiring videos shot by a camera in different room temperature environments, performing temperature calculation based on infrared images according to corresponding video image frames in each room temperature environment to obtain a plurality of different room temperature values, acquiring a plurality of different room temperature values and temperatures measured under the different room temperature values to obtain a temperature error correction function, and correcting the temperatures measured through infrared temperature measurement; the temperature of each image frame is calculated by utilizing the infrared image, the indoor temperature can be accurately measured, a temperature error correction function can be accurately obtained, and the temperature measured by infrared temperature measurement is corrected by utilizing the temperature error correction function, so that the human body temperature with higher precision is obtained; compared with the prior art, the method has the advantages that the measurement results are corrected by manually inputting the ambient temperature, but the correction precision is low due to single data, or all the measurement results are solved and corrected, but the calculation amount is large, the room temperature is calculated by using the infrared image, the temperature measurement precision can be ensured while the calculation amount is small, the influence of the ambient temperature factors on the human body temperature measurement precision is reduced, and the temperature measurement error is reduced.

Drawings

FIG. 1 is a flowchart of an infrared temperature measurement calibration method based on infrared images according to an embodiment of the present invention;

FIG. 2 is a schematic diagram of an infrared temperature measurement calibration terminal based on an infrared image according to an embodiment of the present invention;

FIG. 3 is a flowchart of temperature correction of an infrared temperature measurement correction method based on infrared images according to an embodiment of the present invention;

FIG. 4 is a flowchart of calculating a room temperature from an infrared image of an infrared temperature measurement calibration method based on an infrared image according to an embodiment of the present invention;

FIG. 5 is an infrared image frame division diagram of an infrared temperature measurement correction method based on infrared images according to an embodiment of the present invention;

fig. 6 is a flowchart of dividing image blocks to be calculated according to an infrared temperature measurement correction method based on an infrared image according to an embodiment of the present invention;

fig. 7 is a flowchart of calculating a room temperature according to a target image block in an infrared temperature measurement correction method based on an infrared image according to an embodiment of the present invention.

Description of reference numerals:

1. an infrared temperature measurement correction terminal based on infrared images; 2. a memory; 3. a processor.

Detailed Description

In order to explain technical contents, achieved objects, and effects of the present invention in detail, the following description is made with reference to the accompanying drawings in combination with the embodiments.

Referring to fig. 1, an embodiment of the present invention provides an infrared temperature measurement correction method based on an infrared image, including:

receiving an infrared temperature measurement request, and acquiring videos shot by a camera in different room temperature environments;

according to the corresponding video in each room temperature environment, performing temperature calculation based on the infrared image to obtain a plurality of different room temperature values;

and obtaining a temperature error correction function according to the plurality of different room temperature values and the corresponding human body temperatures measured under the plurality of different room temperature values, and correcting the temperature measured by infrared temperature measurement according to the temperature error correction function.

From the above description, the beneficial effects of the present invention are: when receiving an infrared temperature measurement request, acquiring videos shot by a camera in different room temperature environments, performing temperature calculation based on infrared images according to corresponding video image frames in each room temperature environment to obtain a plurality of different room temperature values, acquiring a plurality of different room temperature values and temperatures measured under the different room temperature values to obtain a temperature error correction function, and correcting the temperatures measured through infrared temperature measurement; the temperature of each image frame is calculated by utilizing the infrared image, the indoor temperature can be accurately measured, a temperature error correction function can be accurately obtained, and the temperature measured by infrared temperature measurement is corrected by utilizing the temperature error correction function, so that the human body temperature with higher precision is obtained; compared with the prior art, the method has the advantages that the measurement results are corrected by manually inputting the ambient temperature, but the correction precision is low due to single data, or all the measurement results are solved and corrected, but the calculation amount is large, the room temperature is calculated by using the infrared image, the temperature measurement precision can be ensured while the calculation amount is small, the influence of the ambient temperature factors on the human body temperature measurement precision is reduced, and the temperature measurement error is reduced.

Further, the performing temperature calculation based on the infrared image according to the video corresponding to each room temperature environment includes:

the temperature calculation is performed in a standard room temperature environment and a room temperature environment different from the standard room temperature environment.

According to the above description, temperature measurement in different room temperature environments can provide more diversified samples for subsequent correction of human body temperature measurement, so that the human body temperature can be obtained more accurately.

Further, the temperature calculation based on the infrared image comprises the following steps:

extracting an infrared image frame according to a shot video, dividing the infrared image frame into a plurality of first image blocks, and screening out the high-temperature first image blocks to obtain image blocks to be calculated;

dividing the image block to be calculated into a plurality of second image blocks, screening out low-temperature second image blocks to obtain a target image block, calculating an average value according to the target image blocks, and setting the average value as the current room temperature.

According to the above description, the infrared image frame in the video is divided into the plurality of first image blocks, the first image block with high temperature is screened out to obtain the image block to be calculated, the image block to be calculated is divided into the plurality of second image blocks, the second image block with low temperature is screened out to obtain the target image block, the average value of the target image block is calculated to be the current room temperature, the high temperature pixel block can be screened out, the low temperature pixel block can be screened out, the average value of the screened out image block is calculated, and therefore the current room temperature can be accurately obtained.

Further, the screening out the high-temperature first image block to obtain the image block to be calculated includes:

calculating the average temperature of pixel points in each first image block to obtain the temperature corresponding to each first image block;

sorting the plurality of first image blocks according to the temperature from large to small, and selecting first image blocks arranged behind the first image blocks in a first preset proportion as the image blocks to be calculated;

screening out low-temperature second image blocks to obtain a target image block comprises the following steps:

calculating the average temperature of pixel points in each second image block to obtain the temperature corresponding to each second image block;

and sorting the plurality of second image blocks according to the temperature from large to small, and selecting the second image blocks arranged in front in a second preset proportion as the target image blocks.

From the above description, it can be known that by sorting the image blocks according to the temperature from large to small, selecting the first image block arranged at the back in the first preset proportion and then selecting the second image block arranged at the front in the second preset proportion, the high and low temperature parts in the image can be effectively screened out.

Further, the obtaining a temperature error correction function according to the plurality of different room temperature values and the corresponding human body temperatures measured at the plurality of different room temperature values includes:

and setting the temperature measured in the standard room temperature environment as the actual temperature of the surface of the human body, and performing least square fitting according to the actual temperature of the surface of the human body, the room temperature environment different from the standard room temperature environment and the temperature measured in the room temperature environment different from the standard room temperature environment to obtain a temperature error correction function.

According to the above description, the temperature error correction function is obtained by fitting the temperatures measured in different room temperature environments and different room temperature environments by using the least square method, and the temperature measured in the standard room temperature environment is set as the actual temperature of the surface of the human body, so that the temperature measurement error can be better analyzed, and the measured temperature can be accurately corrected.

Referring to fig. 2, another embodiment of the present invention provides an infrared temperature measurement calibration terminal based on infrared images, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the following steps:

receiving an infrared temperature measurement request, and acquiring videos shot by a camera in different room temperature environments;

according to the corresponding video in each room temperature environment, performing temperature calculation based on the infrared image to obtain a plurality of different room temperature values;

and obtaining a temperature error correction function according to the plurality of different room temperature values and the corresponding human body temperatures measured under the plurality of different room temperature values, and correcting the temperature measured by infrared temperature measurement according to the temperature error correction function.

As can be seen from the above description, when receiving an infrared temperature measurement request, acquiring videos shot by a camera in different room temperature environments, performing temperature calculation based on an infrared image according to a video image frame corresponding to each room temperature environment to obtain a plurality of different room temperature values, acquiring a plurality of different room temperature values and temperatures measured at the plurality of different room temperature values to obtain a temperature error correction function, and correcting the temperatures measured by infrared temperature measurement; the temperature of each image frame is calculated by utilizing the infrared image, the indoor temperature can be accurately measured, a temperature error correction function can be accurately obtained, and the temperature measured by infrared temperature measurement is corrected by utilizing the temperature error correction function, so that the human body temperature with higher precision is obtained; compared with the prior art, the method has the advantages that the measurement results are corrected by manually inputting the ambient temperature, but the correction precision is low due to single data, or all the measurement results are solved and corrected, but the calculation amount is large, the room temperature is calculated by using the infrared image, the temperature measurement precision can be ensured while the calculation amount is small, the influence of the ambient temperature factors on the human body temperature measurement precision is reduced, and the temperature measurement error is reduced.

Further, the performing temperature calculation based on the infrared image according to the video corresponding to each room temperature environment includes:

the temperature calculation is performed in a standard room temperature environment and a room temperature environment different from the standard room temperature environment.

According to the above description, temperature measurement in different room temperature environments can provide more diversified samples for subsequent correction of human body temperature measurement, so that the human body temperature can be obtained more accurately.

Further, the temperature calculation based on the infrared image comprises the following steps:

extracting an infrared image frame according to a shot video, dividing the infrared image frame into a plurality of first image blocks, and screening out the high-temperature first image blocks to obtain image blocks to be calculated;

dividing the image block to be calculated into a plurality of second image blocks, screening out low-temperature second image blocks to obtain a target image block, calculating an average value according to the target image blocks, and setting the average value as the current room temperature.

According to the above description, the infrared image frame in the video is divided into the plurality of first image blocks, the first image block with high temperature is screened out to obtain the image block to be calculated, the image block to be calculated is divided into the plurality of second image blocks, the second image block with low temperature is screened out to obtain the target image block, the average value of the target image block is calculated to be the current room temperature, the high temperature pixel block can be screened out, the low temperature pixel block can be screened out, the average value of the screened out image block is calculated, and therefore the current room temperature can be accurately obtained.

Further, the screening out the high-temperature first image block to obtain the image block to be calculated includes:

calculating the average temperature of pixel points in each first image block to obtain the temperature corresponding to each first image block;

sorting the plurality of first image blocks according to the temperature from large to small, and selecting first image blocks arranged behind the first image blocks in a first preset proportion as the image blocks to be calculated;

screening out low-temperature second image blocks to obtain a target image block comprises the following steps:

calculating the average temperature of pixel points in each second image block to obtain the temperature corresponding to each second image block;

and sorting the plurality of second image blocks according to the temperature from large to small, and selecting the second image blocks arranged in front in a second preset proportion as the target image blocks.

From the above description, it can be known that by sorting the image blocks according to the temperature from large to small, selecting the first image block arranged at the back in the first preset proportion and then selecting the second image block arranged at the front in the second preset proportion, the high and low temperature parts in the image can be effectively screened out.

Further, the obtaining a temperature error correction function according to the plurality of different room temperature values and the corresponding human body temperatures measured at the plurality of different room temperature values includes:

and setting the temperature measured in the standard room temperature environment as the actual temperature of the surface of the human body, and performing least square fitting according to the actual temperature of the surface of the human body, the room temperature environment different from the standard room temperature environment and the temperature measured in the room temperature environment different from the standard room temperature environment to obtain a temperature error correction function.

According to the above description, the temperature error correction function is obtained by fitting the temperatures measured in different room temperature environments and different room temperature environments by using the least square method, and the temperature measured in the standard room temperature environment is set as the actual temperature of the surface of the human body, so that the temperature measurement error can be better analyzed, and the measured temperature can be accurately corrected.

Example one

Referring to fig. 1, an infrared temperature measurement correction method based on an infrared image includes the steps of:

s1, receiving the infrared temperature measurement request, and acquiring videos shot by the camera in different room temperature environments;

s2, according to the corresponding video in each room temperature environment, performing temperature calculation based on the infrared image to obtain a plurality of different room temperature values;

wherein the performing of the temperature calculation based on the infrared image according to the video corresponding to each room temperature environment includes: calculating the temperature in a standard room temperature environment and a room temperature environment different from the standard room temperature environment, wherein in the embodiment, the standard room temperature environment is 25-27 ℃, and the temperature measured in the standard room temperature environment is the surface temperature of the human body;

wherein the infrared image-based temperature calculation comprises the steps of: extracting an infrared image frame according to a shot video, dividing the infrared image frame into a plurality of first image blocks, and screening out the high-temperature first image blocks to obtain image blocks to be calculated, wherein in the embodiment, the infrared image frame is divided into 4 or multiple of 4 first image blocks;

dividing the image block to be calculated into a plurality of second image blocks, screening low-temperature second image blocks to obtain a target image block, calculating an average value according to the target image block, setting the average value as the current room temperature, and in the embodiment, dividing the image block to be calculated into 4 or 4 times of second image blocks;

specifically, in this embodiment, a current infrared image frame of a video is obtained, the infrared image frame is divided into 4 parts or a first image block which is multiple of 4 parts, an image block to be calculated is obtained after the first image block with high temperature is screened out, the image block to be calculated is divided into 4 parts or a second image block which is multiple of 4 parts, a target image block is obtained after the second image block with low temperature is screened out, an average value of all pixel temperatures on the target image block is obtained, the obtained average value is set as a current room temperature, and after a preset time or a preset frame, for example, after 0.2 to 0.5 seconds or 6 to 12 frames, the step of obtaining the current infrared image frame and calculating the room temperature is repeated.

S3, obtaining a temperature error correction function according to the plurality of different room temperature values and the corresponding human body temperatures measured under the plurality of different room temperature values, and correcting the temperature measured by infrared temperature measurement according to the temperature error correction function;

performing least square fitting according to the actual temperature of the surface of the human body, the room temperature environment different from the standard room temperature environment and the temperature measured in the room temperature environment different from the standard room temperature environment to obtain a temperature error correction function;

specifically, in this embodiment, referring to fig. 3, when the measured temperature needs to be corrected, a room temperature environment Tt0 with a standard room temperature environment of 25-27 ℃ and a human body temperature T0 measured under the room temperature environment are obtained, a plurality of different room temperature environments Tti with the room temperature environment outside the range of 25-27 ℃ and a human body temperature Ti measured under the room temperature environment are obtained, where i is 1, 2, and 3 … …, a temperature error correction function f (Tt) is obtained by performing least squares fitting according to data of T0, Ti, and Tti, and the corrected temperature Tture is Ti + f (Tti) is calculated by using a temperature error correction function f (Tt), so as to obtain a corrected human body temperature value.

Example two

The difference between the present embodiment and the first embodiment is that the step of calculating the room temperature by using the infrared image is further defined, specifically:

referring to fig. 4, in the present embodiment, a current infrared image frame of a video is obtained, the infrared image frame is divided into 4 first image blocks, referring to fig. 5, a current temperature of each first image block is obtained according to an average temperature of a pixel point in each first image block, temperatures of the first image blocks of each first image block are sorted from large to small, and image blocks arranged in the latter quarter are selected, that is, an image block with a temperature of 26.7 ℃ is selected as an image block to be calculated; referring to fig. 6, dividing the image block to be calculated into 4 second image blocks, obtaining the current temperature of each second image block according to the average temperature of the pixel points in each second image block, and sorting the temperatures of each second image block from large to small; referring to fig. 7, selecting three-quarter image blocks arranged in the front, namely selecting image blocks with the temperatures of 27.6 ℃, 27.3 ℃ and 26.9 ℃ as target image blocks, calculating the average value of the temperatures of all pixel points in the target image blocks to be 27.3 ℃, and taking the obtained average value as the current room temperature value; after the measurement is finished for a preset time or after a preset frame, in this embodiment, for 0.2 to 0.5 seconds or 6 to 12 frames, the step of obtaining the current infrared image frame and calculating the room temperature is repeated.

EXAMPLE III

Referring to fig. 2, an infrared temperature measurement correction terminal based on an infrared image includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the steps of the infrared temperature measurement correction method based on an infrared image in the first embodiment or the second embodiment.

In summary, according to the infrared temperature measurement correction method and the terminal based on the infrared image provided by the invention, when receiving an infrared temperature measurement request, videos shot by a camera in different room temperature environments are obtained, temperature calculation based on the infrared image is performed according to a video image frame corresponding to each room temperature environment to obtain a plurality of different room temperature values, a temperature error correction function is obtained after the plurality of different room temperature values and temperatures measured under the plurality of different room temperature values are obtained, and the temperature measured through infrared temperature measurement is corrected according to the temperature error correction function; the temperature of each image frame is calculated by utilizing the infrared image, the indoor temperature can be accurately measured, a temperature error correction function can be accurately obtained, and the temperature measured by infrared temperature measurement is corrected by utilizing the temperature error correction function, so that the human body temperature with higher precision is obtained; and temperature can be measured at different room temperature environments, more diversified samples can be provided for subsequent error correction functions, high-temperature and low-temperature image blocks are screened out in the infrared image, the current room temperature can be accurately obtained, the temperature measurement precision can be guaranteed while the calculated amount is small, the influence of environment temperature factors on the human body temperature measurement precision is reduced, and temperature measurement errors are reduced.

The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent changes made by using the contents of the present specification and the drawings, or applied directly or indirectly to the related technical fields, are included in the scope of the present invention.

13页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种具有报警机构的物联网温度传感器装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!