CN111854963A - Temperature detection method, device, equipment and computer equipment - Google Patents

Temperature detection method, device, equipment and computer equipment Download PDF

Info

Publication number
CN111854963A
CN111854963A CN202010527899.8A CN202010527899A CN111854963A CN 111854963 A CN111854963 A CN 111854963A CN 202010527899 A CN202010527899 A CN 202010527899A CN 111854963 A CN111854963 A CN 111854963A
Authority
CN
China
Prior art keywords
target
temperature
face detection
detection frame
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010527899.8A
Other languages
Chinese (zh)
Inventor
徐狄权
刘溯
楼涛
周春游
杨志强
湛杰
卢伍平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202010527899.8A priority Critical patent/CN111854963A/en
Publication of CN111854963A publication Critical patent/CN111854963A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J5/00Radiation pyrometry, e.g. infrared or optical thermometry
    • G01J5/0022Radiation pyrometry, e.g. infrared or optical thermometry for sensing the radiation of moving bodies
    • G01J5/0025Living bodies
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J5/00Radiation pyrometry, e.g. infrared or optical thermometry
    • G01J2005/0077Imaging

Abstract

The application relates to a method, a device, equipment and computer equipment for temperature detection, wherein the method for temperature detection comprises the following steps: the method comprises the steps of obtaining a detection image of a target, inputting the detection image into a face detection model, outputting a face detection frame of the target through the face detection model, adjusting size parameters and position parameters of the face detection frame according to the interesting position of the target to obtain a correction detection frame, calculating the temperature of the target according to temperature information in the correction detection frame, solving the problem that the temperature of the whole face is detected and is easily influenced by positions with large temperature difference, such as canthus, and the like, so that the accuracy of face temperature detection is low, and the false alarm rate is reduced.

Description

Temperature detection method, device, equipment and computer equipment
Technical Field
The present application relates to the field of temperature detection technologies, and in particular, to a method, an apparatus, a device, and a computer device for temperature detection.
Background
Since human beings are infected with viruses and the initial appearance is a fever state with increased body temperature, body temperature detection is the most efficient confirmation means for suspected infected persons in epidemic prevention and control, and people are usually subjected to body temperature detection by infrared thermal imaging in public areas such as airports, train stations, schools, shopping centers and the like. Generally, the range of human body temperature measurement is small, and is between 30 and 45 ℃, and meanwhile, the precision requirement of human body temperature measurement is high, so that suspected infected persons can be distinguished accurately.
In the related art, a face frame in which body temperature detection is performed is generated by detecting a face position in an image. However, the region of the face frame is the entire target face, and the temperature of the entire face is detected, and is easily affected by the position with a large temperature difference, such as the canthus, and the like, so that the accuracy of face temperature detection is reduced.
At present, an effective solution is not provided for the problem that the temperature detection accuracy is low due to the fact that the whole face is easily interfered when the temperature is detected in the related technology.
Disclosure of Invention
The embodiment of the application provides a temperature detection method, a temperature detection device, equipment, computer equipment and a computer readable storage medium, so as to at least solve the problem that the temperature detection accuracy is low due to the fact that the whole face is easily interfered when the temperature detection is carried out in the related technology.
In a first aspect, an embodiment of the present application provides a method for temperature detection, where the method includes:
acquiring a detection image of a target, inputting the detection image into a face detection model, and outputting a face detection frame of the target through the face detection model;
according to the interesting position of the target, adjusting the size parameter and the position parameter of the face detection frame to obtain a correction detection frame;
And calculating the temperature of the target according to the temperature information in the correction detection frame.
In some embodiments, the adjusting the size parameter and the position parameter of the face detection frame according to the target position of interest includes:
and identifying a preset region of the target through the face detection model, and adaptively adjusting the size parameter and the position parameter of the face detection frame according to the position of the preset region.
In some embodiments, the adjusting the size parameter and the position parameter of the face detection frame according to the target position of interest includes:
and acquiring the coordinates of the region of interest, and adjusting the size parameters and the position parameters of the face detection frame according to the coordinates.
In some of these embodiments, training the face detection model comprises:
acquiring a sample image, and labeling a preset region in the sample image, wherein the preset region comprises different positions in the face detection frame;
and training the face detection model according to the labeled sample image.
In some embodiments, the calculating the temperature of the target according to the temperature information in the correction detection frame includes:
And acquiring infrared thermal imaging of the target, and calculating the temperature of the target according to temperature information in the infrared thermal imaging through coordinate correspondence between the detection image and the infrared thermal imaging.
In some embodiments, the detection image is infrared thermal imaging, and the correction detection frame is displayed on a display interface of the infrared thermal imaging.
In a second aspect, an embodiment of the present application provides an apparatus for temperature detection, the apparatus including: an image acquisition device and a microcontroller;
the image acquisition equipment acquires a detection image of a target, the microcontroller acquires the detection image and inputs the detection image into a face detection model, and a face detection frame of the target is output through the face detection model;
the microcontroller adjusts the size parameter and the position parameter of the face detection frame according to the interesting position of the target to obtain a corrected detection frame;
and the microcontroller calculates the temperature of the target according to the temperature information in the correction detection frame.
In a third aspect, an embodiment of the present application provides a device for temperature detection, where the device includes an obtaining module, an adjusting module, and a calculating module:
The acquisition module is used for acquiring a detection image of a target, inputting the detection image into a face detection model, and outputting a face detection frame of the target through the face detection model;
the adjusting module is used for adjusting the size parameter and the position parameter of the face detection frame according to the interesting position of the target to obtain a corrected detection frame;
and the calculation module is used for calculating the temperature of the target according to the temperature information in the correction detection frame.
In some of these embodiments, the adjustment module comprises an identification unit:
the identification unit is used for identifying a preset region of the target through the face detection model, and adaptively adjusting the size parameter and the position parameter of the face detection frame according to the position of the preset region.
In a fourth aspect, the present application provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements any one of the above methods when executing the computer program.
In a fifth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to implement any of the above methods.
Compared with the related art, the temperature detection method provided by the embodiment of the application has the advantages that the detection image of the target is obtained, the detection image is input into the face detection model, the face detection frame of the target is output through the face detection model, the size parameter and the position parameter of the face detection frame are adjusted according to the interested position of the target, the corrected detection frame is obtained, the temperature of the target is calculated according to the temperature information in the corrected detection frame, the problem that the temperature of the whole face is detected and is easily influenced by the position with larger temperature difference, such as the canthus, the accuracy of face temperature detection is low is solved, and the false alarm rate is reduced.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below to provide a more thorough understanding of the application.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a schematic diagram of an application environment of a method of temperature detection according to an embodiment of the present application;
FIG. 2 is a flow chart of a method of temperature detection according to an embodiment of the present application;
FIG. 3 is a flow chart of another method of temperature detection according to an embodiment of the present application;
FIG. 4 is a flow diagram of a method of training a face detection model according to an embodiment of the present application;
FIG. 5 is a block diagram of an apparatus for temperature detection according to an embodiment of the present application;
FIG. 6 is a block diagram of an apparatus for temperature detection according to an embodiment of the present application;
fig. 7 is an internal structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments provided in the present application without any inventive step are within the scope of protection of the present application.
It is obvious that the drawings in the following description are only examples or embodiments of the present application, and that it is also possible for a person skilled in the art to apply the present application to other similar contexts on the basis of these drawings without inventive effort. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of ordinary skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms referred to herein shall have the ordinary meaning as understood by those of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar words throughout this application are not to be construed as limiting in number, and may refer to the singular or the plural. The present application is directed to the use of the terms "including," "comprising," "having," and any variations thereof, which are intended to cover non-exclusive inclusions; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or elements, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Reference to "connected," "coupled," and the like in this application is not intended to be limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "plurality" as referred to herein means two or more. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. Reference herein to the terms "first," "second," "third," and the like, are merely to distinguish similar objects and do not denote a particular ordering for the objects.
The method for detecting temperature provided by the present application can be applied to the application environment shown in fig. 1, and fig. 1 is a schematic view of the application environment of the method for detecting temperature according to the embodiment of the present application, as shown in fig. 1. The camera device 102 and the processor 104 perform data transmission through a network, the camera device 102 obtains a detection image of a target, the processor 104 inputs the detection image into a face detection model, and outputs a face detection frame of the target through the face detection model, the processor 104 further adjusts a size parameter and a position parameter of the face detection frame according to an interested position of the target to obtain a correction detection frame, and calculates the temperature of the target according to temperature information in the correction detection frame. The camera 102 may be a monitoring camera installed in a street or a public place, or may also be a mobile device such as a mobile phone or a tablet, and the processor 104 may be implemented by a chip.
The embodiment provides a method for detecting temperature. Fig. 2 is a flowchart of a method of temperature detection according to an embodiment of the present application, as shown in fig. 2, the method including the steps of:
step S201, acquiring a detection image of a target, inputting the detection image into a face detection model, and outputting a face detection frame of the target through the face detection model.
The target in the present application may be a walking pedestrian, and in other embodiments, the target may also be other animals or equipment devices and the like which need temperature detection. The detection image in this embodiment may be a visible light image, and is obtained by a camera device, and the camera device may be a camera of a monitoring device, or a camera module of a terminal of a device such as a mobile phone or a tablet computer.
In other embodiments, the user may set the region of interest by himself or herself to perform recognition, in the case that the target is not a pedestrian. The face detection model can be realized through traditional machine learning or deep learning training based on a neural network, and can also be realized through direct programming of computer languages such as Java, Python and the like.
The face detection model can be stored in a chip, the chip can be arranged in a camera device, and at the moment, a detection image can be transmitted through a flat cable. The face detection model can also be stored in the memory of the server, data transmission can be carried out between the server and the camera device through a wireless network or a mobile data network, data transmission can also be carried out through Bluetooth connection, and a face detection frame output by the face detection model can be rectangular, elliptical or circular and is used for displaying the position of the face of a pedestrian in a detection image.
Step S202, according to the interested position of the target, adjusting the size parameter and the position parameter of the face detection frame to obtain a correction detection frame.
The region of interest in this embodiment may be set by the user, for example, in the case where the target is a pedestrian, the region of interest may be any one of the regions of the pedestrian's face, such as one or more of the eye, forehead, eyebrow, or cheek regions. In this embodiment, when the face detection frame is rectangular, the size parameters include the length and width of the face detection frame, the position parameters may be coordinates of a vertex of the rectangle or coordinates of a geometric center of the rectangle, when the face detection frame is circular, the size parameters are the radius of the circle, and the position parameters are coordinates of a center of the circle.
Step S203, calculating the temperature of the target according to the temperature information in the correction detection frame.
In the process of calculating the temperature, the temperature information of a plurality of preset positions in the correction detection frame can be taken, and the temperature of the target can be obtained by calculating the average value. Alternatively, a plurality of points may be randomly selected in the correction detection frame, and the average value may be calculated as the target temperature.
Through the steps S201 to S203, in this embodiment, the correction detection frame can be obtained by adjusting the face detection frame, a portion of the face with a large temperature difference is avoided, and the influence of the portion on temperature detection is reduced, so that the problem of low accuracy of face temperature detection due to the fact that the portion is easily affected by the position of the face with a large temperature difference, such as the canthus, is solved, the false alarm rate is reduced, and meanwhile, the temperature calculation is performed in the correction detection frame, and the false alarm caused by the background temperature can be prevented.
In some embodiments, fig. 3 is a flowchart of another method for temperature detection according to an embodiment of the present application, and as shown in fig. 3, the method further includes the following steps:
step S301, recognizing a preset area of the target through the face detection model, and adaptively adjusting the size parameter and the position parameter of the face detection frame according to the position of the preset area.
The preset area in this embodiment may be set by a user as required, the user may input area names such as "forehead", "eyebrow", or "cheek" in the temperature detection interface, the face detection model may automatically identify the corresponding area in the detected image after receiving the name of the preset area, and the size parameter and the position parameter of the face detection frame may be adaptively adjusted according to the position of the preset area in the monitored image, so as to obtain the corrected detection frame. The self-adaptation is a process of automatically adjusting processing parameters, boundary conditions or constraint conditions according to data characteristics of the processing data so as to adapt to statistical distribution characteristics or structural characteristics of the processing data to obtain the optimal processing effect. The adaptive process is a process that continuously approaches the target, and usually adopts a gradient-based algorithm, for example, a Least Mean Square (LMS) algorithm. In this embodiment, a correction detection frame matched with the user requirement can be obtained through adaptive adjustment. The adaptive adjustment process in this embodiment may be implemented by a hardware circuit or by software programming.
Through the step S301, the face detection model in this embodiment may automatically identify the preset region in the detection graph by acquiring the preset region information, so as to improve the speed of temperature detection.
In some embodiments, adjusting the size parameter and the position parameter of the face detection frame according to the interesting position of the target further comprises: and acquiring the coordinates of the region of interest, and adjusting the size parameters and the position parameters of the face detection frame according to the coordinates. In this embodiment, the region of interest may be a polygon or a circle, and the user may directly determine the position of the region of interest in the detection image by inputting the coordinates of the region of interest. For example, in the case where the region of interest is a rectangle, the coordinates may be coordinates of vertices of the rectangle, and in the case where the region of interest is a circle, the coordinates may be any point on the center and circle of the circle. The user can input the coordinates through the text box, can also directly determine the coordinates in the temperature detection interface by clicking, and can also directly draw the region of interest in the temperature detection interface. In this embodiment, the user can customize the position of the region of interest, which is convenient and fast, and can further improve the accuracy of temperature detection. On the other hand, in the process of image registration in temperature detection, registration errors easily occur due to the influence of factors such as distance and the like, and the errors can be corrected by adjusting the size parameters and the position parameters of the face detection frame, so that the detection accuracy is improved.
In some embodiments, fig. 4 is a flowchart of a method for training a face detection model according to an embodiment of the present application, as shown in fig. 4, the method including the steps of:
step S401, acquiring a sample image, and labeling a preset region in the sample image, where the preset region includes different positions in the face detection frame.
In the process of training the face detection model, a large number of sample images are needed, for each sample image, a preset region needs to be labeled, the preset region comprises a forehead region, an eyebrow region, a cheek region or other regions which are interesting to a user in the face, and the name of each preset region in the detection image is labeled.
And step S402, training the face detection model according to the labeled sample image.
And training the labeled sample image, and calculating weight parameters in the face detection model to obtain the finally generated face detection model.
Through the steps S401 and S402, the face detection model is obtained through deep learning based on the neural network, and the detection image is matched with a large number of samples, so that the identification accuracy of the region of interest can be improved, and the accuracy of temperature detection of the target can be further improved.
In some embodiments, the calculating the temperature of the target according to the temperature information in the correction detection frame includes: and acquiring infrared thermal imaging of the target, and calculating the temperature of the target according to temperature information in the infrared thermal imaging through coordinate correspondence between the detection image and the infrared thermal imaging. In this embodiment, under the condition that the detection image is a visible light image, because the visible light image does not include temperature information of the target, infrared thermal imaging of the target still needs to be acquired, and the pixel points at the corresponding positions are acquired in the infrared thermal imaging through coordinate correspondence. The infrared thermal imaging can be obtained through an infrared thermal imager, the infrared thermal imaging and the visible light image are subjected to a file corresponding to the coordinates, the infrared thermal imaging and the visible light image are calibrated when the infrared thermal imager leaves a factory, and the accuracy of the visible light image and the infrared thermal imaging in coordinate correspondence can be guaranteed. In the embodiment, the coordinate correspondence is carried out on the detection image and the infrared thermal imaging, so that the temperature information of the detection image is obtained, convenience, rapidness and accuracy are realized, and the efficiency and the accuracy of temperature detection are improved.
In some embodiments, the detection image is infrared thermal imaging, and the correction detection frame is displayed on a display interface of the infrared thermal imaging. The infrared thermal imaging and correction detection frame in the embodiment can be displayed in the monitoring interface, so that a worker can observe the target more intuitively.
In some embodiments, the temperature detection device sends out a warning signal to remind the staff when the temperature of the target is greater than a preset threshold. The warning signal may be a sound signal or a light signal. In other embodiments, in the case that a target with a temperature greater than a preset threshold is detected, the target may be continuously tracked and detected through a multi-target tracking algorithm, and in the case that a detected average value is greater than the preset threshold, the temperature detection device sends out a warning signal, where the detected average value is a temperature average value within a preset time period, for example, 5 times of temperature detection are performed on the target within one minute, and an average value of the 5 times of temperature detection is a detected average value, and the preset time period and the detection frequency in this embodiment may both be set by a user. In the embodiment, the warning is carried out under the condition that the target with the temperature higher than the preset threshold value is detected, so that the real-time detection of the abnormal condition can be realized, and the processing efficiency of workers is improved.
It should be noted that the steps illustrated in the above-described flow diagrams or in the flow diagrams of the figures may be performed in a computer system, such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flow diagrams, in some cases, the steps illustrated or described may be performed in an order different than here.
The present embodiment further provides a temperature detection device, which is used to implement the foregoing embodiments and preferred embodiments, and the description of the temperature detection device is omitted for brevity. As used hereinafter, the terms "module," "unit," "subunit," and the like may implement a combination of software and/or hardware for a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 5 is a block diagram of a temperature detection apparatus according to an embodiment of the present application, and as shown in fig. 5, the apparatus includes an image capture device 51 and a microcontroller 52: the image acquisition device 51 acquires a detection image of a target, the microcontroller 52 acquires the detection image and inputs the detection image into a face detection model, a face detection frame of the target is output through the face detection model, the microcontroller 52 adjusts a size parameter and a position parameter of the face detection frame according to an interested position of the target to obtain a corrected detection frame, and the microcontroller 52 calculates the temperature of the target according to temperature information in the corrected detection frame. The image capturing device 51 in this embodiment may be a camera, an image sensor, or other electronic devices with an image capturing function, and the microcontroller 52 in this embodiment may be a chip or a hardware circuit.
The temperature detection device that this embodiment provided, adjust the face detection frame through microcontroller 52 and obtain the correction detection frame, avoid the great position of temperature difference in the face, reduce the influence that this position detected the temperature, thereby solved and detected the temperature of whole face, receive the influence of the great position of temperature difference such as canthus easily, make the problem that the rate of accuracy of face temperature detection is low, the false alarm rate has been reduced, and simultaneously, carry out temperature calculation in the correction detection frame, can also prevent the false positive that the background temperature caused.
In some embodiments, fig. 6 is a block diagram of a temperature detection device according to an embodiment of the present application, and as shown in fig. 6, the temperature detection device includes an acquisition module 61, an adjustment module 62, and a calculation module 63:
and the obtaining module 61 is configured to obtain a detection image of the target, input the detection image into a face detection model, and output a face detection frame of the target through the face detection model.
And an adjusting module 62, configured to adjust the size parameter and the position parameter of the face detection frame according to the interested position of the target, so as to obtain a corrected detection frame.
And a calculating module 63, configured to calculate the temperature of the target according to the temperature information in the correction detection frame.
Through above-mentioned temperature-detecting equipment, this embodiment can obtain the correction detection frame through adjustment module 62 adjustment face detection frame, calculation module 63 carries out the temperature calculation of target in the correction detection frame, can avoid the great position of temperature difference in the face, reduce the influence of this position to temperature detection, thereby solved and detected the temperature of whole face, receive the influence of the great position of temperature difference such as canthus easily, make the problem that the rate of accuracy of face temperature detection is low, the false alarm rate has been reduced, simultaneously, carry out temperature calculation in the correction detection frame, can also prevent the false positive that the background temperature caused.
In some embodiments, the adjusting module 62 includes a recognition unit, which is configured to recognize a preset region of the target through the face detection model, and adaptively adjust the size parameter and the position parameter of the face detection frame according to the position of the preset region. The preset area in this embodiment may be set by a user as required, the user may input area names such as "forehead", "eyebrow", or "cheek" in the temperature detection interface, the face detection model may automatically identify the corresponding area in the detected image after receiving the name of the preset area, and the size parameter and the position parameter of the face detection frame may be adaptively adjusted according to the position of the preset area in the monitored image, so as to obtain the corrected detection frame. In this embodiment, through the recognition unit, the face detection model can automatically recognize the preset region in the detection graph by acquiring the preset region information, so as to improve the speed of temperature detection.
The above modules may be functional modules or program modules, and may be implemented by software or hardware. For a module implemented by hardware, the modules may be located in the same processor; or the modules can be respectively positioned in different processors in any combination.
In one embodiment, a computer device is provided, which may be a terminal. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of temperature detection. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
In one embodiment, fig. 7 is a schematic diagram of an internal structure of an electronic device according to an embodiment of the present application, and as shown in fig. 7, there is provided an electronic device, which may be a server, and an internal structure diagram of which may be as shown in fig. 7. The electronic device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic equipment comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the electronic device is used for storing data. The network interface of the electronic device is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to implement a method of temperature detection.
Those skilled in the art will appreciate that the architecture shown in fig. 7 is a block diagram of only a portion of the architecture associated with the subject application, and does not constitute a limitation on the electronic devices to which the subject application may be applied, and that a particular electronic device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the computer program, the steps in the method for detecting temperature provided by the above embodiments are implemented.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when being executed by a processor, implements the steps of the method for temperature detection provided by the various embodiments described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), synchronous link (Synchlink), DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of temperature sensing, the method comprising:
acquiring a detection image of a target, inputting the detection image into a face detection model, and outputting a face detection frame of the target through the face detection model;
according to the interesting position of the target, adjusting the size parameter and the position parameter of the face detection frame to obtain a correction detection frame;
And calculating the temperature of the target according to the temperature information in the correction detection frame.
2. The method of claim 1, wherein the adjusting the size parameter and the position parameter of the face detection frame according to the target position of interest comprises:
and identifying a preset region of the target through the face detection model, and adaptively adjusting the size parameter and the position parameter of the face detection frame according to the position of the preset region.
3. The method of claim 1, wherein the adjusting the size parameter and the position parameter of the face detection frame according to the target position of interest comprises:
and acquiring the coordinates of the region of interest, and adjusting the size parameters and the position parameters of the face detection frame according to the coordinates.
4. The method of claim 1, wherein training the face detection model comprises:
acquiring a sample image, and labeling a preset region in the sample image, wherein the preset region comprises different positions in the face detection frame;
and training the face detection model according to the labeled sample image.
5. The method of claim 1, wherein calculating the temperature of the target based on the temperature information in the rework detection block comprises:
and acquiring infrared thermal imaging of the target, and calculating the temperature of the target according to temperature information in the infrared thermal imaging through coordinate correspondence between the detection image and the infrared thermal imaging.
6. The method of claim 1, wherein the inspection image is infrared thermal imaging, and the correction inspection box is displayed on a display interface of the infrared thermal imaging.
7. An apparatus for temperature sensing, the apparatus comprising: an image acquisition device and a microcontroller;
the image acquisition equipment acquires a detection image of a target, the microcontroller acquires the detection image and inputs the detection image into a face detection model, and a face detection frame of the target is output through the face detection model;
the microcontroller adjusts the size parameter and the position parameter of the face detection frame according to the interesting position of the target to obtain a corrected detection frame;
and the microcontroller calculates the temperature of the target according to the temperature information in the correction detection frame.
8. The device for detecting the temperature is characterized by comprising an acquisition module, an adjustment module and a calculation module:
the acquisition module is used for acquiring a detection image of a target, inputting the detection image into a face detection model, and outputting a face detection frame of the target through the face detection model;
the adjusting module is used for adjusting the size parameter and the position parameter of the face detection frame according to the interesting position of the target to obtain a corrected detection frame;
and the calculation module is used for calculating the temperature of the target according to the temperature information in the correction detection frame.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN202010527899.8A 2020-06-11 2020-06-11 Temperature detection method, device, equipment and computer equipment Pending CN111854963A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010527899.8A CN111854963A (en) 2020-06-11 2020-06-11 Temperature detection method, device, equipment and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010527899.8A CN111854963A (en) 2020-06-11 2020-06-11 Temperature detection method, device, equipment and computer equipment

Publications (1)

Publication Number Publication Date
CN111854963A true CN111854963A (en) 2020-10-30

Family

ID=72987979

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010527899.8A Pending CN111854963A (en) 2020-06-11 2020-06-11 Temperature detection method, device, equipment and computer equipment

Country Status (1)

Country Link
CN (1) CN111854963A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113361410A (en) * 2021-06-07 2021-09-07 上海数川数据科技有限公司 Child detection box filtering algorithm based on grid clustering

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101793562A (en) * 2010-01-29 2010-08-04 中山大学 Face detection and tracking algorithm of infrared thermal image sequence
CN105844240A (en) * 2016-03-23 2016-08-10 深圳云天励飞技术有限公司 Method and device for detecting human faces in infrared temperature measurement system
CN106803067A (en) * 2016-12-28 2017-06-06 浙江大华技术股份有限公司 A kind of quality of human face image appraisal procedure and device
CN109034095A (en) * 2018-08-10 2018-12-18 杭州登虹科技有限公司 A kind of face alignment detection method, apparatus and storage medium
CN109325437A (en) * 2018-09-17 2019-02-12 北京旷视科技有限公司 Image processing method, device and system
CN109685015A (en) * 2018-12-25 2019-04-26 北京旷视科技有限公司 Processing method, device, electronic equipment and the computer storage medium of image
CN109846463A (en) * 2019-03-04 2019-06-07 武汉迅检科技有限公司 Infrared face temp measuring method, system, equipment and storage medium
CN110060272A (en) * 2018-01-18 2019-07-26 杭州海康威视数字技术股份有限公司 Determination method, apparatus, electronic equipment and the storage medium of human face region
CN110059637A (en) * 2019-04-22 2019-07-26 上海云从企业发展有限公司 A kind of detection method and device of face alignment
CN110264495A (en) * 2017-12-29 2019-09-20 华为技术有限公司 A kind of method for tracking target and device
CN110826507A (en) * 2019-11-11 2020-02-21 北京百度网讯科技有限公司 Face detection method, device, equipment and storage medium
CN111202534A (en) * 2020-02-27 2020-05-29 南京鑫和汇通电子科技有限公司 Emotion prediction method based on group temperature monitoring

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101793562A (en) * 2010-01-29 2010-08-04 中山大学 Face detection and tracking algorithm of infrared thermal image sequence
CN105844240A (en) * 2016-03-23 2016-08-10 深圳云天励飞技术有限公司 Method and device for detecting human faces in infrared temperature measurement system
CN106803067A (en) * 2016-12-28 2017-06-06 浙江大华技术股份有限公司 A kind of quality of human face image appraisal procedure and device
CN110264495A (en) * 2017-12-29 2019-09-20 华为技术有限公司 A kind of method for tracking target and device
CN110060272A (en) * 2018-01-18 2019-07-26 杭州海康威视数字技术股份有限公司 Determination method, apparatus, electronic equipment and the storage medium of human face region
CN109034095A (en) * 2018-08-10 2018-12-18 杭州登虹科技有限公司 A kind of face alignment detection method, apparatus and storage medium
CN109325437A (en) * 2018-09-17 2019-02-12 北京旷视科技有限公司 Image processing method, device and system
CN109685015A (en) * 2018-12-25 2019-04-26 北京旷视科技有限公司 Processing method, device, electronic equipment and the computer storage medium of image
CN109846463A (en) * 2019-03-04 2019-06-07 武汉迅检科技有限公司 Infrared face temp measuring method, system, equipment and storage medium
CN110059637A (en) * 2019-04-22 2019-07-26 上海云从企业发展有限公司 A kind of detection method and device of face alignment
CN110826507A (en) * 2019-11-11 2020-02-21 北京百度网讯科技有限公司 Face detection method, device, equipment and storage medium
CN111202534A (en) * 2020-02-27 2020-05-29 南京鑫和汇通电子科技有限公司 Emotion prediction method based on group temperature monitoring

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113361410A (en) * 2021-06-07 2021-09-07 上海数川数据科技有限公司 Child detection box filtering algorithm based on grid clustering
CN113361410B (en) * 2021-06-07 2022-08-26 上海数川数据科技有限公司 Child detection box filtering algorithm based on grid clustering

Similar Documents

Publication Publication Date Title
US11080434B2 (en) Protecting content on a display device from a field-of-view of a person or device
JP2023171650A (en) Systems and methods for identifying persons and/or identifying and quantifying pain, fatigue, mood and intent with protection of privacy
CN111626125A (en) Face temperature detection method, system and device and computer equipment
US20160162673A1 (en) Technologies for learning body part geometry for use in biometric authentication
CN111595450B (en) Method, apparatus, electronic device and computer-readable storage medium for measuring temperature
CN112001953A (en) Temperature detection method, device, equipment and computer equipment
US20170206664A1 (en) Method for identifying, tracking persons and objects of interest
CN112432709B (en) Method and system for measuring temperature of human body
CN106796746A (en) Activity monitoring approach and system
JP5001808B2 (en) Crime prevention device and crime prevention program
CN112215037B (en) Object tracking method and device, electronic equipment and computer readable storage medium
CN109961781B (en) Robot-based voice information receiving method and system and terminal equipment
US10249039B2 (en) Skin condition detection method, eletronic apparatus, and skin condition detection system
Li et al. Collaborative fall detection using smart phone and Kinect
KR20210155655A (en) Method and apparatus for identifying object representing abnormal temperatures
CN111854963A (en) Temperature detection method, device, equipment and computer equipment
CN113221802A (en) Quilt kicking identification method and device and electronic equipment
US11256910B2 (en) Method and system for locating an occupant
JP7459959B2 (en) Living body detection device, control method, and program
CN114022896A (en) Target detection method and device, electronic equipment and readable storage medium
CN112149527A (en) Wearable device detection method and device, electronic device and storage medium
Kong et al. A skeleton analysis based fall detection method using tof camera
CN113380383A (en) Medical monitoring method, device and terminal
Mustafa et al. Design and implementation of wireless iot device for women’s safety
CN111813983A (en) Abnormal body temperature early warning method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201030