Heat trace area extraction method, heat trace area extraction device, and program
Patent Information
- Application Number
- JP2022556819
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-10-16
- Publication Date
- 2024-09-18
- Estimated Expiration
- 2040-10-16
Smart Images

Figure 0007552711000001 
Figure 0007552711000006 
Figure 0007552711000004
Abstract
Description
[Technical field]
[0001] The present invention relates to a heat trace region extraction method, a heat trace region extraction device, and a program. [Background technology]
[0002] With the spread of the novel coronavirus disease (COVID-19), various measures have been implemented to prevent infection, one of which is disinfection or sterilization. Since the virus can be transmitted by touching the mucous membranes of the mouth, nose, or eyes with hands that have the virus on them, it is recommended to disinfect not only your hands but also any personal items that may have been touched by an infected person. For this reason, restaurants, sports gyms, and other places frequented by many people take measures such as regularly wiping desks, doors, and training equipment with alcohol disinfectant.
[0003] It is difficult to keep visually checking which parts have actually been touched, so in these stores, they often take measures such as disinfecting all areas that people may have touched at regular intervals. However, the task of regularly disinfecting all areas that people may have touched is a huge labor-intensive task. For this reason, methods such as using drones to make disinfection more efficient have been proposed (for example, Non-Patent Document 1).
[0004] On the other hand, a method can be considered in which surveillance cameras are used to detect where people are and only disinfect those places. There have been many research cases of person detection using video, and in recent years, it has become possible to identify places where people are from video with a high degree of accuracy. If such technology can be used to disinfect only places where people have been, it is thought that it will lead to a reduction in the labor required for disinfection. For example, there will be no need to disinfect the area around a place during times when no one is using it. On the other hand, if it is known that multiple people have used the place, it is possible to disinfect the place early. Disinfection at a fixed interval cannot prevent infection via objects, that is, infection caused by an infected person touching an object and another person touching that object, within that interval. However, if disinfection can be performed flexibly according to the use of people, it is thought that such infection spread can be further reduced. In addition, such a method can prevent unnecessary disinfection, so it is expected to reduce the amount of disinfectant. In other words, if disinfection can be performed according to the use of an object by a person detected by a surveillance camera, it is expected to reduce labor, prevent the spread of infection, and save disinfectant compared to disinfecting all objects that may have been used within a fixed interval.
[0005] It is believed that labor and disinfectant can be further reduced if only the places that people have actually touched can be disinfected more precisely, rather than disinfecting all objects around the place where a person has been. However, with a method that uses visible images captured by a security camera or the like, it is difficult to identify whether a person who was in the place actually touched an object. For example, a camera is installed downward from the ceiling and takes an image of a table. When a hand is placed on the table, it is believed to be difficult to determine from the image of the installed camera whether the hand is touching the table or not. Therefore, a method for detecting contact with objects using shadows has been proposed (Non-Patent Document 2). [Prior art documents] [Non-patent literature]
[0006] [Non-Patent Document 1] "Using drones to efficiently disinfect stadiums! A US startup came up with this idea in response to COVID-19", [online], Internet<URL:https: / / techable.jp / archives / 124749> [Non-Patent Document 2] Tatsuo Yoshida, Yaokai Feng, Seiichi Uchida, Contact Detection Using Image Recognition, Kyushu Joint Conference of Electrical Engineering Institutes of Japan, 2011. Summary of the Invention [Problem to be solved by the invention]
[0007] However, the method of Non-Patent Document 2 requires a strong light source such as a projector. In addition, it is expected that the recognition accuracy will be significantly affected by the positional relationship between the camera and the light source. In many environments, a strong light source cannot be freely installed, and it is considered that it is not suitable for the purpose of detecting and presenting places touched by people in various places and supporting disinfection.
[0008] The present invention has been made in consideration of the above-mentioned points, and has an object to improve the accuracy of detecting a location touched by a person. [Means for solving the problem]
[0009] In order to solve the above problem, a computer executes a differential visible image generation procedure for generating a first differential image for a visible image of a certain range captured against a visible image of the background of the certain range, a differential thermal image generation procedure for generating a second differential image for a thermal image of the background of the certain range captured against the thermal image of the background, and an extraction procedure for extracting a thermal trace area based on the first differential image and the second differential image. Effect of the Invention
[0010] This improves the accuracy of detecting where a person has touched. [Brief description of the drawings]
[0011] [Figure 1]FIG. 2 is a schematic diagram of a visible image and a thermal image taken at the same location at the same time. [Diagram 2] FIG. 13 is a diagram showing an example of an image obtained by background subtraction. [Diagram 3] 1 is a diagram illustrating an example of a hardware configuration of a heat trace area extraction device 10 according to an embodiment of the present invention. [Figure 4] 1 is a diagram illustrating an example of a functional configuration of a heat trace region extraction device 10 according to an embodiment of the present invention. [Diagram 5] 10 is a flowchart illustrating an example of a processing procedure executed by the heat trace region extraction device 10. [Figure 6] 13 is a schematic diagram showing an example of an output of a result of extraction of a thermal trace region. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] [overview] In this embodiment, a device, method, and program are disclosed that detect a place touched by a person using a thermal image, aiming to be useful for sterilization or disinfection of a virus. Humans are warm-blooded animals, and therefore have warm hands and feet. When they touch an object, heat remains at the touched place for a certain period of time. For example, a method of exploiting this heat trace to decrypt a smartphone passcode has been reported (Yomna Abdelrahman, Mohamed Khamis, Stefan Schneegass, and Florian Alt. 2017. Stay Cool! Understanding Thermal Attacks on Mobile-based User Authentication. In Proceedings of the 2017 CHI Conference on Human Factors in Computing Systems (CHI '17), pp. 3751.3763, 2017).
[0013] Heat signatures are left not only on smartphone screens, but also on various other places such as desks and walls. In other words, by identifying heat signatures based on thermal camera images (thermal images), it is possible to pinpoint places where people have touched indoors, etc.
[0014] The thermal trace area can be extracted by background subtraction using the thermal image before the person touches the object as the background. However, since the human body itself is hot, this method extracts the human body area along with the thermal trace. Therefore, in this embodiment, a visible image is obtained at the same time as the thermal image, and the thermal trace area is extracted by comparing the thermal image with the visible image.
[0015] Specifically, background subtraction is performed on each of the visible image and the thermal image, and the thermal trace area is extracted based on the difference in the results of the background subtraction. Since the thermal trace cannot be observed in a visible image (i.e., with the naked eye), it cannot be extracted even if background subtraction is performed on the visible image with the background of the visible image before the person touches it. On the other hand, if there is a person in the location, the area of the person is extracted by performing background subtraction on the background of the visible image taken without the person. In other words, if the area extracted by background subtraction in the thermal image is also extracted in the visible image, it is clear that the area is not a thermal trace. On the other hand, an area extracted in the thermal image by background subtraction but not in the visible image is highly likely to be a thermal trace. In this embodiment, the thermal trace area extracted by such a method is visualized, and the location where the person touched is communicated to the user. In addition, to simultaneously acquire thermal images and visible images, a device such as a sensor node equipped with a visible light camera and a thermal camera ("Yoshinari Shirai, Yasue Kishino, Takayuki Suyama, Shin Mizutani: PASNIC: a thermal based privacy-aware sensor node for image capturing, UbiComp / ISWC'19 Adjunct, pp.202-205, 2019") may be used.
[0016] [Embodiments of the present invention] The aim of the embodiment of the present invention will be explained with reference to Figs. 1 and 2. Fig. 1 is a schematic diagram of a visible image and a thermal image taken at the same time at the same place. Fig. 1 shows a schematic diagram of an image taken at the same time by a visible light camera and a thermal camera of a hand touching a door with a handle. (a) and (a') are visible images or thermal images taken at time t1 (before the hand touches the door), (b) and (b') are visible images or thermal images taken at time t2 (when the hand is touching the door), and (c) and (c') are visible images or thermal images taken at time t3 (after the hand touches the door). When a person touches the door, the temperature of the touched place rises as shown in Fig. 1(c').
[0017] Figure 2 shows an example of an image obtained by background subtraction. Figure 2 shows subtraction images at times t2 and t3 when the image at time t1 in Figure 1 is used as the background image. At time t2, the shape of the arm is extracted as the subtraction region in both the visible image and the thermal image, whereas at time t3, the part touching the door is extracted as the subtraction region only in the thermal image.
[0018] If one considers disinfecting the area that hands actually touched, one needs to disinfect the difference region extracted by background subtraction of the thermal image at time t3. On the other hand, the difference region extracted by background subtraction of the thermal image at time t2 includes parts that did not touch the door. In the first place, the difference region extracted in the thermal image at time t2 is the region where a human body was present, not the region of heat traces left by actually touching the door. From the perspective of disinfection, it is sufficient to identify the difference region extracted at time t3, and the difference region extracted by background subtraction at time t2 is not necessary.
[0019] Therefore, in this embodiment, when a similar difference region is extracted by background subtraction in the visible image, the difference region is determined not to be a heat trace region. At time t2, the shape of the arm is also extracted in the visible image, so the difference region extracted in the thermal image is determined not to be a heat trace region (i.e., a part touched by a person). On the other hand, at time t3, the region extracted by background subtraction of the thermal image is not extracted in the visible image, so the difference region extracted in the thermal image is determined to be a heat trace region (i.e., a part touched by a person). If the system presents information indicating the heat trace region extracted based on such a determination, a user who sees the information can efficiently disinfect the part touched by a person.
[0020] The heat trace area extraction device 10 that realizes the above will be specifically described below. Fig. 3 is a diagram showing an example of a hardware configuration of the heat trace area extraction device 10 in an embodiment of the present invention. The heat trace area extraction device 10 in Fig. 3 has a drive device 100, an auxiliary storage device 102, a memory device 103, a CPU 104, an interface device 105, and the like, which are all connected to each other via a bus B.
[0021] A program for implementing the processing in the heat trace area extraction device 10 is provided by a recording medium 101 such as a CD-ROM. When the recording medium 101 storing the program is set in the drive device 100, the program is installed from the recording medium 101 via the drive device 100 into the auxiliary storage device 102. However, the program does not necessarily have to be installed from the recording medium 101, but may be downloaded from another computer via a network. The auxiliary storage device 102 stores the installed program as well as necessary files, data, and the like.
[0022] When an instruction to start the program is received, the memory device 103 reads out the program from the auxiliary storage device 102 and stores it. The CPU 104 executes functions related to the heat trace area extraction device 10 in accordance with the program stored in the memory device 103. The interface device 105 is used as an interface for connecting to a network.
[0023] Fig. 4 is a diagram showing an example of a functional configuration of the heat trace area extraction device 10 according to the embodiment of the present invention. In Fig. 4, the heat trace area extraction device 10 includes a visible image acquisition unit 11, a background visible image generation unit 12, a differential visible image generation unit 13, a thermal image acquisition unit 14, a background thermal image generation unit 15, a differential thermal image generation unit 16, a heat trace area extraction unit 17, and a heat trace area output unit 18. Each of these units is realized by a process in which one or more programs installed in the heat trace area extraction device 10 are executed by the CPU 104.
[0024] As shown in Fig. 4, the heat trace area extraction device 10 is connected to the visible light camera 21 and the thermal camera 22 so that images can be input from these cameras. The visible light camera 21 and the thermal camera 22 are installed so that they can capture the same location (the same range). That is, this embodiment is based on the premise that the image capturing area of the visible light camera 21 and the image capturing area of the thermal camera 22 match on a pixel-by-pixel basis. If the image capturing areas of the visible light camera 21 and the thermal camera 22 do not match, it is sufficient to perform calibration in advance so that the correspondence between the pixels of the visible image and the thermal image can be understood.
[0025] FIG. 5 is a flowchart illustrating an example of a processing procedure executed by the heat trace region extraction device 10. As shown in FIG.
[0026] In step S101, the visible image acquisition unit 11 acquires a visible image captured by the visible light camera 21, which is input from the visible light camera 21, and the thermal image acquisition unit 14 acquires a thermal image captured by the thermal camera 22, which is input from the thermal camera 22. Note that, regarding step S101, the acquisition of the visible image by the visible image acquisition unit 11 and the acquisition of the thermal image by the thermal image acquisition unit 14 may be performed simultaneously, or may not be performed simultaneously. If they are not performed simultaneously, a part of the frame of the camera with the faster frame rate may be ignored in accordance with the camera with the slower frame rate. Also, there is no problem if the fps is relatively fast, even if still images are alternately acquired from the visible light camera 21 and the thermal camera 22, and the acquired images are considered to have been acquired simultaneously. The visible image acquisition unit 11 transmits the acquired visible image to the background visible image generation unit 12, and the thermal image acquisition unit 14 transmits the acquired thermal image to the background thermal image generation unit 15.
[0027] Next, the background visible image generation unit 12 stores the visible image transmitted from the visible image acquisition unit 11 in the auxiliary storage device 102, and the background thermal image generation unit 15 stores the thermal image transmitted from the thermal image acquisition unit 14 in the auxiliary storage device 102 (S102).
[0028] Steps S101 and S102 are repeated until a predetermined time T1 has elapsed. The predetermined time T1 may be any period during which one or more visible images and one or more thermal images are stored in the auxiliary storage device 102.
[0029] When a predetermined time T1 has elapsed since the first execution of step S101 (Yes in S103), the process proceeds to step S104. In step S104, the background visible image generating unit 12 generates a background image of the shooting range (hereinafter referred to as a "background visible image") based on the group of visible images stored in the auxiliary storage device 102 during the predetermined period T1. Also in step S104, the background thermal image generating unit 15 generates a background image of the shooting range (hereinafter referred to as a "background thermal image") based on the group of thermal images stored in the auxiliary storage device 102 during the predetermined period T1.
[0030] For example, when a visible image group or a thermal image group (hereinafter, when there is no distinction between the visible image group and the thermal image group, simply referred to as a "photographed image group") includes a plurality of photographed images, a background image (a background visible image and a background thermal image) may be generated for each image group by using the average or median pixel value (RGB) of each photographed image group as the pixel value of each pixel. In this way, a person who has passed by temporarily can be removed from the background image, and a background image consisting of only objects that remain in place for a long time can be generated. Note that there have been many studies on methods for dynamically creating backgrounds from images photographed for a certain period of time, and the method for generating a background image in this embodiment is not limited to a predetermined method.
[0031] The predetermined time T1 corresponds to the time t1 in Fig. 1. That is, the time t1 does not have to be an instantaneous timing.
[0032] Once the background visible image and the background thermal image are generated, step S105 and subsequent steps are executed. Note that steps S101 to S104 and step S105 do not have to be executed synchronously. For example, step S105 and subsequent steps may be started in response to an instruction different from the instruction to execute steps S101 to S104.
[0033] In step S105, the visible image acquisition unit 11 and the thermal image acquisition unit 14 wait for a predetermined time T2 to elapse. The predetermined time T2 is, for example, the time elapsed from time t2 to time t3 in FIG.
[0034] When the predetermined time T2 has elapsed (Yes in S105), the visible image acquisition unit 11 acquires a visible image (hereinafter referred to as a "target visible image") input from the visible light camera 21, and the thermal image acquisition unit 14 acquires a thermal image (hereinafter referred to as a "target thermal image") input from the thermal camera 22 (S106). Note that it is preferable that the target visible image and the target thermal image are images captured simultaneously (or nearly simultaneously).
[0035] In the next step S107, the differential visible image generating unit 13 compares the background visible image generated by the background visible image generating unit 12 with the target visible image by using a background subtraction method, and extracts a difference area (area different from the background visible image) from the target visible image to generate a differential image (hereinafter referred to as a "differential visible image") showing the difference. The differential thermal image generating unit 16 compares the background thermal image generated by the background thermal image generating unit 15 with the target thermal image by using a background subtraction method, and extracts a difference area (area different from the background thermal image) from the target visible image to generate a differential image (hereinafter referred to as a "differential thermal image") showing the difference. If the difference in pixel value compared to the background image is equal to or greater than a certain threshold, it is determined that the pixel is different from the background, and for example, a binary image in which the pixel value of the pixel is 1 and the pixel value of the same pixel as the background is 0 is generated as each differential image (differential visible image and differential thermal image). Each differential image is sent to the heat trace area extracting unit 17.
[0036] Next, the heat trace region extracting section 17 compares the differential visible image with the differential thermal image to extract a heat trace region in the photographing range (S108).
[0037] When extracting a region dissimilar to the differential visible region of the differential thermal image, a similarity judgment of the differential region of each differential image may be used. For example, the heat trace region extraction unit 17 first performs labeling (extraction of connected regions) on each binary image that is the differential visible image or the differential thermal image. Next, the heat trace region extraction unit 17 compares the degree of overlap between one or more differential regions (hereinafter referred to as "differential thermal regions") obtained by labeling the differential thermal image and one or more differential regions (hereinafter referred to as "differential visible regions") obtained by labeling the differential visible image. Specifically, the heat trace region extraction unit 17 counts whether or not the compared differential regions match on a pixel-by-pixel basis, and if the matching rate is equal to or greater than a certain threshold, it judges that the two compared differential regions are dissimilar. The heat trace region extraction unit 17 extracts a heat differential region dissimilar to any differential visible region as a heat trace region.
[0038] The heat trace region extraction unit 17 transmits information indicating the heat trace region and the background visible image to the heat trace region output unit 18. At this time, the heat trace region extraction unit 17 may generate a binary image in which the heat trace region is colored white and the rest is colored black, and transmit the binary image as information indicating the heat trace region to the heat trace region output unit 18. Note that the determination of the similarity of regions is widely carried out in research on pattern matching, etc., and the present embodiment is not limited to a predetermined method. Next, the heat trace area output unit 18 outputs information indicating the extraction result of the heat trace area so that the user can confirm it (S109). For example, the heat trace area output unit 18 may output an image in which white pixels of a binary image indicating the heat trace area are combined onto a background visible image. The output form is not limited to a predetermined form. For example, the output may be output to a display device, saved in the auxiliary storage device 102, or transmitted to a user terminal via a network.
[0039] Following step S109, steps S105 and after are repeated. Alternatively, steps S105 to S108 may be repeated multiple times before step S109 is executed. In this case, the thermal trace regions extracted multiple times can be output together.
[0040] Fig. 6 is a schematic diagram showing an example of the output of the extraction result of the heat trace region. In Fig. 6, the part of the background visible image that has been touched by a human hand is painted black (however, black is a color for convenience, and the actual color may be a different color such as white). The user can recognize that part as the heat trace region.
[0041] A binary image showing the heat trace area may be projected onto the shooting range in the environment using a projector or the like. In this case, the heat trace area trace image is projected onto the heat trace area in the environment, and the parts touched by people can be directly communicated to each person in the environment. By using such a method, people who come to the site can know the parts touched by others, so that it is possible to encourage actions such as avoiding touching parts touched by other people, even without disinfection.
[0042] Alternatively, steps S101 to S103 may be executed in parallel with step S105 onwards. In this case, the background visible image and the background thermal image are updated periodically. This is expected to improve resistance to changes in the background over time.
[0043] In the above, it is assumed that the camera is fixed in an indoor location and that heat traces left on walls, desks, etc. that are relatively fixed in location are extracted, but this embodiment can also be applied to moving objects as long as the position of the object that is the subject of human contact in the image can be identified. For example, if something like a QR code (registered trademark) for identifying the position is attached to the four corners of the seat of a chair, and the position of the seat can be estimated using the QR code (registered trademark) as a clue, even if the chair moves, the heat trace left on the seat can be estimated with the seat as the background, and the heat trace can be displayed on the seat in the image. Various technologies for estimating the position of an object in an image have been proposed, and the use of QR codes (registered trademark) is not limited to this.
[0044] As described above, according to the present embodiment, it is possible to improve the accuracy of detecting places touched by people. As a result, it becomes possible to efficiently sterilize and disinfect places where there is a possibility that viruses such as the new coronavirus are attached.
[0045] In this embodiment, the differential visible image is an example of a first differential image, the differential thermal image is an example of a second differential image, and the thermal trace region extraction unit 17 is an example of an extraction unit.
[0046] Although the embodiment of the present invention has been described in detail above, the present invention is not limited to such specific embodiment, and various modifications and variations are possible within the scope of the gist of the present invention described in the claims. [Explanation of symbols]
[0047] 10 Heat trace area extraction device 11 Visible image acquisition section 12 Background visible image generation unit 13. Differential visible image generation section 14 Thermal image acquisition unit 15 Background thermal image generator 16 Differential thermal image generation section 17 Heat trace area extraction part 18 Heat trace area output section 21 Visible Light Camera 22 Thermal Camera 100 Drive device 101 Recording media 102 Auxiliary storage 103 Memory device 104 CPU 105 Interface device B Bus
Claims
1. a differential visible image generating step of generating a first differential image for a visible image of a certain range captured by the captured visible image with respect to the visible image of a background of the certain range; a differential thermal image generating step of generating a second differential image of the thermal image of the certain range captured by the thermal camera with respect to the thermal image of the background; an extraction step of extracting a thermal trace region by removing a region of an actual object from the thermal image based on the first difference image and the second difference image; A heat trace region extraction method characterized in that the above steps are executed by a computer.
2. a differential visible image generating step of generating a first differential image for a visible image of a certain range captured by the captured visible image with respect to the visible image of a background of the certain range; a differential thermal image generating step of generating a second differential image of the thermal image of the certain range captured by the thermal camera with respect to the thermal image of the background; an extraction step of extracting a region in the first difference image that is different from the visible image of the background as a differential visible region, and a region in the second difference image that is different from the thermal image of the background as a differential thermal region, and extracting a region dissimilar to any of the one or more differential visible regions as a thermal trace region from the one or more differential thermal regions; A method for extracting a heat trace region, comprising:
3. an output step of outputting an image obtained by combining the visible image of the certain range of background with a binary image in which the heat trace region extracted in the extraction step is colored white and the region other than the heat trace region is colored black; 3. The method for extracting a heat trace region according to claim 1, further comprising:
4. a differential visible image generating unit configured to generate a first differential image for a visible image of a background of a certain range captured in the visible image; a differential thermal image generating unit that generates a second differential image of the thermal image of the certain range captured by the thermal camera with respect to the thermal image of the background; an extraction unit that extracts a thermal trace region by removing a region of an actual object from the thermal image based on the first difference image and the second difference image; A heat trace area extraction device comprising:
5. a differential visible image generating unit configured to generate a first differential image for a visible image of a background of a certain range captured in the visible image; a differential thermal image generating unit that generates a second differential image of the thermal image of the certain range captured by the thermal camera with respect to the thermal image of the background; an extraction unit that extracts a region in the first differential image that is different from the visible image of the background as a differential visible region, and a region in the second differential image that is different from the thermal image of the background as a differential thermal region, and extracts a region dissimilar to any of the one or more differential visible regions as a thermal trace region from the one or more differential thermal regions; A heat trace area extraction device comprising:
6. an output unit that outputs a composite image of the visible image of the certain range of the background and a binary image in which the heat trace region extracted by the extraction unit is colored white and the region other than the heat trace region is colored black; 6. The heat trace area extraction device according to claim 4, further comprising:
7. an output step of projecting a binary image, in which the heat trace region extracted in the extraction step is colored white and the region other than the heat trace region is colored black, onto the certain range; 3. The method for extracting a heat trace region according to claim 1, further comprising:
8. an output unit that projects a binary image, in which the heat trace region extracted by the extraction unit is colored white and the region other than the heat trace region is colored black, onto the certain range; 6. The heat trace area extraction device according to claim 4, further comprising:
9. 10. A program for causing a computer to execute the method for extracting a heat trace region according to claim 1.
Citation Information
Patent Citations
Object detecting device
JP2009100256A
Position estimation system, position estimation method, and position estimation program
JP2017067503A
Gripping information acquisition device, robot teaching device and robot controller, and gripping information acquisition method, and robot teaching method and robot control method
JP2017090277A
Image processing device, image processing method, and image processing program
WO2020027210A1
