TWI407386B - Method of tracking images automatically - Google Patents
Method of tracking images automatically Download PDFInfo
- Publication number
- TWI407386B TWI407386B TW99127724A TW99127724A TWI407386B TW I407386 B TWI407386 B TW I407386B TW 99127724 A TW99127724 A TW 99127724A TW 99127724 A TW99127724 A TW 99127724A TW I407386 B TWI407386 B TW I407386B
- Authority
- TW
- Taiwan
- Prior art keywords
- image
- camera
- data
- zoom camera
- tracking
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000012544 monitoring process Methods 0.000 claims description 40
- 238000004458 analytical method Methods 0.000 claims description 33
- 238000001514 detection method Methods 0.000 claims description 14
- 238000012546 transfer Methods 0.000 claims description 2
- 238000004091 panning Methods 0.000 abstract 1
- 230000008569 process Effects 0.000 description 13
- 238000012545 processing Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 3
- 101000969688 Homo sapiens Macrophage-expressed gene 1 protein Proteins 0.000 description 2
- 102100021285 Macrophage-expressed gene 1 protein Human genes 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 241001465754 Metazoa Species 0.000 description 1
- 241000237502 Ostreidae Species 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000010191 image analysis Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 235000020636 oyster Nutrition 0.000 description 1
Landscapes
- Closed-Circuit Television Systems (AREA)
- Alarm Systems (AREA)
- Studio Devices (AREA)
Abstract
Description
本發明係關於一種影像監控方法,特別係指一種同步(零時差)的影像自動追蹤之監控方法。The invention relates to an image monitoring method, in particular to a synchronous (zero time difference) image automatic tracking monitoring method.
隨著科技的發展,傳統的保全人員搭配一般固定式攝影機的監控方式已無法滿足人們對於安全監控的需求,由於影像處理技術的快速發展、以及硬體價格的下降,可搭配影像處理技術的影像監視裝置已逐漸被廣泛使用,促使原本技術封閉的安全監控領域,朝向高科技的趨勢邁進。With the development of technology, the traditional security personnel with the monitoring mode of the general fixed camera can not meet the needs of people for security monitoring. Due to the rapid development of image processing technology and the decline of hardware price, it can be matched with the image processing technology. Surveillance devices have been gradually used, leading to the trend of high-tech security in the field of security monitoring that was originally closed by technology.
一般而言,攝影機可略區分為固定式攝影機及旋轉變焦式(Pan/Tilt/Zoom,PTZ)攝影機兩種,其中旋轉變焦式攝影機具有旋轉功能及變焦功能,包含快速球(speed dome)攝影機,而固定式攝影機僅能觀察固定場景的固定大小,無法旋轉及變焦。In general, the camera can be divided into a fixed camera and a rotary zoom (Pan/Tilt/Zoom, PTZ) camera. The rotary zoom camera has a rotation function and a zoom function, and includes a speed dome camera. A fixed camera can only observe the fixed size of a fixed scene, and cannot rotate and zoom.
固定式攝影機可監視其所在場所內所有可疑的人、事、及物。然而,由於不具有旋轉或變焦功能,故,即使已監視到其所在之場所內有一入侵者,此固定式攝影機仍然極有可能因入侵者之影像係位於固定式攝影機無法監視之角落或陰影處、或因入侵者距離此固定式攝影機過遠而於固定影像中呈現過小之影像,而無法提供固定式攝影機之使用者有效的資訊。A stationary camera monitors all suspicious people, things, and things in their location. However, since there is no rotation or zoom function, even if an intruder is detected in the location where it is located, the fixed camera is still highly likely because the image of the intruder is in a corner or shadow that the fixed camera cannot monitor. Or, because the intruder is too far away from the fixed camera to present a small image in the fixed image, and cannot provide effective information for the user of the fixed camera.
旋轉變焦式攝影機可有效地克服固定式攝影機所面對之上述問題。在發現其所監視之場所中出現一入侵者後,旋轉變焦式攝影機可利用旋轉功能將其所產生之旋轉變焦影像中入侵者的影像先移動至上述旋轉變焦影像之中央、並接著運用變焦功能放大入侵者之影像,如此一來,旋轉變焦攝影機之使用者便可清楚地看見入侵者之臉孔。The rotary zoom camera can effectively overcome the above problems faced by fixed cameras. After an intruder is found in the location it is monitoring, the rotary zoom camera can use the rotation function to move the image of the intruder in the rotated zoom image generated by it to the center of the above-mentioned rotated zoom image, and then use the zoom function. Zoom in on the image of the intruder so that the user of the rotating zoom camera can clearly see the intruder's face.
在目前監控市場上旋轉變焦式攝影機已達到普遍化的趨勢,藉由攝影機的移動與改變焦距達到監控無死角的功能。智慧影像系統(Intelligent Video System,IVS)或影像分析器可用以分析影像中可疑的物件並由旋轉變焦式攝影機監控追蹤上述物件,進而達到自動監控的功效,而無須由使用者進行人工監控,但當發生突發事件而事件地點並非旋轉變焦式攝影機事先設定好的預設位置時,由於事發地點並非旋轉對焦式攝影機的預設位置,故無法即刻旋轉並對焦至事發地點,亦即此影像分析器無法立即將畫面轉向至事件發生地點,導致旋轉變焦式攝影機及影像分析器無法有效運用而造成安全監控的漏洞,本發明於是生焉。In the current surveillance market, the rotary zoom camera has reached a general trend, and the camera has been moved and changed focal length to achieve the function of monitoring no dead angle. An Intelligent Video System (IVS) or image analyzer can be used to analyze suspicious objects in an image and monitor and track the objects by a rotary zoom camera for automatic monitoring without manual monitoring by the user. When an unexpected event occurs and the location of the event is not the preset position set by the rotary zoom camera, since the location of the incident is not the preset position of the rotating focus camera, it cannot be rotated immediately and focused to the location of the incident, that is, The image analyzer cannot immediately turn the screen to the event occurrence location, which causes the rotary zoom camera and the image analyzer to be effectively used to cause a security monitoring loophole, and the present invention is oyster.
為了克服上述之缺點及困難,本發明提供一種即時的影像自動監控方法。In order to overcome the above disadvantages and difficulties, the present invention provides an instant image automatic monitoring method.
本發明之目的在於提出一種同步定位及自動追蹤的影像監控方法,係利用一固定式攝影機、一旋轉對焦式攝影機及一影像分析器建立一自動追蹤關聯資料,進而使得影像分析裝置分析偵測到一可疑物件時,旋轉對焦式攝影機可根據上述自動追蹤關聯資料立即定位並對焦至上述可疑物件之位置並持續追蹤此可疑物件,藉此達到即時(或零時差)自動監控的功效。The object of the present invention is to provide an image monitoring method for synchronous positioning and automatic tracking, which uses an fixed camera, a rotating focus camera and an image analyzer to establish an automatic tracking related data, so that the image analyzing device analyzes and detects In the case of a suspicious object, the rotary focus camera can immediately locate and focus on the position of the above suspicious object according to the above-mentioned automatic tracking related data and continuously track the suspicious object, thereby achieving the automatic (or zero time difference) automatic monitoring effect.
為達到上述目的,本發明揭露一種影像自動追蹤之監控方法,其步驟包含:以一固定式攝影機及一旋轉變焦式攝影機建立一關聯定位資料;設定一分析警報規則於一影像分析器中;藉由上述影像分析器偵測是否存在符合上述分析警報規則之物件於該固定式攝影機之畫面中;若是,則利用一關聯模組根據上述關聯定位資料控制上述旋轉變焦式攝影機對準上述物件;藉由上述關聯模組及上述影像分析器控制上述旋轉變焦式攝影機追蹤上述物件;其中,關聯定位資料包含至少二定位點資料,藉以定義旋轉變焦式攝影機的轉動(pan)、傾斜(tile)、縮放值(zoom),而影像分析器可根據分析警報規則持續偵測並擷取上述物件之位置,以利於旋轉變焦式攝影機追蹤。In order to achieve the above object, the present invention discloses a method for monitoring automatic image tracking, which comprises: establishing a related positioning data by using a fixed camera and a rotary zoom camera; setting an analysis alarm rule in an image analyzer; Detecting, by the image analyzer, whether there is an object conforming to the analysis alarm rule in the screen of the fixed camera; if yes, controlling, by the associated module, the rotating zoom camera to align the object according to the associated positioning data; Controlling, by the associated module and the image analyzer, the rotating zoom camera to track the object; wherein the associated positioning data includes at least two positioning point data, thereby defining a pan, a tile, and a zoom of the rotary zoom camera. The value (zoom), and the image analyzer can continuously detect and capture the position of the object according to the analysis alarm rule, so as to facilitate the rotation of the zoom camera.
另一方面,本發明更提供一種影像自動監控之方法,其步驟包含:以一設備管理模組建立一攝影機資料;以上述設備管理模組建立一旋轉變焦式攝影機資料;以上述設備管理模組建立一影像分析器資料;以一關聯模組建立一自動追蹤關聯資料;藉由一中央管理模組偵測一影像分析器是否有警報發生;若是,則由上述關聯模組根據上述自動追蹤關聯資料控制一旋轉變焦式攝影機以執行自動追蹤;若否,則結束此影像監控方法。此外,本影像自動監控方法更包含利用上述中央管理模組偵測上述攝影機資料之畫面是否存在被選取之物件或位置;若是,則利用上述關聯模組將一旋轉變焦式攝影機之拍攝影像轉移至上述被選取之物件或位置。In another aspect, the present invention further provides a method for automatic image monitoring, the method comprising: establishing a camera data by using a device management module; establishing a rotary zoom camera data by using the device management module; Establishing an image analyzer data; establishing an automatic tracking associated data by using an associated module; detecting whether an image analyzer has an alarm by a central management module; if so, the associated module is automatically tracking the association according to the foregoing The data controls a rotary zoom camera to perform automatic tracking; if not, the image monitoring method is ended. In addition, the automatic image monitoring method further includes: using the central management module to detect whether the image of the camera data has a selected object or position; if yes, transferring the captured image of a rotary zoom camera to the image by using the associated module; The object or location selected above.
本發明之另一優點在於上述技術特徵更可設定於複數固定式攝影機及旋轉變焦式攝影機,以達到多場景的同步自動監控功能。Another advantage of the present invention is that the above technical features can be set in a plurality of fixed cameras and rotary zoom cameras to achieve a synchronous automatic monitoring function for multiple scenes.
以上所述係用以闡明本發明之目的、達成此目的之技術手段、以及其產生的優點等等。而本發明可從以下較佳實施例之敘述並伴隨後附圖式及申請專利範圍使讀者得以清楚了解。The above is used to clarify the object of the present invention, the technical means for achieving the object, the advantages thereof, and the like. The invention will be apparent to those skilled in the art from the description of the appended claims.
本發明將以較佳實施例及觀點加以敘述,此類敘述係解釋本發明之結構及步驟,僅用以說明而非用以限制本發明之申請專利範圍。因此,除說明書中之較佳實施例以外,本發明亦可廣泛實行於其他實施例中。The present invention will be described in terms of the preferred embodiments and aspects of the invention, which are intended to be illustrative and not to limit the scope of the invention. Therefore, the present invention may be widely practiced in other embodiments in addition to the preferred embodiments described in the specification.
本發明之同步影像監控系統如第五圖所示,此影像監控系統包含:設備通訊介面501、影像擷取設備502、固定式攝影機503、旋轉變焦式攝影機504、網路攝影機505、網路旋轉變焦式攝影機506、管理系統通訊介面601、中央管理模組602、設備管理模組603、關聯模組604、影像處理模組605、警報通知模組606、系統資料庫607及影像分析器(Intelligent Video System,IVS)608。在本實施例中,固定式攝影機503及旋轉變焦式攝影機504均係連接至影像擷取設備502,藉以產生可透過網路傳輸的視訊串流,而影像擷取設備502可包含影像擷取卡(Capture Card)、網路視訊錄影機(NVR)或數位視訊錄影機(DVR)等等。而影像擷取設備502、網路攝影機505、及網路旋轉變焦式攝影機506均分別耦合至設備通訊介面501,藉以傳輸所獲得的影像或視訊至中央管理模組602,其中,中央管理模組係耦合至一管理系統通訊介面601,藉以與設備通訊介面501進行有線或無線傳輸,其中,可利用乙太網路(ethernet)、網際網路、WiFi無線網路或其他通訊網路進行無線傳輸。而設備管理模組603、關聯模組604、影像處理模組605、警報通知模組606、系統資料庫607、及影像分析器608均分別耦合至中央管理模組602,且中央管理模組602、設備管理模組603、關聯模組604、影像處理模組605、警報通知模組606均可編程於電腦之處理裝置中,如處理器、數位訊號處理器(digital signal processor,DSP)、微控制器、特殊應用積體電路(application-specific integrated circuit,ASIC)、專門應用指令集處理器(ASIP)、晶片、多晶片或晶片集、系統晶片(SoC)、多處理器系統晶片(MPSoC)、可編程邏輯控制器(PLC)、圖形處理單元(GPU)或場可程式閘陣列(field programmable gate array,FPGA)等等,而系統資料庫607係用以儲存攝影機資料及攝影機關聯資料,其可為電腦可讀取媒體,如硬碟、光碟、快閃記憶體(Flash)、隨機存取記憶體(RAM)或唯讀記憶體(ROM)等等。其中,設備管理模組603係用以管理固定式攝影機503、旋轉變焦式攝影機504、網路攝影機505及網路旋轉變焦式攝影機506,進而建立影上攝影機的資料;而關聯模組604則係用以建立攝影機關聯資料,並可於固定式攝影機503畫面之特定區域被選擇或點擊時,控制旋轉變焦式攝影機504之畫面中心立即轉移以利於拍攝被選取或點擊畫面所關連之地理位置;影像處理模組則是將中央管理模組602所獲得的視訊串流轉換為可在螢幕上播放的視訊格式,如JPEG、MJPEG、MPEG1、MPEG2、MPEG4、H.263、H.264;警報通知模組606則可在影像分析器608偵測到可疑人物、或發生事件時,發出警報以提醒使用者。As shown in the fifth figure, the image monitoring system of the present invention comprises: a device communication interface 501, an image capturing device 502, a fixed camera 503, a rotary zoom camera 504, a network camera 505, and a network rotation. Zoom camera 506, management system communication interface 601, central management module 602, device management module 603, association module 604, image processing module 605, alarm notification module 606, system database 607 and image analyzer (Intelligent Video System, IVS) 608. In this embodiment, the fixed camera 503 and the rotary zoom camera 504 are both connected to the image capturing device 502 to generate a video stream that can be transmitted through the network, and the image capturing device 502 can include an image capturing card. (Capture Card), Network Video Recorder (NVR) or Digital Video Recorder (DVR), etc. The image capturing device 502, the network camera 505, and the network rotating zoom camera 506 are respectively coupled to the device communication interface 501, so as to transmit the obtained image or video to the central management module 602, wherein the central management module It is coupled to a management system communication interface 601 for wired or wireless transmission with the device communication interface 501, wherein it can be wirelessly transmitted using an ethernet, internet, WiFi wireless network or other communication network. The device management module 603, the association module 604, the image processing module 605, the alarm notification module 606, the system database 607, and the image analyzer 608 are each coupled to the central management module 602, and the central management module 602. The device management module 603, the association module 604, the image processing module 605, and the alarm notification module 606 are all programmable in a processing device of a computer, such as a processor, a digital signal processor (DSP), and a micro Controller, application-specific integrated circuit (ASIC), application specific instruction set processor (ASIP), chip, multi-chip or wafer set, system-on-chip (SoC), multiprocessor system chip (MPSoC) a programmable logic controller (PLC), a graphics processing unit (GPU) or a field programmable gate array (FPGA), and the like, and the system database 607 is used to store camera data and camera related data. It can be a computer readable medium such as a hard disk, a compact disc, a flash memory, a random access memory (RAM), or a read only memory (ROM). The device management module 603 is configured to manage the fixed camera 503, the rotary zoom camera 504, the network camera 505, and the network rotary zoom camera 506, thereby establishing the data of the on-camera camera; and the association module 604 is For establishing camera-related data, and when a specific area of the fixed camera 503 screen is selected or clicked, the center of the screen of the rotary zoom camera 504 is controlled to be immediately transferred to facilitate the shooting of the geographical location selected or clicked on the screen; The processing module converts the video stream obtained by the central management module 602 into a video format that can be played on the screen, such as JPEG, MJPEG, MPEG1, MPEG2, MPEG4, H.263, H.264; Group 606 can alert the user when image analyzer 608 detects a suspicious person or an event occurs.
相關執行本發明即時同步影像自動監控系統之方法,其步驟簡述如下:首先,選擇一固定式攝影機及選擇一旋轉變焦式攝影機(PTZ camera);然後,利用上述固定式攝影機及上述旋轉變焦式攝影機建立一關聯定位資料,其包含至少二定位點資料,藉以定義旋轉變焦式攝影機的轉動(pan)、傾斜(tile)、縮放(zoom)值;接著,選擇一影像分析器(IVS)並設定一分析警報規則於上述影像分析器;然後,利用上述影像分析器根據上述分析警報規則偵測是否存在符合(或違反)上述分析警報規則之物件;若是,則利用上述關聯模組根據關聯定位資料控制上述旋轉變焦式攝影機對準上述物件;最後,藉由上述關聯模組及上述影像分析器控制上述旋轉變焦式攝影機追蹤上述物件。藉此,本發明所揭露之旋轉變焦式攝影機可根據關聯定位資料立即將畫面轉移至影像分析器所測得的可疑物件,並根據影像分析器的偵測結果持續追蹤上述物件,進而達到即時的影像自動監控功效。A method for performing the instant synchronization image automatic monitoring system of the present invention is as follows: first, selecting a fixed camera and selecting a PTZ camera; and then using the fixed camera and the above rotating zoom The camera establishes an associated positioning data, which includes at least two positioning point data, thereby defining a pan, tile, and zoom value of the rotary zoom camera; then, selecting an image analyzer (IVS) and setting An analysis alarm rule is performed on the image analyzer; and then using the image analyzer to detect, according to the analysis alarm rule, whether there is an object that meets (or violates) the analysis alarm rule; if yes, using the association module to locate the data according to the association Controlling the rotary zoom camera to align the object; finally, controlling the rotating zoom camera to track the object by the associated module and the image analyzer. Therefore, the rotary zoom camera disclosed in the present invention can immediately transfer the screen to the suspicious object measured by the image analyzer according to the associated positioning data, and continuously track the object according to the detection result of the image analyzer, thereby achieving instant detection. Automatic image monitoring.
請參閱第一圖所示,第一圖為本發明最佳實施例之流程圖,係揭露一種影像自動監控之方法,其步驟詳如下述:於步驟101中,啟動一影像自動監控系統,上述之影像自動監控系統包含至少一固定式攝影機及至少一旋轉變焦式攝影機(Pan/Tilt/Zoom,PTZ),其中旋轉變焦式攝影機較佳為快速球(speed dome)攝影機;然後,於步驟102中,在此系統裡,由一中央管理模組偵測是否存在一攝影機資料於系統資料庫中,上述攝影機資料係指由固定式攝影機所擷取產生的影像資料,具體而言,此攝影機資料係為一視訊串流(video streaming),其可壓縮為JPEG、MJPEG、MPEG1、MPEG2、MPEG4、H.263、H.264等格式;然而,若系統資料庫中並不存在任何攝影機資料,則進入步驟103,利用一設備管理模組建立一攝影機資料,亦即利用設備管理模組取得固定式攝影機之影像資料,並儲存於系統資料庫中;接著,若系統資料庫中已存在攝影機資料,進入步驟104中,由中央管理模組偵測是否存在至少一旋轉變焦式攝影機資料於系統資料庫中,上述旋轉變焦式攝影機資料係由旋轉變焦式攝影機所擷取產生之影像資料,具體而言,亦為一視訊串流;然而,若系統資料庫中並不存在任何旋轉變焦式攝影機資料,則進入步驟105,利用設備管理模組建立一旋轉變焦式攝影機資料,亦即利用設備管理模組取得旋轉變焦式攝影機之影像資料,並儲存於系統資料庫中;然而,若存在旋轉變焦式攝影機資料,則進入步驟106中,由中央管理模組偵測是否存在至少一影像分析器資料於系統資料庫中,具體而言,此影像分析器資料係指一種影像演算(image processing)的流程,用以分析擷取之影像,其可根據使用者之需求來設計,由於此影像演算流程並非本發明之重點所在,故於此不再詳加描述;然而,若系統資料庫中並不存在任何影像分析器資料,則進入步驟107中,利用設備管理模組建立一影像分析器資料,亦即取得一影像分析器的影像演算流程或影像演算法;然後,進入步驟108中,由中央管理模組偵測是否存在自動追蹤關聯資料於系統資料庫中,上述之自動追蹤關聯資料包含關聯定位資料及分析警報規則,其中關聯定位資料包含至少兩定位點資料,其係用以定義旋轉變焦式攝影機之拍攝影像定位至固定式攝影機中畫面各個位置所需的轉動(pan)、傾斜(tile)及縮放(zoom)值,俾使旋轉變焦式攝影機可迅速定位,進而使得旋轉變焦式攝影機之鏡頭可以擷取由影像分析器偵測得之物件(例如,但不限於人、交通工具等),至於詳細的定位方式將於本說明書另外敘明,而分析警報規則係由使用者所設定,用以決定所欲監控的對象或物件及其監控範圍;若系統資料庫中不存在任何自動追蹤關聯資料,則進入步驟109中,由關聯模組建立自動追蹤關聯資料,關於本步驟109之詳細執行流程將於本說明書中另外敘明;然後,於步驟110中,利用關聯模組執行關聯控制,上述之關聯控制係指當影像分析器偵測到一符合分析警報規則之物件時,或由使用者選取固定式攝影機的畫面中一物件或位置時,旋轉變焦式攝影機可立即反應,移動旋轉變焦式攝影機鏡頭,俾使鏡頭所擷取影像包含上述物件或位置,最佳為位於所擷取影像之中央區域,亦即畫面影像中心,並可對焦於上述物件;接著,於步驟111中,由中央管理模組偵測影像分析器是否有警報發生,亦即偵測固定攝影機之畫面中是否存在符合(或違反)分析警報規則之物件;若是,則進入步驟112中,執行自動追蹤,關於其詳細流程將於本說明書另外敘明;若否,則可進入步驟115中,由使用者決定是否結束本監控程序,或是進入步驟113中,由中央管理模組偵測固定攝影機之畫面是否被選取或點擊,更具體而言,本發明包含一使用者介面,其可顯示固定式攝影機的拍攝畫面或影像,並且於顯示幕上顯示游標以供使用者選取或點擊欲觀察之物件或位置;若被選取或點擊,則進入步驟114中,由關聯模組執行關聯控制將旋轉變焦式攝影機之畫面移至被選取或點擊之物件或位置,並可對焦於上述之物件或位置;若無被選取或點擊,則進入步驟115中,由使用者決定是否結束此監控程序;最後,若選擇結束監控程序,則於步驟116中,結束此影像監控方法。Please refer to the first figure, which is a flowchart of a preferred embodiment of the present invention, and discloses a method for automatic image monitoring, the steps of which are as follows: In step 101, an image automatic monitoring system is activated, The image automatic monitoring system comprises at least one fixed camera and at least one rotary zoom camera (Pan/Tilt/Zoom, PTZ), wherein the rotary zoom camera is preferably a speed dome camera; then, in step 102 In this system, a central management module detects whether a camera data exists in the system database, and the camera data refers to image data generated by a fixed camera. Specifically, the camera data system For video streaming, it can be compressed into JPEG, MJPEG, MPEG1, MPEG2, MPEG4, H.263, H.264, etc.; however, if there is no camera data in the system database, then enter Step 103: Establish a camera data by using a device management module, that is, obtain image data of the fixed camera by using the device management module, and store the image data in the system database. Then, if the camera data already exists in the system database, proceed to step 104, and the central management module detects whether at least one rotating zoom camera data exists in the system database, and the rotating zoom camera data is rotated. The image data generated by the zoom camera is specifically a video stream; however, if there is no rotating zoom camera data in the system database, the process proceeds to step 105, and the device management module is used to establish Rotating the zoom camera data, that is, using the device management module to obtain the image data of the rotary zoom camera, and storing it in the system database; however, if there is the rotating zoom camera data, proceeding to step 106, centrally managed The module detects whether at least one image analyzer data exists in the system database. Specifically, the image analyzer data refers to a process of image processing for analyzing the captured image, which can be based on Designed by the user's needs, since this image calculation process is not the focus of the present invention, This is not described in detail; however, if there is no image analyzer data in the system database, proceed to step 107, and use the device management module to create an image analyzer data, that is, obtain an image of the image analyzer. The calculation process or the image algorithm; then, proceeding to step 108, the central management module detects whether there is automatic tracking related data in the system database, and the automatic tracking related data includes the associated positioning data and the analysis alarm rule, wherein the association The positioning data includes at least two positioning point data, which is used to define the pan, tile and zoom values required for the shooting image of the rotary zoom camera to be positioned at various positions in the fixed camera. The rotary zoom camera can be quickly positioned, so that the lens of the rotary zoom camera can capture objects detected by the image analyzer (for example, but not limited to people, vehicles, etc.), and the detailed positioning method will be The instructions are further described, and the analysis alarm rules are set by the user to determine the object to be monitored or If the automatic tracking related data does not exist in the system database, the process proceeds to step 109, and the associated module establishes automatic tracking related data. The detailed execution process of this step 109 will be further described in this specification. Then, in step 110, the association control is performed by using the associated module, and the associated control refers to when the image analyzer detects an object that meets the analysis alarm rule, or the user selects the fixed camera. When an object or position is used, the rotary zoom camera can react immediately, moving the zoom zoom camera lens so that the image captured by the lens contains the above object or position, preferably in the central area of the captured image, that is, the screen image Center, and can focus on the above object; then, in step 111, the central management module detects whether the image analyzer has an alarm, that is, whether there is a compliance (or violation) analysis alarm rule in the screen of the fixed camera. The object; if yes, proceed to step 112 to perform automatic tracking, and the detailed process will be described in this specification In addition, if not, proceed to step 115, the user decides whether to end the monitoring program, or proceeds to step 113, and the central management module detects whether the fixed camera screen is selected or clicked, more specifically In one aspect, the present invention includes a user interface that displays a captured image or image of a stationary camera and displays a cursor on the display for the user to select or click on the object or location to be viewed; if selected or clicked, Then, in step 114, the associated module performs the associated control to move the screen of the rotary zoom camera to the selected or clicked object or position, and can focus on the object or position; if not selected or clicked, enter In step 115, the user decides whether to end the monitoring program. Finally, if the end monitoring program is selected, then in step 116, the image monitoring method ends.
請參閱第二圖,本圖詳細描述步驟109中建立自動追蹤關聯資料的方法,其大致可分為建立關聯定位資料(步驟201-209)及設定分析警報規則(步驟210-215)兩部分。其中,關聯定位資料之建立步驟詳如下述:於步驟201中,選取一固定式攝影機;然後,於步驟202中,選取一旋轉變焦式攝影機,其係與上述之固定式攝影機相關聯之旋轉變焦式攝影機,亦即,此旋轉變焦式攝影機必須可拍攝到所選取之固定式攝影機之視野;接著,於步驟203中,由關聯模組偵測系統資料庫中是否存在兩定位點之資料;若已存在兩定位點之資料,則進入步驟204中,定義關聯定位資料之名稱,具體而言,使用者可透過使用者介面輸入文字或數字以做為此關聯資料之名稱;然後,進入步驟205中,儲存關聯定位資料於系統資料庫中;然而,回到步驟203,若系統資料庫中並不存在兩定位點之資料,則進入步驟206;於步驟206中,利用上述固定式攝影機設定一定位點,具體而言,可由使用者於固定式攝影機所拍攝之影像畫面中選取或點擊一物件或一位置,將其定義為一定位點;然後,於步驟207中,控制上述旋轉變焦式攝影機的鏡頭,俾使被選取物件或位置呈現於上述旋轉變焦式攝影機所擷取之影像或畫面中心,完成定位程序。具體而言,可由使用者控制,使得上述旋轉變焦式攝影機左右轉動(pan)及上下傾斜(tile),進而將畫面中心對準並固定於上述之定位點;接著,於步驟208中,調整此旋轉變焦式攝影機之畫面以符合物件大小,具體而言,係利用旋轉變焦式攝影機之變焦功能,縮放(zoom)此旋轉變焦式攝影機之畫面,並對焦於定位點,俾使位於定位點之物件或位置於旋轉變焦式攝影機的畫面中佔有一定比例的面積且清晰可見,藉以達到監控之功效。Please refer to the second figure. This figure describes in detail the method for establishing automatic tracking related data in step 109, which can be roughly divided into two parts: establishing associated positioning data (steps 201-209) and setting analysis alarm rules (steps 210-215). The step of establishing the associated positioning data is as follows: In step 201, a fixed camera is selected; then, in step 202, a rotating zoom camera is selected, which is a rotating zoom associated with the fixed camera described above. The camera, that is, the rotary zoom camera must be able to capture the field of view of the selected fixed camera; then, in step 203, the associated module detects whether there are two positioning points in the system database; If the data of the two positioning points already exists, the process proceeds to step 204, where the name of the associated positioning data is defined. Specifically, the user can input the text or number through the user interface to make the name of the associated data; then, proceed to step 205. The storage associated positioning data is stored in the system database; however, returning to step 203, if there is no data of the two positioning points in the system database, the process proceeds to step 206; in step 206, the fixed camera is used to set a The positioning point, in particular, can be selected or clicked by the user in an image taken by the fixed camera or Position, which is defined as an anchor point; then, in step 207, the lens of the rotary zoom camera is controlled to cause the selected object or position to be presented in the image or screen center captured by the rotary zoom camera. Positioning program. Specifically, the user can control the rotating zoom camera to rotate left and right (pan) and up and down (tile) to align and fix the center of the screen to the positioning point; then, in step 208, adjust the Rotate the zoom camera to match the size of the object. Specifically, use the zoom function of the rotary zoom camera to zoom the zoom camera and focus on the anchor point to make the object at the anchor point Or the position of the rotating zoom camera occupies a certain proportion of the area and is clearly visible, so as to achieve the effect of monitoring.
然後,於步驟209中,將上述之定位點資料儲存於系統資料庫中,具體而言,係將於定位點時旋轉變焦式攝影機之左右轉動(pan)、上下傾斜(Tile)及縮放大小(zoon)值分別定義為(X1 ,Y1 ,Z1 ),而儲存為一定位點資料。然後並回到步驟203中,重複步驟206-209以建立另一定位點(X2 ,Y2 ,Z2 )的資料,而根據上述兩定位點的資料,即可於步驟204中,定義關聯定位資料之名稱並於步驟205中儲存之。此關聯定位資料係利用上述兩定位點,以計算出將旋轉變焦式攝影機對準至固定式攝影機畫面中其他各點所需的(X,Y,Z),亦即旋轉變焦式攝影機之拍攝影像移轉至上述各點所需的轉動(pan)、傾斜(tile)及縮放值(zoom),詳細的計算方式如下所述:定義一平面座標(x,y)於固定攝影機的畫面中,假設第一定位點於固定攝影機的畫面中座標為(x1 ,y1 ),而第二定位點座標為(x2 ,y2 ),而旋轉變焦式攝影機由原點轉動至第一定位點的pan值為X1 ,轉至第二定位點的pan值為X2 ,則可定義一絕對轉動參數Base_P=((X1 *(x2 /x1 ))-X2 )/(x2 /x1 -1),且由此絕對轉動參數定義一相對轉動參數Com_P=(X1 -Base_P)/x1 ,而由絕對轉動參數Base_P及相對轉動參數Com_P即可計算出固定式攝影機的畫面中其他欲觀察位置的pan值X,其關係式如下:Then, in step 209, the above-mentioned positioning point data is stored in the system database, specifically, the left and right rotation (pan), the up and down tilt (Tile) and the zoom size of the zoom camera when the positioning point is rotated. The zoon) values are defined as (X 1 , Y 1 , Z 1 ), respectively, and are stored as an anchor point data. Then, returning to step 203, steps 206-209 are repeated to establish data of another positioning point (X 2 , Y 2 , Z 2 ), and according to the data of the two positioning points, the association can be defined in step 204. The name of the location data is stored and stored in step 205. The associated positioning data utilizes the above two positioning points to calculate the (X, Y, Z) required to align the rotary zoom camera to other points in the fixed camera screen, that is, the shooting image of the rotary zoom camera. The pan, tile, and zoom required to move to each of the above points are calculated in the following manner: Define a plane coordinate (x, y) in the fixed camera's picture, assuming The first positioning point is (x 1 , y 1 ) in the picture of the fixed camera, and the second positioning point is (x 2 , y 2 ), and the rotary zoom camera is rotated from the origin to the first positioning point. The pan value is X 1 , and the pan value to the second anchor point is X 2 , then an absolute rotation parameter Base_P=((X 1 *(x 2 /x 1 ))−X 2 )/(x 2 / x 1 -1), and thus the absolute rotation parameter defines a relative rotation parameter Com_P=(X 1 -Base_P)/x 1 , and the absolute rotation parameter Base_P and the relative rotation parameter Com_P can be calculated in the screen of the fixed camera The pan value X of other positions to be observed is as follows:
X=Base_P+x*Com_PX=Base_P+x*Com_P
其中,x係指欲觀察位置於固定式攝影機畫面中的橫座標值,透過上述關係式即可得到旋轉變焦式攝影機轉動至此位置的pan值X。同理,假設旋轉變焦式攝影機由原點傾斜至第一定位點的tile值為Y1 ,至第二定位點的tile值為Y2 ,則可定義一絕對傾斜參數Base_T=((Y1 *(y2 /y1 ))-Y2 )/(y2 /y1 -1),且由此絕對傾斜參數定義一相對傾斜參數Com_T=(Y1 -Base_T)/y1 ,而由絕對傾斜參數Base_T及相對傾斜參數Com_T即可計算出固定式攝影機的畫面中其他欲觀察位置的Y值,其關係式如下:Where x is the abscissa value to be observed in the fixed camera screen, and the pan value X at which the rotary zoom camera rotates to this position can be obtained by the above relationship. Similarly, assuming that the rotary zoom camera is tilted from the origin to the tile value of the first anchor point Y 1 and the tile value of the second anchor point is Y 2 , an absolute tilt parameter Base_T=((Y 1 *) can be defined. (y 2 /y 1 ))-Y 2 )/(y 2 /y 1 -1), and thus the absolute tilt parameter defines a relative tilt parameter Com_T=(Y 1 -Base_T)/y 1 , and is absolutely tilted The parameter Base_T and the relative tilt parameter Com_T can calculate the Y value of other positions to be observed in the screen of the fixed camera, and the relationship is as follows:
Y=Base_T+y*Com_TY=Base_T+y*Com_T
其中,y係指欲觀察位置於固定式攝影機畫面中的縱座標值,而利用上述關係式即可得到旋轉變焦式攝影機轉動至此位置的tile值Y。最後,假設旋轉變焦式攝影機於第一定位點的縮放值(zoom)為Z1 ,至第二定位點的zoom值為Z2 ,則可定義一絕對縮放參數Base_Z=((Z1 *(y2 /y1 ))-Z2 )/(y2 /y1 -1),且由此絕對縮放參數定義一相對縮放參數Com_Z=(Z1 -Base_Z)/y1 ,而由絕對縮放參數Base_Z及相對縮放參數Com_Z即可計算出固定式攝影機的畫面中其他欲觀察位置的Z值,其關係式如下:Where y is the ordinate value to be observed in the fixed camera screen, and the above-mentioned relationship can be used to obtain the tile value Y at which the rotary zoom camera rotates to this position. Finally, assuming that the zoom value of the rotary zoom camera at the first anchor point is Z 1 and the zoom value of the second anchor point is Z 2 , an absolute zoom parameter Base_Z=((Z 1 *(y) can be defined. 2 / y 1 )) - Z 2 ) / (y 2 / y 1 -1), and thus the absolute scaling parameter defines a relative scaling parameter Com_Z = (Z 1 -Base_Z) / y 1 , and the absolute scaling parameter Base_Z And the relative scaling parameter Com_Z can calculate the Z value of other positions to be observed in the screen of the fixed camera, and the relationship is as follows:
Z=Base_Z+y*Com_ZZ=Base_Z+y*Com_Z
其中,y係指欲觀察位置於固定式攝影機畫面中的縱座標值,而利用上述關係式即可得到旋轉變焦式攝影機轉動至此位置的縮放(zoom)值Z。據此,只要由固定式攝影機及旋轉變焦式攝影機定義兩定位點,即可得到上述關係式的各參數值,進而可透過上述關係式將固定式攝影機的畫面中的各個位置(x,y)轉換為(X,Y,Z)值,亦即得到旋轉變焦式攝影機由原點定位到各個位置所需要的轉動(pan)、傾斜(tile)及縮放(zoom)值,藉此,當影像分析器偵測到固定攝影機之畫面中任一點(x,y)符合分析警報規則而觸發警報時,或固定攝影機之畫面中任一點(x,y)被選取或點擊時,關聯模組即可立即將(x,y)轉換為(X,Y,Z)值並根據此(X,Y,Z)值控制旋轉變焦式攝影機至觸發警報之位置或是被選取點擊之位置,進而達到即時、零時差的監控。Where y is the ordinate value to be observed in the fixed camera screen, and the zoom value Z of the rotary zoom camera rotated to this position can be obtained by using the above relationship. According to this, as long as the two positioning points are defined by the fixed camera and the rotary zoom camera, the parameter values of the above relational expression can be obtained, and the respective positions (x, y) in the screen of the fixed camera can be transmitted through the above relational expression. Converted to (X, Y, Z) values, that is, the pan, tile, and zoom values required for the rotary zoom camera to position from the origin to each position, thereby enabling image analysis Immediately when any point (x, y) in the fixed camera is detected to trigger an alarm in accordance with the analysis alarm rule, or when any point (x, y) in the fixed camera screen is selected or clicked, the associated module can be immediately Convert (x, y) to (X, Y, Z) value and control the position of the rotary zoom camera to trigger the alarm or the position of the selected click according to the (X, Y, Z) value, thereby achieving instant, zero Time difference monitoring.
當關聯定位資料建立完成後,即可進入設定分析警報規則之步驟,詳細流程如以下所述:於步驟210時,偵測上述影像分析器中是否已存在分析警報規則;若是,則進入步驟215中,將上述關聯定位資料及此分析警報規則儲存為自動追蹤關聯資料;若影像分析器中並不存在分析警報規則,則進入步驟211中,由使用者選擇偵測規則型態,具體而言,偵測規則係指如何決定影像分析器的分析範圍,大體上可分為三種,分別為半線型、雙半線型及區域範圍型,其中,半線型係指使用者僅需於固定式攝影機之拍攝畫面中畫一條線,由此線所區分的其中一邊即為影像分析器之分析範圍;雙半線型係指使用者需於固定式攝影機之拍攝畫面中畫兩條線,由這兩條線所分割的部分區塊為影像分析器之分析範圍;而區域範圍型係由使用者於固定式攝影機之拍攝畫面中圈選一特定範圍,於圈選範圍內或外的區塊即為影像分析器之分析範圍。然後,於步驟212中,選擇偵測影像物件型態,具體而言,本步驟係用以決定於影像分析器之分析範圍中所欲分析的標的物類型,其可包含,但不侷限於,交通載具(如:汽車、摩托車、腳踏車等等)、人、動物或任何移動物體等等;接著,於步驟213中,由使用者於固定攝影機之拍攝畫面之顯示幕上描繪偵測規則,具體而言,若於步驟211中所選擇的偵測規則型態為半線型,則使用者可於上述顯示幕上描繪任一線;若選擇的偵測規則型態為雙半線型,則使用者可於上述顯示幕上描繪任兩條線;若選擇的偵測規則型態為區域範圍型,則使用者可於上述顯示幕上描繪至少一封閉圖形,如圓形、矩形、或三角形等等。接著,於步驟214中,將上述之偵測規則及偵測影像物件型態儲存為一分析警報規則。最後,於步驟215中,將上述關聯定位資料及此分析警報規則儲存為自動追蹤關聯資料。After the establishment of the associated positioning data is completed, the step of setting the analysis alarm rule may be entered. The detailed process is as follows: In step 210, it is detected whether the analysis alarm rule exists in the image analyzer; if yes, proceed to step 215. The associated positioning data and the analysis alarm rule are stored as automatic tracking related data; if there is no analysis alarm rule in the image analyzer, the process proceeds to step 211, where the user selects the detection rule type, specifically The detection rule refers to how to determine the analysis range of the image analyzer, which can be roughly divided into three types, namely, a half line type, a double line type, and a range type, wherein the half line type means that the user only needs to be in a fixed camera. One line is drawn in the shooting picture, and one side of the line is the analysis range of the image analyzer; the double half line type means that the user needs to draw two lines in the shooting picture of the fixed camera, by the two lines The divided partial blocks are the analysis range of the image analyzer; and the regional range type is selected by the user in the shooting picture of the fixed camera. A specific range, the range block in or outside the circle is the analytical range of the image analyzer. Then, in step 212, the selected image object type is selected. Specifically, the step is used to determine the type of the object to be analyzed in the analysis range of the image analyzer, which may include, but is not limited to, a traffic vehicle (such as a car, a motorcycle, a bicycle, etc.), a person, an animal, or any moving object, etc.; then, in step 213, the user draws a detection rule on the display screen of the fixed camera. Specifically, if the detection rule type selected in step 211 is a half line type, the user can draw any line on the display screen; if the selected detection rule type is a double half line type, then use The user can draw any two lines on the display screen; if the selected detection rule type is the area range type, the user can draw at least one closed figure on the display screen, such as a circle, a rectangle, or a triangle. Wait. Next, in step 214, the detection rule and the detected image object type are stored as an analysis alarm rule. Finally, in step 215, the associated location data and the analysis alert rule are stored as automatic tracking associated data.
請參閱第三圖,本圖詳細描述步驟112中自動追蹤之流程,其步驟如下所述:首先,於步驟301中,搜尋系統資料庫內是否存在自動追蹤關聯資料;然後,於步驟302中,利用影像分析器擷取於固定攝影機畫面中觸發警報之物件,具體而言,影像分析器可根據使用者所設定之分析警報規則偵測並擷取於固定攝影機之拍攝畫面中符合(或違反)上述分析警報規則之物件;接著,於步驟303中,利用關聯模組計算旋轉變焦式攝影機之拍攝畫面移動至上述物件之所需距離,具體而言,假設觸發警報之物件位於A點,座標為(x3 ,y3 ),關聯模組可根據兩定位點定義出的上述關係式,將其轉換為(X3 ,Y3 ,Z3 ),亦即旋轉變焦式攝影機由原點定位到(x3 ,y3 )所需要的轉動(pan)、傾斜(tile)及縮放(zoom)值,假設目前旋轉變焦式攝影機之畫面中心係對應到B點,座標為(x4 ,y4 ),關聯模組可根據上述關係式,將其轉換為(X4 ,Y4 ,Z4 ),亦即旋轉變焦式攝影機由原點定位到(x4 ,y4 )所需要的轉動(pan)、傾斜(tile)及縮放(zoom)值,然後利用關聯模組計算(X3 ,Y3 ,Z3 )與(X4 ,Y4 ,Z4 )的差異(△X1 ,△Y1 ,△Z1 ),此即為將旋轉變焦式攝影機之畫面由目前位置(B點)移動至物件位置(A點)之所需距離;接著,於步驟304中,根據上述之所需距離(△X1 ,△Y1 ,△Z1 ),控制此旋轉變焦式攝影機之鏡頭,俾使其顯示畫面對準此物件位置。由於本發明所建立之關聯定位資料,可將固定式攝影機的畫面中的各個位置(x,y)轉換為(X,Y,Z)值,亦即旋轉變焦式攝影機由原點定位到各個位置所需要的轉動(pan)、傾斜(tile)及縮放(zoom)值,故當影像分析器偵測到觸發警報之物件時,旋轉變焦式攝影機即可根據關聯定位資料立即將其畫面移轉至上述物件之位置,進而達到零時差的自動監控之功效;然後,於步驟305中,由影像分析器偵測此物件是否仍存在於固定式攝影機之拍攝畫面中;若無,則進入步驟306中,由關聯模組控制此旋轉變焦式攝影機之鏡頭移轉回預設位置;然而,若此物件仍位於固定式攝影機的畫面中,則回到步驟302中,由影像分析器偵測並擷取此物件之下一位置,再經由步驟303及304,計算並控制旋轉變焦式攝影機對準於此物件之下一位置,最後再進入步驟305中,偵測此物件是否仍於固定式攝影機之畫面中,若是,則繼續重複步驟302-304,監控此物件。因此,只要此物件仍在固定式攝影機之拍攝範圍內,無論其位置如何變動,影像分析器均可偵測並擷取之,故旋轉變焦式攝影機可立即監控並持續追蹤此物件,進而達到同步的影像自動追蹤功效。Referring to the third figure, this figure describes the process of automatic tracking in step 112, and the steps are as follows: First, in step 301, whether there is automatic tracking related data in the search system database; then, in step 302, The image analyzer is used to capture an object that triggers an alarm in a fixed camera screen. Specifically, the image analyzer can detect and capture (or violate) the captured image of the fixed camera according to the analysis alarm rule set by the user. The object of the alarm rule is analyzed. Then, in step 303, the associated module is used to calculate the required distance of the shooting screen of the rotary zoom camera to move to the object. Specifically, it is assumed that the object triggering the alarm is located at point A, and the coordinates are (x 3 , y 3 ), the association module can convert (X 3 , Y 3 , Z 3 ) according to the above relationship defined by the two positioning points, that is, the rotary zoom camera is positioned from the origin ( x 3 , y 3 ) required pan, tile, and zoom values, assuming that the center of the screen of the current rotating zoom camera corresponds to point B, and the coordinates are (x 4 , y 4 ). Correlation mode The group can convert it to (X 4 , Y 4 , Z 4 ) according to the above relationship, that is, the rotation (pan) and tilt required by the rotary zoom camera to locate (x 4 , y 4 ) from the origin. Tile) and zoom value, and then use the correlation module to calculate the difference between (X 3 , Y 3 , Z 3 ) and (X 4 , Y 4 , Z 4 ) (△X 1 , ΔY 1 , △Z 1 ), this is the required distance to move the screen of the rotary zoom camera from the current position (point B) to the object position (point A); then, in step 304, according to the required distance (ΔX 1 , △ Y 1 , ΔZ 1 ), the lens of the rotary zoom camera is controlled, and the display screen is aligned with the object position. Due to the associated positioning data established by the present invention, each position (x, y) in the screen of the fixed camera can be converted into an (X, Y, Z) value, that is, the rotary zoom camera is positioned from the origin to each position. The required pan, tile, and zoom values, so when the image analyzer detects an object that triggers an alarm, the rotary zoom camera can immediately move its image to the associated positioning data. The position of the object is further improved by the automatic monitoring of the zero time difference; then, in step 305, the image analyzer detects whether the object is still present in the shooting picture of the fixed camera; if not, the process proceeds to step 306. The lens of the rotary zoom camera is controlled by the associated module to be moved back to the preset position; however, if the object is still in the screen of the fixed camera, then returning to step 302, the image analyzer detects and captures A position below the object, and then through steps 303 and 304, calculate and control the rotary zoom camera to be aligned with a position below the object, and finally proceed to step 305 to detect whether the object is still fixed. Camera's screen, and if so, repeat steps 302-304 continue to monitor this object. Therefore, as long as the object is still in the shooting range of the fixed camera, the image analyzer can detect and capture it regardless of its position, so the rotary zoom camera can immediately monitor and continuously track the object to achieve synchronization. The image is automatically tracked.
請參閱第四圖,本圖詳細描述於步驟114中移動旋轉變焦式攝影機之畫面至被選取物件或位置之方法,其步驟如下所述:首先,於步驟401中,搜尋系統資料庫中之關聯定位資料;然後,進入步驟402中,利用關聯模組擷取固定式攝影機畫面中被選取或點擊之物件或位置,具體而言,當使用者移動游標至顯示固定式攝影機畫面之顯示幕上的一物件或位置並點擊時,關聯模組即可擷取此物件或位置;然後,於步驟403中,利用關聯模組計算旋轉變焦式攝影機之畫面移動上述物件或位置之所需距離,具體而言,假設被點擊位置為C點,座標(x5 ,y5 ),關聯模組可根據兩定位點定義出的上述關係式,將其轉換為(X5 ,Y5 ,Z5 ),亦即旋轉變焦式攝影機由原點定位到(x5 ,y5 )所需要的轉動(pan)、傾斜(tile)及縮放(zoom)值,假設目前旋轉變焦式攝影機之畫面中心仍對應到B點,座標為(x4 ,y4 ),關聯模組可根據上述關係式,將其轉換為(X4 ,Y4 ,Z4 ),亦即旋轉變焦式攝影機由原點定位到(x4 ,y4 )所需要的轉動(pan)、傾斜(tile)及縮放(zoom)值,然後利用關聯模組計算(X5 ,Y5 ,Z5 )與(X4 ,Y4 ,Z4 )的差異(△X2 ,△Y2 ,△Z2 ),此即為將旋轉變焦式攝影機之畫面由目前位置(B點)移動至被選取之物件或位置(C點)的所需距離;接著,於步驟404中,根據上述之所需距離(△X2 ,△Y2 ,△Z2 ),控制此旋轉變焦式攝影機之畫面,使其對準此物件或位置,進而達到即時監控之功效。Referring to the fourth figure, this figure describes in detail the method of moving the screen of the rotary zoom camera to the selected object or position in step 114, the steps of which are as follows: First, in step 401, the association in the system database is searched. Positioning the data; then, proceeding to step 402, using the associated module to capture the selected or clicked object or position in the fixed camera screen, specifically, when the user moves the cursor to the display screen of the fixed camera screen When an object or location is clicked, the associated module can capture the object or location; then, in step 403, the associated module is used to calculate the required distance of the rotating zoom camera to move the object or position, specifically In other words, if the clicked position is C point and coordinates (x 5 , y 5 ), the associated module can convert it to (X 5 , Y 5 , Z 5 ) according to the above relationship defined by the two anchor points. That is, the rotary zoom camera is positioned from the origin to the pan, tile, and zoom values required for (x 5 , y 5 ), assuming that the center of the screen of the currently rotating zoom camera still corresponds to point B. , Denoted (x 4, y 4), associated with the module according to the above relation, it is converted to (X 4, Y 4, Z 4), i.e. of formula rotate the zoom camera to locate the origin (x 4, y 4 ) The required pan, tile and zoom values, then use the correlation module to calculate the difference between (X 5 , Y 5 , Z 5 ) and (X 4 , Y 4 , Z 4 ) (ΔX 2 , ΔY 2 , ΔZ 2 ), which is the required distance to move the screen of the rotary zoom camera from the current position (point B) to the selected object or position (point C); In step 404, according to the required distance (ΔX 2 , ΔY 2 , ΔZ 2 ), the screen of the rotary zoom camera is controlled to be aligned with the object or position, thereby achieving the effect of real-time monitoring.
上述敘述係為本發明之較佳實施例。此領域之技藝者應得以領會其係用以說明本發明而非用以限定本發明所主張之專利權利範圍。其專利保護範圍當視後附之申請專利範圍及其等同領域而定。凡熟悉此領域之技藝者,在不脫離本專利精神或範圍內,所作之更動或潤飾,均屬於本發明所揭示精神下所完成之等效改變或設計,且應包含在下述之申請專利範圍內。The above description is a preferred embodiment of the invention. Those skilled in the art should be able to understand the invention and not to limit the scope of the patent claims claimed herein. The scope of patent protection is subject to the scope of the patent application and its equivalent fields. Any modification or refinement made by those skilled in the art without departing from the spirit or scope of the present invention is equivalent to the equivalent change or design made in the spirit of the present disclosure, and should be included in the following patent application scope. Inside.
101-116...步驟101-116. . . step
201-215...步驟201-215. . . step
301-306...步驟301-306. . . step
401-404...步驟401-404. . . step
501...設備通訊介面501. . . Device communication interface
502...影像擷取設備502. . . Image capture device
503...固定式攝影機503. . . Fixed camera
504...旋轉變焦式攝影機504. . . Rotary zoom camera
505...網路攝影機505. . . Webcam
506...網路旋轉變焦式攝影機506. . . Network rotary zoom camera
601...管理系統通訊介面601. . . Management system communication interface
602...中央管理模組602. . . Central management module
603...設備管理模組603. . . Device management module
604...關聯模組604. . . Association module
605...影像處理模組605. . . Image processing module
606...警報通知模組606. . . Alarm notification module
607...系統資料庫607. . . System database
608...影像分析器608. . . Image analyzer
第一圖為本發明最佳實施例之流程圖;The first figure is a flow chart of a preferred embodiment of the present invention;
第二圖為步驟109中建立自動追蹤關聯資料之流程圖;The second figure is a flow chart for establishing automatic tracking related data in step 109;
第三圖為步驟112中自動追蹤之流程圖;The third figure is a flow chart of automatic tracking in step 112;
第四圖為步驟114中移動旋轉變焦式攝影機之畫面至被選取物件或位置之流程圖;The fourth figure is a flow chart of moving the screen of the rotary zoom camera to the selected object or position in step 114;
第五圖為一種用於本發明之影像監控方法之影像監控系統。The fifth figure is an image monitoring system used in the image monitoring method of the present invention.
101-116...步驟101-116. . . step
Claims (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW99127724A TWI407386B (en) | 2010-08-19 | 2010-08-19 | Method of tracking images automatically |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW99127724A TWI407386B (en) | 2010-08-19 | 2010-08-19 | Method of tracking images automatically |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW201209762A TW201209762A (en) | 2012-03-01 |
| TWI407386B true TWI407386B (en) | 2013-09-01 |
Family
ID=46763754
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW99127724A TWI407386B (en) | 2010-08-19 | 2010-08-19 | Method of tracking images automatically |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI407386B (en) |
Families Citing this family (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8594482B2 (en) | 2010-05-13 | 2013-11-26 | International Business Machines Corporation | Auditing video analytics through essence generation |
| TWI507661B (en) * | 2013-07-03 | 2015-11-11 | Faraday Tech Corp | Image surveillance system and method thereof |
| TWI594209B (en) * | 2015-06-09 | 2017-08-01 | 國立中山大學 | Method for automatically deducing motion parameter for control of mobile stage based on video images |
| CN110460775A (en) * | 2017-02-16 | 2019-11-15 | 小绿草股份有限公司 | Selfie system and method |
| TWI628954B (en) * | 2017-02-16 | 2018-07-01 | 小綠草股份有限公司 | Self-photographing system and method |
| TWI691908B (en) * | 2017-02-16 | 2020-04-21 | 小綠草股份有限公司 | Self-photographing system and method |
| TWI612497B (en) * | 2017-04-07 | 2018-01-21 | 王明科 | Active image tracking method, image-tracking-assistant apparatus and embedded system thereof |
| TWI757728B (en) * | 2020-04-24 | 2022-03-11 | 英研智能移動股份有限公司 | Method of tracking object based on image |
| CN113556506A (en) * | 2020-04-24 | 2021-10-26 | 英研智能移动股份有限公司 | Object tracking method based on image |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW200714075A (en) * | 2005-06-28 | 2007-04-01 | Objectvideo Inc | Video surveillance system employing video primitives |
| TW200746800A (en) * | 2006-06-09 | 2007-12-16 | Hon Hai Prec Ind Co Ltd | Dynamic monitor system and method |
| TW200915852A (en) * | 2007-09-26 | 2009-04-01 | Huper Lab Co Ltd | Object corresponding method capable of real-time and accurate operating for multi-camera construction |
| TW200926820A (en) * | 2007-07-26 | 2009-06-16 | Objectvideo Inc | Video analytic rule detection system and method |
-
2010
- 2010-08-19 TW TW99127724A patent/TWI407386B/en not_active IP Right Cessation
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW200714075A (en) * | 2005-06-28 | 2007-04-01 | Objectvideo Inc | Video surveillance system employing video primitives |
| TW200746800A (en) * | 2006-06-09 | 2007-12-16 | Hon Hai Prec Ind Co Ltd | Dynamic monitor system and method |
| TW200926820A (en) * | 2007-07-26 | 2009-06-16 | Objectvideo Inc | Video analytic rule detection system and method |
| TW200915852A (en) * | 2007-09-26 | 2009-04-01 | Huper Lab Co Ltd | Object corresponding method capable of real-time and accurate operating for multi-camera construction |
Also Published As
| Publication number | Publication date |
|---|---|
| TW201209762A (en) | 2012-03-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI407386B (en) | Method of tracking images automatically | |
| CN101615295B (en) | Image processing system, image processing method | |
| JP4870803B2 (en) | Video motion detection method | |
| CN103841313A (en) | Pan-tilt camera control method, system and device | |
| US20110181716A1 (en) | Video surveillance enhancement facilitating real-time proactive decision making | |
| CN103686131A (en) | Monitoring device and system using 3D information of images, and monitoring method | |
| WO2018032921A1 (en) | Video monitoring information generation method and device, and camera | |
| CN110199316B (en) | Camera and image processing method of camera | |
| CN105894702A (en) | Intrusion detection alarm system based on multi-camera data fusion and detection method thereof | |
| JP2009171296A (en) | Video network system and video data management method | |
| KR101933153B1 (en) | Control Image Relocation Method and Apparatus according to the direction of movement of the Object of Interest | |
| CN103929592A (en) | All-dimensional intelligent monitoring equipment and method | |
| KR20160088129A (en) | Method and Apparatus for providing multi-video summaries | |
| KR20110093040A (en) | Subject monitoring device and method | |
| WO2020057353A1 (en) | Object tracking method based on high-speed ball, monitoring server, and video monitoring system | |
| KR102249498B1 (en) | The Apparatus And System For Searching | |
| CN101924923A (en) | Embedded intelligent automatic zooming snapping system and method thereof | |
| KR102575271B1 (en) | Camera linked with POS apparatus and surveillance method using the same | |
| KR20180020374A (en) | The System, Apparatus And MethodFor Searching Event | |
| CN201142737Y (en) | Front-end monitoring device for IP network video monitoring system | |
| CN101118679A (en) | Monitoring equipment, monitoring method and program | |
| CN103595958A (en) | Video tracking analysis method and system | |
| JP2011087214A (en) | Photographing system, method and program | |
| KR102674825B1 (en) | Crowd Management Apparatus, Driving Method Thereof, and Crowd Management System by Using Fixed Cameras and PTZ Camera | |
| TWI502552B (en) | Method of monitoring images |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| MM4A | Annulment or lapse of patent due to non-payment of fees |