WO2024104365A1 - 一种设备测温方法及其相关设备 - Google Patents
一种设备测温方法及其相关设备 Download PDFInfo
- Publication number
- WO2024104365A1 WO2024104365A1 PCT/CN2023/131686 CN2023131686W WO2024104365A1 WO 2024104365 A1 WO2024104365 A1 WO 2024104365A1 CN 2023131686 W CN2023131686 W CN 2023131686W WO 2024104365 A1 WO2024104365 A1 WO 2024104365A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- target area
- target
- visible light
- thermal infrared
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01J—MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
- G01J5/00—Radiation pyrometry, e.g. infrared or optical thermometry
- G01J5/0096—Radiation pyrometry, e.g. infrared or optical thermometry for measuring wires, electrical contacts or electronic systems
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01J—MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
- G01J5/00—Radiation pyrometry, e.g. infrared or optical thermometry
- G01J5/0066—Radiation pyrometry, e.g. infrared or optical thermometry for hot spots detection
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01J—MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
- G01J5/00—Radiation pyrometry, e.g. infrared or optical thermometry
- G01J5/02—Constructional details
- G01J5/026—Control of working procedures of a pyrometer, other than calibration; Bandwidth calculation; Gain control
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01J—MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
- G01J5/00—Radiation pyrometry, e.g. infrared or optical thermometry
- G01J5/02—Constructional details
- G01J5/0275—Control or determination of height or distance or angle information for sensors or receivers
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01J—MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
- G01J5/00—Radiation pyrometry, e.g. infrared or optical thermometry
- G01J5/48—Thermography; Techniques using wholly visual means
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01K—MEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
- G01K11/00—Measuring temperature based upon physical or chemical changes not covered by groups G01K3/00, G01K5/00, G01K7/00 or G01K9/00
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01J—MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
- G01J5/00—Radiation pyrometry, e.g. infrared or optical thermometry
- G01J2005/0077—Imaging
Definitions
- the embodiments of the present application relate to the field of equipment detection technology, and in particular to a method for measuring equipment temperature and related equipment.
- Preventive detection of power equipment in substations is an important means of maintaining power equipment. Measuring the temperature of power equipment is an important part of preventive detection. By measuring the temperature of power equipment, the normal temperature area and the abnormal temperature area in the power equipment can be determined, so as to judge whether the power equipment can work normally, that is, whether there is a fault in the power equipment.
- robots in substations can take thermal infrared images of a certain area containing target power equipment and send the images to a remote cloud server for image analysis. Since the image contains the temperature of each point in the area, the cloud server can determine the normal temperature area and abnormal temperature area of the target power equipment based on the image, and use this as the temperature measurement result of the target power equipment and promptly notify the substation staff so that the staff can inspect and repair the abnormal temperature area of the target power equipment.
- the power equipment in the substation is densely populated, and the area may contain not only the target power equipment but also the rest of the power equipment.
- the cloud server analyzes the thermal infrared image of the area, it is easily affected by the rest of the power equipment and mistakes the temperature of certain points near the edge of the rest of the power equipment as the temperature of certain points in the target power equipment. It misjudges the abnormal temperature area of the target power equipment, resulting in low accuracy of the temperature measurement results for the target power equipment.
- the embodiments of the present application provide a device temperature measurement method and related devices, which can accurately determine the temperature abnormality area of the target device without causing misjudgment, thereby effectively improving the accuracy of the temperature measurement results of the target device.
- a first aspect of an embodiment of the present application provides a device temperature measurement method, the method comprising:
- the staff issues instructions to the robot, and based on the instructions, the robot can determine the inspection task to be completed, that is, to complete the temperature measurement of the target device. Then, during the stage of performing the inspection task, the robot can control the camera to shoot the target area where the target device is located, thereby obtaining a visible light image of the target area and a thermal infrared image of the target area. It can be understood that the visible light image of the target area presents the entire target area, and the thermal infrared image of the target area presents the entire target area.
- the target area usually refers to an area that is demarcated to a certain range, which contains the target device and the regional device.
- the robot can send the visible light image and the thermal infrared image of the target area to the cloud server, and the cloud server can remove the visible light image and the thermal infrared image of the remaining areas of the target area except the target device from the visible light image and the thermal infrared image of the target area, thereby obtaining the visible light image and the thermal infrared image of the target device.
- the visible light image of the target device only presents the target device
- the thermal infrared image of the target device only presents the target device.
- the cloud server can determine the visible light image and the thermal infrared image of the temperature abnormality region in the target device from the visible light image and the thermal infrared image of the target device. It is understandable that the visible light image of the temperature abnormality region in the target device only presents the temperature abnormality region, and the thermal infrared image of the temperature abnormality region only presents the temperature abnormality region.
- the cloud server can directly use the visible light image and the thermal infrared image of the temperature abnormality area as the temperature measurement result of the temperature abnormality area of the target device and feed it back to the staff, so that the staff can find the temperature abnormality area of the target device based on the temperature measurement result and inspect the temperature abnormality area of the target device.
- the robot can control the camera to shoot the target area including the target device and other devices, obtain the visible light image and thermal infrared image of the target area, and send them to the cloud server.
- the server can process the visible light image of the target area and the thermal infrared image of the target area to obtain the visible light image of the target device and the thermal infrared image of the target device.
- the cloud server can continue to process the visible light image of the target device and the thermal infrared image of the target device to obtain the thermal infrared image of the temperature abnormal area in the target device.
- the cloud server can determine the temperature measurement result of the temperature abnormal area of the target device based on the thermal infrared image of the temperature abnormal area, and report it to the staff so that the staff can repair the temperature abnormal area of the target device.
- the cloud server can remove the visible light image and thermal infrared image of the remaining devices from them to obtain the visible light image and thermal infrared image of the target device.
- the cloud server Since the visible light image and thermal infrared image of the target device only present the target device, in the process of analyzing these images, the cloud server will not be affected by the remaining devices, and accurately confirm the visible light image and thermal infrared image of the temperature abnormal area in the target device, so as to serve as the temperature measurement result of the temperature abnormal area of the target device. It can be seen that the cloud server accurately determines the temperature abnormal area of the target device without misjudgment, thereby effectively improving the accuracy of the temperature measurement result of the target device.
- the method further includes: calculating the thermal infrared image of the target area and the visible light image of the target area to obtain a depth image of the target area; processing the visible light image of the target area and the thermal infrared image of the target area to obtain the visible light image of the target device and the thermal infrared image of the target device includes: processing the depth image of the target area, the visible light image of the target area and the thermal infrared image of the target area to obtain the visible light image of the target device and the thermal infrared image of the target device.
- the cloud server may perform a series of calculations on the visible light image of the target area and the thermal infrared image of the target area to obtain the depth image of the target area. After obtaining the depth image of the target area, the cloud server may use the depth image of the target area to remove the visible light images of the remaining areas of the target area except the target device and the thermal infrared images of the remaining areas from the visible light image of the target area and the thermal infrared image of the target area, thereby obtaining the visible light image of the target device and the thermal infrared image of the target device.
- the method further includes: aligning the visible light image of the target area to the thermal infrared image of the target area to obtain an aligned visible light image of the target area; calculating the thermal infrared image of the target area and the visible light image of the target area to obtain a depth image of the target area includes: calculating the thermal infrared image of the target area and the aligned visible light image to obtain a depth image of the target area; processing the visible light image of the target area and the thermal infrared image of the target area to obtain a visible light image of the target device and a thermal infrared image of the target device includes: processing the aligned visible light image of the target area, the thermal infrared image of the target area, and the depth image of the target area to obtain a visible light image of the target device and a thermal infrared image of the target device.
- the cloud server may align the visible light image of the target area with the thermal infrared image of the target area based on the first model (including coarse correspondence and fine alignment), thereby obtaining the aligned visible light image of the target area.
- the cloud server may also perform a series of calculations on the aligned visible light image of the target area and the thermal infrared image of the target area based on the second model, thereby obtaining a depth image of the target area.
- the cloud server can complete instance segmentation of the aligned visible light image of the target area, the thermal infrared image of the target area and the depth image of the target area based on the third model and the fourth model, thereby accurately obtaining the visible light image and the thermal infrared image of the target device.
- the method further includes: based on the depth image of the target area, determining the thermal infrared image of the foreground in the target area and the visible light image of the foreground in the thermal infrared image of the target area and the aligned visible light image, wherein the foreground includes the target device; processing the aligned visible light image of the target area, the thermal infrared image of the target area and the depth image of the target area to obtain the visible light image of the target device and the thermal infrared image of the target device includes: processing the depth image of the target area, the thermal infrared image of the foreground and the visible light image of the foreground to obtain the visible light image of the target device and the thermal infrared image of the target device.
- the cloud server may also, based on the depth image of the target area, remove the visible light area of the background in the target area and the thermal infrared image of the background in the target area from the thermal infrared image of the target area and the aligned visible light image of the target area, retain the thermal infrared image of the foreground in the target area and the visible light image of the foreground in the target area, wherein the visible light image of the foreground in the target area only presents the foreground of the target area, and the thermal infrared image of the foreground in the target area only presents the foreground of the target area, wherein the foreground of the target area includes the target device and the remaining devices, and the background of the target area is the environment where the target device is located.
- the cloud server After obtaining the thermal infrared image of the foreground in the target area and the visible light image of the foreground in the target area, the cloud server can complete instance segmentation of the thermal infrared image of the foreground in the target area, the visible light image of the foreground in the target area and the depth image of the target area based on the third model and the fourth model, thereby accurately obtaining the visible light image and the thermal infrared image of the target device.
- the visible light image and the thermal infrared image of the target area are processed to obtain the target area.
- the visible light image of the device and the thermal infrared image of the target device include: segmenting the visible light image of the target area and the thermal infrared image of the target area to obtain the visible light image of the target sub-area and the thermal infrared image of the target sub-area, the target sub-area being the area occupied by the target device and a part of the remaining devices in the target area; performing secondary segmentation on the visible light image of the target sub-area and the thermal infrared image of the target sub-area to obtain the visible light image of the target device and the thermal infrared image of the target device.
- the instance segmentation includes the first segmentation and the second segmentation.
- the cloud server can perform the first segmentation on the thermal infrared image of the target area and the visible light image of the target area based on the third model and the depth image of the target area, thereby obtaining the thermal infrared image of the target sub-area and the visible light image of the target sub-area.
- the cloud server can also perform secondary segmentation on the visible light image of the target sub-area and the thermal infrared image of the target sub-area based on the fourth model, thereby accurately obtaining the visible light image of the target device and the thermal infrared image of the target device.
- the method further includes: obtaining the distance between the camera and the temperature abnormal area based on the visible light image of the target area and the thermal infrared image of the target area; adjusting the temperature measurement result based on the distance between the camera and the temperature abnormal area and the preset corresponding relationship to obtain the adjusted temperature measurement result of the temperature abnormal area, and the preset corresponding relationship is used to indicate the corresponding relationship between the distance and the temperature correction value.
- the cloud server is also provided with a preset corresponding relationship, which is used to indicate the corresponding relationship between the distance and the temperature correction value.
- the cloud server can determine the temperature correction value corresponding to the distance between the thermal imaging camera and the target device based on the preset corresponding relationship and the distance between the thermal imaging camera and the target device (the distance can be obtained from the depth image of the target area), and then adjust the thermal infrared image of the temperature abnormal area based on the temperature correction value to obtain the adjusted thermal infrared image of the temperature abnormal area.
- the cloud server can use the visible light image of the temperature abnormal area and the adjusted thermal infrared image of the temperature abnormal area as the adjusted temperature measurement result of the temperature abnormal area in the target device, and feedback it to the staff.
- the cloud server can make the adjusted thermal infrared image of the temperature abnormal area in the target device closer to the actual temperature of the temperature abnormal area in the target device, which is conducive to improving the accuracy of the temperature measurement results of the target device.
- the cloud server can automatically obtain the distance between the camera and the temperature abnormal area in the target device based on the depth image of the target area, so as to determine the temperature correction value corresponding to the distance, and use the temperature correction value to complete the adjustment of the temperature measurement results. It can be seen that the entire process of temperature correction can be automatically completed by the cloud server, without the need for staff to operate, which can reduce the cost of manual operation.
- controlling a camera to photograph a target area to obtain a visible light image of the target area and a thermal infrared image of the target area includes: controlling a camera to photograph the target area at a preset position and at a preset angle to obtain a visible light image of the target area and a thermal infrared image of the target area, the distance between the camera at the position and the target device in the target area is within a preset range, and when the camera photographs the target area at the angle, the degree of overlap between the target device and the remaining devices is less than a preset threshold.
- the cloud server in the inspection planning stage, can select a preset position and a preset angle for the robot based on the images of the target area photographed by the robot at different positions and at different angles according to certain conditions, and these conditions include: when the robot is at the position, the distance between the camera and the target device in the target area is within a preset range, and when the robot controls the camera to photograph the target area at the angle, the degree of overlap between the target device and the remaining devices is less than a preset threshold. It can be seen that the cloud server can automatically plan the optimal position and angle for the robot according to the aforementioned conditions, and the factors considered are relatively comprehensive. This allows the robot to capture the optimal image at the optimal position and angle during the inspection execution phase, which is not only efficient but also improves the accuracy of the temperature measurement results of the target equipment.
- the robot's camera includes an optical imaging camera and a thermal imaging camera.
- a second aspect of an embodiment of the present application provides a device temperature measurement device, which includes: a shooting module, which is used to control a camera to shoot a target area to obtain a visible light image of the target area and a thermal infrared image of the target area, wherein the target area includes a target device; a first processing module, which is used to process the visible light image of the target area and the thermal infrared image of the target area to obtain a visible light image of the target device and a thermal infrared image of the target device; a second processing module, which is used to process the visible light image of the target device and the thermal infrared image of the target device to obtain a thermal infrared image of a temperature abnormality area in the target device; and a determination module, which is used to determine the temperature measurement result of the temperature abnormality area based on the thermal infrared image of the temperature abnormality area.
- the robot can control the camera to shoot the target area including the target device and other devices, obtain the visible light image and the thermal infrared image of the target area, and send them to the cloud server.
- the cloud server can process the visible light image and the thermal infrared image of the target area to obtain the visible light image of the target device. and the thermal infrared image of the target device.
- the cloud server can continue to process the visible light image of the target device and the thermal infrared image of the target device to obtain the thermal infrared image of the temperature abnormal area in the target device.
- the cloud server can determine the temperature measurement result of the temperature abnormal area of the target device based on the thermal infrared image of the temperature abnormal area, and report it to the staff so that the staff can repair the temperature abnormal area of the target device.
- the cloud server can remove the visible light image and thermal infrared image of the remaining devices from them to obtain the visible light image and thermal infrared image of the target device.
- the cloud server Since the visible light image and thermal infrared image of the target device only present the target device, in the process of analyzing these images, the cloud server will not be affected by the remaining devices, and accurately confirm the visible light image and thermal infrared image of the temperature abnormal area in the target device, so as to serve as the temperature measurement result of the temperature abnormal area of the target device. It can be seen that the cloud server accurately determines the temperature abnormal area of the target device without misjudgment, thereby effectively improving the accuracy of the temperature measurement result of the target device.
- the device also includes: a calculation module, which is used to calculate the thermal infrared image of the target area and the visible light image of the target area to obtain a depth image of the target area; a first processing module, which is used to process the depth image of the target area, the visible light image of the target area and the thermal infrared image of the target area to obtain a visible light image of the target device and a thermal infrared image of the target device.
- a calculation module which is used to calculate the thermal infrared image of the target area and the visible light image of the target area to obtain a depth image of the target area
- a first processing module which is used to process the depth image of the target area, the visible light image of the target area and the thermal infrared image of the target area to obtain a visible light image of the target device and a thermal infrared image of the target device.
- the device also includes: a third processing module, used to align the visible light image of the target area to the thermal infrared image of the target area to obtain the aligned visible light image of the target area; a calculation module, used to calculate the thermal infrared image of the target area and the aligned visible light image to obtain a depth image of the target area; and a first processing module, used to process the aligned visible light image of the target area, the thermal infrared image of the target area, and the depth image of the target area to obtain a visible light image of the target device and a thermal infrared image of the target device.
- a third processing module used to align the visible light image of the target area to the thermal infrared image of the target area to obtain the aligned visible light image of the target area
- a calculation module used to calculate the thermal infrared image of the target area and the aligned visible light image to obtain a depth image of the target area
- a first processing module used to process the aligned visible light image of the target
- the device also includes: a fourth processing module, which is used to determine, based on the depth image of the target area, the thermal infrared image of the target area and the aligned visible light image, a thermal infrared image of the foreground in the target area and a visible light image of the foreground, wherein the foreground includes a target device; and a first processing module, which is used to process the depth image of the target area, the thermal infrared image of the foreground and the visible light image of the foreground to obtain a visible light image of the target device and a thermal infrared image of the target device.
- a fourth processing module which is used to determine, based on the depth image of the target area, the thermal infrared image of the target area and the aligned visible light image, a thermal infrared image of the foreground in the target area and a visible light image of the foreground, wherein the foreground includes a target device
- a first processing module which is used to process the depth
- the first processing module is used to: segment the visible light image and the thermal infrared image of the target area to obtain a visible light image and a thermal infrared image of the target sub-area, where the target sub-area is the area occupied by the target device and a part of the remaining devices in the target area; perform secondary segmentation on the visible light image and the thermal infrared image of the target sub-area to obtain a visible light image and a thermal infrared image of the target device.
- the device also includes: an acquisition module, used to acquire the distance between the camera and the temperature abnormality area based on the visible light image of the target area and the thermal infrared image of the target area; an adjustment module, used to adjust the temperature measurement result based on the distance between the camera and the temperature abnormality area and a preset correspondence relationship to obtain an adjusted temperature measurement result of the temperature abnormality area, and the preset correspondence relationship is used to indicate the correspondence between the distance and the temperature correction value.
- an acquisition module used to acquire the distance between the camera and the temperature abnormality area based on the visible light image of the target area and the thermal infrared image of the target area
- an adjustment module used to adjust the temperature measurement result based on the distance between the camera and the temperature abnormality area and a preset correspondence relationship to obtain an adjusted temperature measurement result of the temperature abnormality area, and the preset correspondence relationship is used to indicate the correspondence between the distance and the temperature correction value.
- a shooting module is used to control a camera to shoot a target area at a preset position and at a preset angle to obtain a visible light image of the target area and a thermal infrared image of the target area.
- the distance between the camera at the position and the target device in the target area is within a preset range.
- the degree of overlap between the target device and other devices is less than a preset threshold.
- the camera includes an optical imaging camera and a thermal imaging camera.
- a third aspect of an embodiment of the present application provides a device temperature measurement apparatus, which includes a memory and a processor; the memory stores code, and the processor is configured to execute the code.
- the device temperature measurement apparatus executes the method described in the first aspect or any possible implementation method of the first aspect.
- a fourth aspect of an embodiment of the present application provides a circuit system, which includes a processing circuit, and the processing circuit is configured to execute the method described in the first aspect or any possible implementation manner of the first aspect.
- a fifth aspect of an embodiment of the present application provides a chip system, which includes a processor for calling a computer program or computer instructions stored in a memory so that the processor executes the method described in the first aspect or any possible implementation method of the first aspect.
- the processor is coupled to the memory through an interface.
- the chip system also includes a memory, in which a computer program or computer instructions are stored.
- a sixth aspect of the embodiments of the present application provides a computer storage medium storing a computer program.
- the program When the program is executed by a computer, the computer implements the method described in the first aspect or any possible implementation manner of the first aspect.
- a seventh aspect of the embodiments of the present application provides a computer program product, which stores instructions. When the instructions are executed by a computer, the computer implements the method described in the first aspect or any possible implementation method of the first aspect.
- the robot under the instruction of the staff, can control the camera to shoot the target area including the target device and the remaining devices, obtain the visible light image of the target area and the thermal infrared image of the target area, and send them to the cloud server.
- the cloud server can process the visible light image of the target area and the thermal infrared image of the target area to obtain the visible light image of the target device and the thermal infrared image of the target device.
- the cloud server can continue to process the visible light image of the target device and the thermal infrared image of the target device to obtain the thermal infrared image of the temperature abnormal area in the target device.
- the cloud server can determine the temperature measurement result of the temperature abnormal area of the target device based on the thermal infrared image of the temperature abnormal area, and report it to the staff so that the staff can repair the temperature abnormal area of the target device.
- the cloud server can remove the visible light image and thermal infrared image of the remaining devices from them to obtain the visible light image and thermal infrared image of the target device.
- the cloud server Since the visible light image and thermal infrared image of the target device only present the target device, the cloud server will not be affected by other devices during the analysis of these images, and accurately confirm the visible light image and thermal infrared image of the temperature abnormal area in the target device as the temperature measurement result of the temperature abnormal area of the target device. It can be seen that the cloud server accurately determines the temperature abnormal area of the target device without misjudgment, thereby effectively improving the accuracy of the temperature measurement results of the target device.
- FIG1 is a schematic diagram of a structure of an artificial intelligence main framework
- FIG2a is a schematic diagram of a structure of a device temperature measurement system provided in an embodiment of the present application.
- FIG2b is another schematic diagram of the structure of the device temperature measurement system provided in an embodiment of the present application.
- FIG2c is a schematic diagram of a device related to device temperature measurement provided in an embodiment of the present application.
- FIG3 is a schematic diagram of the architecture of the system 100 provided in an embodiment of the present application.
- FIG4 is a schematic diagram of a flow chart of a device temperature measurement method provided in an embodiment of the present application.
- FIG5 is a schematic diagram of a structure of a calibration plate provided in an embodiment of the present application.
- FIG6a is a schematic diagram of a calibration process provided in an embodiment of the present application.
- FIG6b is another schematic diagram of the calibration process provided in an embodiment of the present application.
- FIG6c is another schematic diagram of the calibration process provided in an embodiment of the present application.
- FIG7 is a schematic diagram of refined matching provided in an embodiment of the present application.
- FIG8 is a schematic structural diagram of a first model provided in an embodiment of the present application.
- FIG9 is a schematic diagram of a structure of a second model provided in an embodiment of the present application.
- FIG10 is a schematic diagram of heterogeneous binocular disparity provided in an embodiment of the present application.
- FIG11 is a schematic structural diagram of a third model provided in an embodiment of the present application.
- FIG12 is a schematic structural diagram of a fourth model provided in an embodiment of the present application.
- FIG13 is a schematic structural diagram of a fifth model provided in an embodiment of the present application.
- FIG14 is a schematic diagram of a structure of a device temperature measuring device provided in an embodiment of the present application.
- FIG15 is a schematic diagram of a structure of an execution device provided in an embodiment of the present application.
- FIG16 is a schematic diagram of a structure of a training device provided in an embodiment of the present application.
- FIG. 17 is a schematic diagram of the structure of a chip provided in an embodiment of the present application.
- the embodiments of the present application provide a device temperature measurement method and related devices, which can accurately determine the temperature abnormality area of the target device without causing misjudgment, thereby effectively improving the accuracy of the temperature measurement results of the target device.
- Preventive detection of power equipment in substations is an important means of maintaining power equipment. Measuring the temperature of power equipment is an important part of preventive detection. By measuring the temperature of power equipment, the normal temperature area and the abnormal temperature area in the power equipment can be determined, so as to judge whether the power equipment can work normally, that is, whether there is a fault in the power equipment.
- robots in substations can take thermal infrared images of a certain area containing target power equipment and send the image to a remote cloud server for image analysis.
- the cloud server can determine the thermal infrared image of the target power equipment, that is, the temperature of all points of the target power equipment. Therefore, the cloud server can determine the normal temperature area and the abnormal temperature area of the target power equipment, and use this as the temperature measurement result of the target power equipment and promptly notify the substation staff so that the staff can inspect and repair the abnormal temperature area of the target power equipment.
- the power equipment in the substation is densely populated, and the area may contain not only the target power equipment but also the rest of the power equipment.
- the cloud server analyzes the thermal infrared image of the area, it is easily affected by the rest of the power equipment and mistakes the temperature of certain points near the edge of the rest of the power equipment as the temperature of certain points in the target power equipment. It misjudges the abnormal temperature area of the target power equipment, resulting in low accuracy of the temperature measurement results of the target power equipment.
- the robot often needs staff to set a certain position for the robot so that the robot can stop at the position and take pictures of the area containing the target power equipment.
- the factors considered in manually selecting the position are often relatively simple, resulting in the thermal infrared image of the area being not the optimal image, which is not only inefficient but also reduces the accuracy of the temperature measurement results of the target power equipment.
- the robot uses a thermal imaging camera to obtain thermal infrared images of the area.
- the temperature of any point in the image i.e., any pixel in the image
- the thermal imaging camera based on the received radiation energy. Since the radiation energy is affected by the distance between the target power equipment and the camera, the measured temperature of each point on the target power equipment will deviate from the actual temperature, which will also reduce the accuracy of the temperature measurement results of the target power equipment.
- AI technology is a technical discipline that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence. AI technology obtains the best results by sensing the environment, acquiring knowledge and using knowledge.
- artificial intelligence technology is a branch of computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence.
- Using artificial intelligence for data processing is a common application of artificial intelligence.
- Figure 1 is a structural diagram of the main framework of artificial intelligence.
- the following is an explanation of the above artificial intelligence theme framework from the two dimensions of "intelligent information chain” (horizontal axis) and “IT value chain” (vertical axis).
- the "intelligent information chain” reflects a series of processes from data acquisition to processing. For example, it can be a general process of intelligent information perception, intelligent information representation and formation, intelligent reasoning, intelligent decision-making, intelligent execution and output. In this process, the data has undergone a condensation process of "data-information-knowledge-wisdom".
- the "IT value chain” reflects the value that artificial intelligence brings to the information technology industry from the underlying infrastructure of human intelligence, information (providing and processing technology implementation) to the industrial ecology process of the system.
- the infrastructure provides computing power support for the artificial intelligence system, enables communication with the outside world, and is supported by the basic platform. It communicates with the outside world through sensors; computing power is provided by smart chips (CPU, NPU, GPU, ASIC, FPGA and other hardware acceleration chips); the basic platform includes distributed computing frameworks and networks and other related platform guarantees and support, which can include cloud storage and computing, interconnected networks, etc. For example, sensors communicate with the outside world to obtain data, and these data are provided to the smart chips in the distributed computing system provided by the basic platform for calculation.
- smart chips CPU, NPU, GPU, ASIC, FPGA and other hardware acceleration chips
- the basic platform includes distributed computing frameworks and networks and other related platform guarantees and support, which can include cloud storage and computing, interconnected networks, etc.
- sensors communicate with the outside world to obtain data, and these data are provided to the smart chips in the distributed computing system provided by the basic platform for calculation.
- the data on the upper layer of the infrastructure is used to represent the data sources in the field of artificial intelligence.
- the data involves graphics, images, voice, text, and IoT data of traditional devices, including business data of existing systems and perception data such as force, displacement, liquid level, temperature, and humidity.
- Data processing usually includes data training, machine learning, deep learning, search, reasoning, decision-making and other methods.
- machine learning and deep learning can symbolize and formalize data for intelligent information modeling, extraction, preprocessing, and training. wait.
- Reasoning refers to the process of simulating human intelligent reasoning in computers or intelligent systems, using formalized information to perform machine thinking and solve problems based on reasoning control strategies. Typical functions are search and matching.
- Decision-making refers to the process of making decisions after intelligent information is reasoned, usually providing functions such as classification, sorting, and prediction.
- some general capabilities can be further formed based on the results of the data processing, such as an algorithm or a general system, for example, translation, text analysis, computer vision processing, speech recognition, image recognition, etc.
- Smart products and industry applications refer to the products and applications of artificial intelligence systems in various fields. They are the encapsulation of the overall artificial intelligence solution, which productizes intelligent information decision-making and realizes practical applications. Its application areas mainly include: smart terminals, smart transportation, smart medical care, autonomous driving, smart cities, etc.
- FIG2a is a schematic diagram of a device temperature measurement system provided in an embodiment of the present application, wherein the device temperature measurement system includes a user device and a data processing device.
- the user device includes a smart terminal such as a mobile phone, a personal computer or a robot.
- the user device is the initiator of the device temperature measurement, and as the initiator of the device temperature measurement request, the request is usually initiated by the user through the user device.
- the above-mentioned data processing device can be a device or server with data processing function such as a cloud server, a network server, an application server and a management server.
- the data processing device receives the device temperature measurement request from the smart terminal through the interactive interface, and then performs text processing in the form of machine learning, deep learning, search, reasoning, decision-making, etc. through the memory for storing data and the processor link for data processing.
- the memory in the data processing device can be a general term, including local storage and databases for storing historical data.
- the database can be on the data processing device or on other network servers.
- the user device can receive the user's instruction, and the user device can shoot the target device located in the target area based on the instruction, thereby obtaining an image of the target area, and then initiate a temperature measurement request to the data processing device, so that the data processing device executes an image processing application based on the request for the image obtained by the user device, thereby obtaining an image processing result.
- the user device collects a visible light image of the target area and a thermal infrared image of the target area, and sends a temperature measurement request for these images to the data processing device, so that the data processing device performs a series of analysis and processing on the visible light image of the target area and the thermal infrared image of the target area, thereby obtaining an image processing result, that is, a temperature measurement result of the target device.
- the data processing device may execute the device temperature measurement method of the embodiment of the present application.
- Figure 2b is another structural schematic diagram of the device temperature measurement system provided in an embodiment of the present application.
- the user device directly serves as a data processing device.
- the user device can, under the user's instructions, obtain images from the target area and directly perform image processing applications by the hardware of the user device itself.
- the specific process is similar to that of Figure 2a. Please refer to the above description and will not be repeated here.
- the user device collects a visible light image of the target area and a thermal infrared image of the target area under the user's instruction, and performs a series of analysis and processing on the visible light image of the target area and the thermal infrared image of the target area to obtain the image processing result and the temperature measurement result of the target device.
- the user device itself can execute the device temperature measurement method of the embodiment of the present application.
- FIG. 2c is a schematic diagram of related equipment for device temperature measurement provided in an embodiment of the present application.
- the user device in the above Figures 2a and 2b can specifically be the local device 301 or the local device 302 in Figure 2c
- the data processing device in Figure 2a can specifically be the execution device 210 in Figure 2c
- the data storage system 250 can store the data to be processed of the execution device 210
- the data storage system 250 can be integrated on the execution device 210, and can also be set on the cloud or other network servers.
- the processors in Figures 2a and 2b can perform data training/machine learning/deep learning through a neural network model or other models (for example, a model based on a support vector machine), and use the model finally trained or learned from the data to execute image processing applications on the image, thereby obtaining corresponding processing results.
- a neural network model or other models for example, a model based on a support vector machine
- FIG 3 is a schematic diagram of the system 100 architecture provided in an embodiment of the present application.
- the execution device 110 is configured with an input/output (I/O) interface 112 for data interaction with an external device.
- the user can input data to the I/O interface 112 through the client device 140.
- the input data can include: temperature measurement tasks, task data (including visible light images and thermal infrared images to be processed) and task parameters in the embodiment of the present application.
- the execution device 110 When the execution device 110 preprocesses the input data, or when the computing module 111 of the execution device 110 performs calculation and other related processing (such as implementing the function of the neural network in the present application), the execution device 110 can call the data, code, etc. in the data storage system 150 for the corresponding processing, and can also store the data, instructions, etc. obtained by the corresponding processing in the data storage system 150.
- the I/O interface 112 returns the processing result to the client device 140 so as to provide it to the user.
- the training device 120 can generate corresponding target models/rules based on different training data for different goals or different tasks, and the corresponding target models/rules can be used to achieve the above goals or complete the above tasks, thereby providing the user with the desired results.
- the training data can be stored in the database 130 and come from the training samples collected by the data acquisition device 160.
- the training device 120 and the execution device 110 can be different devices or the same device (that is, the training device 120 is integrated in the execution device 110).
- the user can manually give input data, and the manual giving can be operated through the interface provided by the I/O interface 112.
- the client device 140 can automatically send input data to the I/O interface 112. If the client device 140 is required to automatically send input data and needs to obtain the user's authorization, the user can set the corresponding authority in the client device 140.
- the user can view the results output by the execution device 110 on the client device 140, and the specific presentation form can be a specific method such as display, sound, action, etc.
- the client device 140 can also be used as a data acquisition terminal to collect the input data of the input I/O interface 112 and the output results of the output I/O interface 112 as shown in the figure as new sample data, and store them in the database 130.
- the I/O interface 112 directly stores the input data of the input I/O interface 112 and the output results of the output I/O interface 112 as new sample data in the database 130.
- FIG3 is only a schematic diagram of a system architecture provided by an embodiment of the present application, and the positional relationship between the devices, components, modules, etc. shown in the figure does not constitute any limitation.
- the data storage system 150 is an external memory relative to the execution device 110. In other cases, the data storage system 150 can also be placed in the execution device 110.
- a neural network can be obtained by training according to the training device 120.
- the embodiment of the present application also provides a chip, which includes a neural network processor NPU.
- the chip can be set in the execution device 110 as shown in Figure 3 to complete the calculation work of the calculation module 111.
- the chip can also be set in the training device 120 as shown in Figure 3 to complete the training work of the training device 120 and output the target model/rule.
- Neural network processor NPU is mounted on the main central processing unit (CPU) (host CPU) as a coprocessor, and the main CPU assigns tasks.
- the core part of NPU is the operation circuit, and the controller controls the operation circuit to extract data from the memory (weight memory or input memory) and perform operations.
- the arithmetic circuit includes multiple processing units (process engines, PEs) internally.
- the arithmetic circuit is a two-dimensional systolic array.
- the arithmetic circuit can also be a one-dimensional systolic array or other electronic circuits capable of performing mathematical operations such as multiplication and addition.
- the arithmetic circuit is a general-purpose matrix processor.
- the operation circuit takes the corresponding data of matrix B from the weight memory and caches it on each PE in the operation circuit.
- the operation circuit takes the matrix A data from the input memory and performs matrix operations with matrix B.
- the partial results or final results of the matrix are stored in the accumulator.
- the vector calculation unit can further process the output of the operation circuit, such as vector multiplication, vector addition, exponential operation, logarithmic operation, size comparison, etc.
- the vector calculation unit can be used for network calculations of non-convolutional/non-FC layers in neural networks, such as pooling, batch normalization, local response normalization, etc.
- the vector computation unit can store the processed output vector to a unified buffer.
- the vector computation unit can apply a nonlinear function to the output of the computation circuit, such as a vector of accumulated values, to generate an activation value.
- the vector computation unit generates a normalized value, a merged value, or both.
- the processed output vector can be used as an activation input to the computation circuit, such as for use in a subsequent layer in a neural network.
- the unified memory is used to store input data and output data.
- the weight data is directly transferred from the external memory to the input memory and/or the unified memory through the direct memory access controller (DMAC), the weight data in the external memory is stored in the weight memory, and the data in the unified memory is stored in the external memory.
- DMAC direct memory access controller
- the bus interface unit (BIU) is used to implement interaction between the main CPU, DMAC and instruction fetch memory through the bus.
- An instruction fetch buffer connected to the controller, used to store instructions used by the controller
- the controller is used to call the instructions cached in the memory to control the working process of the computing accelerator.
- the unified memory, input memory, weight memory and instruction fetch memory are all on-chip memories
- the external memory is a memory outside the NPU, which can be a double data rate synchronous dynamic random access memory (DDR SDRAM), a high bandwidth memory (HBM) or other readable and writable memories.
- DDR SDRAM double data rate synchronous dynamic random access memory
- HBM high bandwidth memory
- a neural network may be composed of neural units, and a neural unit may refer to an operation unit with xs and intercept 1 as input, and the output of the operation unit may be:
- n is a natural number greater than 1
- Ws is the weight of xs
- b is the bias of the neural unit.
- f is the activation function of the neural unit, which is used to introduce nonlinear characteristics into the neural network to convert the input signal in the neural unit into the output signal.
- the output signal of the activation function can be used as the input of the next convolutional layer.
- the activation function can be a sigmoid function.
- a neural network is a network formed by connecting many of the above-mentioned single neural units together, that is, the output of one neural unit can be the input of another neural unit.
- the input of each neural unit can be connected to the local receptive field of the previous layer to extract the characteristics of the local receptive field.
- the local receptive field can be an area composed of several neural units.
- the word "space” is used here because the classified object is not a single thing, but a class of things, and space refers to the collection of all individuals of this class of things.
- W is a weight vector, and each value in the vector represents the weight value of a neuron in the neural network of this layer.
- the vector W determines the spatial transformation from input space to output space described above, that is, the weight W of each layer controls how to transform the space.
- the purpose of training a neural network is to finally obtain the weight matrix of all layers of the trained neural network (the weight matrix formed by many layers of vectors W). Therefore, the training process of a neural network is essentially about learning how to control spatial transformations, or more specifically, learning the weight matrix.
- Neural networks can use the error back propagation (BP) algorithm to correct the size of the parameters in the initial neural network model during the training process, so that the reconstruction error loss of the neural network model becomes smaller and smaller. Specifically, the forward transmission of the input signal to the output will generate error loss, and the error loss information is back-propagated to update the parameters in the initial neural network model, so that the error loss converges.
- the back propagation algorithm is a back propagation movement dominated by error loss, which aims to obtain the optimal parameters of the neural network model, such as the weight matrix.
- the model training method provided in the embodiment of the present application involves the processing of data sequences, and can be specifically applied to methods such as data training, machine learning, and deep learning, and symbolizes and formalizes intelligent information modeling, extraction, preprocessing, and training of training data, and finally obtains a trained neural network (such as the first model, the second model, the third model, the fourth model, and the fifth model in the present application, etc.); and the device temperature measurement method provided in the embodiment of the present application can use the above-mentioned trained neural network to input input data (for example, the visible light image of the target area and the thermal infrared image of the target area in the present application, etc.) into the trained neural network to obtain output data (such as the visible light image of the temperature abnormality area of the target device and the thermal infrared image of the temperature abnormality area in the present application, etc.).
- input input data for example, the visible light image of the target area and the thermal infrared image of the target area in the present application, etc.
- output data such as the
- model training method and the device temperature measurement method provided in the embodiment of the present application are inventions based on the same concept, and can also be understood as two parts in a system, or two stages of an overall process: such as the model training stage and the model application stage.
- the equipment temperature measurement method provided in the embodiment of the present application can be applied to the temperature measurement scenario of power equipment.
- the staff of the substation can order the robot to patrol the substation.
- the robot controls the camera to shoot the target power equipment and the target area where the remaining power equipment is located, and uploads the obtained visible light image and thermal infrared image of the target area to the cloud server, so that the cloud server performs a series of processing on these images to obtain the temperature measurement results of the temperature abnormal area in the target power equipment, and feeds back to the staff, so that the staff can inspect the temperature abnormal area of the target power equipment in the substation, thereby maintaining the normal working state of the substation.
- Figure 4 is a flow chart of the equipment temperature measurement method provided in the embodiment of the present application. As shown in Figure 4, the method includes:
- the staff issues instructions to the robot, and the robot can determine the inspection task to be completed based on the instruction, that is, complete the temperature measurement of the target device. Then, in the inspection execution stage (that is, the stage of executing the inspection task), the robot can control the camera to shoot the target area where the target device is located, thereby obtaining a visible light image of the target area and a thermal infrared image of the target area.
- the target area usually refers to an area with a certain range, which contains the target device and the regional equipment.
- the visible light image of the target area contains the original information of each point in the target area (that is, the color, texture, etc. of each point), and the thermal infrared image of the target area contains the temperature information of each point in the target area (that is, the temperature of each point).
- the camera installed on the robot may include an optical imaging camera and a thermal imaging camera, and the optical imaging camera and the thermal imaging camera are installed side by side on the robot's pan-tilt platform, and the pan-tilt platform can achieve 360-degree rotation under the control of the robot. Then, during continuous driving, the robot can control the optical imaging camera to shoot the target area, thereby obtaining a visible light image of the target area, and control the thermal imaging camera to shoot the target area, thereby obtaining a thermal infrared image of the target area.
- the robot can photograph the target area in the following ways to obtain a visible light image of the target area and a thermal infrared image of the target area:
- the camera can be immediately controlled to shoot the target area at a preset angle at this moment, thereby obtaining a visible light image of the target area and a thermal infrared image of the target area.
- the preset position and the preset angle are both determined in advance during the inspection planning stage. Therefore, the position determined in advance should meet the following conditions: when the robot is at this position, the distance between the robot's camera and the target device in the target area is within a preset range (the size of the left and right end values of the range can be set according to actual needs and is not limited here).
- the angle determined in advance meets the following conditions: when the robot's camera shoots the target area at this angle, in the shooting field of view presented, the degree of overlap between the target device in the target area and the remaining devices in the target area is less than the preset overlap threshold (the size of the threshold can be set according to actual needs and is not limited here).
- the inspection planning stage is before the inspection execution stage, and the inspection planning stage is similar to the inspection execution stage. Therefore, the process of the robot completing the inspection planning stage can refer to the process of the robot completing the inspection execution stage (i.e., refer to step 401 and step 402, etc.), which will not be repeated here.
- each time the robot reaches a position it selects an angle and immediately determines at that moment whether the position satisfies the following conditions: when the robot is at that position, whether the distance between the robot's camera and the target device in the target area is within the preset range, and whether a certain angle satisfies the following conditions: when the robot's camera shoots the target area at that angle, whether the overlap between the target device in the target area and the remaining devices in the target area in the presented shooting field of view is less than a preset threshold. If both conditions are met, the robot controls the camera at that position to shoot the target area at that angle, thereby obtaining a visible light image of the target area and a thermal infrared image of the target area. If one of these two conditions is not met, the robot moves to the next position. The above process is repeated for the next position and the next angle until the visible light image and the thermal infrared image of the target area are successfully collected.
- the robot can send the visible light image and the thermal infrared image of the target area to the cloud server, and the cloud server can remove the visible light image and the thermal infrared image of the remaining areas of the target area except the target device from the visible light image and the thermal infrared image of the target area, thereby obtaining the visible light image and the thermal infrared image of the target device.
- the visible light image of the target area presents the entire target area
- the thermal infrared image of the target area presents the entire target area
- the visible light image of the target device only presents the target device
- the thermal infrared image of the target device only presents the target device.
- the cloud server can obtain the visible light image and the thermal infrared image of the target device in the following manner, and the process includes:
- the cloud server can align the visible light image of the target area to the thermal infrared image of the target area to obtain the aligned visible light image of the target area. It is worth noting that the alignment process includes two stages: the initial matching (rough matching) and the secondary matching (fine matching). The following introduces these two stages respectively:
- (1.1) Initial matching stage: After obtaining the visible light image and the thermal infrared image of the target area, the cloud server can crop the visible light image of the target area based on the content matching relationship between the visible light image and the thermal infrared image, so that the size of the cropped visible light image of the target area is roughly similar to the size of the thermal infrared image of the target area (generally, the size of the cropped visible light image of the target area is slightly larger than the size of the thermal infrared image of the target area).
- the content presented by the cropped visible light image of the target area is roughly similar to the content presented by the thermal infrared image of the target area (generally, the content presented by the cropped visible light image of the target area is slightly more than the content presented by the thermal infrared image of the target area).
- the staff in the inspection planning stage, can hold the calibration plate, which includes a calibration plate support panel, a heating panel and a hollow circular dot matrix glass panel stacked in sequence, wherein the hollow circular dot matrix glass panel is located on the top layer, the calibration plate support panel is located on the bottom layer, and the heating panel located in the middle layer can be heated by a temperature controller.
- the staff can control the robot to shoot the calibration plate through the camera, thereby obtaining the visible light image of the calibration plate and the thermal infrared image of the calibration plate, and upload them to the cloud server.
- Figures 6a, 6b and 6c Figure 6a is a schematic diagram of the calibration process provided in an embodiment of the present application
- Figure 6b is another schematic diagram of the calibration process provided in an embodiment of the present application
- Figure 6c is another schematic diagram of the calibration process provided in an embodiment of the present application
- the cloud server can determine the positions of the multiple hollow circular dots in the visible light image of the calibration plate and the positions in the thermal infrared image of the calibration plate, and based on the positions of the multiple hollow circular dots in these two images, it can be determined which part of the visible light image of the calibration plate cannot find a matching image in the thermal infrared image of the calibration plate (that is, the content presented by this part of the image in the visible light image does not appear
- the cloud server can input the cropped visible light image of the target area and the thermal infrared image of the target area into the first model.
- Figure 7 is a schematic diagram of the refined matching provided in an embodiment of the present application
- the first model can calculate the distance between a certain pixel in the cropped visible light image of the target area and all the pixels in the thermal infrared image of the target area, and use the pixel with the smallest distance in the thermal infrared image as the pixel that matches the pixel in the visible light image.
- the first model can also perform the same operation as that performed on the pixel, so the first model can obtain the pixel matching relationship between the cropped visible light image of the target area and the thermal infrared image of the target area. Based on the pixel matching relationship, the first model can match all the pixels in the cropped visible light image of the target area.
- the cropped visible light image of the target area can be accurately projected onto the thermal infrared image of the target area, and the projected visible light image is the aligned visible light image of the target area.
- the first model is a trained neural network model, and its structure is shown in Figure 8 ( Figure 8 is a structural diagram of the first model provided in an embodiment of the present application).
- the first model includes: a VGG network module, a position information encoding module, an attention module, an upsampling module, a feature processing module, and a projection transformation module.
- the cloud server may first obtain the first model to be trained (i.e., the neural network model to be trained) and a batch of training data (including a cropped visible light image of a certain area and a thermal infrared image of the area), and the actual processing result of the training data (i.e., the aligned actual visible light image of the area). Then, the cloud server may input the training data into the first model to be trained so as to process the training data through the first model to be trained and obtain the estimated processing result of the training data (i.e., the aligned estimated visible light image of the area).
- the first model to be trained i.e., the neural network model to be trained
- a batch of training data including a cropped visible light image of a certain area and a thermal infrared image of the area
- the actual processing result of the training data i.e., the aligned actual visible light image of the area.
- the cloud server may input the training data into the first model to be trained so as to process the training data through
- the cloud server may calculate the actual processing result of the training data and the estimated processing result of the training data through a preset first loss function to obtain the target loss, which is used to indicate the difference between the actual processing result of the training data and the estimated processing result of the training data.
- the cloud server may update the parameters of the first model to be trained based on the target loss, and continue to train the first model to be trained after the updated parameters using the next batch of training data until the model training conditions are met (e.g., the target loss converges, etc.), thereby obtaining the first model.
- the cloud server After obtaining the aligned visible light image of the target area, the cloud server also calculates the thermal infrared image of the target area and the aligned visible light image to obtain a depth image of the target area.
- the depth image of the target area contains the depth information of each point in the target area (i.e., the depth of each point, etc.).
- the calculation process includes:
- the cloud server can convert the aligned visible light image of the target area into a pseudo infrared image of the target area, and input the pseudo infrared image of the target area and the thermal infrared image of the target area into the second model, so that the second model can perform a series of calculations on these images to obtain a disparity map, wherein the disparity map includes the disparity between each pixel in the pseudo infrared image and the corresponding pixel in the thermal infrared image.
- the second model is a trained neural network model, and its structure is shown in Figure 9 ( Figure 9 is a structural schematic diagram of the second model provided in an embodiment of the present application).
- the second model may include: a pseudo-infrared image individual feature extraction module, a pseudo-infrared image and thermal infrared image common feature extraction module, a thermal infrared image individual feature extraction module, a feature fusion module and a high-resolution reconstruction module.
- the cloud server may first obtain the second model to be trained (i.e., the neural network model to be trained) and a batch of training data (including a pseudo-infrared image of a certain area and a thermal infrared image of the area), and the actual processing result of the training data (i.e., the actual disparity map). Then, the cloud server may input the training data into the second model to be trained so as to process the training data through the second model to be trained and obtain the estimated processing result of the training data (i.e., the estimated disparity map).
- the second model to be trained i.e., the neural network model to be trained
- a batch of training data including a pseudo-infrared image of a certain area and a thermal infrared image of the area
- the actual processing result of the training data i.e., the actual disparity map
- the cloud server may calculate the actual processing result of the training data and the estimated processing result of the training data through a preset second loss function to obtain the target loss, which is used to indicate the difference between the actual processing result of the training data and the estimated processing result of the training data.
- the cloud server may update the parameters of the second model to be trained based on the target loss, and continue to train the second model to be trained after the updated parameters using the next batch of training data until the model training conditions are met (e.g., the target loss converges, etc.), thereby obtaining the second model.
- the cloud server can calculate the coordinates of the pixel in the pseudo infrared image and the disparity between the pixel in the pseudo infrared image and the corresponding pixel in the thermal infrared image, thereby obtaining the coordinates of the corresponding pixel in the thermal infrared image. Then, the cloud server can calculate the internal and external parameters of the camera, the coordinates of the pixel, and the coordinates of the corresponding pixel to determine the depth corresponding to the pixel.
- the cloud server can also perform the same operation as that performed on the pixel, thereby obtaining the depth corresponding to all pixels of the pseudo infrared image, that is, the depth of all points in the target area.
- the depth of all points in the target area constitutes the depth image of the target area.
- the cloud server can obtain the optical center coordinates Oir of the optical imaging camera, the optical center coordinates Orgb of the thermal imaging camera, the difference between the two optical center coordinates is T, the focal length fir of the optical imaging camera, and the focal length frgb of the thermal imaging camera.
- the depth Z corresponding to the pixel point can be calculated by the following formula:
- the depths corresponding to all pixels can be calculated to obtain a depth image of the target area.
- the cloud server can determine the thermal infrared image of the foreground in the target area and the visible light image of the foreground in the target area based on the depth image of the target area, from the thermal infrared image of the target area and the aligned visible light image of the target area.
- the visible light image of the foreground in the target area only presents the foreground of the target area
- the thermal infrared image of the foreground in the target area only presents the foreground of the target area.
- the foreground of the target area includes the target device and other devices, and the background of the target area is the environment where the target device is located (for example, the sky in the distance, a mountain peak, etc.).
- the determination process includes:
- the cloud server can determine the depth corresponding to all pixels in the thermal infrared image of the target area and the depth corresponding to all pixels in the aligned visible light image of the target area based on the depth image of the target area.
- the cloud server can remove pixels whose depth is greater than a preset depth threshold (the size of the threshold can be set according to actual needs and is not limited here), which is equivalent to removing the thermal infrared image of the background in the target area and retaining the thermal infrared image of the foreground in the target area.
- the cloud server can remove pixels whose depth is greater than a preset depth threshold, which is equivalent to removing the visible light image of the background in the target area and retaining the visible light image of the foreground in the target area.
- the cloud server can segment the thermal infrared image of the foreground of the target area and the visible light image of the foreground of the target area based on the depth image of the target area to obtain the visible light image of the target sub-area and the thermal infrared image of the target sub-area.
- the target sub-area also called the target detection frame
- the segmentation process includes:
- the cloud server may input the depth image of the target area, the thermal infrared image of the foreground in the target area, and the visible light image of the foreground in the target area into the third model, so that the third model, based on the depth image of the target area, removes the thermal infrared image of the remaining areas in the foreground except the target sub-area from the thermal infrared image of the foreground in the target area, and retains the thermal infrared image of the target sub-area.
- the third model may also remove the visible light image of the remaining areas in the foreground except the target sub-area from the visible light image of the foreground in the target area, and retain the visible light image of the target sub-area.
- the third model is a trained neural network model, and its structure is shown in Figure 11 ( Figure 11 is a structural schematic diagram of the third model provided in an embodiment of the present application).
- the third model may include: a visible light image feature encoder, a thermal infrared image feature encoder, a feature fusion module, a feature fusion module based on a dual-space graph, a decoder, a convolution kernel (1*1 convolution kernel and 3*3 convolution kernel, etc.) and an upsampling module.
- the cloud server may first obtain the third model to be trained (i.e., the neural network model to be trained) and a batch of training data (including a depth image of a certain area, a thermal infrared image of the foreground of the area, and a thermal infrared image of the foreground of the area).
- the cloud server may input the training data into the third model to be trained, so as to process the training data through the third model to be trained, and obtain the estimated processing results of the training data (i.e., the estimated visible light image of the detection box and the estimated thermal infrared image).
- the cloud server may calculate the actual processing results of the training data and the estimated processing results of the training data through a preset third loss function to obtain the target loss, and the target loss is used to indicate the difference between the actual processing results of the training data and the estimated processing results of the training data.
- the cloud server may update the parameters of the third model to be trained based on the target loss, and continue to train the third model to be trained with the updated parameters using the next batch of training data until the model training conditions are met (for example, the target loss converges, etc.), thereby obtaining the third model.
- the cloud server may perform secondary segmentation on the visible light image and the thermal infrared image of the target sub-region, thereby obtaining the visible light image and the thermal infrared image of the target device.
- the secondary segmentation process includes:
- the cloud server can determine the temperature corresponding to each pixel in the visible light image of the target sub-region based on the thermal infrared image of the target sub-region. Since the cloud server has determined the device type to which the target device belongs, the temperature range of the target device can be obtained. Then, the cloud server can remove the pixels whose temperature is outside the temperature range in the visible light image of the target sub-region, which is equivalent to removing the visible light images of a part of some other devices in the target sub-region, retaining a part of other other devices and the visible light image of the target device.
- the retained part of the visible light image can be called the visible light image of the optimized sub-region (i.e., the optimized detection frame).
- the cloud server can remove the pixels whose temperature is outside the temperature range in the thermal infrared image of the target sub-region, which is equivalent to removing the thermal infrared images of a part of some other devices in the target sub-region, retaining a part of other other devices and the thermal infrared image of the target device.
- the retained part of the thermal infrared image can be called the thermal infrared image of the optimized sub-region.
- the cloud server can input the visible light image of the optimized sub-region and the thermal infrared image of the optimized sub-region into the fourth model, so that the fourth model removes the visible light images of some other devices from the visible light image of the optimized sub-region and retains the visible light image of the target device.
- the fourth model can also remove the thermal infrared images of some other devices from the thermal infrared image of the optimized sub-region and retain the thermal infrared image of the target device.
- the fourth model is a trained neural network model, and its structure is shown in Figure 12 ( Figure 12 is a structural diagram of the fourth model provided in an embodiment of the present application).
- the fourth model may include: a visible light image encoder, a thermal infrared image encoder, a global attention module, a visible light image decoder, a thermal infrared image decoder, and a convolution module (1-channel convolution).
- the cloud server may first obtain the fourth model to be trained (i.e., the neural network model to be trained) and a batch of training data (including a thermal infrared image of a detection frame and a visible light image of the detection frame), and the actual processing results of the training data (i.e., the actual visible light image and the actual thermal infrared image of a device). Then, the cloud server may input the training data into the fourth model to be trained, so as to process the training data through the fourth model to be trained and obtain the estimated processing results of the training data (i.e., the estimated visible light image and the estimated thermal infrared image of the device).
- the fourth model to be trained i.e., the neural network model to be trained
- a batch of training data including a thermal infrared image of a detection frame and a visible light image of the detection frame
- the actual processing results of the training data i.e., the actual visible light image and the actual thermal infrared image of a device.
- the cloud server may calculate the actual processing results of the training data and the estimated processing results of the training data through the preset fourth loss function to obtain the target loss, which is used to indicate the difference between the actual processing results of the training data and the estimated processing results of the training data.
- the cloud server may update the parameters of the fourth model to be trained based on the target loss, and continue to train the fourth model to be trained after the updated parameters using the next batch of training data until the model training conditions are met (e.g., the target loss converges, etc.), thereby obtaining the fourth model.
- the cloud server may execute all the steps or selectively execute some of the steps.
- the cloud server may only execute steps (1), (2), (4) and (5), that is, the cloud server first aligns the visible light image of the target area to the thermal infrared image of the target area to obtain the aligned visible light image of the target area.
- the cloud server calculates the thermal infrared image of the target area and the aligned visible light image to obtain the depth image of the target area.
- the cloud server may segment the visible light image of the target area and the thermal infrared image of the target area based on the depth image of the target area to obtain the visible light image of the target sub-area and the thermal infrared image of the target sub-area, where the target sub-area is the area occupied by the target device and part of the remaining devices in the target area. Finally, the cloud server performs secondary segmentation on the visible light image of the target sub-area and the thermal infrared image of the target sub-area to obtain the visible light image of the target device and the thermal infrared image of the target device.
- the cloud server can determine the visible light image and the thermal infrared image of the temperature abnormality region in the target device from the visible light image and the thermal infrared image of the target device. It is understandable that the visible light image of the temperature abnormality region in the target device only presents the temperature abnormality region, and the thermal infrared image of the temperature abnormality region only presents the temperature abnormality region.
- the elimination process includes: after obtaining the visible light image and the thermal infrared image of the target device, the cloud server can input the visible light image and the thermal infrared image of the target device into the fifth model, so that the fifth model eliminates the visible light image of the normal temperature area of the target device in the visible light image of the target device, and retains the visible light image of the abnormal temperature area of the target device.
- the fifth model can also eliminate the thermal infrared image of the normal temperature area in the thermal infrared image of the target device, and retain the thermal infrared image of the abnormal temperature area.
- the fifth model is a trained neural network model, and its structure is shown in Figure 13 ( Figure 13 is a structural diagram of the fifth model provided in an embodiment of the present application).
- the fifth model may include: a preprocessing module, an encoder module, a multimodal feature aggregation module, a global attention module, a decoder module, a convolution module and an upsampling module.
- the cloud server may first obtain the fifth model to be trained (i.e., the neural network model to be trained) and a batch of training data (including a thermal infrared image of a certain device and a visible light image of the device), and the actual processing results of the training data (i.e., the actual visible light image and the actual thermal infrared image of the temperature abnormality area in the device). Then, the cloud server may input the training data into the fifth model to be trained, so as to process the training data through the fifth model to be trained, and obtain the estimated processing results of the training data (i.e., the estimated visible light image and the estimated thermal infrared image of the temperature abnormality area in the device).
- the fifth model to be trained i.e., the neural network model to be trained
- a batch of training data including a thermal infrared image of a certain device and a visible light image of the device
- the actual processing results of the training data i.e., the actual visible light image and the actual thermal infrared image of
- the cloud server may calculate the actual processing results of the training data and the estimated processing results of the training data through the preset fifth loss function to obtain the target loss, and the target loss is used to indicate the difference between the actual processing results of the training data and the estimated processing results of the training data.
- the cloud server may update the parameters of the fifth model to be trained based on the target loss, and continue to train the fifth model to be trained after the updated parameters using the next batch of training data until the model training conditions are met (e.g., the target loss converges, etc.), thereby obtaining the fifth model.
- the cloud server can directly use the visible light image and the thermal infrared image of the temperature abnormality area as the temperature measurement result of the temperature abnormality area of the target device and feed it back to the staff, so that the staff can find the temperature abnormality area of the target device based on the temperature measurement result and inspect the temperature abnormality area of the target device.
- the cloud server is also provided with a preset corresponding relationship, which is used to indicate the corresponding relationship between the distance and the temperature correction value.
- the cloud server can first obtain the distance between the thermal imaging camera and the target device (including the distance between the thermal imaging camera and the temperature abnormal area in the target device) from the depth image of the target area, and then determine the temperature correction value corresponding to the distance between the thermal imaging camera and the target device based on the preset corresponding relationship and the distance between the thermal imaging camera and the target device, and then adjust the thermal infrared image of the temperature abnormal area based on the temperature correction value (for example, superimpose the temperature correction value on the thermal infrared image of the temperature abnormal area) to obtain the adjusted thermal infrared image of the temperature abnormal area.
- the cloud server can use the visible light image of the temperature abnormal area and the adjusted thermal infrared image of the temperature abnormal area as the adjusted temperature measurement result of the temperature abnormal area of the target device, and feedback it to the staff.
- the robot under the instruction of the staff, can control the camera to shoot the target area including the target device and the remaining devices, obtain the visible light image of the target area and the thermal infrared image of the target area, and send them to the cloud server.
- the cloud server can process the visible light image of the target area and the thermal infrared image of the target area to obtain the visible light image of the target device and the thermal infrared image of the target device.
- the cloud server can continue to process the visible light image of the target device and the thermal infrared image of the target device to obtain the thermal infrared image of the temperature abnormal area in the target device.
- the cloud server can determine the temperature measurement result of the temperature abnormal area of the target device based on the thermal infrared image of the temperature abnormal area, and report it to the staff so that the staff can repair the temperature abnormal area of the target device.
- the cloud server can remove the visible light image and thermal infrared image of the remaining devices from them to obtain the visible light image and thermal infrared image of the target device. Since the visible light image and thermal infrared image of the target device only show the target device, the cloud server will not be affected by other devices during the analysis of these images.
- the visible light image and thermal infrared image of the temperature abnormal area in the target device can be accurately identified as the temperature abnormal area of the target device. It can be seen that the cloud server accurately determines the temperature abnormal area of the target device without misjudgment, thereby effectively improving the accuracy of the temperature measurement results of the target device.
- the cloud server can select a preset position and preset angle for the robot based on the images of the target area taken by the robot at different positions and angles according to certain conditions. These conditions include: when the robot is at this position, the distance between the camera and the target device in the target area is within a preset range, and when the robot controls the camera to shoot the target area at this angle, the overlap between the target device and the remaining devices is less than a preset threshold. It can be seen that the cloud server can automatically plan the optimal position and angle for the robot according to the aforementioned conditions, and the factors considered are relatively comprehensive. In this way, the robot can take the optimal image at the optimal position and angle during the inspection execution stage, which is not only efficient, but also improves the accuracy of the temperature measurement results of the target device.
- the cloud server can determine the temperature correction value corresponding to the distance between the target device and the camera, so as to adjust the thermal infrared image of the temperature abnormality area and obtain the adjusted thermal infrared image of the temperature abnormality area.
- the adjusted thermal infrared image of the temperature abnormality area in the target device is closer to the actual temperature of the temperature abnormality area in the target device, which is conducive to improving the accuracy of the temperature measurement result of the target device.
- the cloud server can perform a series of calculations on the visible light image and thermal infrared image of the target area to obtain the depth image of the target area. Since the depth image of the target area contains the distance between each point in the target area and the camera, the cloud server can automatically obtain the distance between the camera and the temperature abnormality area in the target device based on the depth image of the target area, so as to determine the temperature correction value corresponding to the distance, and use the temperature correction value to complete the adjustment of the temperature measurement result. It can be seen that the entire process of temperature correction can be automatically completed by the cloud server, without the need for staff to operate, which can reduce the cost of manual operation.
- FIG. 14 is a structural schematic diagram of the device temperature measurement device provided in the embodiment of the present application. As shown in FIG. 14 , the device includes:
- the shooting module 1401 is used to control the camera to shoot the target area to obtain a visible light image and a thermal infrared image of the target area, where the target area includes the target device;
- a first processing module 1402 is used to process the visible light image and the thermal infrared image of the target area to obtain a visible light image and a thermal infrared image of the target device;
- the second processing module 1403 is used to process the visible light image of the target device and the thermal infrared image of the target device to obtain a thermal infrared image of the temperature abnormality area in the target device;
- the determination module 1404 is used to determine the temperature measurement result of the temperature abnormality area based on the thermal infrared image of the temperature abnormality area.
- the robot under the instruction of the staff, can control the camera to shoot the target area including the target device and the remaining devices, obtain the visible light image of the target area and the thermal infrared image of the target area, and send them to the cloud server.
- the cloud server can process the visible light image of the target area and the thermal infrared image of the target area to obtain the visible light image of the target device and the thermal infrared image of the target device.
- the cloud server can continue to process the visible light image of the target device and the thermal infrared image of the target device to obtain the thermal infrared image of the temperature abnormal area in the target device.
- the cloud server can determine the temperature measurement result of the temperature abnormal area of the target device based on the thermal infrared image of the temperature abnormal area, and report it to the staff so that the staff can repair the temperature abnormal area of the target device.
- the cloud server can remove the visible light image and thermal infrared image of the remaining devices from them to obtain the visible light image and thermal infrared image of the target device.
- the cloud server Since the visible light image and thermal infrared image of the target device only present the target device, the cloud server will not be affected by other devices during the analysis of these images, and accurately confirm the visible light image and thermal infrared image of the temperature abnormal area in the target device as the temperature measurement result of the temperature abnormal area of the target device. It can be seen that the cloud server accurately determines the temperature abnormal area of the target device without misjudgment, thereby effectively improving the accuracy of the temperature measurement results of the target device.
- the device also includes: a computing module, used to calculate the thermal infrared image of the target area and the visible light image of the target area to obtain a depth image of the target area; a first processing module 1402, used to process the depth image of the target area, the visible light image of the target area and the thermal infrared image of the target area to obtain a visible light image of the target device and a thermal infrared image of the target device.
- a computing module used to calculate the thermal infrared image of the target area and the visible light image of the target area to obtain a depth image of the target area
- a first processing module 1402 used to process the depth image of the target area, the visible light image of the target area and the thermal infrared image of the target area to obtain a visible light image of the target device and a thermal infrared image of the target device.
- the device further includes: a third processing module, configured to align the visible light image of the target area with the thermal infrared image of the target area to obtain the aligned visible light image of the target area; and a computing module, configured to compute the thermal infrared image of the target area. and calculating the aligned visible light image to obtain a depth image of the target area; a first processing module 1402 is used to process the aligned visible light image of the target area, the thermal infrared image of the target area and the depth image of the target area to obtain a visible light image of the target device and a thermal infrared image of the target device.
- a third processing module configured to align the visible light image of the target area with the thermal infrared image of the target area to obtain the aligned visible light image of the target area
- a computing module configured to compute the thermal infrared image of the target area. and calculating the aligned visible light image to obtain a depth image of the target area
- a first processing module 1402 is used to process
- the device also includes: a fourth processing module, which is used to determine, based on the depth image of the target area, the thermal infrared image of the target area and the aligned visible light image, a thermal infrared image of the foreground in the target area and a visible light image of the foreground, wherein the foreground includes a target device; and a first processing module, which is used to process the depth image of the target area, the thermal infrared image of the foreground and the visible light image of the foreground to obtain a visible light image of the target device and a thermal infrared image of the target device.
- a fourth processing module which is used to determine, based on the depth image of the target area, the thermal infrared image of the target area and the aligned visible light image, a thermal infrared image of the foreground in the target area and a visible light image of the foreground, wherein the foreground includes a target device
- a first processing module which is used to process the depth
- the first processing module 1402 is used to: segment the visible light image and the thermal infrared image of the target area to obtain a visible light image and a thermal infrared image of the target sub-area, where the target sub-area is the area occupied by the target device and a part of the remaining devices in the target area; perform secondary segmentation on the visible light image and the thermal infrared image of the target sub-area to obtain a visible light image and a thermal infrared image of the target device.
- the device also includes: an acquisition module, used to acquire the distance between the camera and the temperature abnormality area based on the visible light image of the target area and the thermal infrared image of the target area; an adjustment module, used to adjust the temperature measurement result based on the distance between the camera and the temperature abnormality area and a preset correspondence relationship to obtain an adjusted temperature measurement result of the temperature abnormality area, and the preset correspondence relationship is used to indicate the correspondence between the distance and the temperature correction value.
- an acquisition module used to acquire the distance between the camera and the temperature abnormality area based on the visible light image of the target area and the thermal infrared image of the target area
- an adjustment module used to adjust the temperature measurement result based on the distance between the camera and the temperature abnormality area and a preset correspondence relationship to obtain an adjusted temperature measurement result of the temperature abnormality area, and the preset correspondence relationship is used to indicate the correspondence between the distance and the temperature correction value.
- the shooting module 1401 is used to control the camera to shoot the target area at a preset position and at a preset angle to obtain a visible light image of the target area and a thermal infrared image of the target area.
- the distance between the camera at the position and the target device in the target area is within a preset range.
- the degree of overlap between the target device and other devices is less than a preset threshold.
- the camera includes an optical imaging camera and a thermal imaging camera.
- FIG. 15 is a structural schematic diagram of the execution device provided by the embodiment of the present application.
- the execution device 1500 can be specifically manifested as a mobile phone, a tablet, a laptop computer, an intelligent wearable device, a server, etc., which is not limited here.
- the execution device 1500 can be deployed with the device temperature measuring device described in the embodiment corresponding to FIG. 14, which is used to realize the function of device temperature measurement in the embodiment corresponding to FIG. 4.
- the execution device 1500 includes: a receiver 1501, a transmitter 1502, a processor 1503 and a memory 1504 (wherein the number of processors 1503 in the execution device 1500 can be one or more, and FIG.
- the processor 1503 may include an application processor 15031 and a communication processor 15032.
- the receiver 1501, the transmitter 1502, the processor 1503 and the memory 1504 may be connected via a bus or other means.
- the memory 1504 may include a read-only memory and a random access memory, and provides instructions and data to the processor 1503. A portion of the memory 1504 may also include a non-volatile random access memory (NVRAM).
- NVRAM non-volatile random access memory
- the memory 1504 stores processor and operation instructions, executable modules or data structures, or subsets thereof, or extended sets thereof, wherein the operation instructions may include various operation instructions for implementing various operations.
- the processor 1503 controls the operation of the execution device.
- the various components of the execution device are coupled together through a bus system, wherein the bus system includes not only a data bus but also a power bus, a control bus, and a status signal bus, etc.
- the bus system includes not only a data bus but also a power bus, a control bus, and a status signal bus, etc.
- various buses are referred to as bus systems in the figure.
- the method disclosed in the above embodiment of the present application can be applied to the processor 1503, or implemented by the processor 1503.
- the processor 1503 can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 1503.
- the above processor 1503 can be a general-purpose processor, a digital signal processor (digital signal processing, DSP), a microprocessor or a microcontroller, and can further include an application specific integrated circuit (application specific integrated circuit, ASIC), a field programmable gate array (field-programmable gate array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
- the processor 1503 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application.
- the general processor can be a microprocessor or the processor can also be any conventional processor, etc.
- the steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor.
- the software module can be located in a random access memory.
- the processor 1503 reads the information in the memory 1504 and completes the steps of the above method in combination with its hardware.
- the receiver 1501 can be used to receive input digital or character information and generate signal input related to the relevant settings and function control of the execution device.
- the transmitter 1502 can be used to output digital or character information through the first interface; the transmitter 1502 can also be used to send instructions to the disk group through the first interface to modify the data in the disk group; the transmitter 1502 can also include a display device such as a display screen.
- the processor 1503 is used to complete the temperature measurement operation for the target device through the various neural network models (including the first model, the second model, the third model, the fourth model and the fifth model, etc.) in the embodiment corresponding to Figure 4.
- FIG. 16 is a structural schematic diagram of the training device provided by the embodiment of the present application.
- the training device 1600 is implemented by one or more servers.
- the training device 1600 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 1614 (for example, one or more processors) and a memory 1632, and one or more storage media 1630 (for example, one or more mass storage devices) storing application programs 1642 or data 1644.
- the memory 1632 and the storage medium 1630 can be short-term storage or permanent storage.
- the program stored in the storage medium 1630 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the training device. Furthermore, the central processor 1614 can be configured to communicate with the storage medium 1630 to execute a series of instruction operations in the storage medium 1630 on the training device 1600.
- the training device 1600 may also include one or more power supplies 1626, one or more wired or wireless network interfaces 1650, one or more input and output interfaces 1658; or, one or more operating systems 1641, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
- the training device can implement the training process of each neural network model (including the first model, the second model, the third model, the fourth model and the fifth model, etc.) in the embodiment corresponding to Figure 4.
- each neural network model including the first model, the second model, the third model, the fourth model and the fifth model, etc.
- An embodiment of the present application also relates to a computer storage medium, in which a program for signal processing is stored.
- the program When the program is run on a computer, the computer executes the steps executed by the aforementioned execution device, or the computer executes the steps executed by the aforementioned training device.
- An embodiment of the present application also relates to a computer program product, which stores instructions, which, when executed by a computer, enable the computer to execute the steps executed by the aforementioned execution device, or enable the computer to execute the steps executed by the aforementioned training device.
- the execution device, training device or terminal device provided in the embodiments of the present application may specifically be a chip, and the chip includes: a processing unit and a communication unit, wherein the processing unit may be, for example, a processor, and the communication unit may be, for example, an input/output interface, a pin or a circuit, etc.
- the processing unit may execute the computer execution instructions stored in the storage unit so that the chip in the execution device executes the data processing method described in the above embodiment, or so that the chip in the training device executes the data processing method described in the above embodiment.
- the storage unit is a storage unit in the chip, such as a register, a cache, etc.
- the storage unit may also be a storage unit located outside the chip in the wireless access device end, such as a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM), etc.
- ROM read-only memory
- RAM random access memory
- FIG. 17 is a schematic diagram of the structure of a chip provided in an embodiment of the present application.
- the chip can be expressed as a neural network processor NPU 1700.
- NPU 1700 is mounted on the host CPU (Host CPU) as a coprocessor, and tasks are assigned by the Host CPU.
- the core part of the NPU is the operation circuit 1703, which is controlled by the controller 1704 to extract matrix data from the memory and perform multiplication operations.
- the operation circuit 1703 includes multiple processing units (Process Engine, PE) inside.
- the operation circuit 1703 is a two-dimensional systolic array.
- the operation circuit 1703 can also be a one-dimensional systolic array or other electronic circuits capable of performing mathematical operations such as multiplication and addition.
- the operation circuit 1703 is a general-purpose matrix processor.
- the operation circuit takes the corresponding data of matrix B from the weight memory 1702 and caches it on each PE in the operation circuit.
- the operation circuit takes the matrix A data from the input memory 1701 and performs matrix operation with matrix B, and the partial result or final result of the matrix is stored in the accumulator 1708.
- the unified memory 1706 is used to store input data and output data.
- the weight data is directly transferred to the weight memory 1702 through the direct memory access controller (DMAC) 1705.
- the input data is also transferred to the unified memory 1706 through the DMAC.
- DMAC direct memory access controller
- BIU stands for Bus Interface Unit, that is, bus interface unit 1713, which is used for the interaction between AXI bus and DMAC and instruction fetch buffer (IFB) 1709.
- IOB instruction fetch buffer
- the bus interface unit 1713 (Bus Interface Unit, BIU for short) is used for the instruction fetch memory 1709 to obtain instructions from the external memory, and is also used for the storage unit access controller 1705 to obtain the original data of the input matrix A or the weight matrix B from the external memory.
- BIU Bus Interface Unit
- DMAC is mainly used to transfer input data in the external memory DDR to the unified memory 1706 or to transfer weight data to the weight memory 1702 or to transfer input data to the input memory 1701.
- the vector calculation unit 1707 includes multiple operation processing units, which further process the output of the operation circuit 1703 when necessary, such as vector multiplication, vector addition, exponential operation, logarithmic operation, size comparison, etc. It is mainly used for non-convolutional/fully connected layer network calculations in neural networks, such as Batch Normalization, pixel-level summation, upsampling of predicted label planes, etc.
- the vector calculation unit 1707 can store the processed output vector to the unified memory 1706.
- the vector calculation unit 1707 can apply a linear function; or, a nonlinear function to the output of the operation circuit 1703, such as linear interpolation of the predicted label plane extracted by the convolution layer, and then, for example, a vector of accumulated values to generate an activation value.
- the vector calculation unit 1707 generates a normalized value, a pixel-level summed value, or both.
- the processed output vector can be used as an activation input to the operation circuit 1703, for example, for use in a subsequent layer in a neural network.
- An instruction fetch buffer 1709 connected to the controller 1704, for storing instructions used by the controller 1704;
- Unified memory 1706, input memory 1701, weight memory 1702 and instruction fetch memory 1709 are all on-chip memories. External memories are private to the NPU hardware architecture.
- the processor mentioned in any of the above places may be a general-purpose central processing unit, a microprocessor, an ASIC, or one or more integrated circuits for controlling the execution of the above program.
- the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment.
- the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.
- the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a ROM, a RAM, a disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a training device, or a network device, etc.) to execute the methods described in each embodiment of the present application.
- a computer device which can be a personal computer, a training device, or a network device, etc.
- all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof.
- all or part of the embodiments may be implemented in the form of a computer program product.
- the computer program product includes one or more computer instructions.
- the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
- the computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
- the available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.
- a magnetic medium e.g., a floppy disk, a hard disk, a tape
- an optical medium e.g., a DVD
- a semiconductor medium e.g., a solid-state drive (SSD)
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Spectroscopy & Molecular Physics (AREA)
- Radiation Pyrometers (AREA)
- Image Processing (AREA)
Abstract
Description
Claims (19)
- 一种设备测温方法,其特征在于,所述方法包括:控制摄像头对目标区域进行拍摄,得到所述目标区域的可见光图像和所述目标区域的热红外图像,所述目标区域包含目标设备;对所述目标区域的可见光图像和所述目标区域的热红外图像进行处理,得到所述目标设备的可见光图像和所述目标设备的热红外图像;对所述目标设备的可见光图像和所述目标设备的热红外图像进行处理,得到所述目标设备中温度异常区域的热红外图像;基于所述温度异常区域的热红外图像,确定所述温度异常区域的温度测量结果。
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:对所述目标区域的热红外图像以及所述目标区域的可见光图像进行计算,得到所述目标区域的深度图像;所述对所述目标区域的可见光图像和所述目标区域的热红外图像进行处理,得到所述目标设备的可见光图像和所述目标设备的热红外图像包括:对所述目标区域的深度图像、所述目标区域的可见光图像和所述目标区域的热红外图像进行处理,得到所述目标设备的可见光图像和所述目标设备的热红外图像。
- 根据权利要求2所述的方法,其特征在于,所述方法还包括:将所述目标区域的可见光图像对齐至所述目标区域的热红外图像,得到所述目标区域的对齐后的可见光图像;所述对所述目标区域的热红外图像以及所述目标区域的可见光图像进行计算,得到所述目标区域的深度图像包括:对所述目标区域的热红外图像以及所述对齐后的可见光图像进行计算,得到所述目标区域的深度图像;所述对所述目标区域的可见光图像和所述目标区域的热红外图像进行处理,得到所述目标设备的可见光图像和所述目标设备的热红外图像包括:对所述目标区域的对齐后的可见光图像、所述目标区域的热红外图像和所述目标区域的深度图像进行处理,得到所述目标设备的可见光图像和所述目标设备的热红外图像。
- 根据权利要求1至3任意一项所述的方法,其特征在于,所述方法还包括:基于所述目标区域的深度图像,在所述目标区域的热红外图像以及所述对齐后的可见光图像中,确定所述目标区域中前景的热红外图像以及所述前景的可见光图像,所述前景包含目标设备;所述对所述目标区域的对齐后的可见光图像、所述目标区域的热红外图像和所述目标区域的深度图像进行处理,得到所述目标设备的可见光图像和所述目标设备的热红外图像包括:对所述目标区域的深度图像、所述前景的热红外图像以及所述前景的可见光图像进行处理,得到所述目标设备的可见光图像和所述目标设备的热红外图像。
- 根据权利要求1至4任意一项所述的方法,其特征在于,所述对所述目标区域的可见光图像和所述目标区域的热红外图像进行处理,得到所述目标设备的可见光图像和所述目标设备的热红外图像包括:对所述目标区域的可见光图像和所述目标区域的热红外图像进行分割,得到目标子区域的可见光图像和所述目标子区域的热红外图像,所述目标子区域为所述目标区域中,所述目标设备以及其余设备的一部分所占据的区域;对目标子区域的可见光图像和所述目标子区域的热红外图像进行二次分割,得到所述目标设备的可见光图像和所述目标设备的热红外图像。
- 根据权利要求1至5任意一项所述的方法,其特征在于,所述方法还包括:基于所述目标区域的可见光图像以及所述目标区域的热红外图像,获取所述摄像头与所述温度异常区域之间的距离;基于所述摄像头与所述温度异常区域之间的距离和预设对应关系对所述温度测量结果进行调整,得 到所述温度异常区域的调整后的温度测量结果,所述预设对应关系用于指示所述距离与温度修正值之间的对应关系。
- 根据权利要求1至6任意一项所述的方法,其特征在于,所述控制摄像头对目标区域进行拍摄,得到所述目标区域的可见光图像和所述目标区域的热红外图像包括:控制摄像头在预置的位置按照预置的角度对目标区域进行拍摄,得到所述目标区域的可见光图像和所述目标区域的热红外图像,位于所述位置上的所述摄像头与所述目标区域中的所述目标设备之间的距离位于预置范围内,所述摄像头按照所述角度对所述目标区域进行拍摄时,所述目标设备与其余设备的重叠程度小于预置阈值。
- 根据权利要求7所述的方法,其特征在于,所述摄像头包含光成像摄像头以及热成像摄像头。
- 一种设备测温装置,其特征在于,所述装置包括:拍摄模块,用于控制摄像头对目标区域进行拍摄,得到所述目标区域的可见光图像和所述目标区域的热红外图像,所述目标区域包含目标设备;第一处理模块,用于对所述目标区域的可见光图像和所述目标区域的热红外图像进行处理,得到所述目标设备的可见光图像和所述目标设备的热红外图像;第二处理模块,用于对所述目标设备的可见光图像和所述目标设备的热红外图像进行处理,得到所述目标设备中温度异常区域的热红外图像;确定模块,用于基于所述温度异常区域的热红外图像,确定所述温度异常区域的温度测量结果。
- 根据权利要求9所述的装置,其特征在于,所述装置还包括:计算模块,用于对所述目标区域的热红外图像以及所述目标区域的可见光图像进行计算,得到所述目标区域的深度图像;所述第一处理模块,用于对所述目标区域的深度图像、所述目标区域的可见光图像和所述目标区域的热红外图像进行处理,得到所述目标设备的可见光图像和所述目标设备的热红外图像。
- 根据权利要求10所述的装置,其特征在于,所述装置还包括:第三处理模块,用于将所述目标区域的可见光图像对齐至所述目标区域的热红外图像,得到所述目标区域的对齐后的可见光图像;所述计算模块,用于对所述目标区域的热红外图像以及所述对齐后的可见光图像进行计算,得到所述目标区域的深度图像;所述第一处理模块,用于对所述目标区域的对齐后的可见光图像、所述目标区域的热红外图像和所述目标区域的深度图像进行处理,得到所述目标设备的可见光图像和所述目标设备的热红外图像。
- 根据权利要求9至11任意一项所述的装置,其特征在于,所述装置还包括:第四处理模块,用于基于所述目标区域的深度图像,在所述目标区域的热红外图像以及所述对齐后的可见光图像中,确定所述目标区域中前景的热红外图像以及所述前景的可见光图像,所述前景包含目标设备;所述第一处理模块,用于对所述目标区域的深度图像、所述前景的热红外图像以及所述前景的可见光图像进行处理,得到所述目标设备的可见光图像和所述目标设备的热红外图像。
- 根据权利要求9至12任意一项所述的装置,其特征在于,所述第一处理模块,用于:对所述目标区域的可见光图像和所述目标区域的热红外图像进行分割,得到目标子区域的可见光图像和所述目标子区域的热红外图像,所述目标子区域为所述目标区域中,所述目标设备以及其余设备的一部分所占据的区域;对目标子区域的可见光图像和所述目标子区域的热红外图像进行二次分割,得到所述目标设备的可见光图像和所述目标设备的热红外图像。
- 根据权利要求9至13任意一项所述的装置,其特征在于,所述装置还包括:获取模块,用于基于所述目标区域的可见光图像以及所述目标区域的热红外图像,获取所述摄像头与所述温度异常区域之间的距离;调整模块,用于基于所述摄像头与所述温度异常区域之间的距离和预设对应关系对所述温度测量结果进行调整,得到所述温度异常区域的调整后的温度测量结果,所述预设对应关系用于指示所述距离与 温度修正值之间的对应关系。
- 根据权利要求9至14任意一项所述的装置,其特征在于,所述拍摄模块,用于控制摄像头在预置的位置按照预置的角度对目标区域进行拍摄,得到所述目标区域的可见光图像和所述目标区域的热红外图像,位于所述位置上的所述摄像头与所述目标区域中的所述目标设备之间的距离位于预置范围内,所述摄像头按照所述角度对所述目标区域进行拍摄时,所述目标设备与其余设备的重叠程度小于预置阈值。
- 根据权利要求9至15任意一项所述的装置,其特征在于,所述摄像头包含光成像摄像头以及热成像摄像头。
- 一种设备测温装置,其特征在于,所述装置包括存储器和处理器;所述存储器存储有代码,所述处理器被配置为执行所述代码,当所述代码被执行时,所述设备测温装置执行如权利要求1至8任意一项所述的方法。
- 一种计算机存储介质,其特征在于,所述计算机存储介质存储有一个或多个指令,所述指令在由一个或多个计算机执行时使得所述一个或多个计算机实施权利要求1至8任一所述的方法。
- 一种计算机程序产品,其特征在于,所述计算机程序产品存储有指令,所述指令在由计算机执行时,使得所述计算机实施权利要求1至8任意一项所述的方法。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP23890798.4A EP4614125A4 (en) | 2022-11-15 | 2023-11-15 | METHOD FOR MEASURING THE TEMPERATURE OF A DEVICE AND ASSOCIATED DEVICE |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211427331.4A CN118050087A (zh) | 2022-11-15 | 2022-11-15 | 一种设备测温方法及其相关设备 |
| CN202211427331.4 | 2022-11-15 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024104365A1 true WO2024104365A1 (zh) | 2024-05-23 |
Family
ID=91045554
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/131686 Ceased WO2024104365A1 (zh) | 2022-11-15 | 2023-11-15 | 一种设备测温方法及其相关设备 |
Country Status (3)
| Country | Link |
|---|---|
| EP (1) | EP4614125A4 (zh) |
| CN (1) | CN118050087A (zh) |
| WO (1) | WO2024104365A1 (zh) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118537808A (zh) * | 2024-07-26 | 2024-08-23 | 国网山东省电力公司滨州市沾化区供电公司 | 一种基于图像处理的电力设备监测方法及系统 |
| CN118710999A (zh) * | 2024-08-29 | 2024-09-27 | 江西远格科技有限公司 | 一种基于红外图像的地铁供电设备故障诊断方法及系统 |
| CN120156376A (zh) * | 2025-04-21 | 2025-06-17 | 江西瑞华智能科技有限公司 | 一种带语音交互功能的壁挂式充电桩监测方法及系统 |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN121033018B (zh) * | 2025-10-28 | 2026-04-17 | 广东海洋大学 | 基于多模态数据融合的混凝土裂缝深度检测方法及系统 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109029731A (zh) * | 2018-05-24 | 2018-12-18 | 河海大学常州校区 | 一种基于多目视觉的电力设备异常监测系统及方法 |
| CN110987189A (zh) * | 2019-11-21 | 2020-04-10 | 北京都是科技有限公司 | 对目标对象进行温度检测的方法、系统以及装置 |
| CN112257664A (zh) * | 2020-11-12 | 2021-01-22 | Oppo广东移动通信有限公司 | 图像融合方法、装置、计算机设备和存储介质 |
| WO2021232587A1 (zh) * | 2020-05-21 | 2021-11-25 | 平安国际智慧城市科技股份有限公司 | 基于图像处理的双光摄像机测温方法及相关设备 |
| CN114485953A (zh) * | 2020-11-13 | 2022-05-13 | 杭州海康威视数字技术股份有限公司 | 温度测量方法、装置及系统 |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9204062B2 (en) * | 2011-08-24 | 2015-12-01 | Fluke Corporation | Thermal imaging camera with range detection |
| EP3086300B1 (en) * | 2015-04-21 | 2020-04-15 | M-u-t AG Messgeräte für Medizin- und Umwelttechnik | Thermal imaging system and method for creating a thermal image |
| FR3093565B1 (fr) * | 2019-03-08 | 2021-07-16 | Synergys Tech | Procédé de détection de défauts de température et dispositif mettant en œuvre ledit procédé |
| EP3786598A1 (en) * | 2019-08-30 | 2021-03-03 | ABB Schweiz AG | System for monitoring a switchgear |
-
2022
- 2022-11-15 CN CN202211427331.4A patent/CN118050087A/zh active Pending
-
2023
- 2023-11-15 WO PCT/CN2023/131686 patent/WO2024104365A1/zh not_active Ceased
- 2023-11-15 EP EP23890798.4A patent/EP4614125A4/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109029731A (zh) * | 2018-05-24 | 2018-12-18 | 河海大学常州校区 | 一种基于多目视觉的电力设备异常监测系统及方法 |
| CN110987189A (zh) * | 2019-11-21 | 2020-04-10 | 北京都是科技有限公司 | 对目标对象进行温度检测的方法、系统以及装置 |
| WO2021232587A1 (zh) * | 2020-05-21 | 2021-11-25 | 平安国际智慧城市科技股份有限公司 | 基于图像处理的双光摄像机测温方法及相关设备 |
| CN112257664A (zh) * | 2020-11-12 | 2021-01-22 | Oppo广东移动通信有限公司 | 图像融合方法、装置、计算机设备和存储介质 |
| CN114485953A (zh) * | 2020-11-13 | 2022-05-13 | 杭州海康威视数字技术股份有限公司 | 温度测量方法、装置及系统 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4614125A4 |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118537808A (zh) * | 2024-07-26 | 2024-08-23 | 国网山东省电力公司滨州市沾化区供电公司 | 一种基于图像处理的电力设备监测方法及系统 |
| CN118710999A (zh) * | 2024-08-29 | 2024-09-27 | 江西远格科技有限公司 | 一种基于红外图像的地铁供电设备故障诊断方法及系统 |
| CN120156376A (zh) * | 2025-04-21 | 2025-06-17 | 江西瑞华智能科技有限公司 | 一种带语音交互功能的壁挂式充电桩监测方法及系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN118050087A (zh) | 2024-05-17 |
| EP4614125A1 (en) | 2025-09-10 |
| EP4614125A4 (en) | 2026-04-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12039440B2 (en) | Image classification method and apparatus, and image classification model training method and apparatus | |
| CN112446398B (zh) | 图像分类方法以及装置 | |
| CN112862828B (zh) | 一种语义分割方法、模型训练方法及装置 | |
| WO2024104365A1 (zh) | 一种设备测温方法及其相关设备 | |
| CN113065575B (zh) | 一种图像处理方法及相关装置 | |
| WO2022179581A1 (zh) | 一种图像处理方法及相关设备 | |
| CN114359289B (zh) | 一种图像处理方法及相关装置 | |
| WO2022052782A1 (zh) | 图像的处理方法及相关设备 | |
| WO2023083030A1 (zh) | 一种姿态识别方法及其相关设备 | |
| CN111950700A (zh) | 一种神经网络的优化方法及相关设备 | |
| CN116597402B (zh) | 一种场景感知方法及其相关设备 | |
| CN115239581A (zh) | 一种图像处理方法及相关装置 | |
| WO2024188171A1 (zh) | 一种图像处理方法及其相关设备 | |
| CN119169277B (zh) | 一种基于轻量化Transformer的目标检测方法 | |
| WO2025051116A1 (zh) | 一种数据处理方法及其装置 | |
| WO2025021142A1 (zh) | 一种目标检测方法及其相关设备 | |
| WO2024179485A1 (zh) | 一种图像处理方法及其相关设备 | |
| WO2024245228A1 (zh) | 一种姿态估计方法及其相关设备 | |
| WO2024245216A1 (zh) | 一种图像处理方法及其相关装置 | |
| WO2025031343A1 (zh) | 一种图像处理方法及其相关设备 | |
| CN113256556A (zh) | 一种图像选择方法及装置 | |
| WO2024260361A1 (zh) | 一种表格识别方法及其相关设备 | |
| WO2024146501A1 (zh) | 一种区域监控方法及其相关装置 | |
| WO2025002088A1 (zh) | 一种目标检测方法及其相关设备 | |
| WO2024235107A1 (zh) | 一种物体模型旋转方法及其相关设备 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23890798 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2023890798 Country of ref document: EP |
|
| ENP | Entry into the national phase |
Ref document number: 2023890798 Country of ref document: EP Effective date: 20250602 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| WWP | Wipo information: published in national office |
Ref document number: 2023890798 Country of ref document: EP |