Subject anomaly detection system
The system addresses detection accuracy issues in noisy environments by using neural networks to analyze shading variations in still images, enabling precise behavior detection in bathrooms and other challenging conditions.
Patent Information
- Application Number
- JP2023019812
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-13
- Publication Date
- 2024-08-23
AI Technical Summary
Existing monitoring technologies struggle with insufficient detection accuracy in environments with image noise such as external light, reflected light, and scattered light from fog, making it difficult to accurately determine the presence or absence of a subject's behavior, particularly in bathrooms.
A system that captures still images at predetermined intervals, analyzes shading variations using a neural network to determine behavior, and employs block division and high-order discrimination curves to differentiate between normal and abnormal states, independent of environmental noise.
Accurately determines subject behavior with high precision across diverse environments by using neural networks to analyze shading differences in still images, enhancing detection accuracy and flexibility.
Smart Images

Figure 2024114204000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a system for detecting abnormalities in a subject. [Background technology]
[0002] In recent years, there has been an increasing need for security in homes and for watching over the elderly. For example, there is a demand to prevent accidents such as drowning in the bathroom of elderly people. As a conventional technology of this kind, for example, there is a technology that transmits the health status of a subject (elderly person) to a remote location by operating a water heater every day. There is also a technology that captures the behavior of pets and infants with a wireless camera and transmits the captured image to a remote location.
[0003] However, the former only transmits the subject's unconscious active actions to the observer, and does not automatically transmit the subject's unexpected events. Furthermore, the latter is merely a monitoring of actions, and does not have any function to judge the subject's state.
[0004] Therefore, there is still no technology that can determine whether a subject is alive or not in an unexpected situation in an environment such as a bathtub. In particular, in a bathroom or various other places, image processing does not have sufficient detection accuracy in environments where various types of image noise occur, such as external light, reflected light, and scattered light due to fog, and the detection technology is still insufficient.
[0005] For example, Patent Document 1 discloses an invention relating to a monitoring device that monitors objects in a room and reports any abnormality in the object. The invention of Patent Document 1 is an invention for a monitoring device that includes an imaging device that captures images of the interior of the room, and an image recognition device that recognizes objects in the room from images captured by the imaging device and outputs an alarm signal when it detects that the object has remained stationary for a certain period of time. [Prior art documents] [Patent documents]
[0006] [Patent Document 1] Japanese Patent Application Publication No. 9-276237 Summary of the Invention [Problem to be solved by the invention]
[0007] However, the monitoring device of Patent Document 1 detects abnormal operation based on brightness information, color information, etc., and therefore has the problem that the detection accuracy is insufficient in environments where various types of image noise occur, such as extraneous light, reflected light, and scattered light due to fog.
[0008] For example, in a bathtub environment, light reflected from the water surface and fog, as well as from the walls, becomes a large noise in a normal visible image. Therefore, it is very difficult to accurately calculate the center of gravity, area, and perimeter, which are the features of the subject, such as extracting the outline of the subject's behavior through image processing. Furthermore, at the time of developing the detection device, the imaging environment is diverse, with differences in lighting color, wall color, the presence or absence of bath salts in the bathtub, and differences in their colors, making it impossible to determine the imaging environment.
[0009] Therefore, in consideration of the above problems, the present invention aims to provide a subject abnormality detection system that can determine with high accuracy whether or not a subject is exhibiting behavior even in a wide variety of environments such as facilities and locations to be detected, and in a wide variety of situations involving subjects. [Means for solving the problem]
[0010] One aspect of the present invention provides an abnormality detection system for a subject that detects the presence or absence of a subject's behavior, and is characterized in that it comprises an imaging means for imaging a predetermined area including the subject, and a behavior discrimination means for receiving a signal from the imaging means, capturing a plurality of still images of the predetermined area at predetermined time intervals within a predetermined period of time, and discriminating whether or not the subject is exhibiting behavior.
[0011] Here, "capturing still images" includes a case where a video is first captured by an imaging means and then multiple still images are selected and captured from the video at time intervals, and a case where multiple still images are captured in sequence at time intervals and captured.
[0012] According to this configuration, multiple still images are captured of the subject at specified time intervals within a specified period of time, and these still images are used to determine whether the subject is behaving in an abnormal manner. This means that there is no need for a person checking the subject to constantly monitor the subject, and there is no need for a caregiver to always be present, and it is possible to determine whether the subject is behaving in an abnormal manner and whether the subject is in an abnormal state.
[0013] In addition, this anomaly detection system is characterized in that the behavior determination means determines whether or not a behavior is present based on the shading variation of the multiple still images. According to this configuration, for example, in a bathtub or other environment, there are a wide variety of characteristics of the detection environment, such as the shape of the bathtub and the color of the walls, and characteristics of the subject, such as the subject's outline, so by making a determination based on the shading variation of the multiple still images, it is possible to accurately determine whether or not the subject is exhibiting a behavior, regardless of the detection environment or subject.
[0014] The behavior determination means determines whether or not a behavior is present based on the presence or absence of a shading variation between at least one of the plurality of still images and the remaining still images. With this configuration, it is possible to more accurately determine whether or not a subject is exhibiting a behavior regardless of the detection environment or subject.
[0015] The behavior determination means includes a means for dividing the one still image and one of the remaining still images into a plurality of blocks, a means A for calculating a difference in shading for each corresponding block of each still image, a means B for calculating a difference in shading between the one still image and one of the remaining still images based on the calculated difference in shading for each block, and a means C for determining the presence or absence of shading variation based on whether the calculated difference in shading between the one still image and one of the remaining still images exceeds a predetermined threshold. This configuration improves the accuracy of determining the presence or absence of behavior.
[0016] The means A is characterized in that it is a means for calculating the difference between the arithmetic mean values of the shading for each corresponding block of each still image. According to this configuration, by inputting the difference between the arithmetic mean values calculated by the means A to a neural network, it is possible to accurately determine whether or not the subject is in an abnormal state.
[0017] The means B is a means for calculating a high-order discrimination curve, which is a nonlinear discrimination, as the difference in shading between one still image and one of the remaining still images by using the difference in shading between the blocks as an input value for a neural network, and the means C is a means for determining the presence or absence of shading variation based on whether or not there is a portion where the high-order discrimination curve exceeds a predetermined threshold. With this configuration, it is possible to accurately determine whether or not the subject is in an abnormal state. In addition, it is possible to detect behavior that is unrelated to the detection environment or the characteristics of the subject, and to perform strict and flexible discrimination.
[0018] The behavior determination means is characterized in that it is a means for determining without extracting the subject's outline or the like from a still image in any of the means A to C. With this configuration, it is possible to suppress a decrease in detection accuracy in an environment such as a bathtub where reflected light from the water surface or fog, and further reflected light from a wall, become large noise in a normal visible image and are included.
[0019] The behavior determination means includes a means D for executing the means A to C a plurality of times on one still image and the remaining still images. According to this configuration, by having the means D for executing a plurality of times, it is possible to more accurately determine whether or not the subject is in an abnormal state.
[0020] The behavior determination means has a means E for executing the means A to D for all still images of the plurality of still images, and is characterized in that it determines that an abnormality has been detected when there is no shading variation in all still images.
[0021] The neural network is trained using training data consisting of a plurality of still images of cases where a behavior is present and cases where a behavior is not present. With this configuration, training in the detection environment is not required, and discrimination can be performed efficiently and with high accuracy.
[0022] The behavior determination means performs determination of still images at a predetermined time interval multiple times at different times within a predetermined time. According to this configuration, by performing determination of still images multiple times at different times, it is possible to accurately determine whether or not the subject is in an abnormal state.
[0023] The image obtained by the imaging means is a visible image or a near-infrared image. With this configuration, an anomaly detection system that can be used for various purposes can be realized by signal processing using information on the visible image or the near-infrared image.
[0024] It is preferable that the imaging means is positioned above the bathroom, the specified area is the entire bathtub or the entire bathroom, and if it is determined that there is no change in shading within a specified period of time, it detects that there is no movement by the bather and that an abnormality has occurred.
[0025] The present invention is characterized in that, instead of an imaging means for imaging a predetermined area including the subject, a sensor irradiation means for irradiating a sensor signal such as ultrasonic waves to a predetermined area including the subject, and a behavior determination means for receiving a reflected signal from the sensor irradiation means, taking in a plurality of reflected signals for the predetermined area at a predetermined time interval within a predetermined time, and determining whether or not the subject is exhibiting behavior, and performs behavior determination using a plurality of pieces of reflected signal information for the predetermined area at each predetermined time interval instead of a still image. According to this configuration, even when monitoring using video images is difficult from the viewpoint of privacy and comfort, the sensor irradiation means for irradiating a sensor signal such as ultrasonic waves instead of an imaging means can accurately determine whether or not the subject is in an abnormal state. Effect of the Invention
[0026] According to the present invention, it is possible to provide an abnormality detection system for a subject that can determine with high accuracy whether or not a subject is exhibiting behavior even in a wide variety of environments such as facilities or locations to be detected, and in a wide variety of situations involving the subject. [Brief description of the drawings]
[0027] [Figure 1] 1 is a configuration diagram of a subject abnormality detection system according to an embodiment of the present invention. [Diagram 2] 1A and 1B are diagrams showing operation screens of the subject anomaly detection system, where (a) shows a case where no behavior is detected and (b) shows a case where behavior is detected. [Diagram 3] FIG. 11 is an optical flow diagram for determining the presence or absence of a subject's behavior. [Figure 4] FIG. 13 is a schematic diagram showing a difference calculation before and after movement. [Diagram 5] FIG. 13A shows learning data when there is no behavior, and FIG. 13B shows learning data when there is behavior. [Figure 6] 13(a) and 13(b) are diagrams showing the relationship between movement and input value vectors to a neural network. [Figure 7] FIG. 13 is a schematic diagram showing judgment using a high-order separation curve by a neural network in an environment containing various noises. [Figure 8] FIG. 1 is a schematic diagram of threshold determination (prior art) in a simple noise-free environment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0028] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. Note that the present invention is not limited to this embodiment. For example, in the following embodiment, an example of an elderly person in a bathroom is used as the target for anomaly detection, but the present invention is not limited to elderly people in a bathroom, and can be applied to infants, elderly people living alone, suspicious people who break into an empty house, and people behaving suspiciously outdoors.
[0029] <Embodiment> The anomaly detection system 1 of this embodiment is a subject anomaly detection system that is premised on early detection of an emergency occurring to an elderly person in a bathtub. As shown in FIG. 1, this anomaly detection system 1 includes an imaging means 2 and a behavior discrimination means 3.
[0030] The imaging means 2 is an imaging device that captures an image of a predetermined area including the elderly person in the bathtub. The imaging device is, for example, a web camera that can obtain a visible image. This web camera is a camera capable of wireless communication, and is configured to be able to transmit image data and video data of the web camera to a PC or the like.
[0031] In this embodiment, a web camera is used as the imaging means, but it may be an industrial camera, a network camera, a single-lens camera, a compact digital camera, a surveillance camera, a smartphone (mobile phone), a tablet terminal, etc. Furthermore, the imaging device may be a near-infrared camera capable of obtaining near-infrared images.
[0032] The imaging means 2 is placed above the bathroom and is installed in a position where it can image the entire bathtub or the entire bathroom, for example, on the ceiling of the bathroom. The position is not limited as long as it can image a predetermined area including the subject. It is preferable that the imaging means 2 can zoom in and out and adjust the angle, and can change the position of the imaging area. The number of imaging means 2 is not limited to one, and may be multiple.
[0033] Then, using the web camera images captured by this imaging means 2, imaging and detection are repeated (e.g., 12 judgments) at regular intervals (e.g., 0.1 seconds) within a certain time period (e.g., 3 seconds), and if it is determined that there is no behavior of the subject, i.e., no fluctuation in the shading of each image, it is judged as an abnormality.
[0034] As shown in FIG. 1, the behavior determination means 3 has a means for dividing one still image and one of the remaining still images into a plurality of blocks, and means A to E.
[0035] The means A is a means for calculating the difference between the average values of the shading for each corresponding block of each still image. By inputting the difference between the average values calculated by the means A to a neural network, it is possible to more accurately determine whether or not the subject is in an abnormal state.
[0036] Means B is a means for using the difference in shading of each block as an input value for a neural network, and calculating a high-order discrimination curve, which is a nonlinear discrimination, as difference information in shading between one still image and one of the remaining still images.
[0037] The means C is a means for determining the presence or absence of a shading variation based on whether or not there is a portion where a high-order discrimination curve, which is a non-linear discrimination, exceeds a predetermined threshold value.
[0038] By the means B and C, it is possible to accurately determine whether or not the subject is in an abnormal state. In addition, it is possible to detect behavior that is unrelated to the detection environment and the characteristics of the subject, and it is possible to perform strict and flexible determination.
[0039] The means D is a means for executing the means A to C multiple times with one still image and the remaining other still images. By having the means D for executing multiple times, it is possible to more accurately determine whether or not the subject is in an abnormal state.
[0040] The means E is a means for executing the means A to D for all still images of the plurality of still images, and determines that an abnormality has been detected if there is no shading variation in all still images.
[0041] In the anomaly detection system 1 of this embodiment, first, an elderly person who is a subject enters a bathroom from the entrance. Then, the elderly person washes his / her body in the bathroom and soaks in hot water in the bathtub. The bathtub is installed in the bathroom, and the bathroom is a room where the user takes a bath.
[0042] Next, the imaging means 2, which is placed above the bathroom and installed at a position where it can image the entire bathtub, images a predetermined area including the elderly person bathing in the bathtub and sends a signal to the behavior determination means 3.
[0043] Figure 2 shows an example of the operation screen of the subject anomaly detection system 1, where Figure 2(a) is the operation screen of the anomaly detection system 1 when no behavior was detected after 12 judgments, and Figure 2(b) is the operation screen of the anomaly detection system 1 when the behavior was detected four times after 12 judgments.
[0044] Figure 2 shows an example of capturing an image of a test subject using a web camera built into a personal computer, in which capturing and detecting the subject was repeated (12 judgments) at regular intervals (0.1 seconds) within a fixed time period (3 seconds).
[0045] Then, the behavior discrimination means 3, which receives a signal from the imaging means 2, captures a plurality of still images from the captured video at predetermined time intervals within a predetermined time period and judges whether or not the subject is exhibiting behavior in the bathtub.
[0046] In this embodiment, imaging and detection are repeated (for example, 12 determinations) at regular intervals (for example, 0.1 seconds) within a certain time period (for example, 3 seconds).
[0047] Then, two still images are captured from the video, and behavior is detected from changes in their shading, and if there is no behavior within a certain period of time, it is determined that the subject is in an abnormal state.These two still images are designated as Still Image 1 and Still Image 2, and these are divided into blocks, and the average values within the blocks are created for Still Image 1 (before the movement) and Still Image 2 (after the movement), and the difference between these is input to the neural network to determine whether there is a change in shading (see Figure 3).
[0048] More specifically, as shown in Fig. 4, two still images are extracted from a video in which a predetermined area including the subject is captured, and then the images are divided into blocks, and the difference in the grayscale variation of the arithmetic mean value of the pixels in the blocks is input, and the presence or absence of grayscale variation is determined and judged based on whether or not there is a portion in which the high-order discrimination curve exceeds a predetermined threshold in the neural network. In this embodiment, the block division is 32 x 32 division, but is not limited to this.
[0049] The neural network learns in advance learning data consisting of multiple still images with and without behavior. Figure 5(a) shows the learning data with and without behavior, and Figure 5(b) shows the learning data with and without behavior.
[0050] As shown in FIG. 5, the learning data for detecting behavior in this embodiment only needs to be provided as an image with no change in shading (FIG. 5(a)) and an image with change (FIG. 5(b)) for two pieces of collected information that are unrelated to the color, shape, and size of the imaging environment, and accumulation of learning data in the detection environment is not essential. This is because this embodiment is capable of detecting behavior from shading variations regardless of the environment. Note that a configuration in which learning data is accumulated may also be used, which may further improve detection accuracy.
[0051] If the subject does not behave, all of the input data to the neural network will be 0, as shown in Fig. 6(a). On the other hand, if the subject behaves, the difference in the time difference information will be 0 or more for parts that have changed over time, as shown in Fig. 6(b).
[0052] By inputting the grayscale fluctuation data obtained from still images in the above manner into a neural network, a high-order separation curve for nonlinear discrimination, as shown in Figure 7, is obtained. The presence or absence of grayscale fluctuation, i.e., whether or not the subject exhibited behavior, is judged depending on whether or not this curve exceeds a specified threshold. If the curve exceeds the threshold, it is judged that the subject exhibited behavior and there was no abnormality, and if the curve does not exceed the threshold, it is judged that the subject did not exhibit behavior and there was an abnormality.
[0053] Fig. 8 is a schematic diagram of threshold judgment in an environment that does not consider simple noise without using a neural network of the prior art, and it is difficult to make an accurate judgment according to the environment with such a method. On the other hand, by making a judgment using the neural network of this embodiment shown in Fig. 7, behavior judgment is not made using a simple threshold such as optical flow as shown in Fig. 8, but by forming a high-order discrimination curve for nonlinear discrimination with a neural network, it becomes possible to make a strict and flexible judgment regardless of the presence or absence of various noises.
[0054] In this embodiment, the neural network performs 12 judgments, and if the neural network determines that there is no shading variation in even one of the judgments, the subject is determined to be in an abnormal state. Here, the neural network is started 12 times for judgment, but the number of judgments can be changed as needed.
[0055] <Other embodiments> As described above, the preferred embodiment of the present invention has been described with reference to the drawings, but the present invention is of course not limited to the above-mentioned embodiment, and various modifications or amendments within the scope of the claims also belong to the technical scope of the present invention. For example, the anomaly detection system of the above embodiment may be provided with a means for reporting to the outside when the behavior determination means 3 detects an anomaly.
[0056] In addition, while the above embodiment relates to behavior detection in a bathroom, the present invention is not limited to this and may also be applicable to automatic monitoring of infants and young children, checking the status of elderly people living alone, detecting intrusions of suspicious people, detecting suspicious behavior outdoors, and automatically detecting the adequacy of feeding in the aquaculture industry.
[0057] In addition, while the above embodiment judges behavior using video and still images captured by a camera, it is also possible to apply a configuration that includes, instead of the imaging means 2 that images a predetermined area including the subject, a sensor irradiation means that irradiates a sensor signal to a predetermined area including the subject, and behavior discrimination means that receives a reflected signal from the sensor irradiation means, captures multiple reflected signals at predetermined time intervals for the predetermined area within a predetermined time, and discriminates whether or not the subject is exhibiting behavior, and performs behavior discrimination using multiple reflected signal information in a predetermined area at predetermined time intervals instead of still images.
[0058] According to this, in cases where monitoring using imaging means such as cameras is difficult from the standpoint of privacy, etc., it is possible to detect abnormalities in the bather without disturbing the bathing environment or comfort, and without causing stress to the bather. In addition, since no image processing is required, the configuration can be simple. The sensors used are non-contact sensors such as ultrasonic sensors and electrostatic sensors. [Explanation of symbols]
[0059] 1. Anomaly detection system 2. Imaging Method 3. Behavior Identification Methods 4 Dividing means
Claims
1. A subject anomaly detection system that detects the presence or absence of a subject's behavior, imaging means for imaging a predetermined area including the subject; A system for detecting abnormalities in a subject, comprising: a behavior discrimination means for receiving a signal from the imaging means, capturing a plurality of still images of the specified area at specified time intervals within a specified time, and discriminating whether or not the subject is exhibiting a behavior.
2. The behavior determination means determines whether or not a behavior is present based on a shading variation of the plurality of still images. The subject abnormality detection system according to claim 1.
3. The behavior determination means determines whether or not a behavior is present based on the presence or absence of a shading variation between at least one of the plurality of still images and the remaining still images. The subject abnormality detection system according to claim 2.
4. The behavior determination means is means for dividing one still image and one of the remaining still images into a plurality of blocks; A means A for calculating a difference in shading for each corresponding block of each still image; a means B for calculating a difference in shading between one still image and one of the remaining still images based on the calculated difference in shading between each block; and a means C for determining whether or not there is a shading variation based on whether or not a shading difference between the calculated one still image and one of the remaining still images exceeds a predetermined threshold value. The subject abnormality detection system according to claim 3.
5. The means A is a means for calculating a difference between average values of shading for each corresponding block of each still image. The subject abnormality detection system according to claim 4.
6. the means B is a means for calculating a high-order discrimination curve, which is a non-linear discrimination curve, as information on the difference in shading between one still image and one of the remaining still images by using the difference in shading between the blocks as an input value for a neural network, The means C is a means for determining the presence or absence of a shading variation based on whether or not there is a portion where the high-order discrimination curve exceeds a predetermined threshold value. The subject abnormality detection system according to claim 5.
7. The behavior determination means is The means A to C are means for determining the subject without extracting the subject's outline or the like from a still image. The subject abnormality detection system according to claim 4.
8. The behavior determination means is a means D for executing the means A to C a plurality of times with one still image and the remaining other still images; The subject abnormality detection system according to claim 4.
9. The behavior determination means is a means E for executing the means A to D for all still images of the plurality of still images; If there is no variation in shading in all still images, it is determined that an abnormality has been detected. The subject abnormality detection system according to claim 8.
10. The neural network is trained using training data consisting of a plurality of still images with and without a behavior. The subject abnormality detection system according to claim 6.
11. The behavior determination means is A still image discrimination is performed multiple times at different times within a predetermined time interval. The subject abnormality detection system according to claim 1.
12. The image obtained by the imaging means is a visible image or a near-infrared image. The subject abnormality detection system according to claim 1.
13. The imaging means is disposed above a bathroom, The predetermined area is the entire bathtub or the entire bathroom, If it is determined that there is no change in the shading within a specified time, Detects an abnormality when the bather does not move, The subject abnormality detection system according to claim 1.
14. a sensor irradiation means for irradiating a sensor signal such as an ultrasonic wave to a predetermined area including the subject, instead of the imaging means for imaging the predetermined area including the subject; a behavior determination means for receiving a reflected signal from the sensor irradiation means, acquiring a plurality of reflected signals for the predetermined area within a predetermined time at predetermined time intervals, and determining whether or not the subject is exhibiting a behavior, A behavior determination is performed using a plurality of pieces of reflected signal information in a predetermined area at a predetermined time interval instead of a still image. The subject abnormality detection system according to any one of claims 1 to 11 and 13.
Citation Information
Patent Citations
Monitoring device
JP1997276237A
