TW200810558A - System and method using a PTZ image-retrieving device to trace a moving object - Google Patents

System and method using a PTZ image-retrieving device to trace a moving object Download PDF

Info

Publication number
TW200810558A
TW200810558A TW95128097A TW95128097A TW200810558A TW 200810558 A TW200810558 A TW 200810558A TW 95128097 A TW95128097 A TW 95128097A TW 95128097 A TW95128097 A TW 95128097A TW 200810558 A TW200810558 A TW 200810558A
Authority
TW
Taiwan
Prior art keywords
image
moving object
moving
tracking
upper body
Prior art date
Application number
TW95128097A
Other languages
Chinese (zh)
Inventor
he-zhang Pu
Ren-Meng Jung
Lin Da Ju
Original Assignee
Lin Jin Deng
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 Lin Jin Deng filed Critical Lin Jin Deng
Priority to TW95128097A priority Critical patent/TW200810558A/en
Publication of TW200810558A publication Critical patent/TW200810558A/en

Links

Abstract

This invention provides a system and a method using a Pan-Tilt-Zoom (PTZ) image-retrieving device to trace a moving object. After a processor compares the present and the previous image retrieved from a PTZ image-retrieving device, the system can define a moving object in an image. The image-retrieving device can be rotated according to the position of a moving object to trace the moving object. When a moving object is in the zooming range of the image-retrieving device or when the ratio of the moving object in an image is too small or too big, the processor can adjust the zooming status of the image-retrieving device to fit the image ratio of the moving object in the whole image so as to provide a clear and high-resolution image.

Description

200810558 九、發明說明: 【發明所屬之技術領域】 . 核明侧於影像触裝置追絲動物體之系統及方法,特別 ‘ 是_於種以具有全^向旋轉及魏(Pan-Tilt-Z_,PTZ)功能之攝影機 追縱移動物體之系統及方法。 【先前技術】 在銀行、大樓、商店及停車場等較高風險地區常可看見許多監視器針 對各種角度或位置進行監視錄影,在意外發生後往往需要藉助該些監視錄 影帶’從晝面巾尋找可能的蛛絲馬跡。然而—般監視器由於不具有追縱功 能’只能短暫拍攝到可疑人物經過時的晝面,可提供的資訊量少,因此具 有即時追蹤功能之監視系統遂因應而生。 即時追縱系統可大略分為使賴定式攝影機或非目定式攝影機兩類, 如J· Steffens所提出之期刊論文” pers〇nSp〇tter_fast and⑺⑹以 system for human detection,tracking and recognition” 即屬於使用 固定式攝影機之追蹤系統,其係使用固定之立體電荷耦合元件(stere〇 CCD) 一 攝影機擷取影像以進行人臉偵測、追蹤及辨認;J· Yang在期刊論文” a real-time face tracker”中使用PTZ攝影機進行人臉辨識則為另一類型 的例子。PTZ攝影機雖然具有全方向旋轉及變焦的功能,但目前仍未發展出 可同時具備上述功能之監視系統,多數使用PTZ攝影機之監視系統不是只 使用其旋轉功能就是只是使用變焦功能;而Β· Tunloff所提出 之 Reactive zoom control while tracking using an affine camera” 5 200810558 則是利用仿射投影(affine即咖出⑽)的轉換以達成變焦之目的,與ρτζ 攝影機的變焦原理基本上並不相同。 • 冑鑑於此,本發明係針對上述問題,提出-種使用ΡΤΖ攝影機之旋轉 與變焦功能以追蹤移動物體之系統及方法。 【發明内容】 本發明之主要目的係在提供一種使用ΡΤΖ影像娜裝置追縱移動物體 之系統及方法,使影像操取裝置可自動追縱畫面中的移動物體,並調整焦 距使移動物體在擷取的影像中具有適當大小。 本發明之另-目的係在提供一種使用ΡΤΖ影像操取裝置之監視系統及 方法’其中影像棘裝置可有效辨認畫面中的移動物體是否為人,並對移 射的人物進行追縱,當人臉影像過小或過大時,影像掏取裝置更可自動 調整焦距’提供清晰且解析度高之人臉影像。 為了達到上述目的,本發明係以一處理器比對一 ρτζ影像擷取裝置所 娜之目前影像與—先前影像,以狀出畫面中的移動物體,並依移動物 體之位置旋轉影像操取裳置,以追縱移動物體,在移動物體進入影像娜 裝置之變紐_,且軸碰在畫面巾過錢過大時,處理器 可調整影軸取裝置之紐,使雜浦在影像巾所佩例適當。 底下藉由具體實_配合所_圖式詳加·,#更容嫌解本發明 之目的、技術内容、特點及其所達成之功效。 【實施方式】 本發明主要可分為伽极魏㊉部分,ρτζ^_取裝置所娜之畫面 6 200810558 傳运至追她組後,由追轉組中之處理器制畫面中是否出現移動物 體,並控制影像擷取裝置進行相應之旋轉以追縱移動物體,且當移動物體 位於衫像擷取裝置的變焦範圍内時,處理器更可依需求,例如移動物體的 拍攝影像過小f要放A,或是影像社需要縮小,輕影細取裝置的焦 距,以獲得移動物體的清晰影像。 因此本《明之使用pTZ影像擷取裝置追縱移動物體之系統係包括一可 王方向疑轉及fef、之影像擷取裝置以及—追賴組,第m统一實施 例之結構方顧,其中影像操取裝置健用一 PTZ攝影機1G,而攝影機10 斤娜之〜像係透過一放大器22傳輸至一顯示器以,顯示於顯示器24之 螢幕上明同日可參考第二圖之一實施例流程圖,在步驟训巾,追縱模組 32中之解碼器12將攝影機1〇所擷取影像之複合影像廣播訊號(⑽幻解碼 並傳送至處理器14,由處理器1娜卿像進行降頻取樣(dQWn sampl ing) 、降低貝料里’如第二圖所示,解析度·261之影像經過取樣後解析度 降為120x87,接著步驟S12中,處理器14比較取樣後之目前影像與同樣經 過取樣且贿於記憶體16中之—先細象,得出—灰階(謂之差 異影像,第四(a)圖至第四(c)圖係顯示經過步驟犯之處理後,得到目前 〜像與先别影像之差異影像的結果,其中第四(a)為目前影像,第四(_ 為先前影像,第四⑹_差異影像;再將差異影像輸人—濾波器,如步驟 幻4所不將差異影像中每一像素(pixel)值與一臨界值比較,高於該臨界 值之像素即視為移_,其餘則為靜止點,因此濾波器之輸出為—二元 (inary)&像μ 〇代表靜止點,’丨’代表移動點,如第四⑷圖所示。 7 200810558 步驟S16依據在步驟S14中判斷出之移動點座標,界定出移動物體, 更了如第五圖所示,於目前影像巾擷取出移動物體的影像,其中處理器Μ • 係找出移動點在影像X軸之最小«(xstart)、最大座標(XstQp)、在γ軸 ^ 之最小座軚(Ystop)及最大座標(Ystart),定義出以(红姐,、 (Xstart,Ystart)、(xstop,Ystart)及(Xst〇p,Yst〇p)為端點之長方形區 域,對應至目前影像,該長方形區域即為移動物體之位置。 本發明可用於追縱任何出現於晝面中之移動物體,或是只追縱特定之 移動物體,當追縱模組32 +已預設有欲追縱物體之模型時,處理器Μ會 進v比對初夕動物體與預設於記憶體12中之欲追縱物體模型,如步驟Mg 所不’以判斷_動物體是否為欲追蹤物體;以追蹤人縣例,由於人的 下半身主要由腿部構成,而腿部影像常因走動等動作而魏,不易以固定 狀辨識□此本發明係採用頭部及上身部作為比對辨識之依據,並以擴 圓模擬,如第六圖所示,且由於人體結構中,頭部、上身部及下身部之比 例、力為1 · 3 · 4,故處理器μ係依比例擷取移動物體對應於頭部及上身部 之細’與模擬頭部及上身部之橢圓比對,計算與橢圓之差值,計算之公 式係如式(1)所示: B-\ B-\ 5释,少)=Σ Σ k(叫,少+y) - w)| (η 7=0 /=0 1 、’ 其中Kx,y)為移動物體影像,T(i,〕·)為欲追縱物體模型,於本實施例中為 第,、圖所不之影像,模型影像之大小為BxB ;若差值(即SAD(x,y)值)小於 一臨界值關_移動物體為人,其幅擬頭部之姻可由式⑵表示,模 擬上身部之橢圓可以式(3)表示: 8 200810558 -~Η〇-〇〇)ί (y^d\2 X — ίίί <4 + 1.44 1.44 (2) 2200810558 IX. Description of the invention: [Technical field of invention] The system and method for verifying the side of the image-touching device to trace the animal body, especially 'is _ to have a full-rotation and Wei (Pan-Tilt-Z_ , PTZ) function camera tracking system and method of moving objects. [Prior Art] Many monitors are often seen in high-risk areas such as banks, buildings, shops, and parking lots for surveillance and video recording at various angles or locations. After the accident, it is often necessary to use these surveillance videos to find out from the face towel. The clues. However, the general monitor has no tracking function. It can only take a short shot of the suspicious person passing through, and the amount of information that can be provided is small. Therefore, the monitoring system with instant tracking function is born. The instant tracking system can be roughly divided into two types, the Lai Ding camera or the non-target camera. For example, the journal paper by J. Steffens "pers〇nSp〇tter_fast and (7) (6) is used for system for human detection, tracking and recognition" Camera tracking system that uses a fixed stereo charge coupled device (stere CCD) to capture images for face detection, tracking and recognition; J. Yang in the journal paper "a real-time face tracker" The use of a PTZ camera for face recognition is another type of example. Although the PTZ camera has the function of omnidirectional rotation and zooming, it has not yet developed a monitoring system that can simultaneously have the above functions. Most monitoring systems using PTZ cameras do not use only their rotation function or just use the zoom function; and Tun· Tunloff The proposed Reactive zoom control while tracking using an affine camera” 5 200810558 uses the affine projection (affine (10)) conversion to achieve the purpose of zooming, which is basically the same as the zoom principle of the ρτζ camera. In view of the above, the present invention has been made in view of the above problems, and proposes a system and method for tracking a moving object using a rotation and zoom function of a camera. SUMMARY OF THE INVENTION The main object of the present invention is to provide a device for tracking images using a video camera. The system and method for moving an object enables the image manipulation device to automatically track the moving object in the picture and adjust the focal length so that the moving object has an appropriate size in the captured image. Another object of the present invention is to provide a use ΡΤΖ Surveillance system and method for image manipulation device The spine-like device can effectively recognize whether the moving object in the picture is a human being, and track the moving person. When the face image is too small or too large, the image capturing device can automatically adjust the focal length to provide clear and high resolution. In order to achieve the above object, the present invention compares the current image and the previous image of a ρτζ image capturing device with a processor to shape the moving object in the picture and according to the position of the moving object. Rotating the image to capture the skirt, to track the moving object, when the moving object enters the image of the device, and the axis touches the screen towel too much money, the processor can adjust the button to take the device to make the pump Appropriately in the image towel. The purpose of the present invention, the technical content, the features and the effects achieved by the present invention are more ambiguous. Mainly can be divided into gamma Wei ten parts, ρτζ^_ take the device of the screen 6 200810558 After being transported to chase her group, whether there is a moving object in the processor system in the chasing group, and control the image The device rotates to track the moving object, and when the moving object is located within the zoom range of the shirt image capturing device, the processor can further display the image according to the demand, for example, the moving image is too small, or the image is displayed. The society needs to zoom out, and take a close look at the focal length of the device to obtain a clear image of the moving object. Therefore, the system of using the pTZ image capturing device to track the moving object includes a video of the suspicion of the king and the image of the fef. Taking the device and the tracking group, the structure of the m-th unified embodiment, wherein the image capturing device uses a PTZ camera 1G, and the camera 10 is transferred to a display through an amplifier 22 to display On the screen of the display 24, reference may be made to the flowchart of the embodiment of the second figure. In the step of training, the decoder 12 in the tracking module 32 will capture the composite image broadcast signal of the image captured by the camera ((10) The magic decoding is transmitted to the processor 14, and the processor 1 Naqing image is subjected to down-sampling (dQWn sampling), and the image is reduced. As shown in the second figure, the image of the resolution 261 is sampled and solved. The degree is reduced to 120x87. Then, in step S12, the processor 14 compares the sampled current image with the same sampled and bribed in the memory 16 to obtain the gray scale (that is, the difference image, the fourth (a ) Figure 4 to Figure 4 (c) shows the result of the difference between the current image and the image of the first and second images after the process of the step, where the fourth (a) is the current image and the fourth (_ is the previous image, The fourth (6)_difference image; then the difference image input-filter, such as step magic 4 does not compare the pixel value of the difference image with a threshold value, the pixel above the threshold value is regarded as Shift_, the rest is a stationary point, so the output of the filter is - binary (inary) & like μ 〇 represents the stationary point, and '丨' represents the moving point, as shown in the fourth (4). 7 200810558 Step S16 defines a moving object according to the coordinates of the moving point determined in step S14, and as shown in the fifth figure, the image of the moving object is taken out in the current image frame, wherein the processor detects the movement The minimum «(xstart), the maximum coordinate (XstQp), the minimum coordinate (Ystop) and the maximum coordinate (Ystart) of the X axis of the image are defined as (Red sister, (Xstart, Ystart), (xstop, Ystart) and (Xst〇p, Yst〇p) are rectangular regions of the end point corresponding to the current image, and the rectangular region is the position of the moving object. The present invention can be used to trace any occurrences in the kneading surface. Moving an object, or only tracking a specific moving object, when the tracking module 32+ has a model for the object to be traced, the processor will enter the v-matching of the early-night animal body and preset to the memory. In the 12th, the object model is to be traced, such as the step Mg does not determine whether the animal body is the object to be tracked; to track the case of the county, since the lower body of the person is mainly composed of the leg, and the leg image is often caused by walking, etc. Action and Wei, it is not easy to identify with a fixed shape The invention adopts the head and the upper body as the basis for the comparison identification, and simulates the expansion, as shown in the sixth figure, and because of the proportion of the head, the upper body and the lower body, the force is 1 · 3 · 4, so the processor μ is proportional to the ellipse of the moving object corresponding to the head and upper body and the ellipse of the simulated head and upper body, and the difference between the ellipse and the ellipse is calculated. 1) shown: B-\ B-\ 5 release, less) = Σ Σ k (called, less + y) - w)| (η 7 = 0 / = 0 1 , 'where Kx, y) is a moving object The image, T(i,]·) is the model of the object to be traced. In this embodiment, the image of the image is not the image of BxB; if the difference is (the value of SAD(x, y)) ) is less than a critical value off _ moving object is a person, the marriage of the head can be expressed by the formula (2), the ellipse simulating the upper body can be expressed by the formula (3): 8 200810558 -~Η〇-〇〇) ί (y^ d\2 X — ίίί <4 + 1.44 1.44 (2) 2

Add Vy γή dds - + - 2.56 dd: τ <4 dd + 2.56 dd\ (3) 其中W為上身部之寬,(〇_〇〇)為頭部之寬,d為頭部之直徑,此為上身 部之直徑。 右移動物體經處理器14判斷為欲追縱物體,則進入下一步驟s2〇,控 制PTZ攝影機10的旋轉以對移動物體進行追縱,其中處理器μ係透過其 内部之通用非同步收發埠(_及《介面18連結至-驅動馬達20, 以驅動馬達2__丨_轉。在—實施财,攝影機Μ之擷取畫 面係區分為16區塊’如第七_示,區塊大小則可由制者自訂,當欲追 縱物體出現於某些區塊,例如區塊,〇,、區塊,Γ、_ 2,、e L3往^處理器14發送控制訊號至驅動馬修以適當的速度將攝影 :轉,細__軸賴w糊 ㈣目嶋與輸像,賴細 " 制攝影㈣進行相應之旋轉,其係對二_進行掃描,=向,《控 之畫素時,代表該畫素為-移動點,如第八(_所:,此:=到等於> ,峨前謝以 對基準,與第八咖之目前影綱移動._ 對’在該心㈣晰細叫物第:、 200810558 矩陣最級3x3 _,接恤聽最符合⑽轉之中心座 “與該移動點座標,即可得出該移動點之移動方向移動方向可能是上、 右、左上、右上、咖㈣術向;在輸統計二元影 像中母一移動點之軸方向後,最多的軸方向㈣斷為鶴物體之移動 方向,而處理器u即依照此判斷之移動方向控制攝影機iq旋轉,以追縱 移動物體,例如當錄移動點為向左移動時,攝影機iq之相應旋轉方向即 為向左旋轉,以維持移動物體於監視範圍内。 在移動物體進人攝則G之魏(咖)_,轉缝體於影像中 所佔比例小於或大於使用者設定之範圍時,處理器14可控麵影㈣自 動調整焦距使移動物體在揭取影像中所佔比例適當如步驟微所示。表 -為以四階段調整攝影機10焦距之一實施例,處理器首先依第一階段之預 設值調整攝織H)之驗,並_整完紐触確認移祕·影像中所 佔之比例是否符合設定範圍,若是則停止機,若㈣進人下—階段,以 第二階段預設值再次調整攝影機1G之焦距,以此類推,直到移動物體所伯 比例適當為止。因此當本㈣使祕—監視系猶,可有效辨認影像中的 移動物體是轉人,並可對移射的人物進行親,且#人臉影像過小或 過大時’更可自動調整焦距’提供清晰且解析度高之人臉影像。 表一 拉近(zoom-in)時之 焦距(mm) 拉遠(zoom-out)時之 焦距(mm) 第一階段 4. 65 3.1 10 200810558Add Vy γή dds - + - 2.56 dd: τ <4 dd + 2.56 dd\ (3) where W is the width of the upper body, (〇_〇〇) is the width of the head, and d is the diameter of the head. It is the diameter of the upper body. When the right moving object is determined by the processor 14 to track the object, the process proceeds to the next step s2, and the rotation of the PTZ camera 10 is controlled to track the moving object, wherein the processor μ is transmitted through the internal non-synchronous transceiver. (_ and "Interface 18 is connected to - drive motor 20 to drive motor 2__丨_ turn. In the implementation of the money, the camera captures the picture is divided into 16 blocks" as shown in the seventh, the block size is Can be customized by the manufacturer, when the object to be traced appears in certain blocks, such as block, 〇, block, Γ, _ 2, e L3 to ^ processor 14 to send control signals to drive Matthew to appropriate The speed will be photography: turn, fine __ axis w w paste (four) witness and lose image, rely on " system photography (four) to carry out the corresponding rotation, the system is to scan the second _, = direction, "control of the prime time , representing the pixel as a moving point, such as the eighth (_::, this: = to equal to >, 峨 谢 以 对 对 基准 基准 基准 基准 基准 基准 基准 基准 基准 基准 基准 基准 基准 基准 基准 基准 基准 基准 基准 基准 基准 基准 基准 基准 基准 基准 基准 基准 基准 基准 基准 基准 基准Clearly called the first:, 200810558 matrix level 3x3 _, the best listening to the (10) turn center block "with the moving point coordinates, you can get this The moving direction of the moving point may be the upper, right, upper left, upper right, and coffee (4) directions; after the axis of the moving point in the binary image, the most axis direction (4) is the moving direction of the crane object. The processor u controls the camera iq to rotate according to the determined moving direction to track the moving object. For example, when the moving point is moved to the left, the corresponding rotating direction of the camera iq is rotated to the left to maintain the moving object. Within the scope of monitoring. When the moving object enters the camera, G is Wei (coffee) _, when the proportion of the swivel body in the image is smaller or larger than the range set by the user, the processor 14 can control the face shadow (4) to automatically adjust the focal length. The proportion of the moving object in the uncovered image is as shown in the step. Table - is an embodiment in which the focal length of the camera 10 is adjusted in four stages, and the processor first adjusts the woven fabric H) according to the preset value of the first stage. Check, and _ complete the touch to confirm whether the proportion of the secret and image in the image meets the set range, if it is, then stop the machine, if (4) enter the next stage, adjust the focal length of the camera 1G again with the preset value of the second stage, This kind of push, until the proportion of the moving object is appropriate. Therefore, when the (4) secret-monitoring system is used, it can effectively recognize that the moving object in the image is a transfer person, and can perform the kiss on the transferred person, and #人脸影像When the size is too small or too large, 'Automatically adjust the focus' to provide a clear and high-resolution face image. Table 1 Zoom-in focal length (mm) Zoom-out focal length (mm) The first stage 4. 65 3.1 10 200810558

此外’如第一圖所不,追縱模組32具有一重置(reset)電路26,在處 理器14 +正鍵作或因老化等因素使設定狀態可能改變時,重置電路邡 可重新啟動處理器14使系統得以恢復正常運作,並附有調整按紐28,使用 者可經由調整胁28機臨界值之設定,關整追賴靈敏度 ,而為了防 止系統軟體被破解或峨遭盜改,—加密(·γρΐί〇η)·3()係連接至處 理器14對處理☆ 14的訊號進行加密。其巾追蹤模組32可直接整合於攝 汾機ίο中’或内建於-電腦’亦可獨立作為一裝置’外接於攝影機1〇上。 第九圖至第十圖係顯示本發明之追縱效能,從第九圖可以看出,ρτζ攝 影機10跟隨著出現於畫面中的移動人物旋轉其拍攝角度,並自動調整焦距 將臉部影像放大’如圖片中紅框部分所示;而第十圖中,移動物體為一張 椅子,經處職難對她^符合式⑵及式⑶之麵,因此攝影機1〇 並不會跟隨賴巾賴子_或變焦。@此本判經過實紐明可有效進 行侧及追蹤’使麟監„鱗,更可自動提供清概騎度高之人臉 影像以供辨認。 以上所述係藉由實施例說明本發明之絲处 之H其目的在使熟習該技術者 能暸解本發明之内容並據以實施,而非限定太 X月之專利範圍,故,凡其 他未脫離本發剩齡之精制完成之粒修料修改,減包含在以下 200810558 所述之申請專利範圍中。 【圖式簡單說明】 第一圖為本發明系統一實施例之結構方塊圖。 第一圖為本發明一貫施例之流程圖。 第二圖為本發明對掏取影像進行降頻取樣之示意圖。 第四(a)圖至第四⑷圖為本發簡由比對先前影像 a 、引衫m仔出一移動 點與靜止點之二元影像之示意圖。 第五圖為本發明藉由躺移動點座標娜移動物體影像之示音圖 第六圖為本發明以橢圓模擬人型之頭部與上身部之示音固· 第七圖為本發明影像擷取裝置之擷取晝面以區塊分割之示意圖。 第八⑷圖至第八⑹圖為本發明判斷移動點之移動方向的過程示意圖。 取移動人物臉部之影像。 第九圖為監視範圍内出現移動人物時,本發明之ρτζ攝影機自動2並操 第十圖為以椅子作為移動物體時【主要元件符號說明】 10 ΡΤΖ攝影機 12解碼器 本發明之ΡΤΖ攝影機的拍攝影像。 14處理器 16記憶體 18 RS-485 介面 20驅動馬達 12 200810558 22放大器 24顯不裔 26重置電路 28調整按鈕 30加密電路 32追蹤模組In addition, as shown in the first figure, the tracking module 32 has a reset circuit 26, and the reset circuit can be restarted when the processor 14+ is being pressed or the setting state may be changed due to aging or the like. The processor 14 is activated to resume normal operation, and an adjustment button 28 is attached. The user can adjust the threshold of the alarm to adjust the tracking sensitivity, and to prevent the system software from being cracked or stolen. - Encryption (·γρΐί〇η)·3() is connected to the processor 14 to encrypt the signal processed ☆ 14. The towel tracking module 32 can be directly integrated into the camera ’ or built into the computer or can be used as a device to externally connect to the camera. The ninth to tenth views show the tracking performance of the present invention. As can be seen from the ninth figure, the ρτζ camera 10 rotates its shooting angle following the moving person appearing in the picture, and automatically adjusts the focal length to enlarge the facial image. 'As shown in the red box in the picture; and in the tenth picture, the moving object is a chair, and it is difficult for her to meet the faces of (2) and (3). Therefore, the camera does not follow the towel. _ or zoom. @本本判经实纽明 can effectively carry out the side and track the 'Linshijian' scales, and can automatically provide a high-capacity human face image for identification. The above description illustrates the invention by way of examples. The purpose of the yarn is to enable the person skilled in the art to understand the contents of the present invention and implement it according to the scope of the patent of the X-month. Therefore, other refined materials which have not been removed from the remaining age of the present invention. The following is a block diagram of an embodiment of the system of the present invention. The first figure is a flow chart of a consistent embodiment of the present invention. The second figure is a schematic diagram of the down-sampling of the captured image according to the present invention. The fourth (a) to fourth (4) diagrams of the present invention are compared with the previous image a, and the drawing point is a moving point and a stationary point. The fifth figure is a sound diagram of the moving object image by the lying point of the present invention. The sixth figure is the elliptical simulation of the head and upper body of the human body. The selection of the image capturing device of the present invention The figure is divided into blocks. The eighth (4) to eighth (6) drawings are schematic diagrams of the process of judging the moving direction of the moving point according to the invention. The image of the moving person's face is taken. The ninth picture shows the moving person in the monitoring range. The ρτζ camera of the invention automatically performs the tenth figure when the chair is used as a moving object [Description of main component symbols] 10 ΡΤΖ Camera 12 decoder The captured image of the camera of the present invention. 14 Processor 16 Memory 18 RS-485 interface 20 drive motor 12 200810558 22 amplifier 24 display 26 reset circuit 28 adjustment button 30 encryption circuit 32 tracking module

Claims (1)

200810558 十、申請專利範圍: 1· 一種以全方向旋轉及變焦(pan—Tilt—z〇〇m PZ)之〜像擷取裝置追蹤移 動物體之方法,包括下列步驟: 比對影像操取裝置所娜之目前影像與—先前影像,區分出靜止點轉 動點; ”夕 依據該移動點座標,界定出移動物體; 在該影像擷取裝置所擷取之影像中所佔比例過小 依該移動物體之位置旋轉該影像操取敦置以追縱該移動物體’以及 在該移動物魏人該裝置之敎(_)範_,頭移動物體 或過大時,調整該影像擷 取裝置之焦距使該移動物體在該擷取影像中所佔比例適當。 2·如申請專利範圍第1項所述之方法,其中 、y A曰則衫像與該先前影像可先 經過降頻取樣(down sampling)以降低資料量。 3. 如申請專概圍第1賴述之方法,財歸止賴該移動闕區分係 比對該目前影像與触前影像而得出-差異影像後,將該差㈣像中的每 一像素(Pixel)值與-臨界值比較,區分出該靜止點與該移動點。 4. 如申請專利範圍第3項所述之方法,其中該臨界值係可調整。 5. 如申請專鄕圍第3賴述之方法,其巾該差異影像為—灰階(謂 level)影像。 6. 如申請專利範圍第3賴述之方法,其中該像素值與該臨界值的比較係 透過一濾波器完成。 7. 如申請專利範圍第6項所述之方法,其中該渡波器的輸出為二元(bmary) 影像,以,0’與,1’分別代表該靜止點或該移動點。 200810558 8.如申請專利範圍第i項所述之方法,更包括—自該目前影像帽取出該 移動物體影像之步驟,其係包括: 找出”亥移動點在该一元影像X軸之最小座樣及最大座標 (Xstop); 找出該移動點在該二元影像Y軸之最小座標(Yst〇p)及最大座標 (Ystart);以及 定義出以(Xstart,YstopMXstart,Ystart)、(Xst〇p,Ystart)及(Xst〇p, Ystop)為端點之長方形區域,對應至該目前影像。 9·如申請專利範圍第丨項所述之方法,其中在界定出該移動物體之後,更 包括-判_移動物體是否為—欲追蹤物體之步驟,其係比對該移動物體 與預先建立之欲追蹤物體模型,依據比對結果判斷該移動物體是否為欲 追蹤物體,若是則旋轉該影像擷取裝置對該移動物體進行追蹤。 10·如申#專利範圍第g項所述之方法,其巾該欲追縱物體模型為人型。 U·如申請專利範圍第10項所述之方法,其中該人型包含頭部與上身部。 12·如申凊專利範圍第u項所述之方法,其中該頭部及該上身部係以擴圓 模擬。 13.如申請專利範圍第12項所述之方法,其中用以模擬該頭部之橢圓數學200810558 X. Patent application scope: 1. A method for tracking moving objects by rotating and zooming (pan-Tilt-z〇〇m PZ) in the omnidirectional direction, including the following steps: Comparing the image manipulation device Na's current image and the previous image distinguish the point of rotation of the stationary point; "the eve defines the moving object according to the coordinate of the moving point; the proportion of the image captured by the image capturing device is too small according to the moving object Positioning the image to manipulate the moving object and to adjust the focal length of the image capturing device to make the movement when the moving object is over (_) The proportion of the object in the captured image is appropriate. 2. The method of claim 1, wherein the y A 曰 shirt image and the previous image may be subjected to down sampling to reduce 3. The amount of data. 3. If you apply for the method of the first paragraph, the financial system depends on the current image and the pre-touch image to obtain the difference image, the difference (4) in the image Every image The Pixel value is compared with the -threshold value to distinguish the stationary point from the moving point. 4. The method of claim 3, wherein the threshold value is adjustable. In the third method, the differential image is a grayscale image. 6. The method of claim 3, wherein the comparison between the pixel value and the threshold is through a filter. 7. The method of claim 6, wherein the output of the ferrite is a binary image, and 0' and 1' represent the stationary point or the moving point, respectively. The method of claim i, further comprising the steps of: removing the image of the moving object from the current image cap, the method comprising: finding a minimum seat of the X-axis of the one-dimensional image and The maximum coordinate (Xstop); find the minimum coordinate (Yst〇p) and the maximum coordinate (Ystart) of the moving point on the Y-axis of the binary image; and define (Xstart, YstopMXstart, Ystart), (Xst〇p, Ystart) and (Xst〇p, Ystop) are rectangular regions of the endpoint , corresponding to the current image. 9. The method of claim 2, wherein after defining the moving object, further comprising: determining whether the moving object is the step of tracking the object, the ratio is compared with the moving object and the pre-established To track the object model, determine whether the moving object is the object to be tracked according to the comparison result, and if so, rotate the image capturing device to track the moving object. 10. The method according to item g of the patent scope of the patent, wherein the model of the object to be traced is a human type. U. The method of claim 10, wherein the human form comprises a head and an upper body. 12. The method of claim 5, wherein the head and the upper body are simulated by a rounding. 13. The method of claim 12, wherein the elliptical mathematics of the head is simulated 模擬該上身部之橢圓數學 15 200810558 式為 dd)2tJ r Add ,Y/-了+ J rw T +2.56 其中該w為該上身部之寬, 该(0-00)為該頭部之寬,該d為該頭部之直徑,該dd為該上身部之直徑。 H.如申請專利範圍第12項所述之方法,其中該移動物體與該人型之比對 係計算對應於闕部及該上身雜置之郷_體_侧之差值,若該 差值小於一臨界值則判斷該移動物體為該欲追蹤物體。 15.如申請專利範圍第i項所述之方法,其中追縱該移動物體時,可藉由該 移動點之座標觸出該欲追職體於影像中之位置,_影像操取裝置相 應旋轉,使該欲追縱物體持續位於該影雜取裝置之可視範圍内。 瓜如申請細刪丨項所述之方法,其中雜_物體時,可夢由比 對該目細_先細___體之移財 裝置進行她讀_追㈣鶴物體。 〜賴取 Π·如申請專利細第16項所述之方法,其中該移動 係計算並崎每-娜動狀飾 _ ° 動物體之移動方向。 取夕之_動方向即判斷為該移 18·如申睛專利範圍第17項所述之方法,其中該 係於該目前影像中,該移動關圍AxA大小之像麵=移動方向的判斷影像中該_之座標_xB大小之像 ,_該先前較該最符合之BxR拓瞌由广挪t 联付&之BxB矩陣,再比 向。 崎峨__喝,物點之移動方 dd T 19.如申請專利範圍第18項所述之方法,其中該a為7 , 該B為3 16 200810558 20.如申請專利範圍第i項所述之方法,其中該影像擷取裝置為攝影機。 2L-種使用PTZ影像操取裝置追蹤移動物體之系統,包括: -可全方向旋轉及變焦之影_取裝置;以及 追縱她’包括-處理II,其巾該處理器可比對該影_取裝置所操 取之目⑲像與-先姆彡像,界定出飾物體,並控繼影軸取裝置之 旋轉以追職移祕體,以及_該影像娜裝置之鎌,使該移動物體 在該擷取影像中所佔比例適當。 22. 如申請專利細第21項所述之系統,其中該處職可先對該目前影像 與該先前影像降頻取樣以降低資料量。 23. 如申請專利制第21項所述之系統,射該處麵可比對該移動物體 與-預先建立之欲追職體_,依據比騎果判_移動物體是否為欲 追縱物體,若相_賴取裝置__物體進行追縱。 申月專利lag)第23項所述之系統,其中該欲追軸體模型為人型。 25.如申請專利範圍第24項所述之祕,其中該人型包含頭部與上身部。 见如申請專概圍第25項所述之祕,其中該頭部及該上身部係以姻 模擬。 27.如申請專利顧第26項所述之系統,射該處係計算對應於該頭 部及該上身雜置之該㈣滅触_之缝,若駐值條—臨界值 則判斷該移動物體為該欲追蹤物體。 說如申請專利範_ 21項所述之系統,其中該處理器係判斷該移動物體 於影像中之位置’並使該影像擷取裝置相應旋轉,使該欲追縱物體持續位 200810558 於該影像擷取裝置之可視範圍内。 29.如申請專利細第21項所述之系統,其中該處理器可比對該目前影像 與該先前錄明_義倾之軸方向,雜细像娜裝置相應旋 轉以追雖:该移動物體。 肌如申請專彻第21機之系統,其中魏慨蚊包括至少一記 憶體,連接至該處職,_存該目前影像、該先前影像及舰追縱物體 模型。 礼如申請術爾21機彻,更_少—㈣,接收該影 像擷取裝置之訊號,以顯示該影像棘裝置所擷取之晝面。 32.如申請專利範圍第21項所述之系統,其中該追顿組更包括一解碼器, 將該影像擷取裝置之織解碼並傳送线處理器中。 33·如申請專利範圍第21項所述之系統,其中該追縱模組更包括一重置 (騰,_觸树峨職_吻帳 理器。 & 34. 如申請專利範圍第21項所述之系統,其中該追縱模組更包括—加密 (encryption)電路,對魏雌之訊親行加密。 35. 如申請專利範圍第21項所述之系統,其中該追縱模組更包括至少—調 整技鈕^ 周整该處理器之設定以調整追縱靈敏度。 36. 如申請專利範圍第21項所述之系統,其中該追縱模組可内建於該影像 擷取裝置中。 冢 37·如申請專利範圍第21項所述之系統,其中該追縱模組可内建於—電腦 200810558 中。 38. 如申請專利範圍第21項所述之系統,其中該追蹤模組可獨立作為一裝 置。 39. 如申請專利範圍第21項所述之系統,其中該影像擷取裝置為一 PTZ攝 影機。 19Simulating the elliptical mathematics of the upper body 15 200810558 is dd) 2tJ r Add , Y/- + J rw T +2.56 where w is the width of the upper body, and the (0-00) is the width of the head. The d is the diameter of the head, and the dd is the diameter of the upper body. The method of claim 12, wherein the ratio of the moving object to the human type is calculated as a difference corresponding to the 郷_body_ side of the ankle and the upper body, if the difference If it is less than a critical value, it is determined that the moving object is the object to be tracked. 15. The method of claim i, wherein when the moving object is traced, the position of the target to be tracked in the image can be touched by the coordinates of the moving point, and the image manipulation device rotates accordingly. The object to be traced is continuously located within the visible range of the image capture device. For example, when applying for a detailed deletion of the item, in the case of a miscellaneous object, the dream can be read by the _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 〜 取 Π 如 如 如 如 如 如 申请 如 申请 申请 申请 申请 申请 申请 申请 申请 申请 申请 申请 申请 申请 申请 申请 申请 申请 申请 申请 申请 申请 申请 申请 申请 申请 如 申请 如 如In the eve of the eve, the direction is determined as the method of claim 17, wherein the method is in the current image, the moving image is AxA size image = moving direction judgment image In the image of the size of the _xB, the previous BxR topology is better than the BxB matrix of the wide-spreading & 5. The method of claim 18, wherein the a is 7, and the B is 3 16 200810558 20. As described in claim i. The method, wherein the image capturing device is a camera. 2L-system for tracking moving objects using PTZ image manipulation device, including: - omnidirectional rotation and zooming shadow _ taking device; and tracking her 'including-processing II, the towel can be compared to the shadow _ Take the device 19 and the image of the first, define the decorative object, and control the rotation of the secondary imaging device to chase the secret body, and _ the image of the device to make the moving object The proportion in the captured image is appropriate. 22. The system of claim 21, wherein the job is to downsample the current image and the previous image to reduce the amount of data. 23. If the system described in claim 21 is applied, the plane can be compared with the moving object and the pre-established pursuit of the body _, based on the judgment of the rider _ whether the moving object is the object to be traced, if Phase _ _ _ _ _ object to track. The system of claim 23, wherein the model of the axicon is human. 25. The secret of claim 24, wherein the human form comprises a head and an upper body. See the secrets mentioned in the 25th section of the application, where the head and the upper body are simulated by marriage. 27. The system of claim 26, wherein the system calculates a joint corresponding to the (4) tampering _ corresponding to the head and the upper body, and determines the moving object if the stagnation value is a critical value. For the purpose of tracking objects. The system of claim 21, wherein the processor determines the position of the moving object in the image and causes the image capturing device to rotate correspondingly, so that the object to be tracked continues to be in the image 200810558. Within the visible range of the capture device. 29. The system of claim 21, wherein the processor is responsive to the current image and the direction of the axis of the previously recorded yaw, the smear device is rotated to chase: the moving object. Muscles apply for the system of the 21st machine, in which the Wei mosquitoes include at least one memory, connected to the position, _ the current image, the previous image and the ship tracking object model. If the application is successful, the signal is received by the image capture device to display the image captured by the image spine device. 32. The system of claim 21, wherein the set-up group further comprises a decoder that decodes the image capture device and transmits it to the line processor. 33. The system of claim 21, wherein the tracking module further comprises a reset (Teng, _ touch tree 峨 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ The system, wherein the tracking module further comprises an encryption circuit for encrypting the information of the Wei female. 35. The system of claim 21, wherein the tracking module is further Including at least the adjustment of the skill button, the setting of the processor is adjusted to adjust the tracking sensitivity. 36. The system of claim 21, wherein the tracking module can be built in the image capturing device.冢37. The system of claim 21, wherein the tracking module is built into the computer 200810558. 38. The system of claim 21, wherein the tracking module 39. The system of claim 21, wherein the image capturing device is a PTZ camera.
TW95128097A 2006-08-01 2006-08-01 System and method using a PTZ image-retrieving device to trace a moving object TW200810558A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW95128097A TW200810558A (en) 2006-08-01 2006-08-01 System and method using a PTZ image-retrieving device to trace a moving object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW95128097A TW200810558A (en) 2006-08-01 2006-08-01 System and method using a PTZ image-retrieving device to trace a moving object

Publications (1)

Publication Number Publication Date
TW200810558A true TW200810558A (en) 2008-02-16

Family

ID=44767402

Family Applications (1)

Application Number Title Priority Date Filing Date
TW95128097A TW200810558A (en) 2006-08-01 2006-08-01 System and method using a PTZ image-retrieving device to trace a moving object

Country Status (1)

Country Link
TW (1) TW200810558A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI453698B (en) * 2011-03-25 2014-09-21 Everfocus Electronics Corp The method of automatic tracking of ball camera
TWI471825B (en) * 2010-07-27 2015-02-01 Hon Hai Prec Ind Co Ltd System and method for managing security of a roof
TWI479857B (en) * 2012-10-15 2015-04-01 Everfocus Electronics Corp PTZ camera automatic tracking method
TWI508001B (en) * 2013-10-30 2015-11-11 Wistron Corp Method, apparatus and computer program product for passerby detection
TWI556651B (en) * 2015-12-09 2016-11-01 台達電子工業股份有限公司 3d video surveillance system capable of automatic camera dispatching function, and surveillance method for using the same
TWI786409B (en) * 2020-06-01 2022-12-11 聚晶半導體股份有限公司 Image detection device and image detection method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI471825B (en) * 2010-07-27 2015-02-01 Hon Hai Prec Ind Co Ltd System and method for managing security of a roof
TWI453698B (en) * 2011-03-25 2014-09-21 Everfocus Electronics Corp The method of automatic tracking of ball camera
TWI479857B (en) * 2012-10-15 2015-04-01 Everfocus Electronics Corp PTZ camera automatic tracking method
TWI508001B (en) * 2013-10-30 2015-11-11 Wistron Corp Method, apparatus and computer program product for passerby detection
TWI556651B (en) * 2015-12-09 2016-11-01 台達電子工業股份有限公司 3d video surveillance system capable of automatic camera dispatching function, and surveillance method for using the same
TWI786409B (en) * 2020-06-01 2022-12-11 聚晶半導體股份有限公司 Image detection device and image detection method
US11615536B2 (en) 2020-06-01 2023-03-28 Altek Semiconductor Corp. Image detection device and image detection method

Similar Documents

Publication Publication Date Title
JP6522708B2 (en) Preview image display method and apparatus, and terminal
US9560269B2 (en) Collaborative image capturing
TWI503786B (en) Mobile device and system for generating panoramic video
US11102413B2 (en) Camera area locking
JP2010009134A (en) Image processing system, image processing method, and program
CN1980384A (en) Space mobile-object locking aim-searching device and method
WO2014199786A1 (en) Imaging system
WO2019237745A1 (en) Facial image processing method and apparatus, electronic device and computer readable storage medium
CN113973190A (en) Video virtual background image processing method and device and computer equipment
WO2020057353A1 (en) Object tracking method based on high-speed ball, monitoring server, and video monitoring system
TW200810558A (en) System and method using a PTZ image-retrieving device to trace a moving object
US6809771B1 (en) Data input apparatus having multiple lens unit
DE102018115437A1 (en) Image control apparatus and control method for the same
WO2015100723A1 (en) Method and photographing device for implementing self-service group photo taking
CN110944101A (en) Image pickup apparatus and image recording method
CN108717704B (en) Target tracking method based on fisheye image, computer device and computer readable storage medium
US8860780B1 (en) Automatic pivoting in a wide-angle video camera
TWI615808B (en) Image processing method for immediately producing panoramic images
TWI613904B (en) Stereo image generating method and electronic apparatus utilizing the method
WO2022028407A1 (en) Panoramic video editing method, apparatus and device, and storage medium
TWI270289B (en) Image pickup apparatus and image pickup and synthesis method thereof
CN111741223A (en) Panoramic image shooting method, device and system
TWI516120B (en) Method for generating panoramic image and image capturing device thereof
US10013736B1 (en) Image perspective transformation system
Yip Face and eye rectification in video conference using affine transform