CN113420629B - Image processing method, device, equipment and medium - Google Patents

Image processing method, device, equipment and medium Download PDF

Info

Publication number
CN113420629B
CN113420629B CN202110669433.6A CN202110669433A CN113420629B CN 113420629 B CN113420629 B CN 113420629B CN 202110669433 A CN202110669433 A CN 202110669433A CN 113420629 B CN113420629 B CN 113420629B
Authority
CN
China
Prior art keywords
image
face
temperature
sub
target
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.)
Active
Application number
CN202110669433.6A
Other languages
Chinese (zh)
Other versions
CN113420629A (en
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 Huagan 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 CN202110669433.6A priority Critical patent/CN113420629B/en
Publication of CN113420629A publication Critical patent/CN113420629A/en
Application granted granted Critical
Publication of CN113420629B publication Critical patent/CN113420629B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G01J2005/0077Imaging

Abstract

The invention discloses an image processing method, device, equipment and medium, in the embodiment of the invention, the temperature of a face in an image acquired within a set time length is determined, a target face with abnormal temperature in the image is determined, the quality fraction of a sub-image corresponding to the target face is obtained based on a preset classification algorithm, and a target image is determined according to the quality fraction of the sub-image and the face temperature of the target face in the sub-image. In the embodiment of the invention, after the target face with abnormal temperature is determined, the sub-image containing the target face is determined, and the target image is updated according to the quality fraction of the sub-image or the temperature of the target face, so that the face image with abnormal temperature and clarity is obtained, and the user experience is improved.

Description

Image processing method, device, equipment and medium
Technical Field
The present invention relates to the field of temperature measurement and face recognition technologies, and in particular, to an image processing method, apparatus, device, and medium.
Background
Along with the rapid development of medical technology, human body temperature measuring equipment is generated, and currently existing human body temperature measuring equipment comprises a forehead temperature gun, a hand-held temperature measuring instrument, a thermal imaging temperature measuring instrument and the like. If a forehead thermometer and a handheld thermometer are adopted to measure the body temperature of a person, the measurement is carried out by manpower, and the device is not suitable for large-area measurement in places with large crowd density; when the thermal imaging thermometer is used for measuring the body temperature of a person, the body temperature of the person can be measured, images and information of the person can be recorded in a form of a capture image, the face images of the person with abnormal temperature can be captured, and information of the person with abnormal temperature can be recorded.
But when based on thermal imaging thermoscope binary channels snapshot, whether adopt thermal imaging snapshot, or the preferential snapshot of visible light, at the time length of setting for, probably can take a candid photograph to the unusual personnel's of same temperature many images, lead to taking a candid photograph the unusual and clear degree of accuracy of face image low, influence user experience.
Disclosure of Invention
The invention provides an image processing method, device, equipment and medium, which are used for solving the problems that in the prior art, the accuracy of a clear face image with abnormal temperature is low and the user experience is affected.
In a first aspect, the present invention provides an image processing method, the method comprising:
determining the temperature of a face in an image acquired within a set time length, and determining a target face with abnormal temperature in the image;
based on a preset classification algorithm, obtaining the quality score of the sub-image corresponding to the target face;
and determining a target image according to the quality fraction of the sub-image and the face temperature of the target face in the sub-image.
Further, determining the temperature of the face in the image acquired within the set time length includes:
and determining the temperature of a face in the image based on the acquired thermal imaging image corresponding to the image.
Further, the obtaining the quality score of the sub-image where the target face is located includes:
determining a sub-visible light image of the target face corresponding to the sub-thermal imaging image of the target face according to the corresponding relation between the pre-stored thermal imaging image and the visible light image;
and acquiring the quality fraction of the sub-visible light image of the target face.
Further, the determining the target face with abnormal temperature in the image includes:
judging whether the temperature of the face is larger than a preset first temperature threshold value and smaller than a preset second temperature threshold value, wherein the second temperature threshold value is larger than the first temperature threshold value;
if yes, the face is determined to be a target face with abnormal temperature.
Further, the determining the target image according to the quality score of the sub-image and the face temperature of the target face includes:
determining whether the number of sub-images with the highest face temperature of the target face is one, if so, determining the sub-images as target images;
if not, determining the sub-image with the highest quality score in the sub-images as a target image.
In a second aspect, the present invention also provides an image processing apparatus, the apparatus comprising:
the determining module is used for determining the temperature of the face in the image acquired within a set time length and determining a target face with abnormal temperature in the image;
the acquisition module is used for acquiring the quality scores of the sub-images corresponding to the target face based on a preset classification algorithm;
the determining module is used for determining a target image according to the quality fraction of the sub-image and the face temperature of the target face in the sub-image.
Further, the determining module is specifically configured to determine a temperature of a face in the image based on the acquired thermal imaging image corresponding to the image.
Further, the acquiring module is specifically configured to determine, according to a correspondence between a pre-stored thermal imaging image and a visible light image, a sub-visible light image where the target face is located, where the sub-thermal imaging image where the target face is located corresponds to; and acquiring the quality fraction of the sub-visible light image of the target face.
Further, the determining module is specifically configured to determine whether the temperature of the face is greater than a first temperature threshold set in advance and less than a second temperature threshold set in advance, where the second temperature threshold is greater than the first temperature threshold; if yes, the face is determined to be a target face with abnormal temperature.
Further, the determining module is specifically configured to determine whether the number of sub-images with the highest face temperature of the target face is one, and if yes, determine the sub-images as target images; if not, determining the sub-image with the highest quality score in the sub-images as a target image.
In a third aspect, the present invention also provides an electronic device comprising at least a processor and a memory, the processor being arranged to implement the steps of any of the image recognition methods described above when executing a computer program stored in the memory.
In a fourth aspect, the present invention also provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the image recognition method as described in any one of the above.
In the embodiment of the invention, the temperature of a face in an image acquired within a set time length is determined, a target face with abnormal temperature in the image is determined, the quality fraction of a sub-image corresponding to the target face is obtained based on a preset classification algorithm, and a target image is determined according to the quality fraction of the sub-image and the face temperature of the target face in the sub-image. In the embodiment of the invention, after the target face with abnormal temperature is determined, the sub-image containing the target face is determined, and the target image is updated according to the quality fraction of the sub-image or the temperature of the target face, so that the face image with abnormal temperature and clarity is obtained, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of an image processing method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a two-channel combined temperature measurement preferred grip chart provided by an embodiment of the invention;
FIG. 3 is a schematic diagram of an image processing apparatus according to an embodiment of the present invention;
fig. 4 is an electronic device provided in an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which are derived by a person skilled in the art based on the embodiments of the invention, fall within the scope of protection of the invention.
In order to acquire a face image with abnormal temperature and clarity and improve user experience, the embodiment of the invention provides an image processing method, device, equipment and medium.
Example 1:
fig. 1 is a schematic diagram of an image processing method according to an embodiment of the present invention, where the process includes the following steps:
s101: and determining the temperature of the face in the image acquired within the set time length, and determining the target face with abnormal temperature in the image.
The image processing method provided by the embodiment of the invention is applied to electronic equipment, and the electronic equipment is electronic equipment combining thermal imaging temperature measurement and visible light dual-channel.
In the embodiment of the invention, in order to determine whether the temperature of the human body is abnormal, the electronic device determines the temperature of the human face in the image acquired within a set time length, wherein the set time length can be 20s or 1 minute, and the like, and specifically, the set time length is different according to different application scenes of the measured temperature, and the set time length is set according to requirements. The number of faces in each image acquired in the set time period may be 1 or more.
If the current image contains a plurality of faces, determining a target face with abnormal temperature in the current image according to the temperature of each face contained in the current image, wherein the target face with abnormal temperature can be one or a plurality of target faces. If there is a target face with abnormal temperature, the target face may appear in all of the acquired images within the set time period, or may appear in a part of the acquired images within the set time period.
S102: and acquiring the quality scores of the sub-images corresponding to the target face based on a preset classification algorithm.
In the embodiment of the invention, after the target face with abnormal temperature is determined, in order to ensure the quality of the image corresponding to the determined target face, the sub-image where the target face with abnormal temperature is positioned is determined, and then the quality fraction of the sub-image where the target face is positioned is determined based on a preset classification algorithm.
S103: and determining a target image according to the quality fraction of the sub-image and the face temperature of the target face in the sub-image.
In order to obtain a face image with abnormal temperature and clarity, in the embodiment of the present invention, after obtaining the quality score of the sub-image corresponding to the target face, the target image may be determined based on the quality score of the sub-image and the temperature of the target face, that is, the face image with abnormal temperature and clarity is determined.
In the embodiment of the invention, the thermal imaging temperature measurement is combined with the visible light dual-channel, the face with abnormal temperature is determined, the sub-image containing the target face is determined, and the target image is updated according to the quality fraction of the sub-image or the temperature of the target face, so that the face image with abnormal temperature and clarity is obtained, and the user experience is improved.
Example 2:
in order to determine the temperature of the face in the image acquired within the set time length and improve the experience of the user, on the basis of the above embodiment, in the embodiment of the present invention, the determining the temperature of the face in the image acquired within the set time length includes:
and determining the temperature of a face in the image based on the acquired thermal imaging image corresponding to the image.
In the embodiment of the invention, in order to determine whether the temperature of a human body is abnormal, the electronic equipment obtains a thermal imaging image based on the thermal imaging channel and obtains a visible light image based on the visible light channel, and the thermal imaging image and the visible light image have a one-to-one correspondence relationship, that is, in a set time length, according to a certain thermal imaging image at a certain moment, the corresponding visible light image can be determined.
In the embodiment of the invention, in order to determine the temperature of the face in the image, for each image obtained in the set time period, the temperature of the face in the image can be determined based on the thermal imaging image corresponding to the obtained image, wherein the temperature of the forehead of the face is mainly measured when the temperature of the human body is determined based on the thermal imaging image.
Wherein, determining the temperature of the human body based on the thermal imaging channel is the prior art, and will not be described herein.
Example 3:
in order to obtain the quality score of the sub-image where the target face is located, and improve the experience of the user, in the embodiment of the present invention, the obtaining the quality score of the sub-image where the target face is located includes:
determining a sub-visible light image of the target face corresponding to the sub-thermal imaging image of the target face according to the corresponding relation between the pre-stored thermal imaging image and the visible light image;
and acquiring the quality fraction of the sub-visible light image of the target face.
In the embodiment of the invention, the electronic equipment obtains the thermal imaging image based on the thermal imaging channel, obtains the visible light image based on the visible light channel, and has a one-to-one correspondence with the visible light image, so that after determining the temperature of the face in the image based on the thermal imaging image and determining the target face with abnormal temperature in the image, the electronic equipment can determine the sub-visible light image of the target face corresponding to the sub-thermal imaging image of the target face according to the correspondence between the pre-stored thermal imaging image and the visible light image, and determine the quality fraction of the sub-visible light image of the target face according to the sub-visible light image of the target face.
Example 4:
in order to obtain a face image with abnormal temperature and clear, and improve user experience, on the basis of the above embodiment, in the embodiment of the present invention, the determining a target face with abnormal temperature in the current image includes:
judging whether the temperature of the face is greater than a preset first temperature threshold value and less than a preset second temperature threshold value;
if yes, the face is determined to be a target face with abnormal temperature.
In order to determine whether the temperature of the person in the current image is abnormal, in the embodiment of the invention, a first temperature threshold value and a second temperature threshold value are preset, wherein the second temperature threshold value is larger than the first temperature threshold value. After the temperature of each face is obtained, judging whether the temperature of the face is larger than a preset first temperature threshold and smaller than a preset second temperature threshold according to each temperature, if the temperature of the face is larger than the preset first temperature threshold and smaller than the preset second temperature threshold, determining the temperature of the face to be in an abnormal temperature range, and determining the face to be a target face with abnormal temperature. Specifically, if the temperature of the face is greater than a preset first temperature threshold and less than a preset second temperature threshold, the fact that the temperature of the face is too high is indicated, at this time, the temperature of the face is abnormal, and after the fact that the temperature of the face is abnormal is determined, the face with the abnormal temperature is confirmed to be the target face.
Example 5:
in order to obtain a face image with abnormal temperature and clear, and improve the experience of the user, in the above embodiments of the present invention, determining the target image according to the quality score of the sub-image and the face temperature of the target face includes:
determining whether the number of sub-images with the highest face temperature of the target face is one, if so, determining the sub-images as target images;
if not, determining the sub-image with the highest quality score in the sub-images as a target image.
In the embodiment of the invention, since a plurality of images can be obtained within a set time length, the temperature of each image of the person corresponding to the target face may be the same as the temperature of the target face in the rest of the images, and may also be different from the temperature of the target face in the rest of the images, because even the same person may have different temperatures measured based on different images because the distance between the person and the electronic device is different, or the angle facing the electronic device is different.
Because in the process of measuring whether the temperature of the person is abnormal, if the face of the person is opposite to the electronic equipment and the temperature measuring distance between the face and the electronic equipment meets the temperature measuring distance, the more accurate the temperature of the face is, so in the process of measuring the temperature, if the face is opposite to the electronic equipment and the temperature measuring distance between the face and the electronic equipment meets the temperature measuring distance, the higher the measured temperature of the target face is, the more accurate the measured result is, and the acquired face image is clear; if the face is not right opposite to the electronic equipment or the temperature measurement distance between the face and the electronic equipment does not meet the temperature measurement distance, the lower the measured temperature of the target face is, the less accurate the measured result is, and the acquired face image is clearer.
In the embodiment of the invention, in order to acquire the face image with abnormal temperature and clarity, the sub-image with the highest face temperature of the target face can be determined first, and the number of the sub-images with the highest face temperature can be determined, wherein the number of the sub-images with the highest face temperature can be 1 or a plurality of sub-images. In the embodiment of the invention, the electronic device determines whether the number of the sub-images with the highest face temperature of the target face is one, and if the number of the sub-images with the highest face temperature is 1, the sub-images with the highest temperature are directly determined as the target images. If the number of the sub-images with the highest face temperature is a plurality of sub-images, in order to obtain the face image with abnormal temperature and clear face temperature, the sub-image with the highest quality score in the sub-images can be determined as the target image.
Fig. 2 is a flow chart of a dual-channel combined temperature measurement preferred grasping chart provided by the embodiment of the invention, and the description of fig. 2 is now given.
Firstly default setting a preferred time and an upper temperature limit and a lower temperature limit, wherein the preferred time is a preset time length, the upper temperature limit is a second temperature threshold, the lower temperature limit is a first temperature threshold, the second temperature threshold is larger than the first temperature threshold, and if the temperature is larger than the preset first temperature threshold and smaller than the preset second temperature threshold, the temperature is indicated to belong to an abnormal temperature.
For the set time length, based on the information of each face image acquired and cached by the electronic equipment combining the thermal imaging temperature measurement and the visible light dual-channel, if the set time length is longer, the image obtained directly based on the current time in the image acquisition process can be determined to comprise the abnormal temperature and the clearest image of the same face in the image obtained in the current time and before the current time, specifically, whether the obtained image is subjected to temperature abnormality judgment according to a preset sequence is determined to determine whether the current face temperature is in an upper limit temperature range and a lower limit temperature range, and whether the face temperature of the current image is higher than or equal to the temperature of a stored target image, wherein whether the face temperature of the current image is in the upper limit range and the lower limit temperature range is higher than a preset first temperature threshold and lower than a preset second temperature threshold, if the face temperature of the current image is in the upper limit range and the face temperature of the current image is higher than the stored target image, the face image with abnormal face temperature is indicated, and the quality of the target image with the target face quality is to be stored better.
If the face temperature is within the upper and lower limits and the face temperature of the current image is equal to the temperature of the stored target image, the target face image with abnormal face temperature is indicated, and further judgment is needed to judge which image in the sub-image of the target face and the stored target image is better in quality, if the quality of the sub-image of the target face is lower than the quality of the stored target image, the target image is determined to be an image with better quality, namely the stored target image is kept unchanged.
Example 4:
fig. 3 is a schematic structural diagram of an image processing apparatus according to an embodiment of the present invention, where the apparatus includes:
a determining module 301, configured to determine a temperature of a face in an image acquired within a set time period, and determine a target face with abnormal temperature in the image;
the obtaining module 302 is configured to obtain a quality score of a sub-image where the target face is located based on a preset classification algorithm;
the determining module 301 is further configured to determine a target image according to the quality score of the sub-image and the face temperature of the target face in the sub-image.
In one possible implementation manner, the determining module 301 determines the temperature of the face in the image specifically based on the acquired thermal imaging image corresponding to the image.
In a possible implementation manner, the obtaining module 302 is specifically configured to determine, according to a correspondence between a pre-stored thermal imaging image and a visible light image, a sub-visible light image where the target face is located, where the sub-thermal imaging image where the target face is located corresponds to the sub-visible light image; and acquiring the quality fraction of the sub-visible light image of the target face.
In a possible implementation manner, the determining module 301 is specifically configured to determine whether the temperature of the face is greater than a first preset temperature threshold and less than a second preset temperature threshold, where the second temperature threshold is greater than the first temperature threshold; if yes, the face is determined to be a target face with abnormal temperature.
In a possible implementation manner, the determining module 301 is specifically configured to determine whether the number of sub-images with the highest face temperature of the target face is one, and if so, determine the sub-images as the target image; if not, determining the sub-image with the highest quality score in the sub-images as a target image.
Example 5:
on the basis of the above embodiments, the embodiment of the present invention further provides an electronic device, as shown in fig. 4, including: the device comprises a processor 401, a communication interface 402, a memory 403 and a communication bus 404, wherein the processor 401, the communication interface 402 and the memory 403 are in communication with each other through the communication bus 404.
The memory 403 has stored therein a computer program which, when executed by the processor 401, causes the processor 401 to perform the steps of:
determining the temperature of a face in an image acquired within a set time length, and determining a target face with abnormal temperature in the image;
based on a preset classification algorithm, obtaining the quality score of the sub-image corresponding to the target face;
and determining a target image according to the quality fraction of the sub-image and the face temperature of the target face in the sub-image.
Further, the processor 401 is further configured to determine a temperature of a face in the image based on the acquired thermal imaging image corresponding to the image.
Further, the processor 401 is further configured to determine a sub-visible light image where the target face is located, where the sub-thermal imaging image where the target face is located corresponds to a correspondence between a pre-stored thermal imaging image and a visible light image; and acquiring the quality fraction of the sub-visible light image of the target face.
Further, the processor 401 is further configured to determine whether the temperature of the face is greater than a first temperature threshold set in advance and less than a second temperature threshold set in advance, where the second temperature threshold is greater than the first temperature threshold; if yes, the face is determined to be a target face with abnormal temperature.
Further, the processor 401 is further configured to determine whether the number of sub-images with the highest face temperature of the target face is one, and if yes, determine the sub-images as target images; if not, determining the sub-image with the highest quality score in the sub-images as a target image.
The communication bus mentioned by the server may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, etc. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface 402 is used for communication between the electronic device and other devices described above.
The Memory may include random access Memory (Random Access Memory, RAM) or may include Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit, a network processor (Network Processor, NP), etc.; but also digital instruction processors (Digital Signal Processing, DSP), application specific integrated circuits, field programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
Example 6:
on the basis of the above embodiments, the embodiments of the present invention further provide a computer readable storage medium having stored therein a computer program executable by an electronic device, which when run on the electronic device, causes the electronic device to perform the steps of:
the memory has stored therein a computer program which, when executed by the processor, causes the processor to perform the steps of:
based on a preset classification algorithm, obtaining the quality score of the sub-image corresponding to the target face;
and determining a target image according to the quality fraction of the sub-image and the face temperature of the target face in the sub-image.
Further, determining the temperature of the face in the image acquired within the set time length includes:
and determining the temperature of a face in the image based on the acquired thermal imaging image corresponding to the image.
Further, the obtaining the quality score of the sub-image where the target face is located includes:
determining a sub-visible light image of the target face corresponding to the sub-thermal imaging image of the target face according to the corresponding relation between the pre-stored thermal imaging image and the visible light image;
and acquiring the quality fraction of the sub-visible light image of the target face.
Further, the determining the target face with abnormal temperature in the image includes:
judging whether the temperature of the face is larger than a preset first temperature threshold value and smaller than a preset second temperature threshold value, wherein the second temperature threshold value is larger than the first temperature threshold value;
if yes, the face is determined to be a target face with abnormal temperature.
Further, the determining the target image according to the quality score of the sub-image and the face temperature of the target face includes:
determining whether the number of sub-images with the highest face temperature of the target face is one, if so, determining the sub-images as target images;
if not, determining the sub-image with the highest quality score in the sub-images as a target image.
In the embodiment of the invention, after the target face with abnormal temperature is determined, the sub-image containing the target face is determined, and the target image is updated according to the quality fraction of the sub-image or the temperature of the target face, so that the face image with abnormal temperature and clarity is obtained, and the user experience is improved.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (5)

1. An image processing method, the method comprising:
determining the temperature of a face in an image acquired within a set time length, and determining a target face with abnormal temperature in the image;
based on a preset classification algorithm, obtaining the quality score of the sub-image corresponding to the target face;
determining a target image according to the quality fraction of the sub-image and the face temperature of the target face in the sub-image;
wherein, the determining the target image according to the quality score of the sub-image and the face temperature of the target face includes:
determining whether the number of sub-images with the highest face temperature of the target face is one, if so, determining the sub-images as target images;
if not, determining the sub-image with the highest quality score in the sub-images as a target image;
the determining the temperature of the face in the image acquired within the set time length comprises the following steps:
determining the temperature of a face in the image based on the acquired thermal imaging image corresponding to the image;
the step of obtaining the quality scores of the sub-images where the target face is located comprises the following steps:
determining a sub-visible light image of the target face corresponding to the sub-thermal imaging image of the target face according to the corresponding relation between the pre-stored thermal imaging image and the visible light image;
and acquiring the quality fraction of the sub-visible light image of the target face.
2. The method of claim 1, wherein the determining a target face of a temperature anomaly in the image comprises:
judging whether the temperature of the face is larger than a preset first temperature threshold value and smaller than a preset second temperature threshold value, wherein the second temperature threshold value is larger than the first temperature threshold value;
if yes, the face is determined to be a target face with abnormal temperature.
3. An image processing apparatus, characterized in that the apparatus comprises:
the determining module is used for determining the temperature of the face in the image acquired within a set time length and determining a target face with abnormal temperature in the image;
the obtaining module is used for obtaining the quality score of the sub-image where the target face is located based on a preset classification algorithm;
the determining module is further configured to determine a target image according to the quality score of the sub-image and the face temperature of the target face in the sub-image;
the determining module is specifically configured to determine whether the number of sub-images with the highest face temperature of the target face is one, and if yes, determine the sub-images as target images; if not, determining the sub-image with the highest quality score in the sub-images as a target image;
the determining module is specifically configured to determine a temperature of a face in the image based on the acquired thermal imaging image corresponding to the image;
the determining module is specifically configured to determine a sub-visible light image where the target face is located, where the sub-thermal imaging image where the target face is located corresponds to the sub-visible light image according to a pre-stored correspondence between the thermal imaging image and the visible light image; and determining the quality fraction of the sub-visible light image of the target face.
4. An electronic device comprising a processor for implementing the steps of the method according to any of claims 1-2 when executing a computer program stored in a memory.
5. A computer-readable storage medium, characterized in that it stores a computer program which, when executed by a processor, implements the steps of the method according to any of claims 1-2.
CN202110669433.6A 2021-06-17 2021-06-17 Image processing method, device, equipment and medium Active CN113420629B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110669433.6A CN113420629B (en) 2021-06-17 2021-06-17 Image processing method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110669433.6A CN113420629B (en) 2021-06-17 2021-06-17 Image processing method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN113420629A CN113420629A (en) 2021-09-21
CN113420629B true CN113420629B (en) 2023-04-28

Family

ID=77788771

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110669433.6A Active CN113420629B (en) 2021-06-17 2021-06-17 Image processing method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN113420629B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110044486A (en) * 2019-03-11 2019-07-23 武汉高德智感科技有限公司 Method, apparatus, the equipment of repetition of alarms are avoided for human body inspection and quarantine system
CN111882737A (en) * 2020-06-22 2020-11-03 浙江大华技术股份有限公司 Access control detection method, device, system, computer equipment and storage medium
CN112232186A (en) * 2020-10-14 2021-01-15 盈合(深圳)机器人与自动化科技有限公司 Epidemic prevention monitoring method and system

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111212593A (en) * 2017-10-11 2020-05-29 深圳传音通讯有限公司 Photographing temperature measurement method and photographing temperature measurement system based on intelligent terminal
CN108549874B (en) * 2018-04-19 2021-11-23 广州广电运通金融电子股份有限公司 Target detection method, target detection equipment and computer-readable storage medium
CN111435558A (en) * 2018-12-26 2020-07-21 杭州萤石软件有限公司 Identity authentication method and device based on biological characteristic multi-mode image
CN111325127A (en) * 2020-02-12 2020-06-23 上海云从汇临人工智能科技有限公司 Abnormal object judgment method, system, machine readable medium and equipment
CN111202504A (en) * 2020-02-12 2020-05-29 上海云从汇临人工智能科技有限公司 Abnormal object management method, system, machine readable medium and equipment
CN111368685B (en) * 2020-02-27 2023-09-29 北京字节跳动网络技术有限公司 Method and device for identifying key points, readable medium and electronic equipment
CN111414831B (en) * 2020-03-13 2022-08-12 深圳市商汤科技有限公司 Monitoring method and system, electronic device and storage medium
CN111444555B (en) * 2020-03-23 2024-03-26 深圳云天励飞技术有限公司 Temperature measurement information display method and device and terminal equipment
CN111507200A (en) * 2020-03-26 2020-08-07 北京迈格威科技有限公司 Body temperature detection method, body temperature detection device and dual-optical camera
CN111458032A (en) * 2020-04-14 2020-07-28 安徽启新明智科技有限公司 Non-contact security inspection temperature measurement screening method and device
CN111681770B (en) * 2020-04-15 2023-09-01 梅州市青塘实业有限公司 Intelligent detection method and device for abnormal target, computer equipment and storage medium
CN111914635B (en) * 2020-06-23 2023-12-26 北京迈格威科技有限公司 Human body temperature measurement method, device, system and electronic equipment
CN111915567A (en) * 2020-07-06 2020-11-10 浙江大华技术股份有限公司 Image quality evaluation method, device, equipment and medium
CN111811667A (en) * 2020-08-27 2020-10-23 创新奇智(北京)科技有限公司 Temperature detection method and device, electronic equipment and readable storage medium
CN112197218B (en) * 2020-09-23 2023-02-03 国网冀北电力有限公司技能培训中心 Comprehensive energy wisdom street lamp

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110044486A (en) * 2019-03-11 2019-07-23 武汉高德智感科技有限公司 Method, apparatus, the equipment of repetition of alarms are avoided for human body inspection and quarantine system
CN111882737A (en) * 2020-06-22 2020-11-03 浙江大华技术股份有限公司 Access control detection method, device, system, computer equipment and storage medium
CN112232186A (en) * 2020-10-14 2021-01-15 盈合(深圳)机器人与自动化科技有限公司 Epidemic prevention monitoring method and system

Also Published As

Publication number Publication date
CN113420629A (en) 2021-09-21

Similar Documents

Publication Publication Date Title
CN110660066B (en) Training method of network, image processing method, network, terminal equipment and medium
CN111724522B (en) Access control system, method and device, control equipment and storage medium
CN108805180B (en) Target object detection method and device
US20230214989A1 (en) Defect detection method, electronic device and readable storage medium
CN107564020B (en) Image area determination method and device
CN111881917A (en) Image preprocessing method and device, computer equipment and readable storage medium
CN110969600A (en) Product defect detection method and device, electronic equipment and storage medium
CN110298302B (en) Human body target detection method and related equipment
CN113420629B (en) Image processing method, device, equipment and medium
CN111209998B (en) Training method and device of machine learning model based on data type
CN109102486B (en) Surface defect detection method and device based on machine learning
CN113191270A (en) Method and device for detecting throwing event, electronic equipment and storage medium
CN113884188B (en) Temperature detection method and device and electronic equipment
CN112288686B (en) Model training method and device, electronic equipment and storage medium
CN114372970B (en) Surgical reference information generation method and device
CN112598616B (en) Method for determining exposure parameters of electronic equipment and imaging method
CN112073713B (en) Video leakage test method, device, equipment and storage medium
CN110008940B (en) Method and device for removing target object in image and electronic equipment
CN114449308A (en) Automatic video clipping method and device and cloud clipping server
CN112434717B (en) Model training method and device
CN106485666B (en) A kind of information indicating method and apparatus
CN113313189A (en) Shielding detection method and device and electronic equipment
CN113435305A (en) Precision detection method, device and equipment of target object identification algorithm and storage medium
CN108332779B (en) Reading method of liquid column type instrument and related device
CN112380938B (en) Face recognition and temperature measurement method, device, equipment and medium

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230824

Address after: Room 201, Building A, Integrated Circuit Design Industrial Park, No. 858, Jianshe 2nd Road, Economic and Technological Development Zone, Xiaoshan District, Hangzhou City, Zhejiang Province, 311215

Patentee after: Zhejiang Huagan Technology Co.,Ltd.

Address before: Hangzhou City, Zhejiang province Binjiang District 310053 shore road 1187

Patentee before: ZHEJIANG DAHUA TECHNOLOGY Co.,Ltd.