TW201801520A - Image device and method for detecting a chief - Google Patents

Image device and method for detecting a chief Download PDF

Info

Publication number
TW201801520A
TW201801520A TW106120688A TW106120688A TW201801520A TW 201801520 A TW201801520 A TW 201801520A TW 106120688 A TW106120688 A TW 106120688A TW 106120688 A TW106120688 A TW 106120688A TW 201801520 A TW201801520 A TW 201801520A
Authority
TW
Taiwan
Prior art keywords
area
frame
foreground object
region
background
Prior art date
Application number
TW106120688A
Other languages
Chinese (zh)
Other versions
TWI713368B (en
Inventor
呂嘉雄
Original Assignee
呂嘉雄
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 呂嘉雄 filed Critical 呂嘉雄
Publication of TW201801520A publication Critical patent/TW201801520A/en
Application granted granted Critical
Publication of TWI713368B publication Critical patent/TWI713368B/en

Links

Abstract

A image method for detecting a chief, compressing comprising: a foreground object region and background object region generating step for detecting foreground object region(s) and background object region(s) from one or more image frames of a scene; a invasion region generating step for acquiring union(s) of the foreground object region(s) of the one or more image frames to generate invasion region(s); a disordered region generating step for confirm background modification region(s) from the invasion region(s) to generate disordered region(s); and a detection step for generating warning message(s) while area(s) of the disordered region(s) satisfying certain situations.

Description

影像式小偷偵測裝置 Image thief detection device

一種影像分析識別技術領域,特別是依據使用者行為識別出小偷之影像分析識別技術領域。 The invention relates to the field of image analysis and recognition technology, in particular to the field of image analysis and recognition technology of thieves based on user behavior.

影像監視系統已被廣泛設置在較重要的地點,以監視該些地點是否有發生異常現象,該些異常現象例如是不明使用者的入侵、重要物品損壞或是被帶走,然因影像監視系統已廣泛被設置之緣故,人力已無法負責即時監控之工作,需要電腦設備事先判別出可疑的區域,再由人力進行進一步地確認,以有效地使用有限的人力資源。 Image surveillance systems have been widely deployed in more important locations to monitor the presence of anomalies, such as unidentified users, intrusions of important items, or being taken away, due to image surveillance systems. Due to the widespread setting, manpower has been unable to take charge of the immediate monitoring work, requiring computer equipment to identify suspicious areas in advance, and then further confirming by human resources to effectively use limited human resources.

例如一習知的影像分析系統可利用事先建立的背景參考圖框,再讓現在圖框和背景參考圖框相減,得到一差異圖框,當上述差異圖框之差異範圍大於一定值後,即發出示警訊號,並於顯示裝置上顯示出差異處,以便於如警衛之人力進行確認,然而此方法最大的局限處在於只能用在不准人員進出之封閉空間如金庫之監控上,任何移動物體如貓、狗...等動物皆會造成影像分析系統的誤判,而不是一有效的入侵偵測系統。 For example, a conventional image analysis system may use a previously established background reference frame, and then subtract the current frame from the background reference frame to obtain a difference frame. When the difference range of the difference frame is greater than a certain value, That is, the warning signal is issued, and the difference is displayed on the display device, so as to confirm the manpower of the guard. However, the biggest limitation of this method is that it can only be used in the monitoring of closed spaces such as treasury where no personnel are allowed to enter or exit. Moving objects such as cats, dogs, etc. can cause false positives in image analysis systems, rather than an effective intrusion detection system.

例如另一習知的影像分析系統可利用事先已登錄於資料庫的人臉資料,當系統偵測到非登錄的人臉資訊即發出示警訊號,然本法的局限處除了對如攝影機一類的影像感測器之安裝位置和解析度有較嚴格的要求外,亦需要求系統管理人事先登錄系統使用者,當系統安裝的位置外 人可自由經過或是出入時,例如是公司的大門時,或是當系統使用者配載口罩或是繃帶時,皆會造成系統的誤判,亦不是一有效的入侵偵測系統。 For example, another conventional image analysis system can use the face data that has been previously registered in the database, and when the system detects the non-registered face information, it sends a warning signal, but the limitation of this method is except for a camera. There are strict requirements on the installation position and resolution of the image sensor. It is also required that the system administrator log in to the system user in advance, when the system is installed. When people are free to pass or enter, such as when the company's door, or when the system user is equipped with a mask or bandage, it will cause system misjudgment, and it is not an effective intrusion detection system.

為了解決上述需事先登錄合法使用者或是誤判率過高之缺失,本案提出一影像式小偷偵測裝置、方法、系統,利用小偷在短時間行竊時常造成場所內的擺設受改較大幅度改變之行為特性,判別是否有小偷正在行竊,若有則可發出示警訊息通知警衛、保全,或是發出燈光、聲響以嚇跑小偷,具備低成本、簡單、易用之功效。 In order to solve the above-mentioned need to log in to the legitimate user in advance or the false positive rate is too high, this case proposes an image thief detection device, method and system, which often causes the display in the place to be changed greatly when the thief steals in a short time. The behavioral characteristics determine whether a thief is stealing, and if so, can issue a warning message to notify the guard, to protect, or to emit lights and sounds to scare off the thief, which is low-cost, simple and easy to use.

一種影像圖框式小偷行竊分析裝置,包含:一前景物件區域與背景物件區域產生裝置,用以從一場景的一或多個圖框中偵測出前景物件區域和背景物件區域;一入侵區域產生裝置,和該前景物件區域與背景物件區域產生裝置相連,用以取得在一時間區間內該一個或多個圖框之該前景物件區域之聯集,以產生入侵區域;一凌亂區域產生裝罝,和該前景物件區域與背景物件區域產生裝置和該入侵區域產生裝置相連,用以從該入侵區域中確認出背景已發生變化的區域,以產生凌亂區域;一判別裝置,和該入侵區域產生裝置和該凌亂區域產生裝罝相連,當該凌亂區域的面積滿足一定條件後發出示警訊息。 An image frame type thief theft analysis device comprises: a foreground object area and a background object area generating device for detecting a foreground object area and a background object area from one or more frames of a scene; an intrusion area a generating device, and the foreground object region is connected to the background object region generating device for acquiring a combination of the foreground object regions of the one or more frames in a time interval to generate an intrusion region;罝, and the foreground object area is connected to the background object area generating device and the intrusion area generating device for confirming an area where the background has changed from the intruding area to generate a messy area; a discriminating device, and the intruding area The generating device is connected to the messy area to generate a warning message, and when the area of the messy area meets certain conditions, a warning message is issued.

一種影像圖框式小偷行竊分析方法,包含:一前景物件區域與背景物件區域產生步驟,用以從一場景的一或多個圖框中偵測出前景物件區域和背景物件區域;一入侵區域產生步驟,用以取得在一時間區間內該一個或多個圖框之該前景物件區域之聯集,以產生入侵區域;一凌亂區域產生步驟,用以從該入侵區域中確認出背景已發生變化的區域,以產生 凌亂區域;一判別步驟,當該凌亂區域的面積滿足一定條件後發出示警訊息。 An image frame type thief stealing analysis method comprises: a foreground object area and a background object area generating step for detecting a foreground object area and a background object area from one or more frames of a scene; an intrusion area a generating step of obtaining a union of the foreground object regions of the one or more frames in a time interval to generate an intrusion region; a messy region generating step for confirming that the background has occurred from the intrusion region Changing area to produce a disordered area; a discriminating step of issuing a warning message when the area of the messy area satisfies certain conditions.

【圖簡單說明】 [Simple description]

圖1系統構成圖 Figure 1 system composition diagram

圖2前景物件區域與入侵區域關係圖 Figure 2 Relationship between foreground object area and intrusion area

圖3第一前景物件區域、入侵區域、凌亂區域關係圖 Figure 3 First foreground object area, intrusion area, messy area relationship diagram

圖4整合式影像擷取裝置與圖框分析裝置外觀圖 Figure 4: Appearance diagram of integrated image capturing device and frame analysis device

圖5第一小偷行竊偵測流程圖 Figure 5 first thief stealing detection flow chart

圖6第二前景物件區域、入侵區域、凌亂區域關係圖 Figure 6 Second foreground object area, intrusion area, messy area relationship diagram

圖7第二小偷行竊偵測流程圖 Figure 7 second thief stealing detection flow chart

圖8警戒級別關係圖 Figure 8 alert level diagram

[常用術語定義] [Common term definition]

一般而言,術語「上、下」、「前、後」、「先、後」、「左、右」僅代表物體間相對方向、位置,並不代表其在實際空間中出現的位置,惟該發明所屬技域中其有通常知識者應明顯知悉,說明書中部分提及「上、下」之段落,其係指物體受重力而產生自由落體的運動方向;此外,術語「前、後」、「先、後」在特定情況下亦可能和術語「早、晚」同義,用以描述事件發生的順序或是時間關係,該發明所屬技域中其有通常知識者應可輕易分辨。 Generally speaking, the terms "up, down", "front, back", "first, second", "left and right" only represent the relative direction and position between objects, and do not represent their position in real space. It should be apparent to those of ordinary skill in the art to which the invention pertains. The paragraphs in the specification refer to the paragraphs "upper and lower", which refer to the direction in which an object is subjected to gravity to produce a free fall; in addition, the term "before and after" "First, then" may also be synonymous with the term "early and late" in a particular case to describe the sequence or time relationship of the event, which should be easily distinguishable by those of ordinary skill in the art to which the invention pertains.

術語「連接」等同術語「耦合」,其係指不同元件間包含有下列(但不局限於)一者或多者之列舉關係:機械結構、空間位置、時間順序 關係,亦可係指不同元件間係可能以下列(但不局限於)一者或多者之列舉形態進行資訊之傳送或是交換:電學、磁學、電磁學、光學、力學、熱力學、化學;此外,該「連接」關係並不僅係代表二元件間不存在其它元件之「直接連接」關係,亦可代表二元件間存在其它元件之「間接連接」關係;另外一方面,術語「電連」則是強調二元件間以電學(特別是電壓、電流)方式連接及/或交換資料。 The term "connected" is equivalent to the term "coupled", which refers to the enumeration of one or more of the following elements, but not limited to: mechanical structure, spatial position, chronological order Relationships may also refer to the transmission or exchange of information between different components in the following (but not limited to) one or more of the following forms: electrical, magnetic, electromagnetic, optical, mechanical, thermodynamic, chemical In addition, the "connection" relationship is not only a "direct connection" relationship in which there is no other component between the two components, but also an "indirect connection" relationship between other components. On the other hand, the term "electrical connection" It emphasizes the connection and/or exchange of data between two components by means of electricity (especially voltage and current).

發明書、圖、申請專利範圍中若出現使用如「第一」、「第二」一類之有序數修飾用語,其僅是為了便於識別元件(或裝置、步驟),在一部分情況下,被上述有序數修飾之元件彼此間是相同的,或是存在一部分差異,但此差異並不會導致元件間無法彼此交互置換,亦代表元件間不具有任何型態的連接、相依度、處理先後關係。在另一部分情況下,被上述有序數修飾之元件彼此間是不同的而無法彼此交互置換,亦代表元件間具有特定型態的連接、相依度、處理先後關係。另一方向,發明書、圖中的符號數字,其目的僅是為了便於說明,數字的排序並不一定代表數字所對應的文字具有特定型態的連接、相依度、處理先後關係。該發明所屬技術領中具有通常知識者可輕易依據上下文段落所揭露之情況,輕易推知係屬何種情況,而不需於再一一說明。 In the scope of the invention, the drawings, and the patent application, if there is an ordinal modification term such as "first" or "second", it is only for the purpose of identifying the component (or device, step), in some cases, by the above The components with the ordinal number modification are identical to each other, or there are some differences, but the difference does not cause the components to be interchangeable with each other, and also means that there is no connection, dependency, and processing order between the components. In another part of the case, the elements modified by the above ordered numbers are different from each other and cannot be interchanged with each other, and also represent a connection, dependency degree, and processing order relationship between the elements having a specific type. In the other direction, the inventors and the symbols in the figures are only for convenience of explanation. The ordering of numbers does not necessarily mean that the words corresponding to the numbers have a specific type of connection, dependency, and processing order. Those of ordinary skill in the art to which the invention pertains can easily ascertain the circumstances of the system based on the circumstances disclosed in the context of the disclosure, and do not need to be further described.

術語「圖框」等同於術語「畫框」、「畫格」,其係一種二維資料體,用來計錄一特定時間點下由影像擷取裝置所擷取到的資料,故一視訊(video)資料可視為具有時間先後關係的一連串圖框所組成。 The term "frame" is equivalent to the terms "frame" and "frame". It is a two-dimensional data body used to record the data captured by the image capture device at a specific point in time. (video) data can be viewed as a series of frames with a chronological relationship.

[第一實施例] [First Embodiment]

參照圖1,圖1是較佳實施例之系統使用架構圖,其包含一受 監控場所100、一圖框分析裝置200、一使用者輸出/輸入裝置250、一個或多個連接元件260a、260b,其中受監控場所100可代表使用者之臥室,惟並不以此為限,在一實際例中該受監控場所100並不具備如牆壁一類的隔間物,而係一戶外場所,例如戶外停車場,在另一實施例中,該受監控場所100可以可以泛指各種使用者所要監控的地點和範圍。 Referring to FIG. 1, FIG. 1 is a structural diagram of a system used in a preferred embodiment, which includes a The monitoring site 100, a frame analyzing device 200, a user output/input device 250, and one or more connecting elements 260a, 260b, wherein the monitored site 100 can represent the user's bedroom, but not limited thereto. In a practical example, the monitored site 100 does not have a compartment such as a wall, but is an outdoor venue, such as an outdoor parking lot. In another embodiment, the monitored site 100 can refer to various users. The location and scope to be monitored.

使用者可在受監控場所100中安裝一個或多個影像擷取裝置102a、102b,(以下簡稱影像擷取裝置102),用以擷取受監控場所100裡一個或多個圖框資料。在一實施例中,該影像擷取裝置102係指一相機、一攝影機、一手機,且可能具備左右轉動(pan)、上下傾斜(tile)與縮放(zoom)之PTZ功能。在另一實施例中,影像擷取裝置102所擷取的內容並不以可見光或紅外光為限,而可以是場所100內的任何物理或化學特性,只要能使用如螢幕一類的顯示裝置顯示出該特性在房間中的分布情況即可,故亦可係一利用光學或是聲學變化來估算物體深度的深度攝影機。 The user may install one or more image capturing devices 102a, 102b (hereinafter referred to as image capturing device 102) in the monitored site 100 for capturing one or more frame materials in the monitored site 100. In one embodiment, the image capturing device 102 refers to a camera, a camera, a mobile phone, and may have a PTZ function of panning, panning, and zooming. In another embodiment, the content captured by the image capturing device 102 is not limited to visible light or infrared light, but may be any physical or chemical characteristic in the location 100, as long as it can be displayed using a display device such as a screen. This feature can be distributed in the room, so it can also be a depth camera that uses optical or acoustic changes to estimate the depth of the object.

在一實施例中影像擷取裝置102可依時間順序關係以一定取樣頻率定期擷取圖框資料,上述取樣頻率可以係0.5fps、1fps、2fps、5fps、15fps、29.97fps、30fps、60fps,惟不以上述列舉之取樣頻率為限;在另一實施例中該取樣頻率並不固定而可隨一定條件而調整,該條件可以是影像擷取裝置102是否由電池或是外部電源之供電情況而定,該條件亦可以是裝置在此受監控場所100之其它種類之感測器或是遠端裝置所提供之環境氣溫、環境亮度、是否有入侵者...等資訊而定。 In an embodiment, the image capturing device 102 can periodically capture frame data at a certain sampling frequency according to a chronological relationship. The sampling frequency can be 0.5fps, 1fps, 2fps, 5fps, 15fps, 29.97fps, 30fps, 60fps. The sampling frequency is not limited to the above-mentioned sampling frequency; in another embodiment, the sampling frequency is not fixed and can be adjusted according to certain conditions, and the condition may be whether the image capturing device 102 is powered by a battery or an external power source. The condition may also be determined by information such as ambient temperature, ambient brightness, presence of an intruder, etc. provided by other types of sensors or remote devices of the monitored site 100.

受監控場所100被安裝多個影像擷取裝置102時,影像擷取裝置102可含蓋部分相同的視野範圍,致使由不同影像擷取裝置102所擷取的 圖框資料中可包含部分相同的內容。例如影像擷取裝置102a之視野範圍包含場所空間104a、104b,影像擷取裝置102b之視野範圍包含場所空間104c、104b,亦即影像擷取裝置102a、102b之共同視野範圍為場所空間104b。當場所空間104a、104b、104c內無擺放任何家具或是任何會防礙光線傳播之物體時,影像擷取裝置102a所擷取到的圖框內容係牆面108b之區域106a、106b,影像擷取裝置102b所擷取到的圖框內容係牆面108b之區域106c、106b,故影像擷取裝置102a、102b所擷取到的圖框內容皆包含區域106b。 When the plurality of image capturing devices 102 are installed in the monitored site 100, the image capturing device 102 may include the same field of view of the cover portion, so that the images captured by the different image capturing devices 102 are captured. Part of the same content can be included in the frame data. For example, the field of view of the image capturing device 102a includes the site spaces 104a and 104b. The field of view of the image capturing device 102b includes the site spaces 104c and 104b. That is, the common field of view of the image capturing devices 102a and 102b is the site space 104b. When no furniture or any object that hinders the light propagation is disposed in the space 104a, 104b, 104c, the frame captured by the image capturing device 102a is the area 106a, 106b of the wall 108b. The frame content captured by the capture device 102b is the regions 106c and 106b of the wall surface 108b. Therefore, the frame content captured by the image capture devices 102a and 102b includes the region 106b.

在另一實施例中,不同影像擷取裝置102所擷取的圖框資料中並不包含相同的內容而只具有相鄰的內容,致使影像擷取裝置102a、102b所擷取到的圖框僅共用圖框之部分邊緣資訊,區域106b近似0。 In another embodiment, the frame data captured by the different image capturing devices 102 does not include the same content but only has adjacent content, so that the frame captured by the image capturing devices 102a and 102b is captured. Only part of the edge information of the frame is shared, and the area 106b is approximately zero.

在此特別強調,在本實施例中是以由上而下的俯視(bird view)方式來繪製圖1受監控場所100內之各項元件,圖1的受監控場所100中影像擷取裝置102是被固著於一牆面上,固著高度約略等於正常成年人之眼睛高度,然實際使用情況中影像擷取裝置102可固著於任何使用者覺得方便、隱密的位置,例如是天花板,且影像擷取裝置102可能具備紅外光LED、白光LED一類的輔助光源,或是使用廣角鏡頭、超廣角鏡頭、魚眼鏡頭一類的裝備來增加影像擷取裝置102之視野範圍,亦或是具備自動光圈以調整影像擷取裝置102之進光量,而不以圖1所例示之元件及其安裝關係為限。另一方面,若受監控場所100內具有多個影像擷取裝置102,則各影像擷取裝置102可能具有自己的安裝位置、解析度、視野範圍,惟各影像擷取裝置102所擷取到的圖框資料需可讓一影像接合(stitch)裝置進行接合處理,以產生例如全景(panorama)之圖框資料,亦或是提供同一背景物件之不同視角的 圖框資料。 It is particularly emphasized here that in the present embodiment, the components in the monitored site 100 of FIG. 1 are drawn in a bird view manner from top to bottom. The image capturing device 102 in the monitored site 100 of FIG. It is fixed on a wall surface, and the fixing height is approximately equal to the height of the eye of a normal adult. However, in actual use, the image capturing device 102 can be fixed to a position that is convenient and hidden by any user, such as a ceiling. The image capturing device 102 may have an auxiliary light source such as an infrared light LED or a white light LED, or use a wide-angle lens, a super wide-angle lens, a fisheye lens or the like to increase the field of view of the image capturing device 102, or have an automatic The aperture is used to adjust the amount of light entering the image capturing device 102, and is not limited to the components illustrated in FIG. On the other hand, if there are multiple image capturing devices 102 in the monitored site 100, each image capturing device 102 may have its own mounting position, resolution, and field of view, but each image capturing device 102 captures The frame data needs to be spliced by an image stitching device to generate, for example, panoramic frame data, or to provide different viewing angles of the same background object. Frame information.

當影像擷取裝置102擷取到圖框後,即可利用和影像擷取裝置102相連之連接裝置260a把上述所擷取到的圖框傳送到圖框分析裝置200,以判別受監控場所100中是否出現正在偷竊的小偷,在一例示情況下,圖框分析裝置200可把未經處理的原始資料(如影像擷取裝置102所擷取到的圖框)、處理過程中的過渡資料(如前景物件區域資料)、處理完成後的最終資料(如是否發現小偷)經由和圖框分析裝置200相連之連接裝置260b傳送到使用者輸出輸入裝置250,以讓使用者、警衛、保全能了解受監控場所100之情況,而使用者、警衛、保全亦可利用使用者輸出輸入裝置250傳送操作指令到圖框分析裝置200或是影像擷取裝置102。 After the image capturing device 102 captures the frame, the connected frame 260a connected to the image capturing device 102 can be used to transmit the captured frame to the frame analyzing device 200 to determine the monitored site 100. Whether there is a thief who is stealing, in an exemplary case, the frame analysis device 200 can take unprocessed original data (such as the frame captured by the image capturing device 102) and transition data during processing ( For example, the foreground object area data, the final data after the processing is completed (such as whether a thief is found) is transmitted to the user output input device 250 via the connection device 260b connected to the frame analysis device 200, so that the user, the guard, and the security can understand In the case of the monitored site 100, the user, guard, and security can also use the user output input device 250 to transmit an operation command to the frame analysis device 200 or the image capture device 102.

圖框分析裝置200可以是電腦相關資訊裝置,包括但不局限於桌上型電腦、筆記型電腦、掌上型電腦、行動電話、可攜式裝置,亦可以是一晶片相關產品,例如是CPU、GPU、DSP、FPGA、客制化晶片(asic)。圖框分析裝置200包含前景物件區域與背景物件區域產生裝置202、入侵區域產生裝置204、凌亂區域產生裝置206、判別裝置208,更可選擇性地包含活動量排除區域產生裝置2022、參考背景圖框產生裝置2024、前景物件區域前處理裝置2042、前景物件區域後處理裝置2044、權重參數產生裝置2062、示警裝置2082、匯流排裝置210、輸出輸入裝置212a~212b、電源裝置214,惟必須強調的是上述的配置命名方式僅係方便說明本實施例,實際利用情況並不以此為限,該發明所屬技術領域中具有通常知識者可輕易地把其中一個裝置分解為多個裝置,亦可以把多個裝置組成一個裝置,亦可以配置多個具有相同功能的裝置,讓前述裝置可以平行運作,亦可使用如 管道(pipeline)、執行緒(thread)一類的方式來實現上述一個或多個裝置之功能時,上述修改方式皆在本說明書之保護範圍之內。 The frame analysis device 200 may be a computer related information device, including but not limited to a desktop computer, a notebook computer, a palmtop computer, a mobile phone, a portable device, or a chip related product, such as a CPU. GPU, DSP, FPGA, custom chip (asic). The frame analysis device 200 includes a foreground object region and background object region generating device 202, an intrusion region generating device 204, a messy region generating device 206, and a discriminating device 208, and optionally includes an activity amount exclusion region generating device 2022 and a reference background image. The frame generating device 2024, the foreground object region pre-processing device 2042, the foreground object region post-processing device 2044, the weight parameter generating device 2062, the warning device 2082, the bus bar device 210, the output input devices 212a-212b, and the power supply device 214, but must be emphasized The above configuration naming manner is only for convenience of description of the embodiment, and the actual use is not limited thereto. Those having ordinary knowledge in the technical field of the invention can easily decompose one device into multiple devices, or By arranging a plurality of devices into one device, it is also possible to configure a plurality of devices having the same function, so that the devices can be operated in parallel or can be used as When the functions of one or more of the above devices are implemented in the manner of a pipeline or a thread, the above modifications are within the scope of the present specification.

前景物件區域與背景物件區域產生裝置202可經由輸出輸入裝置212a接收影像感測裝置102所擷取到的一個或多個圖框(以下簡稱圖框),並運行一物件偵測(object detection)、前後景分離之演算法,以從受監控場所100的一個或多個圖框中偵測出前景物件區域和背景物件區域。其中前景物件區域係泛指圖框中具活動量(motion)之區域,背景物件區域係指圖框中扣除該前景物件區域外的其它區域,當圖框中無任何前景物件區域,則背景物件區會等同於整個圖框。前述物件偵測、前後景分離之演算法可例如利用至少二張時間序列上相鄰的圖框相減後的差值圖框,當差值圖框上之特定像素(pixel)之絕對誤差值大於一定臨界值即代表上述特定像素是前景物件區域,反之則視為是背景物件區域,其中上述臨界值在一實施例中可以0。 The foreground object area and the background object area generating device 202 can receive one or more frames (hereinafter referred to as frames) captured by the image sensing device 102 via the output input device 212a, and run an object detection. An algorithm for separating the foreground and the foreground to detect the foreground object region and the background object region from one or more frames of the monitored site 100. The foreground object area generally refers to the area with motion in the frame, and the background object area refers to the area other than the foreground object area in the frame. When there is no foreground object area in the frame, the background object The zone is equivalent to the entire frame. The algorithm for object detection and front and back scene separation may use, for example, a difference frame of at least two adjacent frames in a time series, and an absolute error value of a specific pixel (pixel) on the difference frame. If the value is greater than a certain threshold, it means that the specific pixel is the foreground object area, and vice versa, it is regarded as the background object area, wherein the above threshold value can be 0 in one embodiment.

在此強調,前段所提及之前後景分離之演算法僅是一計算量較小的習知技術,該發明所屬技術領域中具有通常知識者可以使用任何具物件偵測或前背景分離之演算法來完成前景物件區域與背景物件區域產生裝置202,而不以前段所提及之技術而限,例如該演算法可以係邊緣偵測技術、顏色偵測法,可以是視訊壓縮領域中常見的運動估算(motion estimation)技術,亦可以是光流(optical flow)法。 It is emphasized here that the algorithm for the front view separation mentioned in the previous paragraph is only a conventional technique with a small amount of calculation, and those having ordinary knowledge in the technical field of the invention can use any calculation with object detection or pre-background separation. The method for completing the foreground object area and the background object area generating device 202 is not limited by the techniques mentioned in the previous paragraph. For example, the algorithm may be edge detection technology, color detection method, and may be common in the field of video compression. The motion estimation technique can also be an optical flow method.

在一較佳實施例中,前景物件區域係指具活動量之區域,該活動量係特別指因入侵者之人體、器具(如推車、頭燈)所產生活動量,而不包含受監控場所100內物體本身、自然現象所產生的活動量,故在一較佳實 施例中,活動量排除區域產生裝置2022可選擇性地與前景物件區域與背景物件區域產生裝置202相連,使用者可利用使用者輸出輸入裝置250來設定受監控場所100或是圖框中需排除的場所空間或是區域,該排除的場所空間或是區域可以例如是二十四小時運作的時鐘、可看到戶外交通的窗戶、受到日光照射到的地板。除此之外,活動量排除區域產生裝置2022亦可以主動或半主動方式來設定受監控場所100或是圖框中需排除的空間、區域、物件,例如可使用一模板比對(template match)法來排除一可定時啟動的自走式掃地器。 In a preferred embodiment, the foreground object area refers to an area of activity, which refers specifically to the amount of activity generated by the intruder's human body, appliances (such as carts, headlights), and does not include monitored The amount of activity generated by the object itself and the natural phenomenon in the site 100 is therefore a better In the embodiment, the activity amount exclusion area generating device 2022 can be selectively connected to the foreground object area and the background object area generating device 202, and the user can use the user output input device 250 to set the monitored place 100 or the frame. Excluded space or area, the excluded space or area may be, for example, a clock that operates twenty-four hours, a window that can see outdoor traffic, and a floor that is exposed to sunlight. In addition, the activity amount exclusion area generating device 2022 can also set the space, area, and object to be excluded in the monitored place 100 or the frame in an active or semi-active manner, for example, a template match can be used. The method is to exclude a self-propelled sweeper that can be started periodically.

在一較佳實施例中,參考背景圖框產生裝置2024可選擇性地與前景物件區域與背景物件區域產生裝置202相連,參考背景圖框產生裝置2024內部包含如dram、flash、硬碟一類的記憶儲存裝置(未繪製)以儲存參考背景圖框,該參考背景圖框可能是由前景物件區域與背景物件區域產生裝置202所提供的不含任何前景物件區域的圖框,亦可能是使用者利用使用者輸出輸入裝置250從眾多不含任何前景的圖框所挑選出之特定圖框,亦可能是使用者經由使用者輸出輸入裝置250所輸入的參考圖資,該參考圖資可能係由不同於影像擷取裝置102的其它影像擷取裝置所擷取,且非限定是以圖框格式來表示受監控場所100無小偷時的情況。 In a preferred embodiment, the reference background frame generating device 2024 is selectively connectable to the foreground object region and the background object region generating device 202. The reference background frame generating device 2024 includes a dram, a flash, a hard disk, and the like. A memory storage device (not drawn) to store a reference background frame, which may be a frame provided by the foreground object area and background object area generating device 202 without any foreground object area, or may be a user The specific frame selected by the user output input device 250 from a plurality of frames without any foreground may also be the reference image input by the user via the user output input device 250, and the reference image may be It is different from other image capturing devices of the image capturing device 102, and is not limited to a case where the monitored site 100 is free of thieves in a frame format.

在一較佳實施例中,參考背景圖框產生裝置2024內所儲存的圖框數或是圖資數可以大於1筆,例如可以儲存不同時刻點或光照量時的參考圖框,當攝影機具有PTZ功能時,則更可儲存不同左右轉動、上下傾斜與縮放特性的參考背景圖框。 In a preferred embodiment, the number of frames or the number of maps stored in the reference background frame generating device 2024 may be greater than one pen, for example, a reference frame may be stored when different time points or illumination amounts are stored, when the camera has When the PTZ function is used, the reference background frame with different left and right rotation, up and down tilt and zoom characteristics can be stored.

需再度強調的是前景物件區域與背景物件區域產生裝置202 可包含其它的功能,例如可運行如去雜訊、強化一類的前處理運算,亦可以運行如高斯混合模型(Gaussian mixture model,GMM)一類的背景修正運算,而不以說明書中所提及的功能、運算或演算法為限。 What needs to be emphasized again is the foreground object area and background object area generating device 202. Other functions may be included, such as pre-processing operations such as de-noising, enhancement, or background correction operations such as Gaussian mixture model (GMM), not as mentioned in the specification. Function, operation or algorithm is limited.

入侵區域產生裝置204可和前景物件區域與背景物件區域產生裝置202相連以取得(get)及/或接收(receive)在一個或多個圖框之前景物件區域資訊,在一較佳情況下,前述前景物件區域資訊是取自一時間區間內的多個圖框,之後再針對不同圖框中的前景物件區域進行聯集(union)運算,以產生入侵區域,其中上述時間區間並不以時分秒為限,亦可以採用圖框框數,且此時間區間的結束計時點可以是前景物件消失的時點或是較前景物件消失時點略為延後的時點,此時間區間的開始計時點可以是前景物件出現的時點或是較前景物件出現時點略為提前的時點,且可容許前景物件多次進出圖框區域。 The intrusion region generating device 204 can be coupled to the foreground object region and the background object region generating device 202 to obtain and/or receive information about the object region in front of the one or more frames. In a preferred case, The foreground object area information is taken from a plurality of frames in a time interval, and then a union operation is performed on the foreground object regions in different frames to generate an intrusion area, wherein the time interval is not timely The number of frames can be used, and the end of the time interval can be the time when the foreground object disappears or the time when the foreground object disappears slightly. The starting time of this time interval can be the foreground. The point at which the object appears or a slightly earlier point when the foreground object appears, and allows the foreground object to enter and exit the frame area multiple times.

請參考圖2a所示之前景聯集運算示意圖,圖框300a內包含一例示性前景物件區域(object region)310a,且不繪製任何背景物件,前述前景物件區域310a在人類認知及/或語意上是一人體之簡化圖,且在繪製時僅繪製前景物件區域(即入侵者之人體)的較重要邊緣、輪廓,而忽略衣著、顏色、陰影等變化,此人體包含一頭部312a、一頸部314a、一軀幹部316a、一腳腿部318a,又因為圖2a係假設人體的側面正對影像擷取裝置102,故在軀幹部316a內部另具有一臂手部317a,類似地,圖框300b內包含一例示性前景物件區域310b,其包含一頭部312b、一頸部314b、一軀幹部316b、一腳腿部318b、一臂手部317b。 Please refer to the schematic diagram of the front view set operation shown in FIG. 2a. The frame 300a includes an exemplary foreground object region 310a, and no foreground object is drawn. The foreground object region 310a is human cognitive and/or semantic. It is a simplified diagram of a human body, and only draws the more important edges and contours of the foreground object area (ie, the human body of the intruder) while drawing, ignoring changes in clothing, color, shadow, etc., the human body includes a head 312a, a neck The portion 314a, the trunk portion 316a, and the leg portion 318a, and because FIG. 2a assumes that the side of the human body faces the image capturing device 102, there is another arm portion 317a inside the trunk portion 316a, similarly, the frame 300b includes an exemplary foreground object region 310b including a head portion 312b, a neck portion 314b, a torso portion 316b, a leg portion 318b, and an arm portion 317b.

掫取圖框300a之時間點略晚於圖框300b之時間點,在一較佳 情況下此一延誤時間為一張圖框的取樣間隔,亦即前景物件區域310a和前景物件區域310b實際上並不會出現在同一張圖框中,惟為了便於說明,特別把前景物件區域310a、310b繪於同張圖框300中,此外,前景物件區域310a~310b間僅產生位移運動,前景物件區域310a和前景物件區域310b實際上皆具有相同的邊緣、輪廓,只因前景物件區域310a~310b會同時佔用圖框中部分像素(即前景物件區域310a~310b會部分重疊),故前景物件區域310b只繪出部分的邊緣、輪廓,在此補充說明。 The time point of the frame 300a is slightly later than the time point of the frame 300b. In this case, the delay time is the sampling interval of one frame, that is, the foreground object area 310a and the foreground object area 310b do not actually appear in the same frame, but for convenience of explanation, the foreground object area 310a is especially 310b is drawn in the same frame 300. In addition, only the displacement motion occurs between the foreground object regions 310a-310b, and the foreground object region 310a and the foreground object region 310b actually have the same edge and contour, only because the foreground object region 310a ~310b will occupy part of the pixels in the frame at the same time (ie, the foreground object areas 310a-310b will partially overlap), so the foreground object area 310b only draws part of the edges and contours, which is supplemented here.

在一實施例中,入侵區域產生裝置204的時間區間設為2圖框,則如圖2b所示,先把一前景物件區域310a繪製於一空白、無背景物件區域圖框300上,再把另一前景物件區域310b繪製於同一圖框上,且覆蓋部分原先已在圖框的前景物件區域,故圖2b之右上左下斜線區域即是前景物件區域310a~310b進行聯集運算後的聯集區域,並將此聯集區域設定為一入侵區域320,代表前景物件(即入侵者)曾在此區域中活動,需要進一步地分析,以確定該前景物件是要進行行竊的小偷,或是正常使用者、無害的第三者,但圖框分析裝置200在一實施例中不會去區分正常使用者或是無害的第三者,以節省需事先登錄正常使用者之工作量。惟需特別強調,圖框分析裝置200亦可和利用事先登錄之正常使用者資料(例如人臉)之影像識別裝置協同工作,例如即使圖框分析裝置200判定目前入侵者正在行竊中,仍會因前景物件的身份是合法使用者,而不發出示警訊息,或是雖發出示警訊息而可充許合法使用者利用專屬的密碼進行解除,皆係技術上可行之態樣。 In an embodiment, the time interval of the intrusion area generating device 204 is set to 2, and as shown in FIG. 2b, a foreground object area 310a is first drawn on a blank, no background object area frame 300, and then The other foreground object area 310b is drawn on the same frame and covers the foreground object area which is already in the frame. Therefore, the right upper left lower oblique line area of FIG. 2b is the union of the foreground object areas 310a-310b after the joint operation. The area, and the set area is set as an intrusion area 320, indicating that the foreground object (ie, the intruder) has been active in the area, and further analysis is needed to determine whether the foreground object is a thief to be stolen, or normal. The user, the harmless third party, but in the embodiment, the frame analysis device 200 does not distinguish between a normal user or a harmless third party, so as to save the workload required to log in to the normal user in advance. However, it is particularly emphasized that the frame analysis device 200 can also work in conjunction with an image recognition device that uses a normal user profile (eg, a face) that is previously registered, for example, even if the frame analysis device 200 determines that the current intruder is stealing, It is technically feasible that the identity object is a legitimate user, does not issue a warning message, or allows a legitimate user to use a unique password to issue a warning message.

參考圖2a,在部分情況下,頭部312a、頸部314a、軀幹部316a、腳腿部318a等人體各部分是彼此相連的,然在部分情況下,人體各部 分並不總是能被完整偵測而有殘缺現像,例如無法偵測到圖2a圖框300a內的頸部314a,故在一較佳實施例中,圖框分析裝置200可選擇性包含有前景物件區域前處理裝置2042,其和該入侵區域產生裝置204相連,並可運行一個或多個演算法,用以施加一前處理至單張圖框的各個前景物件區域以融合或分裂該前景區間。在本例中,前景物件區域前處理裝置2042可以運行一個或多個演算法,用以產生原本不存在且可連接頭部312a和軀幹部316a的虛前景物件區域,該虛前景物件區域的位置可以恰好和頸部314a的位置相同,當然亦可不相同而存在誤差。在一較佳實施例中,前述一個或多個演算法可以是連通元件(connected component)、分水嶺法(watershed),用以把較小的前景物件區域組合成一個較大前景物件區域,並移除和入侵者無關而應屬於背景物件的區域,但不以此為限。 Referring to FIG. 2a, in some cases, the human body parts such as the head portion 312a, the neck portion 314a, the trunk portion 316a, and the leg portion 318a are connected to each other, but in some cases, the human body parts are partially connected. The segment is not always fully detectable and has a defective image. For example, the neck 314a in the frame 300a of FIG. 2a cannot be detected. In a preferred embodiment, the frame analysis device 200 can optionally include a foreground object area pre-processing device 2042 coupled to the intrusion area generating device 204 and operable to execute one or more algorithms for applying a pre-processed to each foreground object region of a single frame to fuse or split the foreground Interval. In this example, foreground object region pre-processing device 2042 can execute one or more algorithms for generating a virtual foreground object region that would otherwise be absent and connectable to head portion 312a and torso portion 316a, the location of the virtual foreground object region It may be exactly the same as the position of the neck 314a, and of course may be different and there is an error. In a preferred embodiment, the one or more algorithms may be a connected component or a watershed to combine smaller foreground object regions into a larger foreground object region and move Except for the invaders, they should belong to the area of the background object, but not limited to this.

請參考圖2b,在某些情況下,例如影像擷取裝置102的圖框擷取頻率不足時,圖框分析裝置200即使已選擇性啟用致能前景物件區域前處理裝置2042,仍可能會產生如圖2b之左上右下斜線之空洞區域330,其代表前景物件(即入侵者之人體)曾在此區域中活動卻不被視為是聯集區域。在一較佳實施例中可選擇性包含前景物件區域後處理裝置2044並和該入侵區域產生裝置204相連,以調整、填充該空洞區域,使得經後處理的入侵區域是由區域320和區域330所組成。該後處理係可以係依據空洞區域鄰近的入侵區域的寬度、厚度是否大於一定值及/或空洞區域的面積小於一定值來判斷,若是則可把此空洞區域視訊是入侵區域的一部分,但不以此為限,例如該後處理亦可以取自型態學(morphology),特別是取自型態學的膨脹(dilation)與收縮(erosion)運算。 Referring to FIG. 2b, in some cases, for example, when the frame capturing frequency of the image capturing device 102 is insufficient, the frame analyzing device 200 may generate even if the enabling foreground object region pre-processing device 2042 is selectively enabled. A hollow area 330, as shown in the upper left and lower right oblique lines of Fig. 2b, represents that the foreground object (i.e., the human body of the intruder) has been active in this area but is not considered to be a joint area. In a preferred embodiment, the foreground object region post-processing device 2044 can be selectively included and coupled to the intrusion region generating device 204 to adjust and fill the void region such that the post-processed intrusion region is comprised by region 320 and region 330. Composed of. The post-processing system may be determined according to whether the width of the intrusion area adjacent to the cavity area is greater than a certain value and/or the area of the hole area is less than a certain value, and if so, the video of the cavity area may be part of the intrusion area, but not To this end, for example, the post-processing can also be taken from a morphology, in particular from the dilation and erosion operations of the morphology.

請參考圖2c,在一較佳實施例中,前景物件區域並不是以人體310a或是人體各部分312a~318a的邊緣來表示,而可以使用如矩形、橢圓形一類之簡單幾合圖形外框來包圍人體310a,並讓此外框恰好包圍人體310a。在一較佳實施例中,此外框可略為向外擴張,用以形成一入侵者用手、器材(如棍子)所能碰觸的區域,或是形成一物品可能被拋擲的範圍,此向外擴張幅度可以是一百分比,也可以是代表人類手臂的長度或是物品可能被拋擲的範圍,但不以此為限,且各方向的擴張情況可不同。 Referring to FIG. 2c, in a preferred embodiment, the foreground object area is not represented by the human body 310a or the edges of the human body parts 312a-318a, and a simple graphic frame such as a rectangle or an ellipse may be used. To surround the human body 310a, and let the outer frame just surround the human body 310a. In a preferred embodiment, the frame may be slightly expanded outwardly to form an area that an intruder can touch by hand, equipment (such as a stick), or to form a range in which an item may be tossed. The extent of external expansion can be a percentage, or it can represent the length of a human arm or the extent to which an item can be thrown, but not limited thereto, and the expansion in each direction can be different.

請參考圖3a之一圖框400,因圖框400此時尚未受到小偷入侵行竊而可視為是一背景參考圖框,其例示的受監控場所100為使用者臥室之一角,桌子420緊靠牆面410a~410b和地板410c,床鋪430緊靠牆面410b和地板410c,牆面410b上另掛附一幅畫作440,用以遮掩安裝於牆面410b的保險箱442,桌子420的容置空間內具有多個如抽屜般的槽狀物422、422a(以下簡稱422),上述槽狀物422可以推拉方式啟閉,並在桌面上可擺放一些物品424,床鋪430內亦具有一容置空間432且轉軸(未繪製)設於右側,使用者可以順時針方向掀開床板而取用放置在容置空間432的物品。 Please refer to the frame 400 of FIG. 3a. Since the frame 400 has not been hacked by the thief at this time, it can be regarded as a background reference frame, and the illustrated monitored place 100 is a corner of the user's bedroom, and the table 420 is close to the wall. The faces 410a-410b and the floor 410c, the bed 430 abuts against the wall surface 410b and the floor 410c, and a picture 440 is attached to the wall surface 410b to cover the safe 442 installed in the wall surface 410b, and the space of the table 420 is accommodated. There are a plurality of drawers 422, 422a (hereinafter referred to as 422), and the above-mentioned grooves 422 can be opened and closed in a push-pull manner, and some items 424 can be placed on the table, and the bed 430 also has a receiving space. 432 and the rotating shaft (not drawn) is disposed on the right side, and the user can open the bed board clockwise to take the articles placed in the accommodating space 432.

由於行竊時間越長小偷被剛好返回的使用者發現的機率越高,在一些情況下小偷會直接取走他所最容易發覺的物品,例如桌子420上的物品424,並會試圖查看受監控場所100中所有容置空間內的物品,但因時間因素,小偷往往會如圖3d所示維持容置空間開啟的狀態,甚至把原本收納於容置空間的物品雜亂地散控放受監控場所100各處。 The longer the burglary is, the higher the chance that the thief will be discovered by the user who just returned. In some cases, the thief will directly take away the item he is most likely to detect, such as item 424 on table 420, and will attempt to view the monitored location 100. All the items in the space, but due to the time factor, the thief will maintain the open space of the accommodating space as shown in Figure 3d, and even the items originally stored in the accommodating space will be randomly controlled and placed in the monitoring place. At the office.

請參考圖1,圖框分析裝置200內的凌亂區域產生裝罝206可入侵區域產生裝置204和前景物件區域與背景物件區域產生裝置202相連, 在一較佳情況下可以參考背景圖框產生裝置2024相連,以分別取得(get)及/或接收(receive)入侵區域和參考背景圖框,並從該入侵區域中確認出背景已發生變化的區域,以產生代表小偷入侵所導致的凌亂區域。 Referring to FIG. 1, the messy area generating device 206 in the frame analyzing device 200 is connected to the invisible area generating device 204 and the foreground object area and the background object area generating device 202. In a preferred case, the background frame generating means 2024 can be connected to obtain and/or receive the intrusion area and the reference background frame respectively, and confirm that the background has changed from the intrusion area. The area to create a messy area that is caused by the invasion of the thief.

請參考圖3a~3d,假設小偷440是以先左再右再回到左的順序來進行偷竊,圖3b顯示一圖框,其例示一小偷(前景物件)已偷竊完桌子420並正準備偷竊床鋪430,而槽狀物422皆已被開啟,因在本實施例中是用矩形外框來標明小偷的物置,故區域452即代表小偷所行經的入侵區域,在一實施例中,入侵區域並不包含小偷目前所在的區域450,亦即(較精確)入侵區域僅是淺色波浪之區域452’,另外,深色之區域454是區域452’和參考背景圖框之差異處,其代表因小偷行竊導致原有物品產生凌亂現象的凌亂區域,其中如何由二張圖框中找尋它們的相異處係該發明技術領域的習知技術,故不在此詳述,另外,區域452恰好和區域452’、450之聯集重疊,圖中僅為清楚說明而分開繪制,一併說明。 Referring to Figures 3a to 3d, assume that the thief 440 is stealing in the order of left first and then right again. Figure 3b shows a frame illustrating that a thief (foreground object) has stolen the table 420 and is preparing to steal. The bed 430, and the slot 422 have been opened, because in this embodiment, the rectangular frame is used to indicate the object of the thief, so the area 452 represents the intrusion area where the thief travels. In an embodiment, the intrusion area It does not include the area 450 where the thief is currently located, that is, the (more precise) intrusion area is only the area 452' of the light-colored wave, and the dark area 454 is the difference between the area 452' and the reference background frame, which represents A messy area in which the original items are messy due to theft of the thief. How to find the difference between the two frames is a conventional technique in the technical field of the invention, and therefore will not be described in detail herein. In addition, the area 452 is just The unions of the regions 452', 450 overlap, and are drawn separately for clarity of illustration, and are illustrated together.

圖3c顯示一圖框,其例示一小偷亦已完偷竊完床鋪430,槽狀物422和床鋪430皆已被開啟,此時區域452即代表小偷所行經的入侵區域,在一實施例中,入侵區部並不包含小偷目前所在的前景物件區域450,亦即入侵區域僅是區域452’,此外,區域454中是區域452’和參考背景圖框之差異處,亦即是凌亂區域。 Figure 3c shows a frame illustrating that a thief has also stolen the bed 430, the slot 422 and the bed 430 have been opened, and the area 452 represents the intruding area through which the thief travels, in one embodiment, The invading area does not include the foreground object area 450 where the thief is currently located, that is, the intruding area is only the area 452'. In addition, the area 454 is the difference between the area 452' and the reference background frame, that is, the messy area.

判別裝置208可和入侵區域產生裝置204、該凌亂區域產生裝罝206相連,判別裝置208可依據凌亂區域產生裝置206所分析出的凌亂區域特性,較佳實施例中可配合由入侵區域產生裝置204所分析出的入侵區域特性一起分析,判定受監控場所100是否已遭到偷入侵,若是則產生示警訊 息,此示警訊息可能使圖框分析裝置200內建或外接的示警裝置2082發出如燈光、聲響一類的警告效果,亦可和保全系統連動,此外,示警訊息亦可以經由輸出輸入裝置212b、連接裝置260b而被傳送及/或被接收到使用者輸出輸入裝置250,由在使用者輸出輸入裝置250附近的使用者、警衛、保全進行確認,以排除假警報。 The discriminating device 208 can be connected to the intrusion region generating device 204 and the messy region generating device 206, and the discriminating device 208 can be configured according to the clutter region characterized by the messy region generating device 206. The characteristics of the intrusion area analyzed by 204 are analyzed together to determine whether the monitored site 100 has been stolen, and if so, a warning is generated. The warning message may cause the warning device 2082 built in or external to the frame analysis device 200 to emit a warning effect such as a light or a sound, and may also be linked with the security system. In addition, the alarm message may also be connected via the output input device 212b. The device 260b is transmitted and/or received by the user output input device 250, and is confirmed by the user, guard, and security near the user output input device 250 to eliminate false alarms.

前述凌亂區域特性、入侵區域特性可以是面積的大小,而判別裝置208判別是否發出示警訊息的法則可以由下列條件選擇、組合而成,但不以止為限:凌亂區域之面積要大於一定值、入侵區域之面積要大於一定值、凌亂區域之面積除以入侵區域之面積的比值大於一定值。 The above-mentioned messy area characteristic and the intrusion area characteristic may be the size of the area, and the rule that the discriminating device 208 discriminates whether to issue the warning message may be selected or combined by the following conditions, but not limited thereto: the area of the messy area is larger than a certain value. The area of the intruding area is greater than a certain value, and the area of the messy area divided by the area of the intruding area is greater than a certain value.

在一較佳的實施例中,權重參數產生裝置2062可選擇性和凌亂區域產生裝置206相連,讓使用者可以針對不同的背景物件區域設定不同的權重,例如圖3a中桌子420之區域的權重為3,床鋪430之區域的權重為2,牆面410a~410b(不含畫作440)、地板410c之區域的權重為1或0,甚至若若擺設物具有可動部分,可把該可動部分在不同位置設定不同的權重,使得判別裝置208可依據加權後的資料進行判別,加權運算係該發明技術領域的習知技術,故不在此詳述,權重數值則可依使用者經驗或是實驗結果而決定,不受上述實施例列舉數值所局限。 In a preferred embodiment, the weight parameter generating means 2062 can be selectively coupled to the messy area generating means 206 to allow the user to set different weights for different background object areas, such as the weight of the area of the table 420 in FIG. 3a. 3, the weight of the area of the bed 430 is 2, the wall 410a~410b (excluding the drawing 440), the area of the floor 410c has a weight of 1 or 0, and even if the display has a movable part, the movable part can be Different weights are set in different positions, so that the discriminating device 208 can perform discriminating according to the weighted data. The weighting operation is a conventional technique in the technical field of the invention, and therefore will not be described in detail herein. The weight value can be based on user experience or experimental results. The decision is not limited by the numerical values listed in the above embodiments.

在一較佳的實施例中,為增加影像擷取裝置102之視野所使用的廣角鏡頭、超廣角鏡頭、魚眼鏡頭...等光學設備會引發圖框畫面的失真,在一些影像處理裝置上可先用校正板獲得光學設備的形變情況,即光學設備的調制轉換函數(Modulation Transfer Function,MTF),再產生一反形變函數或矩陣來修正此形變情況。故可由權重參數產生裝置2062內的演算 法完成權重計算,上述演算法可以是一可修正光學形變的演算法則,例如是調制轉換函數的反矩陣,但不以此為限。 In a preferred embodiment, optical devices such as wide-angle lenses, super wide-angle lenses, and fisheye lenses used to increase the field of view of the image capturing device 102 may cause distortion of the frame image, and may be used on some image processing devices. First, use the calibration plate to obtain the deformation of the optical device, that is, the modulation transfer function (MTF) of the optical device, and then generate an inverse deformation function or matrix to correct the deformation. Therefore, the calculation in the weight parameter generating means 2062 can be performed. The method performs the weight calculation, and the above algorithm may be an algorithm for correcting the optical deformation, for example, the inverse matrix of the modulation conversion function, but not limited thereto.

在另一較佳實施例中,上述演算法可根據入侵區域產生裝置204之入侵區域特性自動調整權重參數,例如入侵區域的上半部權重會大於下半部的權重,在一更進階的實施例中,入侵區域中小偷手部所能涵蓋的區域之權重會大於手部區域不能涵蓋的區域,而手部區域之資訊則可以由前景物件區域與背景物件區域產生裝置202內的演算法提供。 In another preferred embodiment, the algorithm may automatically adjust the weight parameter according to the intrusion region characteristic of the intrusion region generating device 204. For example, the weight of the upper half of the intrusion region may be greater than the weight of the lower half, in a more advanced manner. In an embodiment, the area of the intruder area that the thief hand can cover may be greater than the area that the hand area cannot cover, and the information of the hand area may be generated by the foreground object area and the background object area generating device 202. provide.

參考圖1,雖然圖框分析裝置200具有二輸出輸入裝置212a~212b,用以分別和連接裝置260a、260b相連,讓輸出輸入裝置212a專門透過連接裝置260a和影像擷取裝置102相連並交換資訊,並讓輸出輸入裝置212b與其它設備的交換資訊,特別是透過連接裝置260b以和使用者輸出輸入裝置250交換資訊,然而上述區分僅是解說方便,實際並不以此為限,例如該發明所屬技術領域中具有通常知識者可輕易地將輸出輸入裝置212a~212b合併成為一個輸出輸入裝置212(未繪制)。 Referring to FIG. 1, the frame analysis device 200 has two output input devices 212a-212b for respectively connecting with the connection devices 260a, 260b, and the output input device 212a is connected to the image capture device 102 through the connection device 260a and exchanges information. And letting the output input device 212b exchange information with other devices, in particular, through the connection device 260b to exchange information with the user output input device 250. However, the above distinction is only convenient for explanation, and is not limited thereto, for example, the invention Those of ordinary skill in the art can readily combine the output input devices 212a-212b into one output input device 212 (not shown).

圖框分析裝置200中裝置202~208是以專用的連接管道進行資訊的傳送,然並不以止為限,例如圖框分析裝置200中亦可具有裝置間共用的匯流排裝置210,讓裝置202~208可透過匯流排裝置210進行資訊交換,當然圖框分析裝置200中亦可同時具備共用和專屬的資訊交換用連接管道,而不會產生衝突。 In the frame analysis device 200, the devices 202 to 208 transmit information by using a dedicated connection pipe. However, the frame analysis device 200 may also have a bus bar device 210 shared between the devices. 202 to 208 can exchange information through the bus bar device 210. Of course, the frame analysis device 200 can also have a shared and exclusive information exchange connection pipe without conflict.

圖框分析裝置200中可具備電源裝置214,上述電源裝置214可以包含交流電連接裝置、直流電連接裝置、可充電式電池、不可充電式電池、光電轉換裝置、無線充電裝置之一者或多者之組合,例如當交流電 中斷無法供電時,則由可充電式電池池供電,而此可充電式電池則可利用交流電或光電轉換裝置來充電。 The frame analysis device 200 may include a power supply device 214, and the power supply device 214 may include one or more of an AC connection device, a DC connection device, a rechargeable battery, a non-rechargeable battery, a photoelectric conversion device, and a wireless charging device. Combination, for example when alternating current When the interruption is unable to supply power, it is powered by a rechargeable battery cell, and the rechargeable battery can be charged by an alternating current or photoelectric conversion device.

圖框分析裝置200中可具備資料儲存裝置216,以儲存其它裝置運算時所需的暫時性、中繼性資料,或是各種使用者日後利用使用者輸出輸入裝置250所要查看看的資料。此外,圖框分析裝置200中可具備資料處理裝置218,不屬於裝置202~208之功能可交由資料處理裝置218來運行,例如操作模式的判別,使得外部電源正常供電時,圖框分析裝置200以第一操作模式來運行,當外部電源無法供電時,圖框分析裝置200以第二操作模式來運行,以求降低電力的消耗量。 The frame analysis device 200 may be provided with a data storage device 216 for storing temporary and relayed data required for calculation by other devices, or for various users to view the data to be viewed by the user output input device 250 in the future. In addition, the data analysis device 218 may be provided in the frame analysis device 200, and the functions not belonging to the devices 202 to 208 may be performed by the data processing device 218, for example, the operation mode is determined, so that when the external power source is normally powered, the frame analysis device The 200 operates in the first mode of operation, and when the external power source is unable to supply power, the frame analysis device 200 operates in the second mode of operation to reduce the amount of power consumed.

請參考圖1,使用者輸出輸入裝置250可向使用者顯示圖框分析裝置200之未經處理的原始資料(如影像擷取裝置102所擷取到的圖框)、處理過程中的過渡資料(如前景物件區域資料)、處理完成後的最終資料(如是否發現小偷),亦可利用輸入裝置傳送操作指令到圖框分析裝置200及/或影像擷取裝置102,以設定圖框分析裝置200的參數或是PTZ攝影機的左右轉動、上下傾斜與縮放特性。 Referring to FIG. 1, the user output input device 250 can display the unprocessed original data of the frame analysis device 200 (such as the frame captured by the image capturing device 102) and the transition data during processing. (such as foreground object area data), final data after processing (such as whether a thief is found), or an input device may be used to transmit an operation command to the frame analysis device 200 and/or the image capturing device 102 to set the frame analysis device. The parameters of 200 are either the left and right rotation, the up and down tilt and zoom characteristics of the PTZ camera.

連接裝置260a~260b係用來連接圖框分析裝置200與影像擷取裝置102、使用者輸出輸入裝置250,連接的方式可以有線或無線方式進行,有線的方式包含但不局限於乙太網路、電力線網路...等方式,無線的方式則包含但不局限於藍牙、wifi、行動通訊網路,且傳輸方式包含一對一之單點模式、一對多之多點模式、及時(real-time)、非及時(non real time)等模式。連接裝置260a~260b除了具備資料傳送的功能外,在一實施例中,連接裝置260a~260b亦具有資料暫存及/或儲存上述被傳送資料的功能。在另一 實施例中,連接裝置260a~260b實體上並不存在,連接裝置260a~260b的功能可被轉移到影像擷取裝置102、圖框分析裝置200、使用者輸出輸入裝置250上,使得影像擷取裝置102、圖框分析裝置200、使用者輸出輸入裝置250可直接連接。 The connection devices 260a-260b are used to connect the frame analysis device 200 with the image capturing device 102 and the user output input device 250. The connection may be performed by wire or wirelessly. The wired mode includes but is not limited to Ethernet. , power line network, etc., the wireless way includes but not limited to Bluetooth, wifi, mobile communication network, and the transmission mode includes one-to-one single-point mode, one-to-many multi-point mode, timely (real -time), non real time and other modes. In addition to the data transfer function, the connection devices 260a-260b also have a function of temporarily storing data and/or storing the transmitted data in an embodiment. In another In the embodiment, the connecting devices 260a-260b are not physically present, and the functions of the connecting devices 260a-260b can be transferred to the image capturing device 102, the frame analyzing device 200, and the user output input device 250, so that the image capturing is performed. The device 102, the frame analysis device 200, and the user output input device 250 can be directly connected.

圖4之例示一圖框分析裝置200和影像擷取裝置102結合後之外觀,其和一般的火災煙霧警報器並無明顯差異,可把將影像擷取裝置102裝設在LED工作狀態指示燈及/或試測鍵42上,圖框分析裝置200則安裝於火災警報器內部之基板上,並可以無線傳輸方式和使用者輸出輸入裝置250進行連接、資訊交換,除外,圖框分析裝置200亦可和火災警報器之擴音器44相連以發出示警訊息,而不用再額外建立專屬的擴音器。 FIG. 4 illustrates an appearance of a combination of the frame analysis device 200 and the image capture device 102, which is not significantly different from a general fire smoke alarm. The image capture device 102 can be installed in the LED working state indicator. And/or the test button 42, the frame analysis device 200 is mounted on the substrate inside the fire alarm, and can be connected and exchanged with the user output input device 250 by wireless transmission, except for the frame analysis device 200. It can also be connected to the loudspeaker 44 of the fire alarm to provide an alarm message without the need to additionally create a dedicated loudspeaker.

圖5是圖框分析裝置200所運行的第一小偷行竊偵測流程500,依序執行下列步驟:前景物件區域與背景物件區域產生步驟S502,從一受監控場所的一或多個圖框中偵測出前景物件區域和背景物件區域。 FIG. 5 is a first thief-scratch detection process 500 executed by the frame analysis device 200, and sequentially performs the following steps: foreground object area and background object area generation step S502, from one or more frames of a monitored place The foreground object area and the background object area are detected.

入侵區域產生步驟S504,取得在一時間區間內該一個或多個圖框之該前景物件區域之聯集,以產生入侵區域。 The intrusion region generation step S504 obtains a union of the foreground object regions of the one or more frames in a time interval to generate an intrusion region.

凌亂區域產生步驟S506,從該入侵區域中確認出背景已發生變化的區域以產生凌亂區域。 The messy area generates a step S506 from which an area where the background has changed is confirmed to generate a messy area.

判別步驟S508,若入侵區域、凌亂區域具有特定條件則發出示警訊息,上述特定條件可以由下列條件選擇、組合而成,但不以止為限:凌亂區域之面積要大於一定值、入侵區域之面積要大於一定值、凌亂區域之面積除以入侵區域之面積的比值大於一定值;其中一較佳情況是凌 亂區域之面積除以入侵區域之面積的比值大於一定值,一最佳情況是凌亂區域之面積要大於一定值,且入侵區域之面積要大於一定值,且凌亂區域之面積除以入侵區域之面積的比值大於一定值。 In step S508, if the intrusion area and the messy area have specific conditions, a warning message is sent, and the specific condition may be selected and combined by the following conditions, but not limited to the limit: the area of the messy area is greater than a certain value, and the intrusion area is The area is larger than a certain value, and the area of the messy area divided by the area of the invaded area is greater than a certain value; one of the preferred cases is Ling The ratio of the area of the chaotic area divided by the area of the intruding area is greater than a certain value. The best case is that the area of the messy area is larger than a certain value, and the area of the intruded area is larger than a certain value, and the area of the messy area is divided by the invading area. The ratio of the area is greater than a certain value.

[第二實施例] [Second embodiment]

圖6a例示的受監控場所100為使用者臥室之一角,圖框600是由一預設條件和圖3中相同的影像擷取裝置102所擷取,臥室內之擺設大部分和圖3a例示的臥室相同,差異處在於圖框400中擺設畫作440之位置已被一面面對馬路的窗戶640所取代,故圖6a中相同的擺設均沿用圖3a之元件編號而不另外說明;圖6a和圖3a另一個差異在於桌子420的槽狀物422a內放置現金、黃金、珠寶等小體積又易攜帶之貴重物,使用者利用權重參數產生裝置2062將槽狀物422a設定為最高權重,以發揮早期警報、保護重要區域之功效。 The monitored site 100 illustrated in Figure 6a is the corner of the user's bedroom. The frame 600 is captured by a predetermined condition and the same image capturing device 102 of Figure 3, and most of the furnishings in the bedroom are illustrated in Figure 3a. The bedroom is the same, the difference is that the position of the painting 440 in the frame 400 has been replaced by the window 640 facing the road, so the same arrangement in Fig. 6a follows the component number of Fig. 3a without further explanation; Fig. 6a and Fig. Another difference of 3a is that a small volume and easy-to-carry valuables such as cash, gold, jewelry, etc. are placed in the groove 422a of the table 420, and the user uses the weight parameter generating means 2062 to set the groove 422a to the highest weight to play an early stage. Alerts and protects the effectiveness of important areas.

在一實施例中,前景物件區域與背景物件區域產生裝置202僅使用相鄰訊框間的運動向運來識別前景,並設定出現前景物件區域的圖框之前一圖框為參考背景圖框,並將其儲存在參考背景圖框產生裝置2024中,因活動量排除區域產生裝置2022並未被致能啟用,故由臥室外之馬路經過之行人會出現於窗戶640中而被識別為前景物件區域650,如圖6b~6c所示,由於行人僅是由馬路上經過而入侵到臥室中,更未移動臥室內之擺設,因此其所產生的入侵區域如圖6c之區域652所示,凌亂區域區域則為0,故判別裝置208不會將前景物件區域650視為是小偷,而只視為是使用者或是無害第三者。 In an embodiment, the foreground object area and the background object area generating means 202 recognize the foreground by using only the motion between adjacent frames, and set a frame in which the foreground object area appears before the frame is the reference background frame. And stored in the reference background frame generating device 2024, since the activity amount exclusion region generating device 2022 is not enabled, the pedestrian passing by the road outside the bedroom will appear in the window 640 and be recognized as the foreground object. The area 650, as shown in Figures 6b to 6c, is infiltrated into the bedroom only by passing by the road, and the inside of the bedroom is not moved. Therefore, the intrusion area generated by the pedestrian is as shown in the area 652 of Fig. 6c. The area area is zero, so the discriminating device 208 does not treat the foreground object area 650 as a thief, but only as a user or a harmless third party.

圖6d則例示在另一情況,此時有二位小偷打算侵入臥室來行 竊,且已有一人已成功侵入到臥室中,然因二位小偷彼此相距不遠,前景物件區域與背景物件區域產生裝置202可能將其視為是同一前景,但因二小偷入侵後的肢體動作或是移動方向並未完全相同,如圖6e所示,其中一位往左另一位往右,故前景物件區域前處理裝置2042可將其分割為二個前景物件區域650-1、650-2,其中二位小侵所造成之入侵區域和凌亂區域則分別以區域652、654表示,由於入侵區域面積已達一定值及/或凌亂區域面積已達一定值及/或凌亂區域面積除以入侵區域面積之比值已達一定值,判別裝置208會將前景物件區域650-1、650-2視為是小偷。 Figure 6d illustrates another situation where two thieves intend to invade the bedroom. Stealing, and one person has successfully invaded into the bedroom, but because the two thieves are not far from each other, the foreground object area and the background object area generating device 202 may regard it as the same foreground, but because of the two thieves' invading limbs The motion or moving direction is not exactly the same. As shown in FIG. 6e, one of the left and the other to the left, the foreground object area pre-processing device 2042 can divide it into two foreground object areas 650-1, 650. -2, the intrusion area and the messy area caused by the two small invasions are represented by areas 652 and 654 respectively, because the area of the intruded area has reached a certain value and/or the area of the messy area has reached a certain value and/or the area of the messy area is divided. The ratio of the area of the invaded area has reached a certain value, and the discriminating device 208 regards the foreground object areas 650-1, 650-2 as thieves.

圖6f例示和圖6e近似的情況,不同之處在於為了降低計算量而致能啟用活動量排除區域產生裝置2022,故窗戶已被設定為排除的入侵區域,以產生較小範圍的入侵區域。 Fig. 6f illustrates a case similar to Fig. 6e, except that the activity amount exclusion area generating means 2022 is enabled to reduce the amount of calculation, so that the window has been set as the excluded intrusion area to produce a smaller range of intrusion areas.

圖6g例示和圖6f近似的情況,不同之處在於房間內各項擺設的位置已事先完全3d建模工作,並將3d模型映射到圖框中的各項背景物件上,小偷在開啟桌子420的槽狀物422a的當下,影像擷取裝置102因視覺遮蔽無法擷取到槽狀物422a被開啟的圖框。在一實施例中,使用者可於臥室中不同位置裝置第二影像擷取裝置102b,以確認槽狀物422a是否曾被開啟過,若是曾被開啟,則可把圖框6h之槽狀物422a標記為凌亂區域,因此即使小偷在離開前關閉之前開啟的槽狀物422a,槽狀物422a區域仍可被標記凌亂區域。在另一實施例中,亦可使用附著於桌子或槽狀物422a上的啟閉偵測裝置、或是房間中其它偵測裝例如紅外線感測器來提供背景物件區域改變的資訊,並不一定需加裝影像擷取裝置102b。 Fig. 6g illustrates the case similar to Fig. 6f, except that the positions of the various furnishings in the room have been completely modeled in advance, and the 3d model is mapped to the background objects in the frame, and the thief opens the table 420. At the moment of the groove 422a, the image capturing device 102 cannot capture the frame in which the groove 422a is opened due to visual obscuration. In an embodiment, the user can install the second image capturing device 102b at different positions in the bedroom to confirm whether the groove 422a has been opened. If it has been opened, the groove of the frame 6h can be 422a is marked as a messy area, so even if the thief closes the previously opened slot 422a before leaving, the slot 422a area can still be marked with a messy area. In another embodiment, the opening and closing detecting device attached to the table or the groove 422a, or other detecting devices such as an infrared sensor in the room may be used to provide information on the change of the background object region, and It is necessary to add the image capturing device 102b.

圖7是圖框分析裝置200所運行的第二小偷行竊偵測流程 700,其基本流程和第一小偷行竊偵測流程500近似,差異處在於可依需求啟用圖分析裝置200中的部分可選擇裝裝置,執行下列步驟:參考背景圖框產生步驟S7022,產生給凌亂區域產生裝置206分析所使用的參考背景圖框,在一實施例中,此參考背景圖框亦可提供給前景物件區域與背景物件區域產生步驟S702使用,以偵測出前景物件區域。 7 is a second thief stealing detection process run by the frame analyzing device 200. 700, the basic process is similar to the first thief-theft detection process 500, the difference is that the part of the optional device in the image analysis device 200 can be enabled according to requirements, and the following steps are performed: refer to the background frame generation step S7022, and generate the mess The region generating device 206 analyzes the reference background frame used. In an embodiment, the reference background frame may also be provided to the foreground object region and background object region generating step S702 to detect the foreground object region.

活動量排除區域產生步驟S7024,產生不在判別步驟708中進行分析之區域,在一實施例中,可選擇性地在上述活動量排除區域不運行步驟S7026~S706。 The activity amount exclusion area generation step S7024 generates an area that is not analyzed in the determination step 708. In an embodiment, the steps S7026 to S706 may be selectively not performed in the activity amount exclusion area.

權重參數產生步驟S7026,針對不同的影像區域產生不同的權重參數,讓判別步驟S708可進行加權運算。 The weight parameter generating step S7026 generates different weighting parameters for different image regions, and the determining step S708 can perform a weighting operation.

前景物件區域與背景物件區域產生步驟S702,從一受監控場景的一或多個圖框中偵測出前景物件區域和背景物件區域。 The foreground object area and the background object area generating step S702 detect the foreground object area and the background object area from one or more frames of a monitored scene.

前景物件區域前處理步驟S7042,對前景物件區域與背景物件區域產生步驟S702所偵測出之前景物件區域進行分割與合併之運算,以形成語意上之前景物件區域。 The foreground object area pre-processing step S7042 performs an operation of dividing and merging the foreground object area detected by the foreground object area and the background object area generating step S702 to form a semantically preceding object area.

入侵區域產生步驟S704,取得在一時間區間內該一個或多個圖框之前景物件區域之聯集,以產生入侵區域。 The intrusion area generation step S704 acquires a union of the one or more frames of the foreground object area in a time interval to generate an intrusion area.

前景物件區域後處理步驟S7044,針對前景物件區域之聯集內存在的空洞進行填補空洞之動作。 The foreground object area post-processing step S7044 performs an action of filling the holes for the void existing in the union of the foreground object areas.

凌亂區域產生步驟S706,從該入侵區域中確認出背景已發生變化的區域以產生凌亂區域。 The messy area generates step S706 from which an area where the background has changed is confirmed to generate a messy area.

判別步驟S708,若入侵區域、凌亂區域具有特定條件則發出示警訊息,上述特定條件可以由下列條件選擇、組合而成,但不以止為限:凌亂區域之面積要大於一定值、入侵區域之面積要大於一定值、(凌亂區域之面積/入侵區域之面積)之比值大於一定值;其中一較佳情況是凌亂區域之面積除以入侵區域之面積的比值大於一定值,一最佳情況是凌亂區域之面積要大於一定值,且入侵區域之面積要大於一定值,且凌亂區域之面積除以入侵區域之面積的比值大於一定值。 In step S708, if the intrusion area and the messy area have specific conditions, a warning message is sent, and the specific condition may be selected and combined by the following conditions, but not limited to the limit: the area of the messy area is greater than a certain value, and the intrusion area is The ratio is larger than a certain value, and the ratio of the area of the messy area/area of the invaded area is greater than a certain value; one of the better cases is that the ratio of the area of the messy area divided by the area of the invaded area is greater than a certain value, and the best case is The area of the messy area is larger than a certain value, and the area of the invaded area is larger than a certain value, and the ratio of the area of the messy area divided by the area of the invaded area is greater than a certain value.

在圖7所例示的第二小偷行竊偵測流程700中,參考背景圖框產生步驟S7022、活動量排除區域產生步驟S7024、權重參數產生步驟S7026可在圖框分析裝置200被購買或是第一次被安裝使用時,由使用者利用使用者輸出輸入裝置250進行設定,然並不以此為限,例如參考背景圖框產生步驟S7022可和前景物件區域與背景物件區域產生步驟S702結合,而可在步驟S702之後或之前運行,活動量排除區域產生步驟S7024可和前景物件區域與背景物件區域產生步驟S702結合,而可在步驟S702之後或之前運行,權重參數產生步驟S7024和判別步驟S708結合,而可在步驟S708之前運行,且參考背景圖框產生步驟S7022、活動量排除區域產生步驟S7024、權重參數產生步驟S7026等步驟都可由演算法自動決定,而不必由使用者輸入。 In the second thief-stolen detection process 700 illustrated in FIG. 7, the reference background frame generation step S7022, the activity amount exclusion region generation step S7024, and the weight parameter generation step S7026 can be purchased or first at the frame analysis device 200. When the user is installed and used, the user uses the user output input device 250 to set, but not limited thereto. For example, the reference background frame generating step S7022 can be combined with the foreground object region and the background object region generating step S702. The operation amount exclusion area generating step S7024 may be combined with the foreground object area and background object area generating step S702, but may be performed after or before step S702, and the weight parameter generating step S7024 and the discriminating step S708 may be combined. The operation may be performed before the step S708, and the steps of the reference background frame generating step S7022, the activity amount exclusion region generating step S7024, the weight parameter generating step S7026, and the like may be automatically determined by the algorithm without being input by the user.

[第三實施例] [Third embodiment]

為了省電,影像擷取裝置102和圖框分析裝置200每秒所擷取和分析的圖框數是可變動的,例如係0.5fps、1fps、2fps、5fps、15fps、29.97fps、30fps、60fps,而且影像擷取裝置102所擷取的圖框數和圖框分析裝置200每秒所分析的圖框數是相等及/或不相等的,例如,圖框分析裝置200可省略不 處理部分圖框,使得圖框分析裝置200每秒分析圖框數低於影像擷取裝置102所擷取的圖框數,以省略額外控制影像擷取裝置102每秒擷取圖框數的控制電路或裝置。 In order to save power, the number of frames captured and analyzed by the image capturing device 102 and the frame analyzing device 200 per second is variable, for example, 0.5 fps, 1 fps, 2 fps, 5 fps, 15 fps, 29.97 fps, 30 fps, 60 fps. The number of frames captured by the image capturing device 102 and the number of frames analyzed by the frame analyzing device 200 per second are equal and/or unequal. For example, the frame analyzing device 200 may omit The partial frame is processed, so that the frame analysis device 200 analyzes the number of frames per second lower than the number of frames captured by the image capturing device 102, so as to omit the control of the number of frames captured by the image capturing device 102 per second. Circuit or device.

在一實施例中,圖框分析裝置200每秒所分析圖框數可隨警戒級別而有不同的變動,例如綠色級別可以是1fps,黃色級別可以是5fps,紅色級別是30fps,而且圖框分析裝置200可接收由其它圖框分析裝置200或是其它入侵偵測裝置的訊息,而自動改變警戒級別。以圖8為例,圖中25個圖框分析裝置200分別被安裝於不同的受監控場所,且原本均設定為綠色級別,但正中央位置的圖框分析裝置200-r因為發現小偷在行竊而使警戒級別升高為紅色級別,並送出訊號讓和圖框分析裝置200-r相鄰的八個圖框分析裝置200-y升高為黃色級別,而位於更外圍且和圖框分析裝置200-y相鄰的16個圖框分析裝置200-g則維持綠色級別。 In an embodiment, the number of frames analyzed per second by the frame analysis device 200 may vary according to the alert level, for example, the green level may be 1 fps, the yellow level may be 5 fps, the red level is 30 fps, and the frame analysis may be performed. The device 200 can receive messages from other frame analysis devices 200 or other intrusion detection devices, and automatically change the alert level. Taking FIG. 8 as an example, the 25 frame analysis devices 200 in the figure are respectively installed in different monitored places, and are originally set to the green level, but the frame analysis device 200-r in the center position is found to be stealing the thief. And raising the alert level to the red level, and sending the signal to raise the eight frame analysis devices 200-y adjacent to the frame analysis device 200-r to a yellow level, and at a more peripheral and frame analysis device The adjacent 16 frame analysis devices 200-g of 200-y maintain the green level.

在圖8之實施例中雖以距離或是相鄰與否等條件設定警戒級別,惟不以此為限,例如可依照圖框分析裝置200所位於的受監控場所100是否有相連通的通道進行設定,此外警戒級別亦不以三級為限,而可以是四級或是五級,而且,在預定情況下,個別圖框分析裝置200所設定之警戒級別亦可不同,例如有窗戶、門等外人容易進入的受監控場所100可設定為較高級別,其它受監控場所100則設定較低級別。 In the embodiment of FIG. 8, although the alert level is set according to the distance or the adjacent or the like, it is not limited thereto. For example, whether the monitored site 100 where the device 200 is located may be connected according to the frame. The setting is also set, and the alert level is not limited to three levels, but may be four or five levels, and the alert level set by the individual frame analysis device 200 may be different under predetermined conditions, such as having a window, The monitored site 100, which is easy for outsiders to enter, can be set to a higher level, and the other monitored sites 100 are set to a lower level.

由於使用者對於家中之擺設較小偷清楚,使用者尋找物品時並不會產生較大範圍的凌亂區域,相對之下,具有時間壓力的小偷則由於不清楚物品的擺放情況,較易產生較大範圍的凌亂區域,利用此行為上的不同,圖框分析裝置200不需事先登錄合法使用者即能正常使用,達成一簡 單、易用的裝置。 Since the user is less clear about the furnishings in the home, the user does not have a large range of messy areas when searching for the items. In contrast, the thief with time pressure is more likely to produce because of the unclear placement of the items. A wide range of messy areas, using this behavior difference, the frame analysis device 200 can be used normally without having to log in to a legitimate user in advance, achieving a simple Single, easy to use device.

上述說明書所揭露之內容,僅是為使該發明所屬技術領域中具有通常知識者能具以實施申請專利範圍之技術,惟實際之實施並不以此為限。 The above description is only for the purpose of enabling those skilled in the art to implement the technology of the patent application, but the actual implementation is not limited thereto.

100‧‧‧受監控場所 100‧‧‧Monitored places

102a、102b‧‧‧影像擷取裝置 102a, 102b‧‧‧ image capture device

104a、104b、104c‧‧‧場所空間 104a, 104b, 104c‧‧‧ space

106a~106c‧‧‧區域 106a~106c‧‧‧Area

108a~108d‧‧‧牆面 108a~108d‧‧‧ wall

200,200-r,200-y,200-g‧‧‧圖框分析裝置 200,200-r, 200-y, 200-g‧‧‧ frame analysis device

202‧‧‧前景物件區域與背景物件區域產生裝置 202‧‧‧ Prospect object area and background object area generating device

2022‧‧‧活動量排除區域產生裝置 2022‧‧‧ Activity-excluding area generating device

2024‧‧‧參考背景圖框產生裝置 2024‧‧‧Reference background frame generation device

204‧‧‧入侵區域產生裝置 204‧‧‧Invasion area generating device

2042‧‧‧前景物件區域前處理裝置 2042‧‧‧ Prospect object area pre-processing device

2044‧‧‧前景物件區域後處理裝置 2044‧‧‧Prospective object area post-processing device

206‧‧‧凌亂區域產生裝置 206‧‧‧ messy area generating device

2062‧‧‧權重參數產生裝置 2062‧‧‧weight parameter generating device

208‧‧‧判別裝置 208‧‧‧ discriminating device

2082‧‧‧示警裝置 2082‧‧‧ warning device

210‧‧‧匯流排裝置 210‧‧‧ Busbar device

212a~212b‧‧‧輸出輸入裝置 212a~212b‧‧‧Output input device

214‧‧‧電源裝置 214‧‧‧Power supply unit

216‧‧‧資料儲存裝置 216‧‧‧ data storage device

218‧‧‧資料處理裝置 218‧‧‧ data processing device

250‧‧‧使用者輸出輸入裝置 250‧‧‧User output input device

260a、260b‧‧‧連接裝置 260a, 260b‧‧‧ connection device

300、300a、300b‧‧‧圖框 300, 300a, 300b‧‧‧ frame

310a、310b‧‧‧前景物件區域(人體) 310a, 310b‧‧‧ foreground object area (human body)

312a~318a、312b~318b‧‧‧前景物件區域(人體各部) 312a~318a, 312b~318b‧‧‧ Prospect object area (human body parts)

320‧‧‧前景物件區域之聯集區域 320‧‧‧Joint area of foreground object area

330‧‧‧前景物件區域之聯集區域的空洞區域 330‧‧‧The void area of the joint area of the foreground object area

400‧‧‧圖框 400‧‧‧ frame

410a~410c‧‧‧牆面、地板 410a~410c‧‧‧Wall, floor

420~442‧‧‧傢俱擺設 420~442‧‧‧ Furniture

450‧‧‧前景物件區域(小偷) 450‧‧‧ Prospect object area (thief)

452‧‧‧入侵區域(含前景物件區域) 452‧‧‧Invasion area (with foreground object area)

452’‧‧‧入侵區域(不含前景物件區域) 452’‧‧‧Invasion area (excluding foreground object areas)

454‧‧‧凌亂區域 454‧‧ ‧ messy area

40‧‧‧整合式影像擷取裝置與圖框分析裝置 40‧‧‧Integrated image capture device and frame analysis device

44‧‧‧擴音器 44‧‧‧Amplifier

42‧‧‧指示燈及/或試測鍵 42‧‧‧ indicator light and / or test button

500‧‧‧第一小偷行竊偵測流程 500‧‧‧First thief stealing detection process

S502~S508‧‧‧步驟 S502~S508‧‧‧Steps

600‧‧‧圖框 600‧‧‧ frame

640‧‧‧窗戶 640‧‧‧ windows

650,650-1,650-2‧‧‧前景物件區域 650,650-1,650-2‧‧‧ foreground object area

652‧‧‧入侵區域(含前景物件區域) 652‧‧‧Invasion area (with foreground object area)

654‧‧‧凌亂區域 654‧‧ ‧ messy area

700‧‧‧第二小偷行竊偵測流程 700‧‧‧Second thief stealing detection process

S702~S708,S7022~S7026,S7042~S7044‧‧‧步驟 S702~S708, S7022~S7026, S7042~S7044‧‧‧ steps

S502~S508‧‧‧步驟 S502~S508‧‧‧Steps

Claims (5)

一種圖框分析裝置,包含:一前景物件區域與背景物件區域產生裝置,用以從一場景的一或多個圖框中偵測出前景物件區域和背景物件區域;一入侵區域產生裝置,和該前景物件區域與背景物件區域產生裝置相連,用以取得在一時間區間內該一個或多個圖框之該前景物件區域之聯集,以產生入侵區域;一凌亂區域產生裝罝,和該前景物件區域與背景物件區域產生裝置和該入侵區域產生裝置相連,用以從該入侵區域中確認出背景已發生變化的區域,以產生凌亂區域;一判別裝置,和該入侵區域產生裝置和該凌亂區域產生裝罝相連,當該凌亂區域的面積滿足一定條件後發出示警訊息。 A frame analysis device includes: a foreground object area and a background object area generating device for detecting a foreground object area and a background object area from one or more frames of a scene; an intrusion area generating device, and The foreground object area is coupled to the background object area generating device for acquiring a combination of the foreground object areas of the one or more frames in a time interval to generate an intrusion area; a messy area generating a decoration, and the a foreground object area is connected to the background object area generating device and the intrusion area generating device for confirming an area where the background has changed from the intruding area to generate a messy area; a discriminating device, and the intruding area generating device and the The messy area is connected and installed, and a warning message is issued when the area of the messy area meets certain conditions. 一種如請求項1所述之圖框分析裝置,更包含:一權重參數產生裝置,和該判別裝置相連,用以設定複數個權重參數到該圖框中不同區域,該複數個權重參數可對應到複數個權重值,該複數個權重值彼此間並不相等。 A frame analysis device according to claim 1, further comprising: a weight parameter generating device, connected to the determining device, configured to set a plurality of weight parameters to different regions in the frame, the plurality of weight parameters may correspond to To a plurality of weight values, the plurality of weight values are not equal to each other. 一種如請求項1所述之圖框分析裝置,其中該前景物件區域係指具活動量之區域,該活動量係因入侵者之人體、器具而產生;該背景物件區域係指該場景中扣除該前景物件區域外的其它區域。 A frame analysis device according to claim 1, wherein the foreground object area refers to an area having an activity amount, which is generated by an intruder's human body and an appliance; the background object area is deducted from the scene. Other areas outside the foreground object area. 一種如請求項1所述之圖框分析裝置,更包含一活動量排除區域產生裝置,和該前景物件區域與背景物件區域產生 裝置或判別裝置相連,用以排除該場景中特定空間、區域、物件所產生的活動量而形成活動量排除區域。 A frame analysis device according to claim 1, further comprising an activity amount exclusion region generating device, and the foreground object region and the background object region are generated The device or the discriminating device is connected to exclude an activity amount generated by a specific space, region, and object in the scene to form an activity amount exclusion region. 一種如請求項1所述之圖框分析裝置,其中該場景的一或多個圖框係指來自同一空間中一台或多台影像擷取裝置所擷取到的圖框;其中當影像擷取裝置數量大於1時,該多台影像擷取裝置所擷取到的圖框可具有可讓一影像接合(stitch)裝置正常運作或是提供同一背景物件之不同視角的圖框資料之特性。 A frame analysis device according to claim 1, wherein one or more frames of the scene refer to frames captured by one or more image capturing devices in the same space; When the number of devices is greater than 1, the frame captured by the plurality of image capturing devices may have the characteristics of frame data that allows an image stitching device to operate normally or provide different viewing angles of the same background object.
TW106120688A 2016-06-23 2017-06-17 Image device and method for detecting a thief TWI713368B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
??CN201610464123.X 2016-06-23
CN201610464123.XA CN107547826A (en) 2016-06-23 2016-06-23 Picture frame analytical equipment
CNCN201610464123.X 2016-06-23

Publications (2)

Publication Number Publication Date
TW201801520A true TW201801520A (en) 2018-01-01
TWI713368B TWI713368B (en) 2020-12-11

Family

ID=60959682

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106120688A TWI713368B (en) 2016-06-23 2017-06-17 Image device and method for detecting a thief

Country Status (2)

Country Link
CN (1) CN107547826A (en)
TW (1) TWI713368B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11132559B2 (en) 2018-08-01 2021-09-28 Advanced New Technologies Co., Ltd. Abnormality detection method, apparatus, and device for unmanned checkout

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111435248B (en) * 2018-12-26 2024-01-23 珠海一微半导体股份有限公司 Dormitory building sanitation assessment method, system and chip based on sweeping robot
CN111416916B (en) * 2019-01-04 2022-07-26 瑞昱半导体股份有限公司 Object position judging circuit
CN114089433B (en) * 2020-08-05 2024-02-09 恒景科技股份有限公司 Presence detection system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104483712A (en) * 2014-12-09 2015-04-01 北京国网富达科技发展有限责任公司 Method, device and system for detecting invasion of foreign objects in power transmission line
CN105184818B (en) * 2015-09-06 2018-05-18 山东华宇航天空间技术有限公司 A kind of video monitoring anomaly detection method and its detecting system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11132559B2 (en) 2018-08-01 2021-09-28 Advanced New Technologies Co., Ltd. Abnormality detection method, apparatus, and device for unmanned checkout

Also Published As

Publication number Publication date
TWI713368B (en) 2020-12-11
CN107547826A (en) 2018-01-05

Similar Documents

Publication Publication Date Title
US11120559B2 (en) Computer vision based monitoring system and method
TWI753023B (en) Computer-implemented method for detecting a person in publicly accessible location, method for controlling loitering in unsecured location, and physical security system
US10460582B2 (en) Presence detection and uses thereof
US11132881B2 (en) Electronic devices capable of communicating over multiple networks
US20200286347A1 (en) Virtual enhancement of security monitoring
US8908034B2 (en) Surveillance systems and methods to monitor, recognize, track objects and unusual activities in real time within user defined boundaries in an area
US11087610B2 (en) Presence detection and uses thereof
TWI713368B (en) Image device and method for detecting a thief
TWI507661B (en) Image surveillance system and method thereof
JP2006259828A (en) Monitoring system, device and method, recording medium and program
US11341825B1 (en) Implementing deterrent protocols in response to detected security events
US10922547B1 (en) Leveraging audio/video recording and communication devices during an emergency situation
CN104980653A (en) System and method of camera parameter updates in video surveillance systems
US10713928B1 (en) Arming security systems based on communications among a network of security systems
US20210244352A1 (en) Home occupant detection and monitoring system
EP3398029B1 (en) Intelligent smart room control system
US20210241597A1 (en) Smart surveillance system for swimming pools
US10834363B1 (en) Multi-channel sensing system with embedded processing
WO2019113332A1 (en) Home occupant detection and monitoring system
WO2018201121A1 (en) Computer vision based monitoring system and method
US11918330B2 (en) Home occupant detection and monitoring system
WO2023280273A1 (en) Control method and system
US20240071191A1 (en) Monitoring systems
CN115718445A (en) Intelligent Internet of things management system suitable for museum
Visariya et al. Third eye-office automation using image processing