CN111896119A - Infrared temperature measurement method and electronic equipment - Google Patents

Infrared temperature measurement method and electronic equipment Download PDF

Info

Publication number
CN111896119A
CN111896119A CN202010818542.5A CN202010818542A CN111896119A CN 111896119 A CN111896119 A CN 111896119A CN 202010818542 A CN202010818542 A CN 202010818542A CN 111896119 A CN111896119 A CN 111896119A
Authority
CN
China
Prior art keywords
target object
preset area
temperature measurement
infrared
measurement data
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
CN202010818542.5A
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.)
Beijing SoundAI Technology Co Ltd
Original Assignee
Beijing SoundAI 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 Beijing SoundAI Technology Co Ltd filed Critical Beijing SoundAI Technology Co Ltd
Priority to CN202010818542.5A priority Critical patent/CN111896119A/en
Publication of CN111896119A publication Critical patent/CN111896119A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J5/00Radiation pyrometry, e.g. infrared or optical thermometry
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J5/00Radiation pyrometry, e.g. infrared or optical thermometry
    • G01J5/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
    • G01J5/02Constructional details
    • G01J5/027Constructional details making use of sensor-related data, e.g. for identification of sensor parts or optical elements
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J5/00Radiation pyrometry, e.g. infrared or optical thermometry
    • G01J5/02Constructional details
    • G01J5/0275Control or determination of height or distance or angle information for sensors or receivers
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J5/00Radiation pyrometry, e.g. infrared or optical thermometry
    • G01J5/48Thermography; Techniques using wholly visual means
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/18Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using ultrasonic, sonic, or infrasonic waves
    • G01S5/22Position of source determined by co-ordinating a plurality of position lines defined by path-difference measurements
    • 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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Radiation Pyrometers (AREA)

Abstract

The present disclosure provides an infrared temperature measurement method and an electronic device, the method including: acquiring infrared temperature measurement data of a preset area; acquiring the position of a target object in the preset area, wherein the position of the target object in the preset area is determined based on sound source positioning; and determining the temperature of the target object based on the infrared temperature measurement data and the position of the target object in the preset area. The disclosed embodiments can improve the efficiency of body temperature measurement.

Description

Infrared temperature measurement method and electronic equipment
Technical Field
The invention relates to the technical field of temperature measurement, in particular to an infrared temperature measurement method and electronic equipment.
Background
Public places are populated with people and, in the event of an outbreak of disease, cross-contamination can easily occur in public places. Therefore, how to realize the health monitoring of public places is particularly important. In the prior art, a body temperature measuring device is generally arranged at an entrance of a public place, and body temperature measurement is carried out on each person entering the public place.
At present, a contact type body temperature tester or a handheld infrared thermometer is adopted to measure the body temperature of entering personnel, the body temperature of the entering personnel needs to be tested one by one, and the efficiency of measuring the body temperature is low.
Disclosure of Invention
The embodiment of the disclosure provides an infrared temperature measurement method and electronic equipment, and aims to solve the problem that in the prior art, the efficiency of body temperature measurement is low when entering personnel are subjected to body temperature test one by one.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present disclosure provides an infrared temperature measurement method applied to an electronic device, where the method includes:
acquiring infrared temperature measurement data of a preset area;
acquiring the position of a target object in the preset area, wherein the position of the target object in the preset area is determined based on sound source positioning;
and determining the temperature of the target object based on the infrared temperature measurement data and the position of the target object in the preset area.
In a second aspect, an embodiment of the present disclosure provides an electronic device, including:
the first acquisition module is used for acquiring infrared temperature measurement data of a preset area;
the second acquisition module is used for acquiring the position of a target object in the preset area, and the position of the target object in the preset area is determined based on sound source positioning;
and the first determination module is used for determining the temperature of the target object based on the infrared temperature measurement data and the position of the target object in the preset area.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: a memory, a processor and a program stored on the memory and executable on the processor, the program implementing the steps of the infrared thermometry method according to the first aspect when executed by the processor.
In a fourth aspect, the present disclosure provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the infrared thermometry method according to the first aspect.
In the embodiment, infrared temperature measurement data of a preset area is obtained; acquiring the position of a target object in the preset area, wherein the position of the target object in the preset area is determined based on sound source positioning; and determining the temperature of the target object based on the infrared temperature measurement data and the position of the target object in the preset area. Like this, can combine together through infrared temperature measurement and sound localization, realize remote body temperature test, and can carry out the body temperature test to a plurality of entering personnel simultaneously, can improve body temperature measuring's efficiency.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings needed to be used in the description of the embodiments of the present disclosure will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart of an infrared temperature measurement method provided in an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a thermometry scenario provided by an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 4 is a second schematic structural diagram of an electronic device according to an embodiment of the disclosure;
fig. 5 is a third schematic structural diagram of an electronic device according to an embodiment of the disclosure;
fig. 6 is a fourth schematic structural diagram of an electronic device according to an embodiment of the disclosure;
fig. 7 is a fifth schematic structural diagram of an electronic device according to an embodiment of the disclosure;
fig. 8 is a sixth schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are some, not all, embodiments of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the disclosed embodiment, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted mobile terminal, a wearable device, a pedometer, and the like.
Referring to fig. 1, fig. 1 is a flowchart of an infrared temperature measurement method provided in an embodiment of the present disclosure, where the method is applied to an electronic device, as shown in fig. 1, and includes the following steps:
step 101, acquiring infrared temperature measurement data of a preset area.
And 102, acquiring the position of a target object in the preset area, wherein the position of the target object in the preset area is determined based on sound source positioning.
The electronic device may be a terminal, the terminal may include an infrared camera, the infrared temperature measurement data may be obtained by the infrared camera, and the terminal may further include a sound sensor, such as a microphone matrix, for sound source localization; or, the electronic device may be a server, and the server may receive the infrared temperature measurement data sent by the terminal and the position of the target object in the preset area sent by the terminal; alternatively, the electronic device may be a server, the server may include an infrared camera, the infrared thermometry data may be obtained by the infrared camera, and the server may further include a sound sensor, such as a microphone matrix, for sound source localization; and the like, the electronic device is not limited by the present embodiment.
In addition, the preset region may be determined based on a camera shooting range of the infrared camera, and the preset region may be a region within the camera shooting range of the infrared camera. For example, as shown in fig. 2, the imaging range of the infrared camera is: c1 to (180-c 1), the preset area may be the area between c1 to (180-c 1) with respect to the infrared camera.
It should be noted that the target object may be a human being, or may be a partial body region of a human being, such as a human face. The position of the target object within the preset area may be determined through sound source localization, for example, the position of the target object within the preset area may be determined through a controllable beam forming technique based on maximum output power, a high-resolution spectrogram estimation technique, or a sound source localization technique based on time-difference of arrival (TDE), which is not limited in this embodiment.
And 103, determining the temperature of the target object based on the infrared temperature measurement data and the position of the target object in the preset area.
The infrared temperature measurement data can comprise a plurality of pixel points corresponding to the preset area, and the target object can be determined according to the position of the target object in the preset area, so that the temperature of the target object can be determined based on the target pixel points; or, the infrared temperature measurement data may include temperatures of respective positions corresponding to the preset region, the temperatures of the respective positions may be calculated and obtained by the terminal according to a camera result of the infrared camera, and the temperature of the target object may be determined according to the position of the target object in the preset region.
Illustratively, the electronic device may be a server, the server may obtain infrared temperature measurement data of a preset area from a terminal, the terminal may include an infrared camera, and the infrared temperature measurement data may be obtained by the infrared camera. The terminal may further comprise a microphone matrix for sound source localization. A Voice Activity Detection (VAD) algorithm may be integrated in a chip of the terminal.
For example, when the terminal detects a voice signal through VAD, the voice signal collected by the microphone may be transmitted to a sound source localization (DOA) module for sound source localization. The terminal can judge whether the target object is in the camera shooting range of the infrared camera through the angle of the sound source, and if the target object is in the camera shooting range of the infrared camera, the terminal can upload current infrared temperature measurement data to the server. And the server can calculate the temperature after receiving the infrared temperature measurement data uploaded by the terminal.
After the server receives the infrared temperature measurement data uploaded by the terminal, the uploaded infrared temperature measurement data can be screened and filtered, and the infrared temperature measurement data exceeding a certain temperature range can be cleared, so that the data outside the temperature range of the human body can be automatically removed, and temperature measurement errors are automatically eliminated. The server can also receive the sound source angle uploaded by the terminal and the volume corresponding to the collected human voice signal, so that the server can judge the interval where the human face is located in the infrared thermal imaging interface shot by the infrared camera according to the sound source angle and the volume. The server can calculate the infrared temperature measurement data in the interval to obtain the temperature value and the coordinates of the corresponding area. The server can send the calculated temperature and the coordinates of the corresponding area to the terminal, and the terminal can display the temperature of the corresponding area on a display interface, so that the tested person can obtain the body temperature of the tested person.
In the embodiment, infrared temperature measurement data of a preset area is obtained; acquiring the position of a target object in the preset area, wherein the position of the target object in the preset area is determined based on sound source positioning; and determining the temperature of the target object based on the infrared temperature measurement data and the position of the target object in the preset area. Like this, can combine together through infrared temperature measurement and sound localization, realize remote body temperature test, and can carry out the body temperature test to a plurality of entering personnel simultaneously, can improve body temperature measuring's efficiency.
Optionally, the obtaining a position of the target object in the preset area, where the position of the target object in the preset area is determined based on sound source localization, includes:
collecting sound signals through a sound sensor;
carrying out voice endpoint detection on the collected voice signals to detect whether the voice signals are collected or not;
if the voice signal is collected, carrying out sound source positioning on the collected voice signal;
and acquiring the position of the target object in the preset area based on the sound source positioning result.
The sound sensor may be a microphone matrix, or may be other sensors that can be used for sound collection. Voice endpoint detection may be used to detect a start of speech signal and an end of speech signal in the sound signal. The voice endpoint detection of the collected voice signals may be that each frame of collected voice signals is sequentially input into a convolutional neural network model for voice endpoint detection to determine whether each frame of voice signals is a human voice signal; or, inputting each frame of collected sound signals into other neural network models for voice endpoint detection in sequence to determine whether each frame of sound signals is a human sound signal; alternatively, it may also be determined whether each frame of sound signal is a human sound signal according to the short-time energy and the short-time zero crossing rate of each frame of sound signal, and the like, which is not limited in this embodiment.
In the embodiment, the voice signals are detected through voice endpoint detection, the detected voice signals are subjected to sound source localization, and the non-voice signals can be prevented from being subjected to sound source localization, so that the workload of the electronic equipment can be reduced.
Optionally, the sound source localization result includes a first angle of the target object with respect to the sound sensor;
the obtaining of the position of the target object in the preset area based on the sound source positioning result includes:
determining a distance between the target object and the sound sensor based on a volume of the acquired human voice signal;
and acquiring the position of the target object in the preset area based on a first angle of the target object relative to the sound sensor and the distance between the target object and the sound sensor.
Wherein the electronic device may include the sound sensor, and the sound sensor may be built in the electronic device. The first angle of the target object relative to the sound sensor may be considered an angle of the target object relative to the electronic device. As shown in fig. 2, the first angle of the target object with respect to the sound sensor may be c 2.
In addition, taking the target object as a human face as an example, the position of the human face in the preset area may be obtained based on an angle of the human face relative to the sound sensor, a distance between the human face and the sound sensor, and an average height of the human. The average height of a person can be obtained based on a large amount of statistical data.
In practical applications, several distances may be selected as standard distances for testing, for example, 1m, 3m, 5m, etc., and the terminal may be woken up at these several locations, and the decibel size at which the terminal can receive the wake-up of the user may be used as a standard. The attenuation coefficient a can be calculated as follows, and the attenuation coefficient can represent the attenuation of the sound wave in the current environment.
Figure BDA0002633628850000061
Where x denotes a distance from the sound source to the sound sensor, a0 denotes a sound pressure at the sound source, and a denotes a sound pressure collected by the sound sensor.
The attenuation coefficient a may be acquired by performing tests at a plurality of positions, and the average value of the sound level of the utterance when the user wakes up is acquired as a 0. After a and a0 are obtained, the distance between the sound sensor and the sound source can be calculated according to the sound pressure collected by the sound sensor. In a case where a sound source is a target object, a position of the target object within the preset area may be acquired based on a first angle of the target object with respect to the sound sensor and a distance between the target object and the sound sensor.
For example, as shown in fig. 2, the target object may be a person, the electronic device may include an infrared camera and a sound sensor, infrared shooting may be performed by the infrared camera, and a shooting range of the infrared camera is: c1 to (180-c 1), the relative position of the person and the electronic equipment can be determined according to the angle c2 of the person relative to the sound sensor and the distance c3 between the person and the sound sensor, so that the position of the person in the preset area can be determined. Based on the infrared temperature measurement data of the position of the person in the preset area, the temperature information of the whole body of the person can be displayed on a display interface of the electronic equipment, or the position of the face in the preset area can be obtained based on the basic height of the person, so that only the temperature information of the face can be displayed on the display interface of the electronic equipment.
In this embodiment, the position of the target object in the preset area is obtained based on the first angle of the target object relative to the sound sensor and the distance between the target object and the sound sensor, so that the position of the target object in the preset area can be obtained without using a face recognition technology, and thus, a common camera is not required to obtain a video stream for face recognition, and the price of a microphone array for sound source localization is lower than that of a camera, so that the cost of an electronic device can be reduced.
Optionally, the determining the temperature of the target object based on the infrared temperature measurement data and the position of the target object in the preset region includes:
determining infrared temperature measurement data corresponding to the target object based on the infrared temperature measurement data and the position of the target object in the preset area;
and determining the temperature of the target object based on the infrared temperature measurement data corresponding to the target object.
Taking the infrared temperature measurement data including a plurality of pixel points corresponding to the preset region as an example, the infrared temperature measurement data corresponding to the target object may include a plurality of target pixel points corresponding to the target object, and the temperature of the target object may be determined by the plurality of target pixel points; taking as an example that the infrared temperature measurement data may include temperatures corresponding to respective positions of the preset region, the infrared temperature measurement data corresponding to the target object may include a plurality of temperatures corresponding to the target object, and the temperature of the target object may be an average value of the plurality of temperatures corresponding to the target object.
In the embodiment, the temperature of the target object is determined through the infrared temperature measurement data corresponding to the target object, and the temperature of the target object can be rapidly determined, so that the body temperature can be rapidly measured.
Optionally, the infrared temperature measurement data includes a plurality of pixel points corresponding to the preset region;
the determining the infrared temperature measurement data corresponding to the target object based on the infrared temperature measurement data and the position of the target object in the preset area comprises:
determining a plurality of target pixel points corresponding to the target object based on the plurality of pixel points corresponding to the preset area and the position of the target object in the preset area;
the determining the temperature of the target object based on the infrared temperature measurement data corresponding to the target object includes:
determining a temperature of the target object based on the plurality of target pixel points corresponding to the target object.
The acquiring of the infrared temperature measurement data of the preset area may be acquiring pixel information of a plurality of pixel points corresponding to the preset area, the pixel information may include color information and position information, a temperature corresponding to each pixel point may be determined by the color information of each pixel point, and a position of each pixel point may be determined by the position information of each pixel point.
In practical application, the infrared camera may store color information in the pixel information of the plurality of pixels in the preset region in an int-type data format in an array. The length of the array may be the resolution of the infrared camera, for example, m, the length may be x, the width may be y, and m is: x y. If the abscissa of each pixel point in the display interface obtained by the infrared camera is i and the ordinate is j, the position of the color information of each pixel point in the array can be: (m-i y-j). A plurality of pixel points corresponding to the preset area are expressed by a two-dimensional array matrix [ ] [ ], and the color information of each pixel point can be expressed as: and (3) obtaining the color information of each pixel point from the array by using the matrix [ i ] [ j ] ═ info [ m-i y-j-1 ]. The color information may be RGB color information, and a temperature value represented by each pixel point may be obtained from the color information of the pixel points. The color information of the target pixels can be found in the array, so that the temperature of the target object can be determined.
In addition, the temperature of the target object is determined by the target pixels corresponding to the target object, and may be an average value of temperatures represented by the target pixels as the temperature of the target object; or, the average value of the higher partial temperatures in the temperatures represented in the target pixel points can be used as the temperature of the target object; alternatively, the highest temperature among the temperatures represented in the target pixels may be used as the temperature of the target object, and the like, which is not limited in this embodiment.
In this embodiment, the temperature of the target object is determined based on the plurality of target pixel points corresponding to the target object, so that the temperature of the target object can be determined more accurately, and the accuracy of body temperature measurement can be improved.
Optionally, the determining the temperature of the target object based on the plurality of target pixel points corresponding to the target object includes:
determining a first pixel point in the target pixel points, wherein the temperature represented by the first pixel point is smaller than a first preset value and larger than a second preset value, and the first preset value is larger than the second preset value;
if M second pixel points exist in the plurality of first pixel points, determining the temperature of the target object based on the M second pixel points, wherein the temperature represented by the second pixel points is greater than a third preset value, the third preset value is greater than the second preset value and smaller than the first preset value, M is a positive integer and M is greater than a fourth preset value.
The first preset value may be 40 ℃, 45 ℃, or 50 ℃, and the like, which is not limited in this embodiment. The second preset value may be 25 ℃, 30 ℃, or 35 ℃ or the like, which is not limited in this embodiment. The third preset value may be 35 ℃, 38 ℃, or 39 ℃, and the like, which is not limited in this embodiment. The fourth preset value may be 10, 40, 100, or the like, which is not limited in this embodiment. The determining the temperature of the target object based on the M second pixel points may be that an average value of the temperatures represented by the M second pixel points is used as the temperature of the target object. For example, the target object may be a human face, the temperature corresponding to each pixel point representing the human face may be obtained, and after the temperature outside the human body range is removed, if the temperature corresponding to more than 10 pixel points exceeds 38 °, the average value of a plurality of temperatures with the temperatures exceeding 38 ° may be taken as the temperature of the human face.
In addition, if the M second pixel points do not exist in the N first pixel points, the average value of the temperatures represented by the target pixel points may be used as the temperature of the target object.
In the embodiment, by determining the first pixel points of the plurality of target pixel points and determining the temperature of the target object based on the M second pixel points, data outside the temperature range of the human body can be automatically removed, the temperature measurement error is automatically eliminated, and the highest possible temperature of the target object can be accurately obtained as far as possible.
Optionally, the electronic device is a server, and acquiring the infrared temperature measurement data of the preset area includes:
under the condition that the target object is within the shooting range of the infrared camera, receiving infrared temperature measurement data of a preset area sent by a terminal;
the terminal comprises the infrared camera, and the infrared temperature measurement data are obtained through the infrared camera.
The terminal sends the infrared temperature measurement data to the server and can be matched with VAD detection and sound source positioning, for example, when a sound source is not in the shooting range of the infrared camera or no person carries out body temperature measurement, the terminal does not send the infrared temperature measurement data of a preset area to the server, and therefore the operation load of the server can be reduced. When the server calculates the temperature of the target object, if the calculated temperature of the target object is obviously beyond the range of the normal body temperature of the human body, the calculation result can be automatically removed to avoid measurement errors.
In the embodiment, the terminal carries out infrared temperature measurement, the infrared temperature measurement data are sent to the server, and the server carries out temperature calculation, so that the workload of the terminal can be reduced; and when the target object is not in the camera shooting range of the infrared camera, the terminal does not upload infrared temperature measurement data, so that the operation load of the server can be reduced.
Optionally, after determining the temperature of the target object based on the infrared temperature measurement data and the position of the target object in the preset region, the method further includes:
and displaying the temperature of the target object on a display interface of the electronic equipment, and displaying the position of the target object in the preset area.
The display interface can be used for displaying the infrared camera information of the preset area. And displaying the position of the target object in the preset area in a coordinate mode on the display interface. For example, all the pixel points corresponding to the preset region may be displayed on the display interface, and the temperature of the target object may be marked at the pixel points corresponding to the target object; or the corresponding relation between the coordinate value of the target object in the preset area and the temperature of the target object can be displayed on a display interface; or the pixel point corresponding to the target object may be displayed on the display interface, and the temperature of the target object is marked at the pixel point corresponding to the target object, which is not limited in this embodiment. For example, the coordinates of the area occupied by the target object in the preset area and the temperature of the target object may be displayed on a display interface.
In the embodiment, the temperature of the target object is displayed on the display interface, and the position of the target object in the preset area is displayed, so that a tested person can quickly acquire the temperature of the tested person, and the user experience is good.
Optionally, the electronic device is a terminal, the terminal includes an infrared camera and a sound sensor, and before acquiring infrared temperature measurement data of a preset region, the method further includes:
collecting a sound signal through the sound sensor;
under the condition that the human voice signal is collected, determining a second angle of a target object relative to the sound sensor based on sound source positioning, wherein the target object is an object corresponding to the human voice signal;
controlling the infrared camera to rotate based on a second angle of the target object relative to the sound sensor so that the target object is located in the preset area, wherein the preset area is a shooting area of the infrared camera;
wherein a position of the target object within the preset area is determined based on a second angle of the target object relative to the sound sensor and an angle of rotation of the infrared camera.
Wherein, the second angle of the target object relative to the sound sensor can be regarded as the angle of the target object relative to the terminal. The angle of the target object relative to the terminal can be regarded as the angle of the target object relative to the infrared camera. For example, the sound sensor may be integrally formed with the infrared camera, and the relative positions of the sound sensor and the infrared camera may be designed such that when the infrared camera rotates by the second angle, the center of the target object may coincide with the center of the preset area.
In the embodiment, the position of the target object is determined through sound source positioning, and the infrared camera is controlled to rotate so that the target object is located in the preset area, so that the infrared camera can follow the target object to measure the temperature of the target object, and the intelligent degree is high.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, and as shown in fig. 3, the electronic device 200 includes:
the first acquisition module 201 is configured to acquire infrared temperature measurement data of a preset area;
a second obtaining module 202, configured to obtain a position of a target object in the preset area, where the position of the target object in the preset area is determined based on sound source localization;
the first determining module 203 is configured to determine the temperature of the target object based on the infrared temperature measurement data and the position of the target object in the preset area.
Optionally, as shown in fig. 4, the second obtaining module 202 includes:
the acquisition unit 2021 is used for acquiring a sound signal through a sound sensor;
the detection unit 2022 is configured to perform voice endpoint detection on the collected sound signal to detect whether a human voice signal is collected;
the positioning unit 2022 is configured to perform sound source positioning on the acquired human voice signal if the human voice signal is acquired;
an obtaining unit 2024, configured to obtain a position of the target object within the preset area based on a sound source positioning result.
Optionally, the sound source localization result includes a first angle of the target object with respect to the sound sensor;
the obtaining unit 2024 is specifically configured to:
determining a distance between the target object and the sound sensor based on a volume of the acquired human voice signal;
and acquiring the position of the target object in the preset area based on a first angle of the target object relative to the sound sensor and the distance between the target object and the sound sensor.
Optionally, as shown in fig. 5, the first determining module 203 includes:
a first determining unit 2031, configured to determine, based on the infrared temperature measurement data and the position of the target object in the preset area, infrared temperature measurement data corresponding to the target object;
the second determining unit 2032 is configured to determine the temperature of the target object based on the infrared temperature measurement data corresponding to the target object.
Optionally, the infrared temperature measurement data includes a plurality of pixel points corresponding to the preset region;
the first determining unit 2031 is specifically configured to:
determining a plurality of target pixel points corresponding to the target object based on the plurality of pixel points corresponding to the preset area and the position of the target object in the preset area;
the second determining unit 2032 is specifically configured to:
determining a temperature of the target object based on the plurality of target pixel points corresponding to the target object.
Optionally, the second determining unit 2032 is specifically configured to:
determining a first pixel point in the target pixel points, wherein the temperature represented by the first pixel point is smaller than a first preset value and larger than a second preset value, and the first preset value is larger than the second preset value;
if M second pixel points exist in the plurality of first pixel points, determining the temperature of the target object based on the M second pixel points, wherein the temperature represented by the second pixel points is greater than a third preset value, the third preset value is greater than the second preset value and smaller than the first preset value, M is a positive integer and M is greater than a fourth preset value.
Optionally, the electronic device is a server, and the first obtaining module 201 is specifically configured to:
under the condition that the target object is within the shooting range of the infrared camera, receiving infrared temperature measurement data of a preset area sent by a terminal;
the terminal comprises the infrared camera, and the infrared temperature measurement data are obtained through the infrared camera.
Alternatively, as shown in fig. 6, the electronic device 200 includes:
a display module 204, configured to display the temperature of the target object on a display interface of the electronic device, and display a position of the target object in the preset area.
Optionally, the electronic device is a terminal, the terminal includes an infrared camera and a sound sensor, as shown in fig. 7, the electronic device 200 includes:
an acquisition module 205, configured to acquire a sound signal through the sound sensor;
a second determining module 206, configured to determine, based on sound source localization, a second angle of a target object with respect to the sound sensor when a human voice signal is acquired, where the target object is an object corresponding to the human voice signal;
the control module 207 is configured to control the infrared camera to rotate based on a second angle of the target object relative to the sound sensor, so that the target object is located in the preset area, where the preset area is a camera shooting area of the infrared camera;
wherein a position of the target object within the preset area is determined based on a second angle of the target object relative to the sound sensor and an angle of rotation of the infrared camera.
The electronic device can implement each process implemented in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Referring to fig. 8, fig. 8 is a sixth schematic structural diagram of an electronic device according to an embodiment of the disclosure, as shown in fig. 8, the electronic device 300 includes: a memory 302, a processor 301, and a program stored on the memory 302 and executable on the processor 301, wherein:
the processor 301 reads the program in the memory 302 for executing:
acquiring infrared temperature measurement data of a preset area;
acquiring the position of a target object in the preset area, wherein the position of the target object in the preset area is determined based on sound source positioning;
and determining the temperature of the target object based on the infrared temperature measurement data and the position of the target object in the preset area.
Optionally, the obtaining, by the processor 301, the position of the target object in the preset region includes:
collecting sound signals through a sound sensor;
carrying out voice endpoint detection on the collected voice signals to detect whether the voice signals are collected or not;
if the voice signal is collected, carrying out sound source positioning on the collected voice signal;
and acquiring the position of the target object in the preset area based on the sound source positioning result.
Optionally, the sound source localization result includes a first angle of the target object with respect to the sound sensor;
the obtaining of the position of the target object within the preset area based on the sound source positioning result, performed by the processor 301, includes:
determining a distance between the target object and the sound sensor based on a volume of the acquired human voice signal;
and acquiring the position of the target object in the preset area based on a first angle of the target object relative to the sound sensor and the distance between the target object and the sound sensor.
Optionally, the determining, by the processor 301, the temperature of the target object based on the infrared temperature measurement data and the position of the target object in the preset region includes:
determining infrared temperature measurement data corresponding to the target object based on the infrared temperature measurement data and the position of the target object in the preset area;
and determining the temperature of the target object based on the infrared temperature measurement data corresponding to the target object.
Optionally, the infrared temperature measurement data includes a plurality of pixel points corresponding to the preset region;
the determining, by the processor 301, the infrared temperature measurement data corresponding to the target object based on the infrared temperature measurement data and the position of the target object in the preset region includes:
determining a plurality of target pixel points corresponding to the target object based on the plurality of pixel points corresponding to the preset area and the position of the target object in the preset area;
the determining, by the processor 301, the temperature of the target object based on the infrared temperature measurement data corresponding to the target object includes:
determining a temperature of the target object based on the plurality of target pixel points corresponding to the target object.
Optionally, the determining, by the processor 301, the temperature of the target object based on the plurality of target pixel points corresponding to the target object includes:
determining a first pixel point in the target pixel points, wherein the temperature represented by the first pixel point is smaller than a first preset value and larger than a second preset value, and the first preset value is larger than the second preset value;
if M second pixel points exist in the plurality of first pixel points, determining the temperature of the target object based on the M second pixel points, wherein the temperature represented by the second pixel points is greater than a third preset value, the third preset value is greater than the second preset value and smaller than the first preset value, M is a positive integer and M is greater than a fourth preset value.
Optionally, the electronic device is a server, and the acquiring of the infrared temperature measurement data of the preset area by the processor 301 includes:
under the condition that the target object is within the shooting range of the infrared camera, receiving infrared temperature measurement data of a preset area sent by a terminal;
the terminal comprises the infrared camera, and the infrared temperature measurement data are obtained through the infrared camera.
Optionally, the processor 301 is further configured to perform:
and displaying the temperature of the target object on a display interface of the electronic equipment, and displaying the position of the target object in the preset area.
Optionally, the electronic device is a terminal, the terminal includes an infrared camera and a sound sensor, and the processor 301 is further configured to execute:
collecting a sound signal through the sound sensor;
under the condition that the human voice signal is collected, determining a second angle of a target object relative to the sound sensor based on sound source positioning, wherein the target object is an object corresponding to the human voice signal;
controlling the infrared camera to rotate based on a second angle of the target object relative to the sound sensor so that the target object is located in the preset area, wherein the preset area is a shooting area of the infrared camera;
wherein a position of the target object within the preset area is determined based on a second angle of the target object relative to the sound sensor and an angle of rotation of the infrared camera.
In fig. 8, the bus architecture may include any number of interconnected buses and bridges, with one or more processors represented by processor 301 and various circuits of memory represented by memory 302 being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface.
The processor 301 is responsible for managing the bus architecture and general processing, and the memory 302 may store data used by the processor 301 in performing operations.
It should be noted that any implementation manner in the method embodiments of the present disclosure may be implemented by the electronic device in this embodiment, and achieve the same beneficial effects, and details are not described here again.
The embodiment of the present disclosure further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned infrared temperature measurement method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present disclosure.
While the disclosed embodiments have been described in connection with the appended drawings, the present invention is not limited to the specific embodiments described above, which are intended to be illustrative rather than limiting, and it will be appreciated by those of ordinary skill in the art that, in light of the teachings of the present invention, many modifications may be made without departing from the spirit and scope of the invention as set forth in the appended claims.

Claims (11)

1. An infrared temperature measurement method is applied to electronic equipment, and is characterized by comprising the following steps:
acquiring infrared temperature measurement data of a preset area;
acquiring the position of a target object in the preset area, wherein the position of the target object in the preset area is determined based on sound source positioning;
and determining the temperature of the target object based on the infrared temperature measurement data and the position of the target object in the preset area.
2. The method of claim 1, wherein the obtaining the position of the target object in the preset region comprises:
collecting sound signals through a sound sensor;
carrying out voice endpoint detection on the collected voice signals to detect whether the voice signals are collected or not;
if the voice signal is collected, carrying out sound source positioning on the collected voice signal;
and acquiring the position of the target object in the preset area based on the sound source positioning result.
3. The method of claim 2, wherein the sound source localization result comprises a first angle of the target object relative to the sound sensor;
the obtaining of the position of the target object in the preset area based on the sound source positioning result includes:
determining a distance between the target object and the sound sensor based on a volume of the acquired human voice signal;
and acquiring the position of the target object in the preset area based on a first angle of the target object relative to the sound sensor and the distance between the target object and the sound sensor.
4. The method of claim 1, wherein determining the temperature of the target object based on the infrared thermometry data and the location of the target object within the preset region comprises:
determining infrared temperature measurement data corresponding to the target object based on the infrared temperature measurement data and the position of the target object in the preset area;
and determining the temperature of the target object based on the infrared temperature measurement data corresponding to the target object.
5. The method of claim 4, wherein the infrared thermometry data comprises a plurality of pixels corresponding to the predetermined area;
the determining the infrared temperature measurement data corresponding to the target object based on the infrared temperature measurement data and the position of the target object in the preset area comprises:
determining a plurality of target pixel points corresponding to the target object based on the plurality of pixel points corresponding to the preset area and the position of the target object in the preset area;
the determining the temperature of the target object based on the infrared temperature measurement data corresponding to the target object includes:
determining a temperature of the target object based on the plurality of target pixel points corresponding to the target object.
6. The method of claim 5, wherein determining the temperature of the target object based on the plurality of target pixel points corresponding to the target object comprises:
determining a first pixel point in the target pixel points, wherein the temperature represented by the first pixel point is smaller than a first preset value and larger than a second preset value, and the first preset value is larger than the second preset value;
if M second pixel points exist in the plurality of first pixel points, determining the temperature of the target object based on the M second pixel points, wherein the temperature represented by the second pixel points is greater than a third preset value, the third preset value is greater than the second preset value and smaller than the first preset value, M is a positive integer and M is greater than a fourth preset value.
7. The method according to claim 1, wherein the electronic device is a server, and the acquiring the infrared temperature measurement data of the preset area comprises:
under the condition that the target object is within the shooting range of the infrared camera, receiving infrared temperature measurement data of a preset area sent by a terminal;
the terminal comprises the infrared camera, and the infrared temperature measurement data are obtained through the infrared camera.
8. The method of claim 1, wherein after determining the temperature of the target object based on the infrared thermometry data and the location of the target object within the predetermined area, the method further comprises:
and displaying the temperature of the target object on a display interface of the electronic equipment, and displaying the position of the target object in the preset area.
9. The method according to claim 1, wherein the electronic device is a terminal, the terminal comprises an infrared camera and a sound sensor, and before acquiring the infrared temperature measurement data of the preset area, the method further comprises:
collecting a sound signal through the sound sensor;
under the condition that the human voice signal is collected, determining a second angle of a target object relative to the sound sensor based on sound source positioning, wherein the target object is an object corresponding to the human voice signal;
controlling the infrared camera to rotate based on a second angle of the target object relative to the sound sensor so that the target object is located in the preset area, wherein the preset area is a shooting area of the infrared camera;
wherein a position of the target object within the preset area is determined based on a second angle of the target object relative to the sound sensor and an angle of rotation of the infrared camera.
10. An electronic device, characterized in that the electronic device comprises:
the first acquisition module is used for acquiring infrared temperature measurement data of a preset area;
the second acquisition module is used for acquiring the position of a target object in the preset area, and the position of the target object in the preset area is determined based on sound source positioning;
and the first determination module is used for determining the temperature of the target object based on the infrared temperature measurement data and the position of the target object in the preset area.
11. An electronic device, comprising: a memory, a processor and a program stored on the memory and executable on the processor, the program, when executed by the processor, implementing the steps in the infrared thermometry method of any one of claims 1-9.
CN202010818542.5A 2020-08-14 2020-08-14 Infrared temperature measurement method and electronic equipment Pending CN111896119A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010818542.5A CN111896119A (en) 2020-08-14 2020-08-14 Infrared temperature measurement method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010818542.5A CN111896119A (en) 2020-08-14 2020-08-14 Infrared temperature measurement method and electronic equipment

Publications (1)

Publication Number Publication Date
CN111896119A true CN111896119A (en) 2020-11-06

Family

ID=73229044

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010818542.5A Pending CN111896119A (en) 2020-08-14 2020-08-14 Infrared temperature measurement method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111896119A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114474091A (en) * 2022-01-26 2022-05-13 北京声智科技有限公司 Robot killing method, robot, device and storage medium
CN114820542A (en) * 2022-04-29 2022-07-29 东莞市鑫泰仪器仪表有限公司 Sound wave and infrared double-function imaging system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015042897A1 (en) * 2013-09-29 2015-04-02 中兴通讯股份有限公司 Control method, control apparatus and control device
CN107290723A (en) * 2017-06-22 2017-10-24 北京地平线信息技术有限公司 Sound localization method, device and electronic equipment
CN109239667A (en) * 2018-10-26 2019-01-18 深圳市友杰智新科技有限公司 A kind of sound localization method based on two-microphone array
CN110594943A (en) * 2019-09-02 2019-12-20 Tcl空调器(中山)有限公司 Method and system for controlling air conditioner based on sound source positioning
CN111157123A (en) * 2020-02-17 2020-05-15 北京迈格威科技有限公司 Temperature measuring method, device, server and temperature measuring system
CN111337140A (en) * 2020-03-25 2020-06-26 深圳市易联电子有限公司 Infrared temperature measurement system and method based on smart phone

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015042897A1 (en) * 2013-09-29 2015-04-02 中兴通讯股份有限公司 Control method, control apparatus and control device
CN107290723A (en) * 2017-06-22 2017-10-24 北京地平线信息技术有限公司 Sound localization method, device and electronic equipment
CN109239667A (en) * 2018-10-26 2019-01-18 深圳市友杰智新科技有限公司 A kind of sound localization method based on two-microphone array
CN110594943A (en) * 2019-09-02 2019-12-20 Tcl空调器(中山)有限公司 Method and system for controlling air conditioner based on sound source positioning
CN111157123A (en) * 2020-02-17 2020-05-15 北京迈格威科技有限公司 Temperature measuring method, device, server and temperature measuring system
CN111337140A (en) * 2020-03-25 2020-06-26 深圳市易联电子有限公司 Infrared temperature measurement system and method based on smart phone

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李学华: "《与信息时代同行 与创新精神共进 北京信息科技大学信息与通信工程学院大学生科技创新与工程实践论文集[M]》", 31 July 2017 *
陆小左: "《中医临床技能丛书 中医诊断学技能实训[M]》", 31 July 2010 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114474091A (en) * 2022-01-26 2022-05-13 北京声智科技有限公司 Robot killing method, robot, device and storage medium
CN114474091B (en) * 2022-01-26 2024-02-27 北京声智科技有限公司 Robot killing method, killing robot, killing device and storage medium
CN114820542A (en) * 2022-04-29 2022-07-29 东莞市鑫泰仪器仪表有限公司 Sound wave and infrared double-function imaging system
CN114820542B (en) * 2022-04-29 2023-03-31 东莞市鑫泰仪器仪表有限公司 Sound wave and infrared double-function imaging system

Similar Documents

Publication Publication Date Title
CN110660066B (en) Training method of network, image processing method, network, terminal equipment and medium
CN112146761A (en) Human body temperature measurement compensation method based on machine learning
CN111681770B (en) Intelligent detection method and device for abnormal target, computer equipment and storage medium
CN105953875B (en) A kind of living animal weighing method and its device
CN111896119A (en) Infrared temperature measurement method and electronic equipment
CN109190648A (en) Simulated environment generation method, device, mobile terminal and computer-readable storage medium
CN112418251B (en) Infrared body temperature detection method and system
CN111854964A (en) Method and device for measuring body temperature, temperature measuring tool and storage medium
CN112683169A (en) Object size measuring method, device, equipment and storage medium
CN111920391A (en) Temperature measuring method and equipment
CN112200002B (en) Body temperature measuring method, device, terminal equipment and storage medium
CN116466058B (en) Water quality detection data processing method, water quality evaluation system, equipment and medium
CN113112321A (en) Intelligent energy body method, device, electronic equipment and storage medium
CN107991633A (en) Geomagnetic signal processing method and processing device
CN112348891A (en) Image detection and positioning method and device, storage medium and electronic device
Chen et al. Vision-based elderly fall detection algorithm for mobile robot
CN116327133A (en) Multi-physiological index detection method, device and related equipment
CN115512270A (en) Blade number detection method and device, electronic equipment and storage medium
US11953379B2 (en) Live detection system, method, and thermal infrared imager for power grid equipment
CN111091910B (en) Intelligent evaluation system based on painting clock test
CN113786179A (en) Human body blood pressure real-time measuring method and device with infrared and optical image fusion
CN111579102A (en) Body temperature reporting management method based on APP module
CN111854963A (en) Temperature detection method, device, equipment and computer equipment
CN111597923B (en) Method and device for monitoring personnel temperature and electronic equipment
TWI581765B (en) Movement-orbit sensing system and movement-orbit collecting method by using the same

Legal Events

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

Application publication date: 20201106

RJ01 Rejection of invention patent application after publication