摘要: | 孩童在居家環境中,發生意外的原因除了有環境及設備因素外,還有是因為孩童本身的危險行為所造成的。因此在本研究中,我們提出一個居家環境監控系統,即時監視孩童的位置及行為,並根據事前在居家環境中所設定的各種區域,判定該位置配合該行為是否有異常或危險狀況。如此即能在異常或危險事故產生之當下,及時偵測出來,並提醒家長或監視管理單位注意,以減少可能發生的事故。本研究所偵測的行為有:行走、跑步、跌倒/蹲下、坐下、及站立在不安全的位置。 我們的監控系統是使用一個安裝在天花板下的 360° 魚眼網路攝影機 (fisheye IP camera) 拍攝監視範圍。這個攝影機能夠同時拍攝到 360 度的全域環場影像。本研究偵測移動物體的方法是利用 codebook 背景相減法,此背景模型是利用多階層的背景模型結構來適應環境中有規律性出現的背景。 在跌倒的偵測上,我們以主成份分析 (principal component analysis, PCA) 及框取人體梯形區域高度特徵來判斷跌倒姿勢。使用梯形區域特徵的執行速度比使用 PCA 特徵快,因此我們傾向使用梯形區域的特徵做偵測,但由於在影像中心無法框取梯形區域,因此根據扭曲程度將影像分為外圍與中心兩區塊,各別使用梯形區域特徵與 PCA 特徵判定跌倒。在影像外圍利用梯形區域高度特徵,使用框到人體的梯形高度來判斷跌倒。影像中心先以 PCA 找出人體第一與第二主成份,計算人體在第一與第二主成份方向的固有值比例,判斷是否跌倒。為了減少跌倒偵測的誤判,我們除了使用人體幾何外型特徵外,還加入跌倒後必需有一段靜止的狀態,才是真正要偵測的跌倒行為。在蹲下偵測上,蹲下行為在影像外圍所使用的偵測方法與跌倒偵測相同都是使用梯形高度變化,但由於影像中心自我遮蔽情況嚴重,因此並無法由人在影像中心的外型偵測出蹲下行為。在跑步偵測方面,由於影像中所偵測到的移動速度會受到位置的影響,因此我們首先找出人在影像中的腳點位置,以腳點與影像中心的距離補償影像中的移動速度,再估算出人體移動速度,如果移動速度超過門檻值就判定為跑步發生。 為了使本研究能適用於居家環境,將居家環境分為三個區域: (i) 活動區 (例如,地面)、(ii) 非活動區 (例如,椅子、沙發)、及 (iii) 禁止進入區 (例如,廚房、陽台)。由於孩童在活動區為安全的行為,在非活動區就可能為不安全行為;例如,站立在椅子上。因此我們將根據區域的不同,定義行為是否危險、及偵測出該區域的異常行為。活動區定義的異常行為有跑步與跌倒。非活動區是當發現孩童站立在椅子或沙發上就視為危險行為,而站立在非活動區所使用的特徵有腳點位置與人體梯形高度。禁止進入區是只要發現孩童進入該區域就視為不安全行為發生,因此系統偵測到腳點位置落在該區域就判定為異常行為。其中在非活動區,由於孩童坐下時的梯形高度會與跌倒時的梯形高度符合,在應用時容易將坐下誤判成跌倒,因此針對非活動區特別偵測出坐下這個行為來減少誤判發生。 由實驗結果分析,只使用人體幾何外型特徵與加入靜止狀態判定的跌倒正確率分別為 86.7% 與 90.6%;孩童跑步正確率為 95%;在非活動區站立與坐下的偵測率都為 100%;而進入禁止進入區的偵測率為 100%。 ;In homes, the child accidents are occurred due to the limitation and block of the home construction and furniture as well as the children‘s own risk behaviors. In this paper, we propose a home environment monitoring system to survey children in homes and other indoor environments to avoid the child accidents. At first, we define three different regions in the house floor: active, inactive, and inhibition regions. Then the proposed system monitors the children’s location and behavior in time. Finally, the proposed system raises warning if there are abnormal or dangerous behaviors of children in various regions. The warnings are different according to different regions. In this study, the considered child’s behaviors include walking, running, falling/squatting, sitting, and standing on unsafe location. In the proposed surveillance system, we use a 360-degree fisheye camera installing on the ceiling to capture 360-degree surrounding images. We use the codebook background subtraction method to extract the body silhouettes. In the multi-layer background model, we can handle moving background with periodic variation and illumination variations. In falling detection, we use object directions based on the principal component analysis (PCA) and the height of body trapezoid bounding box as features to determine falling. We prefer to use trapezoid bounding box technique, because it is faster. However, in the center area of the omni-directional images, the trapezoid bounding box is unreliable; thus, we distinguish an image into two concentric regions: inner and outer concentric regions. In outer region, we use the height of trapezoid bounding box to decide falling. In inner region, we use PCA to find the first and second principal components and their ratio to determine falling. In order to increase the accuracy, we add a condition that a falling behavior must be followed by a period of a still status. In squatting detection, we use the same way as falling detection in outer concentric region. In inner concentric region, we can’t detect squatting by body shape, since the self-cover of body is serious. In running detection, we compute the foot position, and use consequent images to estimate the body moving speed. The moving speed is influenced by the position in images; thus, a pre-calibrated process on the acquired speed data is conducted. In order to make this system be adequate for home environment, the whole home floor is distinguished into three areas: (i) active area (ex, floor), (ii) inactive area (ex, chair and sofa), (iii) inhibition area (ex, kitchen and balcony). Different behaviors only permit in different areas. The abnormal behaviors defined in the active area are running and falling. In the inactive area, the abnormal behavior is standing on chair or sofa. In the inhibition area, no any behavior is permitted; that is, once a foot position is detected in the area, the warning is then raised. Many experiments were conducted; according to the experimental results, we find that the accuracy rate of falling detection is 86.7% with only using geometric characteristics of body appearances and 90.6% with adding still status determination. Children running detection rate is 95%. The detection rate of standing and sitting in inactive area is 100%. The detection rate of getting into inhibition area is 100%. The results reseal that the proposed system is effect and practical for the related applications. |