Temperature measurement method, program product and equipment based on region of interest

Through the temperature measurement method based on the region of interest, the temperature data of the region of interest in the monitoring scenario is recorded and displayed, and the problem of long-term temperature changes and large data volumes cannot be effectively recorded in the prior art, and temperature data recording and display that is convenient for analysis is realized.

CN119803684APending Publication Date: 2025-04-11YANTAI RAYTRON TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510173065.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-17
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

The existing infrared temperature recording device cannot effectively record long-term temperature changes in the area of ​​interest, and the data volume is large and it occupies a lot of storage space, making it impossible for scientific researchers to quickly analyze the temperature change trend.

Method used

A temperature measurement method based on the region of interest is provided. By obtaining the parameter configuration data of the region of interest and the current infrared image of the region of interest in the monitoring scene, the location of the region of interest is determined and its temperature data is recorded, reducing redundant data and facilitating the analysis of temperature change trends.

Benefits of technology

It realizes accurate recording and display of temperature data in the area of ​​interest, reduces the amount of data, reduces the storage space requirement, and facilitates scientific researchers to analyze temperature change trends and conduct secondary analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119803684A_ABST
    Figure CN119803684A_ABST
Patent Text Reader

Abstract

The invention discloses a temperature measurement method based on a region of interest, a program product and equipment, and the method comprises the steps: obtaining the parameter configuration data of the region of interest in a monitoring scene, and the reference configuration data comprises the position data; acquiring a current infrared image for monitoring the monitoring scene; acquiring and recording current temperature data corresponding to the region of interest according to the position data and the current infrared image; and displaying the temperature data of the region of interest according to the recorded current temperature data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of temperature measurement technology, and in particular to a temperature measurement method based on a region of interest, a computer program product, and a temperature measurement device based on a region of interest. Background Art

[0002] An infrared temperature recording device is a device that records the temperature data obtained by an infrared device. Currently, there are usually two ways to record temperature data: recording temperature data with pictures and recording temperature data with temperature videos. The method of recording temperature data with pictures can often only record single-frame temperature data, and cannot record the long-term temperature changes of the target of interest. Temperature videos are usually large in size because they need to maintain relatively high temperature measurement accuracy. If long-term monitoring is performed, it will take up a lot of storage space. Later secondary analysis requires the use of dedicated software for temperature video imaging. It is impossible to export the temperature data of the area of ​​interest over time, which is not convenient for scientific researchers to quickly analyze the trend of changes in the time domain. Summary of the invention

[0003] In order to solve the existing technical problems, the present invention provides a temperature measurement method based on a region of interest, a computer program product and a temperature measurement device based on a region of interest, which can focus on the temperature data of the region of interest, reduce redundant data, facilitate analysis of temperature change trends in the region of interest and facilitate secondary analysis.

[0004] In a first aspect, a temperature measurement method based on a region of interest is provided, comprising: obtaining parameter configuration data of a region of interest in a monitoring scene, wherein the reference configuration data includes position data; obtaining a current infrared image of the monitoring scene; obtaining and recording current temperature data corresponding to the region of interest based on the position data and the current infrared image; and displaying the temperature data of the region of interest based on the recorded current temperature data.

[0005] In a second aspect, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the temperature measurement method based on a region of interest as described in any one of the first aspects of the present application is implemented.

[0006] In a third aspect, a temperature measurement device based on a region of interest is provided, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes a temperature measurement method based on a region of interest as described in any one of the first aspects of the present application.

[0007] The present application obtains parameter configuration data of an area of ​​interest and a current infrared image in a monitoring scene, and can determine the area of ​​interest in the current infrared image based on the position data in the parameter configuration data, thereby obtaining the current temperature data of the area of ​​interest, and records the data; based on the recorded current temperature data, the temperature data of the area of ​​interest is displayed; by recording relevant temperature information of one or more areas of interest, the amount of data is greatly reduced, which makes it easier to record temperature changes in the area of ​​interest over a long period of time, highlighting the focus and reducing redundant data. There is no need for scientific researchers to extract the temperature of the area of ​​interest frame by frame, which makes it easier to analyze the temperature change trend of the area of ​​interest and conduct secondary analysis. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Figure 1 This is a diagram of an application environment of a temperature measurement method based on a region of interest in an embodiment;

[0009] Figure 2 is a flow chart of a temperature measurement method based on a region of interest in an embodiment;

[0010] Figure 3 is a schematic diagram of an embodiment in which the region of interest is a target contour region;

[0011] Figure 4 A schematic diagram of drawing an area of ​​interest on a user interface in one embodiment;

[0012] Figure 5 A schematic diagram of the change of the maximum temperature of the region of interest in one embodiment;

[0013] Figure 6 A schematic diagram of storage methods of different storage file formats in one embodiment;

[0014] Figure 7 is a schematic diagram of a temperature measurement device based on a region of interest in one embodiment;

[0015] Figure 8 Schematic diagram of a temperature measurement device based on a region of interest in one embodiment. DETAILED DESCRIPTION

[0016] The technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0017] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the technical field of the present invention. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the scope of protection of the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.

[0018] In the following description, reference is made to “some embodiments”, which describes a subset of all possible embodiments, but it should be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0019] See also Figure 1 , see Figure 1 , is an application environment diagram of a temperature measurement method based on a region of interest in an embodiment. The temperature measurement method based on a region of interest is applied to a temperature measurement device 10 based on a region of interest (hereinafter referred to as "temperature measurement device 10"). The temperature measurement device 10 includes an image acquisition device 12, a processor 13 and a memory 14. The image acquisition device 12 is used to acquire an infrared image of a scene to be monitored by the temperature measurement device 10. The processor 13 monitors and records the temperature data of the region of interest in the infrared image based on the infrared image acquired by the image acquisition device 12. The memory 14 is used to store programs and various types of data corresponding to the temperature measurement method based on the region of interest.

[0020] The temperature measuring device 10 includes but is not limited to handheld detection devices, non-handheld autonomously movable detection devices, and non-handheld non-autonomously movable detection devices. Among them, the handheld detection device includes but is not limited to a handheld imaging device with an infrared thermal imaging function and a handheld imaging device with a visible light imaging function. Among them, the non-handheld autonomously movable detection device includes but is not limited to an autonomously movable detection device with an infrared thermal imaging function and an autonomously movable detection device with a visible light imaging function. The non-handheld non-autonomously movable detection device includes but is not limited to a non-handheld and non-autonomously movable device with an infrared thermal imaging function and a non-handheld and non-autonomously movable device with a visible light imaging function. Among them, through the temperature measuring device 10, the user can measure the temperature of a certain scene based on the region of interest. Therefore, in view of the problem that the existing infrared temperature video recording device saves too much data, requires special software analysis, cannot record the temperature change of the region of interest, and is not convenient for scientific researchers to analyze the temperature change of the region of interest, the temperature measurement method based on the region of interest provided in the present application can be applied to the monitored scene to monitor and record the temperature of one or more regions of interest in the scene.

[0021] The image acquisition device 12 may be a combination of one or more sensors. The image acquisition device 12 may be a monocular vision sensor or a multi-vision sensor. For example, it may be a combination of one or more sensors selected from the group consisting of a thermal imaging sensor, a visible light image sensor, a millimeter wave sensor, a laser radar sensor, an infrared thermal imaging sensor, and a depth sensor.

[0022] The processor 13 may be one or more processors. When there are multiple processors 13, the multiple processors may be integrated on one chip or independently arranged on each chip. The temperature measuring device 10 may also be fixedly installed on a fixed device or at a fixed position in a fixed scene.

[0023] The temperature measuring device 10 may also include other sensor modules, including but not limited to environmental perception sensors and motion posture sensors. Environmental perception sensors include but are not limited to one or more combinations of the following sensors: brightness sensors, temperature sensors, haze sensors and other environmental sensors. Motion posture sensors include but are not limited to one or more combinations of the following: inertial sensors (Inertial Measurement Unit, IMU), speed sensors, acceleration sensors, gyroscope sensors, geomagnetic sensors, rotation vector sensors, steering wheel angle sensors, level sensors, tilt sensors, vibration sensors, displacement sensors and gravity sensors, etc.

[0024] The temperature measuring device 10 may also include a display terminal for displaying temperature data of an area of ​​interest in the current infrared image.

[0025] See also Figure 2 , is a flow chart of a temperature measurement method based on a region of interest provided in an embodiment of the present application. A temperature measurement method based on a region of interest is applied to a temperature measurement device based on a region of interest, and the temperature measurement method based on a region of interest includes the following steps:

[0026] S10: Acquire parameter configuration data of an area of ​​interest in a monitoring scene, wherein the reference configuration data includes location data.

[0027] In this embodiment, the parameter configuration data is used to indicate the parameter data used to record the temperature data of the region of interest. The parameter configuration data includes, but is not limited to, one or more combinations of the following: region of interest type, target type, temperature recording type, location data, number of regions of interest, recording time interval, preset temperature difference, temperature type, storage type, compression type, recording time configuration data, trigger temperature, timestamp data, storage file format, etc. For one or more parameters in the parameter configuration data, there are respective default values, and the parameter configuration data can be set to the default value, or different parameter configuration data can be set for different regions of interest.

[0028] The region of interest may be a whole image or a partial region in an image. The region of interest type indicates the shape type of the configured region of interest, including but not limited to a rectangular frame, a circular frame, an elliptical frame, a point, a line, a polygon, and a target object outline. The region of interest includes but is not limited to: two sub-regions with a temperature difference in the scene, a static target in the scene, or a contour area of ​​a fixed target. The configuration items of each parameter in the parameter configuration data can be displayed on the user interface, and each parameter is set separately through each configuration item. The target type indicates the category of the target, such as a person, an animal, a certain device, etc. The temperature recording type indicates the temperature type that needs to be recorded in the region of interest, including but not limited to one or more of the following combinations: maximum temperature, minimum temperature, average temperature, center temperature, ring temperature difference, and temperature difference between different regions of interest. For a region of interest, the maximum temperature represents the highest temperature in the region of interest, the minimum temperature represents the lowest temperature in the region of interest, the average temperature represents the average temperature in the region of interest, the center temperature represents the temperature of the center point of the region of interest, the ring temperature difference represents the difference between the average temperature of the region of interest and the ambient temperature, and the temperature difference between different regions of interest represents the temperature difference between the region of interest and another region of interest. The position data indicates the position of the region of interest in the captured infrared image. The number of regions of interest can be one or more. By setting the number of regions of interest on the user interface, one or more regions of interest can be configured. Each region of interest is distinguished from other regions of interest by a region of interest identifier. The region of interest identifier includes but is not limited to one or more of the following combinations: ID number, name, color, serial number, letter, image, position coordinates, type, etc., which can distinguish the region of interest. The recording time interval indicates how many frames are recorded every few frames or how many times per second or how long it is recorded every. The preset temperature difference is used to compare the temperature difference between the current temperature and the previous temperature to determine whether to update the temperature record of the region of interest. The temperature type includes but is not limited to: Celsius, Fahrenheit, Kelvin temperature or grayscale with temperature meaning. The storage type includes but is not limited to data file (dat file), spreadsheet file (xls, xl sx), text file (txt) or other custom format files. The compression type includes compressed file type and uncompressed file type. The recording time configuration data is used to indicate the time parameters for recording the temperature data of a region of interest, including but not limited to: recording start time, recording end time, recording time interval, and recording duration. The trigger temperature is used to determine whether to record the temperature data of the region of interest by the temperature parameter, including but not limited to the first trigger temperature for starting to record the temperature data of the region of interest and / or the second trigger temperature for stopping to record the temperature data of the region of interest. The timestamp data is used to indicate the type of the recorded timestamp or whether to display the timestamp. The type of the timestamp indicates the display format of the time.The storage file format includes at least one of the following or a combination of multiple of them: timestamp data, identification of the region of interest, temperature record type, temperature type, storage type, and compression type.

[0029] S11. Acquire a current infrared image of the monitoring scene.

[0030] In this embodiment, the image acquisition device is controlled to acquire the current infrared image of the monitoring scene in real time, wherein the current infrared image refers to the infrared image acquired in the current frame.

[0031] S12. Acquire and record current temperature data corresponding to the region of interest based on the position data and the current infrared image.

[0032] In this embodiment, after configuring the position data of one or more regions of interest, the specific position of the region of interest can be determined in the current infrared image based on the position data of the region of interest, and the current temperature data of the region of interest can be obtained. Since the pixel values ​​of the pixels in the infrared image can indicate the temperature information, the current temperature data can be obtained based on the pixel values ​​of the pixels in the region of interest in the current infrared image. The current temperature data includes but is not limited to one or more of the temperature recording types. In this way, only the temperature data of the region of interest can be recorded, for example, only one or more of the highest temperature / lowest temperature / average temperature / temperature difference of different regions of interest can be recorded. By recording the temperature data of the region of interest, the amount of data is small and the focus is highlighted, which is convenient for recording the temperature changes of the region of interest for a long time.

[0033] S13. Displaying temperature data of the area of ​​interest based on the recorded current temperature data.

[0034] In this embodiment, for each region of interest, based on the recorded current temperature data, the temperature change data of each region of interest within a period of time can be obtained, so that for any region of interest, the recorded temperature data can be displayed in the form of a chart on the user interface, or saved in a file, and the temperature of the region of interest is dynamically updated in the form of a chart to the preview interface and / or the data to be recorded is saved in a specified location, which is convenient for scientific researchers to export. The exported file is highly versatile and can be opened with general software, which is convenient for scientific researchers to analyze the temperature changes of the region of interest.

[0035] In some embodiments, a setting unit and a recording unit may be configured on a user interface, and one or more of the parameter configuration data may be set through the configuration items corresponding to the setting unit, such as setting the type of the region of interest, and the temperature recording method may be set through the recording unit, such as setting the temperature recording type, etc. For the configuration of the parameter configuration data, the required parameters may be customized according to the parameter items corresponding to the setting unit and the recording unit.

[0036] For each region of interest, the corresponding parameter configuration data may be partially the same, completely the same, or completely different, that is, the parameter configuration data of each region of interest may be separately set on the user interface. In this way, each region of interest may be set accordingly according to subsequent data requirements. Compared with the temperature video recorded in the prior art, the temperature measurement method based on the region of interest provided in the embodiment of the present application only focuses on the temperature change of the region of interest. The amount of data per frame changes from the temperature data of all points of the entire frame that needs to be recorded in the temperature video to the relevant temperature information of one or more regions of interest. The amount of data is greatly reduced, which is convenient for recording the temperature change of the region of interest for a long time; it has strong versatility, and the recorded data does not require special software and can be read using general software; the amount of data is small, and at the same frame rate, the memory occupancy is one millionth of that of the temperature video, which can support longer recording time; the focus is prominent, redundant data is reduced, and scientific researchers do not need to extract the temperature of the region of interest frame by frame, which is convenient for analyzing the temperature change trend of the region of interest and conducting secondary analysis; it is more flexible, with a variety of setting options to choose from, which is convenient for scientific researchers to obtain the required temperature of the region of interest; the temperature is more accurate, and it can also be combined with real-time laser ranging to obtain the real-time distance of the region of interest, and the temperature data of the region of interest is corrected according to the real-time distance to obtain a more accurate temperature of the region of interest.

[0037] In an application scenario, multiple target instruments in the scenario are set as different regions of interest. The temperature change data of each different target instrument is monitored through one or more embodiments of the present application, and the parameter configuration data of each target instrument is configured, so that the temperature data of each target instrument in the production process can be obtained. This not only makes it easier for R&D personnel in various industries to collect and analyze the temperature change trends and temperature change speeds of multiple target instruments in the production process, but also facilitates the discovery of problems caused by inconsistent temperature changes in mass production of target instruments, and effectively reduces the time cost, data storage cost and technical threshold of various industries using thermal imagers to analyze problems in the industry.

[0038] An example application scenario is as follows. For example, the infrared temperature array is a 640*512 array, and the average temperature of an area of ​​interest is specified. If each temperature point uses 2 bytes for storage, when the recording frame rate is 25HZ, the data volume of recording 1 frame of temperature video is 640*512*2=655360Byte, and the uncompressed temperature data recorded for 1 hour is 54.93G. The data volume of recording the average temperature of a frame of the area of ​​interest using the temperature measurement method based on the area of ​​interest provided in the embodiment of the present application is 2Byte, and the data volume of recording for 1 hour is 175.78KB. The storage space required for using this device is 1 / 327680 of that of an ordinary temperature video. For scenarios where it is necessary to observe the temperature changes of the area of ​​interest for a long time, this device can be used to automatically record for a long time. Compared with the temperature video, the data stored is longer, which reduces the storage cost and greatly reduces the workload of scientific researchers to manually extract the temperature of the area of ​​interest from the temperature video.

[0039] In the above embodiment, the parameter configuration data of the region of interest and the current infrared image in the monitoring scene are obtained, and the region of interest in the current infrared image can be determined according to the position data in the parameter configuration data, so as to obtain the current temperature data of the region of interest and record it, and display the temperature data of the region of interest according to the recorded current temperature data; by recording the relevant temperature information of one or more regions of interest, the amount of data is greatly reduced, which makes it easier to record the temperature changes of the region of interest over a long period of time, highlight the focus, reduce redundant data, and eliminate the need for scientific researchers to extract the temperature of the region of interest frame by frame, which makes it easier to analyze the temperature change trend of the region of interest and conduct secondary analysis.

[0040] In some embodiments, the acquiring of parameter configuration data of the area of ​​interest in the monitoring scene includes at least one of the following:

[0041] Acquire pre-stored preset position data of the region of interest, and configure the position data of the region of interest according to the preset position data;

[0042] A scene image captured of a monitoring scene is obtained, and based on the scene image, the region of interest and location data of the region of interest are obtained.

[0043] In this embodiment, the region of interest can be set on the user interface, for example, the region of interest can be configured by the configuration items of the region of interest provided by the setting unit. The region of interest can be manually drawn on the user interface, or imported through a pre-stored region of interest module, by manually drawing and / or automatically importing a pre-stored region of interest of a preset type to a specified position of the image and / or identifying the target through a target recognition algorithm and drawing the target area on the image. The automatically imported region of interest comes from the preset position data of the pre-stored region of interest. The flexible configuration items of the region of interest make it easier for scientific researchers to focus on key points, reduce the amount of data to be saved, and reduce the workload of secondary analysis to extract the target temperature of the region of interest, which is convenient for scientific researchers to conduct secondary analysis on the temperature changes in the target area and observe the rules.

[0044] In the above embodiments, the region of interest may be configured through a user interface, and / or location data of the region of interest may be pre-configured and provided to the user through a variety of configuration methods, which may provide a flexible setting method and improve the user experience.

[0045] Optionally, the acquiring pre-stored preset location data of the region of interest and configuring the location data of the region of interest according to the preset location data comprises at least one of the following:

[0046] Acquire pre-stored preset position coordinate data, use a closed shape area formed by the preset position coordinate data as the region of interest, and use position data of the closed shape area as the position data of the region of interest;

[0047] Acquire pre-stored preset position coordinate data and preset shape, and determine the region of interest and position data of the region of interest according to the preset position coordinate data and preset shape;

[0048] A pre-stored image template file including a preset shape is obtained, a preset shape area is extracted from the image template file and the position coordinates of the preset shape are calculated, the preset shape area is used as an area of ​​interest and the position coordinates of the preset shape are used as position data of the area of ​​interest.

[0049] In this embodiment, the preset position coordinate data may be one or more preset position point coordinates. For example, a closed shape can be determined by presetting multiple position point coordinates, thereby obtaining a region of interest. The preset position coordinate data may include the center point coordinates of the preset shape, so that the shape type and center point coordinates of the region of interest can be set at the same time to configure the region of interest. It is also possible to directly draw a preset shape in an image template file, and the image template file is consistent with the size of the collected infrared image, so that the position of the preset shape in the image template file is the shape type and position of the region of interest. The user directly draws the region of interest in advance in the image template file, and then imports the image template file. The setting unit can provide a variety of preset methods for setting the region of interest, thereby improving the flexibility of setting the region of interest.

[0050] In the above embodiments, a plurality of pre-setting modes can be provided to set the region of interest, thereby improving the flexibility of setting the region of interest.

[0051] Optionally, the acquiring a scene image captured of the monitored scene, and acquiring the region of interest and location data of the region of interest based on the scene image, includes at least one of the following:

[0052] Based on the parameter configuration data, a configured target type is acquired, and according to the target type, a target is identified from the scene image, a target contour of the target is extracted, a target contour area is used as a region of interest, and position data of the target contour is used as position data of the region of interest;

[0053] Displaying the scene image on a user interface, acquiring a drawing area corresponding to a drawing operation based on the user interface, using the drawing area as the region of interest, and using position data of the drawing area as the position data of the region of interest;

[0054] Based on the target type configured in the parameter configuration data, a target is identified from the scene image according to the target type, a target contour of the target is extracted, and a contour area corresponding to the target contour is displayed in the scene image, a modification operation on the contour area is obtained based on the user interface, and modification data corresponding to the modification operation is obtained, and a modified area is determined based on the contour area and the modification data, and the modified area is used as a region of interest, and the position data of the modified area is used as the position data of the region of interest;

[0055] Acquire a scene image, pre-divide the scene image into multiple sub-areas according to the temperature area distribution in the scene image, select a target sub-area whose average temperature difference is greater than a preset average temperature difference from the multiple sub-areas, and determine the area of ​​interest and the position data of the area of ​​interest based on the target sub-area.

[0056] In this embodiment, the region of interest can also be set based on the captured scene image. The user can configure the target type in advance, such as people, animals, cups, equipment, etc. After obtaining the configured target type, the target is identified from the scene image, and the target contour area is used as the region of interest. For example, Figure 3 As shown, Figure 3 Schematic diagram of an embodiment in which the region of interest is a target contour region, and an intelligent recognition algorithm is used to identify Figure 3 Then place the cup in Figure 3 The outline of the cup is drawn as the region of interest. The intelligent recognition algorithm includes but is not limited to a recognition method based on machine learning.

[0057] Optionally, the parameter configuration data includes a type of region of interest, and acquiring a drawing region corresponding to a drawing operation based on the user interface, and using position data of the drawing region as position data of the region of interest includes:

[0058] Based on the type of the region of interest displayed on the user interface, a selected target shape is obtained, based on the target shape, a drawing operation on the user interface is obtained, and a drawing area after the drawing operation is obtained, and position data of the drawing area is used as position data of the region of interest.

[0059] In this embodiment, the drawing operation includes but is not limited to a move operation, a rotation operation, a pinch operation, a click operation, etc. The scene image is displayed on the user interface, and the user selects the type of the region of interest, selects the required target shape, and then moves the target shape on the user interface through a move operation to determine the position of interest, the target shape can be rotated through a rotation operation, the size of the target shape can be scaled or enlarged through a pinch operation, and the target shape can be moved through a click operation, etc., thereby configuring the region of interest and the position of the region of interest through one or more operations of the drawing operation, such as Figure 4 As shown, Figure 4 This is a schematic diagram of drawing a region of interest on a user interface in an embodiment. The region of interest type is displayed on the user interface. The user selects a square as the target shape, and the region of interest is determined by adjusting the position and size of the square.

[0060] In this embodiment, after the target contour area is extracted through the intelligent recognition algorithm, the target contour area is displayed on the user interface, and the user can modify the target contour area, fine-tune the target contour area through the modification operation, and use the modified area as the area of ​​interest. This can make the set area of ​​interest more in line with user needs and make the set area of ​​interest more accurate.

[0061] When there are multiple regions of interest determined, at least two regions with an average temperature difference greater than a preset average temperature difference can be used as regions of interest, so as to facilitate the coordinated observation of the temperature change trend of two associated regions of interest and facilitate subsequent correlation analysis. Optionally, when multiple regions of interest are determined based on multiple sub-regions, target sub-regions with an average temperature difference greater than a preset average temperature difference are screened from the multiple sub-regions. Since the scene image is an infrared image and can represent temperature information, multiple sub-regions can be preliminarily divided according to the pixel value distribution of the pixel points in the scene image, and the average temperatures in different sub-regions are different. Two sub-regions with an average temperature difference greater than the preset average temperature difference are screened out as regions of interest.

[0062] In the above embodiment, the target can be automatically identified and the target contour area can be used as the region of interest. The required region of interest can also be configured on the scene image displayed on the user interface. The automatically identified target contour area can also be fine-tuned to obtain a more accurate region of interest. By providing a variety of user interface configuration regions of interest methods, the flexibility of region of interest setting is increased, thereby improving user experience.

[0063] In some embodiments, the parameter configuration data further includes recording time configuration data, and the recording time configuration data includes at least one of the following: recording start time, recording end time, recording time interval, and recording duration;

[0064] The acquiring and recording the current temperature data corresponding to the region of interest according to the position data and the current infrared image comprises:

[0065] According to the recording time configuration data, the position data and the current infrared image, current temperature data corresponding to the region of interest is acquired and recorded.

[0066] In this embodiment, for each region of interest, respective recording time configuration data can be configured respectively, so as to control the automatic start of recording the temperature data of a region of interest, stop recording the temperature data of a region of interest, and automatically control the recording interval. The recording interval can be calculated in time units or in frame rates. In this way, the recording requirements of each region of interest can be customized according to the user's own needs.

[0067] In the above embodiment, the recording time configuration data of each region of interest can be configured to automatically control the start time, end time and recording duration of the temperature data of a region of interest, thereby realizing automatic monitoring and temperature measurement.

[0068] In some embodiments, the parameter configuration data further includes trigger temperature data corresponding to the temperature of the region of interest, and the trigger temperature data includes one of the following: a first trigger temperature indicating to start recording the temperature data of the region of interest, and a second trigger temperature indicating to stop recording the temperature data of the region of interest; the acquiring and recording the current temperature data corresponding to the region of interest according to the position data and the current infrared image further includes:

[0069] Obtain the current temperature indicated by the current temperature data corresponding to the region of interest, start recording the current temperature data of the region of interest when the current temperature reaches the first trigger temperature, and stop recording the current temperature data of the region of interest when the current temperature reaches the second trigger temperature.

[0070] In this embodiment, a trigger temperature can be configured for each region of interest, and the trigger temperatures of each region of interest can be the same or different. In a scene image, if the temperature difference of the region of interest is large, different trigger temperatures can be set, so as to achieve more intelligent monitoring of the region of interest through triggering temperature. For the same region of interest, the first trigger temperature can be higher than the second trigger temperature, and the first trigger temperature can also be lower than the second trigger temperature. The current temperature data of the region of interest will be recorded only when it is within the range between the first trigger temperature and the second trigger temperature.

[0071] An example application scenario is as follows: specify two regions of interest, namely the outline of device A and the outline of device B, specify the highest temperature, lowest temperature, average temperature, and center temperature of the region of interest to be recorded, preset the temperature difference to be 0.1 degrees Celsius to record once, specify the temperature type to be Celsius, specify the display timestamp, specify the first trigger temperature for starting recording of device A to be 80 degrees Celsius, specify the first trigger temperature for starting recording of device B to be 20 degrees Celsius, and specify the second trigger temperature for stopping recording to be the ambient temperature. After the settings are completed, the time required for device A and device B to go from the specified first trigger temperature to room temperature and the temperature change trend can be recorded at the same time. After recording, it can be exported for analyzing the consistency and difference of the temperature change trends of a batch of devices. This is very useful for professionals in various industries to analyze the temperature change trends of targets of interest, and can greatly save the experimental recording time and subsequent secondary analysis time of professionals in various industries.

[0072] In the above embodiment, by configuring the trigger temperature to trigger the recording of the temperature data of the region of interest, the temperature change data from the first trigger temperature to the second trigger temperature can be obtained to obtain the temperature change region of the region of interest, which facilitates subsequent accurate data analysis.

[0073] In some embodiments, the parameter configuration data further includes a preset temperature difference, and the acquiring and recording of current temperature data corresponding to the region of interest according to the position data and the current infrared image further includes:

[0074] The current temperature indicated by the current temperature data corresponding to the region of interest is obtained, and when the temperature difference between the current temperature and the last recorded temperature of the current temperature is greater than the preset temperature difference, the current temperature data corresponding to the region of interest is recorded.

[0075] In this embodiment, for an area of ​​interest, the current temperature is the real-time temperature obtained through the current infrared image, and the last recorded temperature is the last recorded temperature in the recorded temperature data with the current time as a reference. For example, for an area of ​​interest, it has been recorded 5 times in chronological order, and for the current temperature, the fifth time is the last recorded temperature. By presetting the temperature difference, the temperature of the area of ​​interest with large changes can be collected. For example, the temperature of a device during use can be monitored. If the user is more concerned about the temperature change during use that is greater than 1 degree Celsius, the temperature difference can be set to 1 degree Celsius. For example, if the last record is 5 degrees Celsius, it will not be recorded if the current temperature is 5.1 degrees Celsius.

[0076] In the above embodiment, a preset temperature difference can be configured for each area of ​​interest. Only when the temperature difference between the current temperature and the last recorded temperature is greater than the preset temperature difference, the current temperature data corresponding to the area of ​​interest will be recorded, so that the temperature points of interest in the area of ​​interest can be recorded, which facilitates subsequent analysis of temperature change trends.

[0077] In some embodiments, displaying the temperature data of the region of interest according to the recorded current temperature data comprises at least one of the following:

[0078] According to the recorded current temperature data, the temperature record data corresponding to the region of interest within the target time period is obtained, and based on the temperature record data, the temperature change of the region of interest is displayed in a chart;

[0079] Display the recorded current temperature data in real time on the user interface;

[0080] The configured temperature record type is obtained, and the temperature data of the area of ​​interest is displayed according to the recorded current temperature data and the temperature record type.

[0081] In this embodiment, the temperature data of interest is dynamically updated to the preview interface in the form of a chart. The user can view the temperature changes of the area of ​​interest at any time through the dynamically updated chart. Figure 5 As shown, Figure 5This is a schematic diagram of the change in the maximum temperature of the area of ​​interest in an embodiment. The configured temperature record type includes the maximum temperature, and then the multiple maximum temperatures recorded are presented in the form of a chart. The minimum temperature of the current frame temperature is 19.3°C, and the maximum temperature of the current frame temperature is 27°C.

[0082] In the above embodiment, the temperature data of interest is dynamically updated to the preview interface in the form of a chart. The user can view the temperature change of the area of ​​interest at any time through the dynamically updated chart, which is convenient for the user to intuitively understand the temperature change of the area of ​​interest.

[0083] In some embodiments, the parameter configuration data further includes a storage file format, the storage file format includes at least one or more of the following combinations: timestamp data, an identification of an area of ​​interest, a temperature recording type, a target type, position data, the number of areas of interest, a recording time interval, a temperature type, a storage type, and a compression type. The acquiring and recording of the current temperature data corresponding to the area of ​​interest according to the position data and the current infrared image includes:

[0084] Based on the storage file format, according to the position data and the current infrared image, acquiring and recording the current temperature data;

[0085] The method further comprises:

[0086] Based on the storage file format, the recorded current temperature data is saved in a preset storage location in a time sequence.

[0087] In this embodiment, the storage file format can be configured in advance, and the attribute values ​​that the storage file format needs to include can be configured in advance, such as whether to compress, whether to include a timestamp, etc. The attribute values ​​include at least one of the following or a combination of more: timestamp data, identification of the region of interest, temperature record type, target type, location data, number of regions of interest, recording time interval, temperature type, storage type, compression type. For example, a storage format for temperature data includes information of other attribute values ​​and specified temperature data, a storage format for temperature data stores only the temperature data of a specified region of interest, and a storage format for temperature data stores compressed temperature data of a region of interest. The temperature data here can be real temperature, uncorrected temperature, or grayscale data with temperature meaning. For example Figure 6 As shown, Figure 6 is a schematic diagram of storage methods of different storage file formats in an embodiment, Figure 6 (a) in the figure is a storage format that does not contain attribute values, does not contain timestamps, and only contains average temperature. Figure 6 (b) is a storage format that contains a single row of attribute values ​​for the region of interest, a timestamp, and average temperature. Figure 6(c) in the figure is a storage format that contains a single row of attribute values ​​for the region of interest, timestamp, average temperature, and maximum temperature. Figure 6 (d) in the figure is a storage format that contains two rows of attribute values ​​of the region of interest, a timestamp, and an average temperature.

[0088] By setting the storage file format, you can select or combine multiple attribute values ​​to obtain multiple recording methods, which can not only meet the needs of viewing the temperature change trend of the area of ​​interest at any time, but also meet the needs of scientific researchers to export data and conduct secondary analysis in the later stage, which is more convenient and flexible. Not only can the temperature data of the area of ​​interest be extracted from the recorded temperature video, but it can also be used for real-time preview scenes.

[0089] For long-term temperature videos that have been recorded, the temperature data of the specified area can be saved through the interface. Scientific researchers can directly use the saved temperature data of the specified area without watching the entire video or manually extracting each frame of temperature data in the specified area of ​​interest. This greatly saves the time of secondary analysis for scientific researchers and facilitates them to further analyze the temperature change trend in the area of ​​interest.

[0090] In some embodiments, before recording the current temperature data, the method further includes:

[0091] Acquire the real-time distance between the region of interest and the image acquisition device;

[0092] Obtain the mapping relationship between distance and temperature correction parameters;

[0093] The current temperature data is corrected according to the real-time distance and the mapping relationship to obtain corrected temperature data, and the corrected temperature data is updated as the current temperature data.

[0094] Since the temperature of infrared images is greatly affected by temperature correction parameters such as emissivity, reflection temperature, target distance, atmospheric transmittance, and ambient temperature, manufacturers often perform secondary temperature correction on the above temperature correction parameters of the target to obtain a more accurate temperature. For real-time preview scenes, the relevant parameters of the target of interest can be updated in real time through various sensors, so the temperature correction of the target of interest in the real-time preview interface is more accurate. For example, the distance to the target in the area of ​​interest can be updated through the distance sensor, and the ambient temperature can be updated through the temperature sensor. Since infrared temperature measurement is greatly affected by temperature correction parameters, if a temperature video is recorded, in order to facilitate secondary analysis, secondary temperature correction can be performed according to user settings. Manufacturers often only record the temperature correction parameters of all regions of interest at a certain moment. When the temperature correction parameters such as the target position or distance in the area of ​​interest change, they are often unable to be updated in real time.

[0095] The temperature of the area of ​​interest obtained from the video is often corrected according to the temperature correction parameters of the entire frame, and the temperature measurement accuracy is lower than that of the preview interface. When the distance of the target in the area of ​​interest changes, the real-time distance between the target and the image acquisition state can be obtained in real time, and the target temperature adjustment value corresponding to the real-time distance can be obtained according to the mapping relationship between the pre-configured distance and the temperature adjustment value, and the current temperature data can be corrected according to the target temperature adjustment value. The mapping relationship includes temperature adjustment values ​​corresponding to multiple different distances. The mapping relationship can be calibrated in advance at different distances. In an optional implementation, the real-time distance can be obtained by laser ranging. In this way, when the target distance of the area of ​​interest changes, the current temperature data is automatically corrected according to the change in distance, so as to obtain a more accurate temperature of the area of ​​interest.

[0096] In the above embodiment, the real-time distance of the target in the region of interest is also obtained in real time, so as to correct the current temperature data and obtain more accurate temperature data of the region of interest.

[0097] It is understandable that the parameter configuration data includes but is not limited to one or more of the following combinations: region of interest type, target type, temperature recording type, location data, number of regions of interest, recording time interval, preset temperature difference, temperature type, storage type, compression type, recording time configuration data, trigger temperature, timestamp data, storage file format, etc. Therefore, one or more of the above embodiments can be combined with each other to form some embodiments.

[0098] On the other hand, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the temperature measurement method based on the region of interest described in any embodiment of the present application.

[0099] Among them, in the computer program product, an optional implementation form of the program module architecture of the computer program that implements the various steps of the temperature measurement method based on the region of interest can be a temperature measurement device based on the region of interest.

[0100] See also Figure 7 An embodiment of the present application provides a temperature measurement device based on an area of ​​interest, including: a setting module 71, used to obtain parameter configuration data of the area of ​​interest in the monitoring scene, wherein the reference configuration data includes position data; an acquisition module 72, used to obtain a current infrared image of the monitoring scene; a recording module 73, used to obtain and record current temperature data corresponding to the area of ​​interest based on the position data and the current infrared image; a display module 74, used to display the temperature data of the area of ​​interest based on the recorded current temperature data.

[0101] Optionally, the setting module 71 is used to:

[0102] Acquire pre-stored preset position data of the region of interest, and configure the position data of the region of interest according to the preset position data;

[0103] A scene image captured of a monitoring scene is obtained, and based on the scene image, the region of interest and location data of the region of interest are obtained.

[0104] Optionally, the setting module 71 is used to:

[0105] Acquire pre-stored preset position coordinate data, use a closed shape area formed by the preset position coordinate data as the region of interest, and use position data of the closed shape area as the position data of the region of interest;

[0106] Acquire pre-stored preset position coordinate data and preset shape, and determine the region of interest and position data of the region of interest according to the preset position coordinate data and preset shape;

[0107] A pre-stored image template file including a preset shape is obtained, a preset shape area is extracted from the image template file and the position coordinates of the preset shape are calculated, the preset shape area is used as an area of ​​interest and the position coordinates of the preset shape are used as position data of the area of ​​interest.

[0108] Optionally, the setting module 71 is used to:

[0109] Based on the parameter configuration data, a configured target type is acquired, and according to the target type, a target is identified from the scene image, a target contour of the target is extracted, a target contour area is used as a region of interest, and position data of the target contour is used as position data of the region of interest;

[0110] Displaying the scene image on a user interface, acquiring a drawing area corresponding to a drawing operation based on the user interface, using the drawing area as the region of interest, and using position data of the drawing area as the position data of the region of interest;

[0111] Based on the target type configured in the parameter configuration data, a target is identified from the scene image according to the target type, a target contour of the target is extracted, and a contour area corresponding to the target contour is displayed in the scene image, a modification operation on the contour area is obtained based on the user interface, and modification data corresponding to the modification operation is obtained, and a modified area is determined based on the contour area and the modification data, and the modified area is used as a region of interest, and the position data of the modified area is used as the position data of the region of interest;

[0112] Acquire a scene image, pre-divide the scene image into multiple sub-areas according to the temperature area distribution in the scene image, select a target sub-area whose average temperature difference is greater than a preset average temperature difference from the multiple sub-areas, and determine the area of ​​interest and the position data of the area of ​​interest based on the target sub-area.

[0113] Optionally, the setting module 71 is used to:

[0114] Based on the type of the region of interest displayed on the user interface, a selected target shape is obtained, based on the target shape, a drawing operation on the user interface is obtained, and a drawing area after the drawing operation is obtained, and position data of the drawing area is used as position data of the region of interest.

[0115] Optionally, the parameter configuration data further includes recording time configuration data, and the recording time configuration data includes at least one of the following: recording start time, recording end time, recording interval, and recording duration; the recording module 73 is further used to:

[0116] According to the recording time configuration data, the position data and the current infrared image, current temperature data corresponding to the region of interest is acquired and recorded.

[0117] Optionally, the parameter configuration data further includes trigger temperature data corresponding to the temperature of the region of interest, and the trigger temperature data includes one of the following: a first trigger temperature indicating to start recording the temperature data of the region of interest, and a second trigger temperature indicating to stop recording the temperature data of the region of interest; the recording module 73 is further used to:

[0118] Obtain the current temperature indicated by the current temperature data corresponding to the region of interest, start recording the current temperature data of the region of interest when the current temperature reaches the first trigger temperature, and stop recording the current temperature data of the region of interest when the current temperature reaches the second trigger temperature.

[0119] Optionally, the parameter configuration data also includes a preset temperature difference, and the recording module 73 is further used to:

[0120] The current temperature indicated by the current temperature data corresponding to the region of interest is obtained, and when the temperature difference between the current temperature and the last recorded temperature of the current temperature is greater than the preset temperature difference, the current temperature data corresponding to the region of interest is recorded.

[0121] Optionally, the display module 74 is also used for:

[0122] According to the recorded current temperature data, the temperature record data corresponding to the region of interest within the target time period is obtained, and based on the temperature record data, the temperature change of the region of interest is displayed in a chart;

[0123] Display the recorded current temperature data in real time on the user interface;

[0124] The configured temperature record type is obtained, and the temperature data of the area of ​​interest is displayed according to the recorded current temperature data and the temperature record type.

[0125] Optionally, the parameter configuration data further includes a storage file format, and the storage file format includes at least one or more of the following combinations: timestamp data, identification of an area of ​​interest, temperature recording type, target type, location data, number of areas of interest, recording time interval, temperature type, storage type, and compression type. The recording module 73 is further used to:

[0126] Based on the storage file format, according to the position data and the current infrared image, acquiring and recording the current temperature data;

[0127] The display module 74 is also used for:

[0128] Based on the storage file format, the recorded current temperature data is saved in a preset storage location in a time sequence.

[0129] Optionally, the recording module 73 is further used for:

[0130] Acquire the real-time distance between the target in the region of interest and the image acquisition device;

[0131] Get the mapping relationship between distance and temperature adjustment value;

[0132] The current temperature data is corrected according to the real-time distance and the mapping relationship to obtain corrected temperature data, and the corrected temperature data is updated as the current temperature data.

[0133] See also Figure 8 On the other hand, an embodiment of the present application further provides a temperature measurement device 10 based on a region of interest, including a processor 13 and a memory 14, wherein the memory 14 stores a computer program. When the computer program is executed by the processor, the processor 13 executes the steps of a temperature measurement method based on a region of interest provided in any of the above embodiments of the present application.

[0134] The processor 13 is a control center, which uses various interfaces and lines to connect the various parts of the temperature measuring device based on the region of interest, and executes various functions and processes data of the temperature measuring device based on the region of interest by running or executing software programs and / or modules stored in the memory 14, and calling data stored in the memory 14. Optionally, the processor 13 may include one or more processing cores; preferably, the processor 13 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user pages and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 13.

[0135] The memory 14 can be used to store software programs and modules. The processor 13 executes various functional applications and data processing by running the software programs and modules stored in the memory 14. The memory 14 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created based on the use of a temperature measurement device based on an area of ​​interest, etc. In addition, the memory 14 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 14 may also include a memory processor to provide the processor 13 with access to the memory 14.

[0136] On the other hand, an embodiment of the present application further provides a storage medium storing a computer program. When the computer program is executed by a processor, the processor executes the steps of a temperature measurement method based on a region of interest provided in any of the above embodiments of the present application.

[0137] In another aspect of an embodiment of the present application, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, a temperature measurement method based on a region of interest as described in any embodiment of the present application is implemented.

[0138] Those of ordinary skill in the art can understand that all or part of the processes in the methods provided in the above embodiments can be completed by instructing related hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct RAMbus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.

[0139] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. The protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A temperature measurement method based on a region of interest, characterized in that: include: Acquire parameter configuration data of an area of ​​interest in a monitoring scene, wherein the reference configuration data includes location data; Acquire the current infrared image of the monitoring scene; Acquire and record current temperature data corresponding to the region of interest according to the position data and the current infrared image; The temperature data of the region of interest is displayed according to the recorded current temperature data.

2. The temperature measurement method based on the region of interest according to claim 1, characterized in that: The obtaining of parameter configuration data of the area of ​​interest in the monitoring scene includes at least one of the following: Acquire pre-stored preset position data of the region of interest, and configure the position data of the region of interest according to the preset position data; A scene image captured of a monitoring scene is obtained, and based on the scene image, the region of interest and position data of the region of interest are obtained.

3. The temperature measurement method based on the region of interest according to claim 2, characterized in that: The acquiring of pre-stored preset location data of the region of interest and configuring the location data of the region of interest according to the preset location data comprises at least one of the following: Acquire pre-stored preset position coordinate data, use a closed shape area formed by the preset position coordinate data as the region of interest, and use position data of the closed shape area as the position data of the region of interest; Acquire pre-stored preset position coordinate data and preset shape, and determine the region of interest and position data of the region of interest according to the preset position coordinate data and preset shape; A pre-stored image template file including a preset shape is obtained, a preset shape area is extracted from the image template file and the position coordinates of the preset shape are calculated, the preset shape area is used as an area of ​​interest and the position coordinates of the preset shape are used as position data of the area of ​​interest.

4. The temperature measurement method based on the region of interest according to claim 2, characterized in that: The acquiring, based on the scene image, the region of interest and the location data of the region of interest comprises at least one of the following: Based on the parameter configuration data, a configured target type is acquired, and according to the target type, a target is identified from the scene image, a target contour of the target is extracted, a target contour area is used as a region of interest, and position data of the target contour is used as position data of the region of interest; Displaying the scene image on a user interface, acquiring a drawing area corresponding to a drawing operation based on the user interface, using the drawing area as the region of interest, and using position data of the drawing area as the position data of the region of interest; Based on the target type configured in the parameter configuration data, a target is identified from the scene image according to the target type, a target contour of the target is extracted, and a contour area corresponding to the target contour is displayed in the scene image, a modification operation on the contour area is obtained based on the user interface, and modification data corresponding to the modification operation is obtained, and a modified area is determined based on the contour area and the modification data, and the modified area is used as a region of interest, and the position data of the modified area is used as the position data of the region of interest; Acquire a scene image, pre-divide the scene image into multiple sub-areas according to the temperature area distribution in the scene image, select a target sub-area whose average temperature difference is greater than a preset average temperature difference from the multiple sub-areas, and determine the area of ​​interest and the position data of the area of ​​interest based on the target sub-area.

5. The temperature measurement method based on the region of interest according to claim 4, characterized in that: The parameter configuration data includes a type of the region of interest, and the acquiring of the drawing region corresponding to the drawing operation based on the user interface and using the position data of the drawing region as the position data of the region of interest includes: Based on the type of the region of interest displayed on the user interface, a selected target shape is obtained, based on the target shape, a drawing operation on the user interface is obtained, and a drawing area after the drawing operation is obtained, and position data of the drawing area is used as position data of the region of interest.

6. The temperature measurement method based on the region of interest according to claim 1, characterized in that: The parameter configuration data also includes recording time configuration data, and the recording time configuration data includes at least one of the following: recording start time, recording end time, recording interval, and recording duration; The acquiring and recording the current temperature data corresponding to the region of interest according to the position data and the current infrared image comprises: According to the recording time configuration data, the position data and the current infrared image, current temperature data corresponding to the region of interest is acquired and recorded.

7. The temperature measurement method based on the region of interest according to claim 1, characterized in that: The parameter configuration data further includes trigger temperature data corresponding to the temperature of the region of interest, the trigger temperature data including one of the following: a first trigger temperature indicating to start recording the temperature data of the region of interest, and a second trigger temperature indicating to stop recording the temperature data of the region of interest; The acquiring and recording the current temperature data corresponding to the region of interest according to the position data and the current infrared image further comprises: Obtain the current temperature indicated by the current temperature data corresponding to the region of interest, start recording the current temperature data of the region of interest when the current temperature reaches the first trigger temperature, and stop recording the current temperature data of the region of interest when the current temperature reaches the second trigger temperature.

8. The temperature measurement method based on the region of interest according to claim 1, characterized in that: The parameter configuration data also includes a preset temperature difference, and the acquiring and recording of current temperature data corresponding to the region of interest according to the position data and the current infrared image also includes: The current temperature indicated by the current temperature data corresponding to the region of interest is obtained, and when the temperature difference between the current temperature and the last recorded temperature of the current temperature is greater than the preset temperature difference, the current temperature data corresponding to the region of interest is recorded.

9. The temperature measurement method based on the region of interest according to claim 1, characterized in that: The displaying of the temperature data of the region of interest according to the recorded current temperature data includes at least one of the following: According to the recorded current temperature data, the temperature record data corresponding to the region of interest within the target time period is obtained, and based on the temperature record data, the temperature change of the region of interest is displayed in a chart; Display the recorded current temperature data in real time on the user interface; The configured temperature record type is obtained, and the temperature data of the area of ​​interest is displayed according to the recorded current temperature data and the temperature record type.

10. The temperature measurement method based on the region of interest according to claim 1, characterized in that: The parameter configuration data also includes a storage file format, and the storage file format includes at least one or more of the following combinations: timestamp data, an identification of an area of ​​interest, a temperature recording type, a target type, position data, the number of areas of interest, a recording time interval, a temperature type, a storage type, and a compression type. The acquiring and recording of the current temperature data corresponding to the area of ​​interest according to the position data and the current infrared image includes: Based on the storage file format, according to the position data and the current infrared image, acquiring and recording the current temperature data; The method further comprises: Based on the storage file format, the recorded current temperature data is saved in a preset storage location in a time sequence.

11. The temperature measurement method based on the region of interest according to claim 1, characterized in that: Before recording the current temperature data, the method further includes: Acquire the real-time distance between the target in the region of interest and the image acquisition device; Get the mapping relationship between distance and temperature adjustment value; The current temperature data is corrected according to the real-time distance and the mapping relationship to obtain corrected temperature data, and the corrected temperature data is updated as the current temperature data.

12. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, a temperature measurement method based on a region of interest as claimed in any one of claims 1 to 11 is implemented.

13. A temperature measurement device based on a region of interest, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes a temperature measurement method based on a region of interest as claimed in any one of claims 1 to 11.