Recognition processor and recognition processing method
By applying differential image processing to specific areas in infrared camera images, the system reduces false detections of road lights as people and enhances person detection accuracy, addressing the issue of false positives in infrared-based image recognition systems.
Patent Information
- Application Number
- JP2023034272
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-07
- Publication Date
- 2024-09-20
AI Technical Summary
Existing image recognition systems using infrared cameras may mistakenly detect road lights as people due to their heat signatures, leading to false detections.
Implementing image processing that reduces contrast and resolution in specific areas of the image where people are unlikely to be present, such as the top part of the frame, while maintaining higher contrast and resolution in areas where people are likely to be detected, using a combination of hardware and software components like processors and memories, and applying different image processing techniques based on machine learning models.
Reduces false detections of people in specific areas and enhances the accuracy of person detection in non-specific areas, thereby improving the overall detection accuracy and reducing processing load.
Smart Images

Figure 2024126103000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a recognition processing device and a recognition processing method. [Background technology]
[0002] There is known a technology that captures an image of the surroundings of a vehicle with an infrared camera and detects people in the captured image using an image recognition technology such as pattern matching. In order to prevent erroneous detection of people, for example, a technology has been proposed that adjusts a score indicating the possibility that a person is present in a section based on the position and size of the section, which is a part of the image (for example, see Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2022-18634 A Summary of the Invention [Problem to be solved by the invention]
[0004] Depending on the position and size of heat sources such as road lights included in the video, road lights may be mistakenly detected as people.
[0005] The present invention has been made in consideration of the above circumstances, and has an object to provide a technique for more appropriately detecting a person in image recognition processing. [Means for solving the problem]
[0006] A recognition processing device of one embodiment of the present invention includes an image acquisition unit that acquires an image captured by an infrared camera, an image processing unit that applies different image processing to a specific range that is part of the image than to an area outside the specific range, and a person detection unit that detects people included in the image using the image to which the image processing has been applied.
[0007] Another aspect of the present invention is a recognition processing method, in which a recognition processing device executes the steps of acquiring an image captured by an infrared camera, applying image processing to a specific range that is a part of the image different from that applied to the outside of the specific range, and detecting a person included in the image using the image to which the image processing has been applied. Effect of the Invention
[0008] According to the present invention, it is possible to provide a technique for more appropriately detecting people in image recognition processing. [Brief description of the drawings]
[0009] [Figure 1] 1 is a block diagram illustrating a functional configuration of a recognition processing device according to a first embodiment. [Diagram 2] FIG. 4 is a diagram showing an example of an image before image processing by an image processing unit. [Diagram 3] FIG. 11 is a diagram showing an example of a video image after image processing by an image processing unit. [Figure 4] FIG. 13 is a diagram showing an example of a clipping region for detecting a person. [Diagram 5] 5 is a flowchart showing an example of the flow of a recognition processing method according to the first embodiment. [Figure 6] FIG. 11 is a block diagram illustrating a functional configuration of a recognition processing device according to a second embodiment. [Figure 7] 10 is a flowchart showing an example of the flow of a recognition processing method according to a second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. Specific numerical values and the like shown in the embodiment are merely examples for facilitating understanding of the invention, and do not limit the present invention unless otherwise specified. In the drawings, elements that are not directly related to the present invention are omitted.
[0011] (First embodiment) 1 is a block diagram showing a schematic functional configuration of a recognition processing device 10 according to a first embodiment. The recognition processing device 10 includes an image acquisition unit 12, an image processing unit 14, and a person detection unit 16. The recognition processing device 10 may further include a display control unit 18. The recognition processing device 10 is mounted on a moving object such as a vehicle, and detects people such as pedestrians around the vehicle. In this embodiment, a case where the recognition processing device 10 is mounted on a vehicle will be illustrated.
[0012] Each functional block shown in this embodiment can be realized, for example, by cooperation of hardware and software. The hardware of the recognition processing device 10 is realized by elements and mechanical devices such as a processor such as a central processing unit (CPU) or a graphics processing unit (GPU) of a computer, and memories such as a read only memory (ROM) or a random access memory (RAM). The software of the recognition processing device 10 is realized by a computer program or the like.
[0013] The image acquisition unit 12 acquires an image captured by the camera 20. The camera 20 is mounted on a moving object and captures an image of the surroundings of the moving object. For example, the camera 20 captures an image in front of the moving object. The camera 20 may capture an image behind the moving object or may capture an image to the side of the moving object. The recognition processing device 10 may or may not include the camera 20.
[0014] The camera 20 is an infrared camera configured to capture infrared rays. The camera 20 is a so-called infrared thermography, which images the temperature distribution around a moving object, making it possible to identify a heat source present around the moving object. The camera 20 may be configured to detect mid-infrared rays with a wavelength of about 2 μm to 5 μm, or may be configured to detect far-infrared rays with a wavelength of about 8 μm to 14 μm. In this embodiment, the camera 20 will be described as a camera that captures a thermal image using far-infrared rays. The video captured by the camera 20 is a moving image, for example, at 30 frames per second.
[0015] The image processing unit 14 applies image processing to the video acquired by the video acquisition unit 12. The image processing unit 14 applies different image processing to a specific range, which is a part of the video, than to the outside of the specific range. Here, the specific range is a range in the video where a person is unlikely to exist, and is set, for example, at the top of the video. The image processing unit 14 applies image processing that reduces the contrast and resolution of the specific range. The image processing that reduces the contrast and resolution reduces the accuracy of person detection in the specific range after image processing.
[0016] The image processing unit 14 does not apply image processing that reduces contrast or resolution to a non-specific range that is outside the specific range. The image processing unit 14 may apply image processing that increases the contrast or resolution of the non-specific range. The image processing unit 14 increases the accuracy of human detection in the non-specific range after image processing by performing image processing that reduces contrast or resolution.
[0017] The image processing unit 14 can adjust the contrast of the image by applying a predetermined tone curve, for example. In this case, the shape and parameter values of the tone curve applied to the specific range and the outside of the specific range are different. The image processing unit 14 can adjust the resolution of the image by applying a sharpness filter, such as a smoothing filter or an edge enhancement filter, for example. In this case, the type and parameter values of the filter applied to the specific range and the outside of the specific range are different.
[0018] Fig. 2 shows an example of an image 50 before image processing by the image processing unit 14, and is an image acquired by the image acquisition unit 12. The image 50 in Fig. 2 was captured while driving inside a tunnel. If the image 50 in Fig. 2 is input directly to the person detection unit 16, a section 52 including roadway lights installed on the ceiling of the tunnel may be erroneously detected as a person. Possible causes of erroneous detection include the erroneous recognition of the lit area of the roadway lights as a person's head, and the erroneous recognition of a vertically long structure below the lit area as a person's torso or legs.
[0019] FIG. 3 shows an example of the image 54 after image processing by the image processor 14, which is an image obtained by applying image processing to the image 50 of FIG. 2. In the example of FIG. 3, the upper part of the image 54 is a specific range 56, and the rest is a non-specific range 58. The height h1 of the specific range 56 is, for example, 10% to 50% of the total height h of the image 54, for example, about 20% to 40% of the total height h. The specific range 56 is subjected to image processing for reducing contrast and resolution. On the other hand, the non-specific range 58 is not subjected to image processing for reducing contrast and resolution. In the example of FIG. 3, the contrast and resolution of the non-specific range 58 are not adjusted, but image processing for increasing the contrast and resolution of the non-specific range 58 may be applied. In the example of FIG. 3, the specific range 56 is set as a rectangular range, but specific ranges of various shapes may be set according to ranges where there is a low possibility of a person being present. In addition, a plurality of specific ranges may be set. For example, a specific range divided into a plurality of ranges may be set.
[0020] The image processing unit 14 may change the intensity of the image processing (e.g., a parameter value) according to the position within the specific range 56. For example, the image processing unit 14 may change the intensity of the image processing stepwise or continuously according to the vertical position within the specific range 56, and may make the intensity of the image processing stronger toward the upper position, for example. In this case, the amount of reduction in contrast and resolution is relatively small at the lower end of the specific range 56, and the amount of reduction in contrast and resolution is relatively large at the upper end of the specific range 56. In other words, within the specific range 56, the amount of reduction in contrast and resolution is smaller the closer to the non-specific range 58, and the amount of reduction in contrast and resolution is greater the farther from the non-specific range 58.
[0021] Returning to FIG. 1, human detection unit 16 detects a human being included in the video by using the video to which image processing by image processing unit 14 has been applied. Human detection unit 16 cuts out a partial area of the video to which image processing has been applied, and calculates a recognition score indicating the possibility that a human being is included in the cut-out partial area (also called a cut-out area). The recognition score is calculated, for example, in the range of 0 to 1, and the greater the possibility that a human being is included in the cut-out area, the greater the numerical value (i.e., a value closer to 1), and the lower the possibility that a human being is included in the cut-out area, the smaller the numerical value (i.e., a value closer to 0). When the recognition score is equal to or greater than a predetermined reference value, human detection unit 16 detects a human being in the cut-out area.
[0022] The person detection unit 16 detects a person using a person detection model generated by machine learning using an image including a full-body image of a person as a correct answer image. The correct answer image used for machine learning is, for example, cut out to be a vertically long rectangular image with a vertical and horizontal image size of 2:1. The model used for machine learning may include an input corresponding to the image size (number of pixels) of the input image, an output that outputs a recognition score, and an intermediate layer that connects between the input and the output. The intermediate layer may include a convolutional layer, a pooling layer, a fully connected layer, etc. The intermediate layer may have a multi-layer structure, and may be configured to enable so-called deep learning. The model used for machine learning may be constructed using a convolutional neural network (CNN). Note that the model used for machine learning is not limited to the above, and any machine learning model may be used.
[0023] 4 is a diagram showing examples of clipped regions 60, 62, and 64 for detecting a person. The clipped regions by the person detection unit 16 may be a first clipped region 60 whose entirety falls within the specific range 56, a second clipped region 62 whose entirety straddles the specific range 56 and the non-specific range 58, or a third clipped region 64 whose entirety falls within the non-specific range 58.
[0024] When a clipped region such as the first clipped region 60 falls within the specific range 56, the contrast and resolution of the specific range 56 are low, so the possibility of detecting a person in the clipped region is low. In other words, even if a shape resembling a person is captured in the clipped region, the recognition score output for the clipped region will be low. As a result, the possibility of erroneous detection of a person in the specific range 56 can be reduced.
[0025] On the other hand, when a clipped region falls within the non-specific range 58, such as the third clipped region 64, the contrast and resolution of the non-specific range 58 are not low, so that the possibility of detecting a person in the clipped region increases. As a result, the possibility of not properly detecting a person in the non-specific range 58 can be reduced.
[0026] When an excision region straddles both the specific range 56 and the non-specific range 58, such as the second excision region 62, the possibility that a person will be detected in the excision region changes according to the area ratio of the specific range 56 to the non-specific range 58 included in the excision region. For example, when the ratio of the specific range 56 included in the excision region is large, the possibility that a person will be detected decreases, and when the ratio of the non-specific range 58 included in the excision region is large, the possibility that a person will be detected increases. As a result, the possibility that a person will be erroneously detected or will not be properly detected can be changed according to the vertical position of the excision region.
[0027] Returning to Fig. 1, the display control unit 18 generates a display image by adding the person detection result by the person detection unit 16 to the image acquired by the image acquisition unit 12, and displays the generated display image on the display device 22. The display control unit 18 generates a display image by adding the person detection result by the person detection unit 16 to, for example, an image to which no image processing by the image processing unit 14 has been applied (for example, image 50 in Fig. 2). The display control unit 18 generates the display image by, for example, superimposing an additional image, such as a frame image for indicating an area including a person detected by the person detection unit 16, on the image.
[0028] The display device 22 is provided on, for example, a moving object. The display device 22 includes an image display element such as a liquid crystal display (LCD) or an organic electroluminescence display (OLED). For example, when the moving object is a vehicle, the display device 22 is disposed at a position where it can be seen by a driver of the vehicle. The recognition processing device 10 may or may not include the display device 22.
[0029] FIG. 5 is a flowchart showing an example of the flow of the recognition processing method according to the first embodiment. The video acquisition unit 12 acquires a video captured by the camera 20 (step S10). The image processing unit 14 applies image processing to a specific range, which is a part of the acquired video, different from that applied to the specific range (step S12). The person detection unit 16 detects a person included in the video using the video to which the image processing has been applied (step S14). The display control unit 18 generates a display video in which the person detection result by the person detection unit 16 is added to the video, and causes the display device 22 to display the generated display video (step S16). The processes from step S10 to step S16 are repeatedly executed while the recognition processing device 10 is operating or while the video is being captured by the camera 20.
[0030] According to this embodiment, by applying image processing that reduces the contrast and resolution of a specific range in the acquired video where a person is unlikely to exist, it is possible to reduce the possibility of erroneously detecting a person in the specific range, thereby enabling more appropriate detection of a person in the video.
[0031] According to this embodiment, by applying image processing that increases contrast and resolution in a non-specific range where a person is likely to exist in the acquired video, it is possible to reduce the possibility that a person will not be properly detected in the non-specific range, thereby making it possible to more properly detect a person included in the video.
[0032] According to this embodiment, it is only necessary to apply a predetermined image processing to a specific range that is a part of the image, and therefore it is possible to simplify the processing for preventing erroneous detection. This reduces the load of image processing for detecting people, and enables more appropriate detection of people using image processing circuits with limited processing power.
[0033] Second embodiment 6 is a block diagram showing a schematic functional configuration of a recognition processing device 10A according to the second embodiment. The second embodiment differs from the first embodiment in that an information acquisition unit 24 and a specific range detection unit 26 are further provided. The second embodiment will be described below, focusing on the differences from the first embodiment, and descriptions of commonalities will be omitted as appropriate.
[0034] The recognition processing device 10A includes a video acquisition unit 12, an image processing unit 14, a person detection unit 16, an information acquisition unit 24, and a specific range detection unit 26. The recognition processing device 10A may further include a display control unit 18. The video acquisition unit 12, the image processing unit 14, the person detection unit 16, and the display control unit 18 can be configured in the same manner as in the first embodiment.
[0035] The information acquisition unit 24 may include a position information acquisition unit 30. The position information acquisition unit 30 acquires position information measured by a position sensor 40. The position sensor 40 is mounted on a moving body and measures the position of the moving body. The position sensor 40 is, for example, a GNSS (Global Navigation Satellite System) receiving module. The position sensor 40 detects the position of the recognition processing device 10A, that is, the imaging position of the camera 20. The recognition processing device 10A may be configured to include the position sensor 40 or may not be configured to include the position sensor 40.
[0036] The information acquisition unit 24 may include a map information acquisition unit 32. The map information acquisition unit 32 acquires map information from a map device 42. The map device 42 is a device that stores map information, such as a navigation device. The map information includes information indicating the position, shape, and height of a structure that may become a high-temperature object. The recognition processing device 10A may be configured to include the map device 42, or may be configured to not include the map device 42. The map information acquisition unit 32 may acquire map information from an external server or the like using a wireless communication function (not shown).
[0037] The information acquisition unit 24 may include a time information acquisition unit 34. The time information acquisition unit 34 acquires time information from a clock device 44. The clock device 44 is, for example, a clock device that generates current time information indicating the current date and time. The clock device 44 outputs the image capture date and time of the camera 20. The recognition processing device 10A may be configured to include the clock device 44 or may not be configured to include the clock device 44.
[0038] The information acquisition unit 24 may include an orientation information acquisition unit 36. The orientation information acquisition unit 36 acquires orientation information measured by an orientation sensor 46. The orientation sensor 46 is mounted on a moving object and measures the orientation of the moving object. The orientation sensor 46 is, for example, an acceleration sensor or a gyro sensor, and detects the direction or orientation of the moving object. The orientation sensor 46 may detect the imaging direction of the camera 20. The orientation sensor 46 may detect the inclination of the road surface on which the moving object runs. The orientation sensor 46 may detect the elevation angle between the imaging direction of the camera 20 and the horizontal plane. The recognition processing device 10A may be configured to include the orientation sensor 46, or may not include the orientation sensor 46.
[0039] The specific range detection unit 26 detects a specific range included in the video acquired by the video acquisition unit 12, using the information acquired by the information acquisition unit 24. The specific range detection unit 26 detects a specific range in the video, using at least one of the position information, the map information, the time information, and the direction information.
[0040] The specific range detected by the specific range detection unit 26 may be a range in which a person is unlikely to exist. The specific range detected by the specific range detection unit 26 may be a range in which an object (e.g., a building) that is likely to be erroneously detected as a person is likely to exist. Objects that are likely to be erroneously detected as a person are, for example, heat sources such as road lighting and ventilation fans in roads and tunnels, indoor and outdoor lights of buildings and other buildings, and illuminated signboards in busy areas.
[0041] The specific range detection unit 26 identifies heat sources present around the current imaging position using, for example, location information and map information. The specific range detection unit 26 further uses orientation information to identify heat sources included in the angle of view of the camera 20. The specific range detection unit 26 further uses time information to determine whether or not a heat source included in the angle of view of the camera 20 is turned on. For example, roadway lights and ventilation fans in a tunnel are assumed to be turned on or driven regardless of the time of day and to be a heat source at all times. On the other hand, outdoor roadway lights, building lights, and illuminated signboards in busy areas are assumed to be turned on only at night and to be a heat source.
[0042] The specific range detection unit 26 may detect the upper part of the image as the specific range when the moving object is traveling inside a tunnel. The specific range detection unit 26 may detect the upper part of the image as the specific range when the moving object is traveling outside a tunnel or at night. The specific range detection unit 26 may exclude a range where a person is likely to exist, for example, a lower range of the image, from the detection target of the specific range.
[0043] The specific range detection unit 26 may use the orientation information to change the position and size of the specific range to be detected. For example, when the mobile body is traveling on an upwardly sloping road, the vertical height h1 of the specific range to be detected may be relatively increased. In this case, the height h1 of the specific range may be increased as the gradient of the upward gradient increases. Conversely, when the mobile body is traveling on a downwardly sloping road, the vertical height h1 of the specific range to be detected may be relatively decreased. In this case, the height h1 of the specific range may be decreased as the gradient of the downward gradient increases.
[0044] When a specific range is detected by specific range detection unit 26, image processing unit 14 applies image processing to the image that reduces the contrast and resolution of the detected specific range. Image processing unit 14 may also apply image processing to the image that increases the contrast and resolution of a non-specific range that is outside the detected specific range. Therefore, when a specific range is detected, the content of image processing applied to the image in the specific range differs from that outside the specific range.
[0045] When a specific range is not detected by specific range detection unit 26, image processing unit 14 does not apply image processing that reduces contrast or resolution to the image. When a specific range is not detected by specific range detection unit 26, image processing unit 14 may apply image processing that increases contrast or resolution to the entire image. Therefore, when a specific range is not detected, the content of image processing applied to the entire image is the same.
[0046] 7 is a flowchart showing an example of the flow of the recognition processing method according to the second embodiment. The video acquisition unit 12 acquires a video captured by the camera 20 (step S20). The information acquisition unit 24 acquires at least one of location information, map information, time information, and direction information, and the specific range detection unit 26 detects a specific range that is a part of the video using the information acquired by the information acquisition unit 24 (step S22). If the specific range detection unit 26 detects a specific range (Yes in step S24), the image processing unit 14 applies image processing to the detected specific range that is different from that applied to the outside of the specific range (step S26). If the specific range detection unit 26 detects a specific range (No in step S24), the processing of step S26 is skipped.
[0047] The person detection unit 16 detects people included in the video (step S28). When the specific range is detected, the person detection unit 16 detects people included in the video using a video in which image processing different from that outside the specific range is applied to the specific range. When the specific range is not detected, the person detection unit 16 detects people included in the video using a video to which no image processing is applied, or a video to which common image processing is applied to the entire video. The display control unit 18 generates a display image in which the person detection result by the person detection unit 16 is added to the video, and causes the display device 22 to display the generated display image (step S30). The processes from step S20 to step S30 are repeatedly executed while the recognition processing device 10 is operating, or while the video is being captured by the camera 20.
[0048] According to this embodiment, by detecting the specific range using at least one of the location information, map information, time information, and direction information, it is possible to reduce the possibility of erroneous detection of a person or the possibility of inappropriate detection of a person, compared to a case where the specific range is set fixedly, and thus it is possible to more appropriately detect a person included in a video.
[0049] In each of the above-described embodiments, the display control unit 18 may cause the display device 22 to display an image to which image processing has been applied to a specific range by the image processing unit 14. The display control unit 18 may generate an image for display by adding a person detection result to the image to which image processing has been applied to a specific range by the image processing unit 14. In such a case, the image processing unit 14 may reduce the contrast and resolution of the specific range to an extent that the user can distinguish objects and the like included in the image after image processing and to an extent that erroneous recognition by the person detection unit 16 can be suppressed.
[0050] In each of the above-described embodiments, the image to which image processing has been applied to a specific range by the image processing unit 14 is used for person detection by the person detection unit 16, and the image to be displayed on the display device 22 by the display control unit 18 may be an image to which image processing has not been applied to a specific range by the image processing unit 14. In such a case, when the person detection unit 16 detects a person using the image to which image processing has been applied to a specific range by the image processing unit 14, the display control unit 18 generates a display image in which an additional image for indicating the area including the person is superimposed on the image to which image processing has not been applied to a specific range by the image processing unit 14.
[0051] The present invention has been described above with reference to the above-mentioned embodiment, but the present invention is not limited to the above-mentioned embodiment, and appropriate combinations or substitutions of the respective configurations shown in the embodiment are also included in the present invention. [Explanation of symbols]
[0052] 10, 10A... recognition processing device, 12... image acquisition unit, 14... image processing unit, 16... person detection unit, 20... camera, 26... specific range detection unit, 50... image, 54... image, 56... specific range.
Claims
1. an image acquisition unit that acquires an image captured by an infrared camera; an image processing unit that applies image processing to a specific range that is a part of the image, the image processing being different from that to an outside of the specific range; a person detection unit that detects a person included in the video by using the video to which the image processing has been applied; A recognition processing device comprising:
2. The image processing unit applies image processing to the image to reduce at least one of the contrast and the resolution of the specific range. The recognition processing device according to claim 1 .
3. The image processing unit applies image processing to the image to increase at least one of contrast and resolution outside the specific range. The recognition processing device according to claim 2 .
4. a specific range detection unit that detects the specific range using at least one of location information indicating an imaging position of the video, map information indicating buildings existing around the imaging position, time information indicating a date and time when the video was captured, and orientation information indicating a direction in which the video was captured; the image processing unit applies the image processing to the specific range detected by the specific range detection unit. The recognition processing device according to claim 1 .
5. acquiring an image captured by an infrared camera; applying image processing to a specific range that is a part of the image, the image processing being different from that to an outside of the specific range; detecting a person included in the video using the video to which the image processing has been applied; The recognition processing method is executed by a recognition processing device.
Citation Information
Patent Citations
Image sensor, sensing method, control system, and program
JP2019087787A
Person detection device and person detection method
JP2020170247A
Air conditioner
WO2017029762A1
Image recognition apparatus and image recognition method
JP2022018634A
