TWI769471B - Automatic panning shot system and automatic panning shot method - Google Patents
Automatic panning shot system and automatic panning shot method Download PDFInfo
- Publication number
- TWI769471B TWI769471B TW109122472A TW109122472A TWI769471B TW I769471 B TWI769471 B TW I769471B TW 109122472 A TW109122472 A TW 109122472A TW 109122472 A TW109122472 A TW 109122472A TW I769471 B TWI769471 B TW I769471B
- Authority
- TW
- Taiwan
- Prior art keywords
- tracking
- image data
- processor
- reference point
- sampling frame
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 238000004091 panning Methods 0.000 title abstract 7
- 238000005070 sampling Methods 0.000 claims abstract description 69
- 230000008859 change Effects 0.000 claims abstract description 24
- 230000004913 activation Effects 0.000 claims description 44
- 230000003287 optical effect Effects 0.000 description 25
- 238000010586 diagram Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 7
- 230000009471 action Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
Images
Landscapes
- Studio Devices (AREA)
- Image Analysis (AREA)
Abstract
Description
本發明有關於攝錄影跟拍,特別是關於一種自動攝錄影跟拍系統及一種自動攝錄影跟拍方法。The present invention relates to video recording and tracking, in particular to an automatic video recording and tracking system and an automatic video recording and tracking method.
使用者利用智慧型手機自拍時,傳統的方式是如同照相機一般,利用三腳架或其他形式固定架來固定智慧型手機,並且啟動延時照相或錄影。此時智慧型手機是完全固定,使用者只能在很小的範圍中移動,才能確保自己被拍攝到。另一種工具是自拍桿,用手持桿體取代腳架,並且提供可驅動快門之機構(有線或無線連線機制)。使用者以持握桿體的方式進行自拍,但取像距離被桿體長度限制,只能進行近距離自拍。When a user uses a smartphone to take a selfie, the traditional way is to use a tripod or other form of fixing frame to fix the smartphone, just like a camera, and start time-lapse photography or video recording. At this time, the smartphone is completely stationary, and the user can only move in a small range to ensure that he is photographed. Another tool is the selfie stick, which replaces the tripod with a hand-held stick and provides a mechanism (wired or wireless) to actuate the shutter. The user takes a selfie by holding the stick, but the image taking distance is limited by the length of the stick, and can only take a close-up selfie.
雖目前有幾種跟拍技術被開發出來,可由底座驅動攝影機跟拍特定目標。然而,此類底座的過度跟拍反而致使智慧型手機持續擺動以跟拍特定目標,將使得影像資料(特別是動態影片串流)出現明顯晃動,因此仍改善跟拍方式的需要。Although several tracking techniques have been developed, the camera can be driven by the base to follow a specific target. However, the excessive tracking of such a base actually causes the smartphone to continuously oscillate to follow a specific target, which will cause the image data (especially dynamic video streaming) to shake significantly, so there is still a need to improve the tracking method.
鑑於上述問題,本發明提出一種自動攝錄影跟拍系統及一種自動攝錄影跟拍方法,據以解決對特定目標過度跟拍造成影像資料晃動問題。In view of the above problems, the present invention provides an automatic video recording system and an automatic video recording and tracking method, so as to solve the problem of image data shaking caused by excessive tracking of a specific target.
本發明提出一種自動攝錄影跟拍系統,包含有可攜式電子裝置及跟拍裝置。The present invention provides an automatic video recording and tracking system, which includes a portable electronic device and a tracking device.
可攜式電子裝置包含:一處理器,用以執行一跟拍模式;一攝影鏡頭,電性連接於處理器,用以沿一拍攝方向拍攝一影像資料而傳送影像資料至處理器;且處理器於影像資料中定義互相垂直的一橫向座標軸及一縱向座標軸,影像資料沿橫向座標軸的長度定義為複數個橫向單位,且影像資料沿橫向座標軸的高度定義為複數個縱向單位;一記憶單元,電性連接於處理器,用以儲存影像資料;一觸控顯示面板,電性連接於處理器,用以顯示影像資料,並可接受一觸控操作並回饋觸控操作至處理器;及一第一通訊介面,電性連接於處理器。The portable electronic device includes: a processor for executing a follow-up mode; a camera lens, electrically connected to the processor, for capturing an image data along a shooting direction and transmitting the image data to the processor; and processing The device defines a horizontal coordinate axis and a vertical coordinate axis that are perpendicular to each other in the image data, the length of the image data along the horizontal coordinate axis is defined as a plurality of horizontal units, and the height of the image data along the horizontal coordinate axis is defined as a plurality of vertical units; a memory unit, electrically connected to the processor for storing image data; a touch display panel electrically connected to the processor for displaying image data, receiving a touch operation and feeding back the touch operation to the processor; and a The first communication interface is electrically connected to the processor.
跟拍裝置包含:一控制器;一第二通訊介面,電性連接於控制器,並與第一通訊介面建立通訊連結,以接收一轉向控制訊號並傳送轉向控制訊號至控制器;以及一轉向模組,電性連接於控制器,且轉向模組承載可攜式電子裝置;其中控制器依據轉向控制訊號驅動轉向模組轉向,而改變攝影鏡頭的拍攝方向。The tracking device includes: a controller; a second communication interface, electrically connected to the controller, and establishing a communication connection with the first communication interface, so as to receive a steering control signal and transmit the steering control signal to the controller; and a steering The module is electrically connected to the controller, and the steering module carries the portable electronic device; wherein the controller drives the steering module to turn according to the steering control signal to change the shooting direction of the photographic lens.
其中,於跟拍模式,處理器於影像資料中識別一特徵物件,於特徵物件周圍設定一取樣框,使取樣框環繞特徵物件,並且隨特徵物件的移動而移動取樣框;處理器並於取樣框中設定一基準點,並且當處理器於影像資料中識別出複數個特徵物件時,處理器分別對各特徵物件設定取樣框,並以面積最大的取樣框執行跟拍模式。Among them, in the follow-up mode, the processor identifies a feature object in the image data, sets a sampling frame around the feature object, makes the sampling frame surround the feature object, and moves the sampling frame with the movement of the feature object; A reference point is set in the frame, and when the processor identifies a plurality of characteristic objects in the image data, the processor sets a sampling frame for each characteristic object, and executes the tracking mode with the sampling frame with the largest area.
其中,處理器計算基準點與一目標座標的一橫向距離及一縱向距離,並且當橫向距離大於一橫向閾值,處理器發出轉向控制訊號驅動轉向模組改變拍攝方向,使基準點朝目標座標橫向移動至少一個橫向單位;及當縱向距離大於一縱向閾值,處理器發出轉向控制訊號控制轉向模組,使影像資料中的基準點朝目標座標縱向移動至少一個縱向單位。The processor calculates a horizontal distance and a vertical distance between the reference point and a target coordinate, and when the horizontal distance is greater than a horizontal threshold, the processor sends a steering control signal to drive the steering module to change the shooting direction, so that the reference point is horizontal to the target coordinate moving at least one horizontal unit; and when the vertical distance is greater than a vertical threshold, the processor sends a steering control signal to control the steering module to move the reference point in the image data vertically by at least one vertical unit toward the target coordinate.
其中,處理器持續地判斷特徵物件是否維持在影像資料;若特徵物件不在影像資料中,且特徵物件被另一特徵物件遮蔽,處理器選取另一特徵物件對應的另一取樣框執行跟拍模式,並重新設定基準點;若特徵物件不在影像資料中,且特徵物件並不是被另一特徵物件遮蔽,處理器由影像資料中選取面積最大的另一取樣框執行跟拍模式,並重新設定基準點。The processor continuously determines whether the feature object is maintained in the image data; if the feature object is not in the image data, and the feature object is covered by another feature object, the processor selects another sampling frame corresponding to the other feature object to execute the tracking mode , and reset the reference point; if the feature object is not in the image data, and the feature object is not obscured by another feature object, the processor selects another sampling frame with the largest area in the image data to execute the tracking mode, and reset the reference point.
本發明還提出一種自動攝錄影跟拍方法,適用於互相建立通訊連結的可攜式電子裝置及跟拍裝置,可攜式電子裝置以攝影鏡頭沿拍攝方向拍攝影像資料,並產生轉向控制訊號至跟拍裝置,跟拍裝置承載可攜式電子裝置,並接收轉向控制訊號以改變拍攝方向;方法包含下列步驟:觸發可攜式電子裝置執行一跟拍模式,以對影像資料中的一特徵物件進行跟拍模式;於影像資料中定義互相垂直的一橫向座標軸及一縱向座標軸;其中,影像資料沿橫向座標軸的長度定義為複數個橫向單位,且影像資料沿橫向座標軸的高度定義為複數個縱向單位;於影像資料中識別出特徵物件時,於特徵物件周圍設定一取樣框,使取樣框環繞特徵物件,並且於取樣框中設定一基準點,並且當識別出複數個特徵物件時,分別對各特徵物件設定取樣框,並以影像資料中面積最大的取樣框進行跟拍模式;計算基準點與一目標座標的一橫向距離及一縱向距離;其中,當橫向距離大於一橫向閾值,發出轉向控制訊號以改變拍攝方向,使基準點朝目標座標橫向移動至少一個橫向單位;及當縱向距離大於一縱向閾值,發出轉向控制訊號以改變拍攝方向,使影像資料中的基準點朝目標座標縱向移動至少一個縱向單位;以及持續地判斷特徵物件是否維持在影像資料;若特徵物件不在影像資料中,且特徵物件被另一特徵物件遮蔽,選取另一特徵物件對應的另一取樣框執行跟拍模式,並重新設定基準點;若特徵物件不在影像資料中,且特徵物件並不是被另一特徵物件遮蔽,由影像資料中選取面積最大的另一取樣框執行跟拍模式,並重新設定基準點。The present invention also provides an automatic video recording and tracking method, which is suitable for a portable electronic device and a tracking device that establish a communication connection with each other. To the tracking device, the tracking device carries a portable electronic device and receives a steering control signal to change the shooting direction; the method includes the following steps: triggering the portable electronic device to execute a tracking mode to detect a feature in the image data The object is in follow-up mode; a horizontal coordinate axis and a vertical coordinate axis that are perpendicular to each other are defined in the image data; wherein, the length of the image data along the horizontal coordinate axis is defined as a plurality of horizontal units, and the height of the image data along the horizontal coordinate axis is defined as a plurality of Vertical unit; when identifying characteristic objects in the image data, a sampling frame is set around the characteristic object, so that the sampling frame surrounds the characteristic object, and a reference point is set in the sampling frame, and when a plurality of characteristic objects are identified, respectively Set a sampling frame for each feature object, and use the sampling frame with the largest area in the image data to follow the shooting mode; calculate a horizontal distance and a vertical distance between the reference point and a target coordinate; wherein, when the horizontal distance is greater than a horizontal threshold, send out A steering control signal is used to change the shooting direction, so that the reference point is moved laterally toward the target coordinate by at least one horizontal unit; and when the vertical distance is greater than a vertical threshold, a steering control signal is sent to change the shooting direction, so that the reference point in the image data is moved to the vertical direction of the target coordinate moving at least one vertical unit; and continuously judging whether the feature object is maintained in the image data; if the feature object is not in the image data, and the feature object is covered by another feature object, select another sampling frame corresponding to the other feature object to perform follow-up shooting mode, and reset the reference point; if the feature object is not in the image data, and the feature object is not obscured by another feature object, select another sampling frame with the largest area in the image data to execute the follow-up mode, and reset the reference point .
本發明是在基準點位移超過閾值後,才進行拍攝方向的調整。因此在本發明提供的技術手段中,攝影鏡頭的跟拍動作,就不會過度跟隨人臉,而造成所拍攝的影像資料過度晃動,只有在移動距離較大的情況下才逐步調整拍攝方向,可使得影像資料相對穩定,跟拍攝影的方式也會相對平順。同時,藉由上述跟拍模式的目標的更新,可以避免攝影鏡頭的跟拍動作過度跟隨單一目標,而造成所拍攝的影像資料的範圍大幅度的晃動。In the present invention, the adjustment of the shooting direction is performed only after the displacement of the reference point exceeds the threshold value. Therefore, in the technical means provided by the present invention, the follow-up action of the photographic lens will not follow the human face excessively, resulting in excessive shaking of the captured image data, and the shooting direction will be gradually adjusted only when the moving distance is large. It can make the image data relatively stable, and the way to follow the shooting will be relatively smooth. At the same time, by updating the target of the above-mentioned tracking mode, it can be avoided that the tracking action of the photographic lens follows a single target excessively, and the range of the captured image data is greatly shaken.
如圖1及圖2所示,為本發明實施例所揭露的一種自動攝錄影跟拍系統,用以執行一種自動攝錄影跟拍方法。所述自動攝錄影跟拍系統包含可攜式電子裝置100、跟拍裝置200及遙控器300。可攜式電子裝置100被承載於跟拍裝置200上,用以沿一拍攝方向拍攝影像資料M,可攜式電子裝置100控制跟拍裝置200轉動,而改變可攜式電子裝置100的拍攝方向,對特徵物件A進行跟拍。As shown in FIG. 1 and FIG. 2 , an automatic video recording and tracking system disclosed in an embodiment of the present invention is used to execute an automatic video recording and tracking method. The automatic video recording and tracking system includes a portable electronic device 100 , a
可攜式電子裝置100可以是智慧型手機、平板電腦等具有攝錄影功能並且可以與跟拍裝置200建立通訊連結的電子裝置。The portable electronic device 100 can be an electronic device such as a smart phone, a tablet computer, etc., which has a video recording function and can establish a communication link with the
如圖1及圖2所示,可攜式電子裝置100包含處理器110、攝影鏡頭120、記憶單元130、觸控顯示面板140及第一通訊介面150。As shown in FIG. 1 and FIG. 2 , the portable electronic device 100 includes a
如圖1及圖2所示,攝影鏡頭120、記憶單元130及觸控顯示面板140電性連接於處理器110。攝影鏡頭120用於拍攝影像資料M而傳送至處理器110,傳輸至記憶單元130以儲存影像資料M。As shown in FIG. 1 and FIG. 2 , the photographing
如圖2所示,除了作為影像資料M儲存之外,記憶單元130也儲存作業系統及跟拍應用程式,以供處理器110載入執行跟拍模式。As shown in FIG. 2 , in addition to storing the image data M, the
如圖1及圖2所示,觸控顯示面板140電性連接於處理器110,以顯示影像資料M,並接受觸控操作並回饋觸控操作至處理器110。As shown in FIG. 1 and FIG. 2 , the
如圖1及圖2所示,第一通訊介面150電性連接於處理器110,用以建立通訊連結。第一通訊介面150可為有線通訊介面,例如USB介面,亦可為無線通訊介面,例如藍牙、RF通訊介面、Wi-Fi介面(支持Wi-Fi Direct)。As shown in FIG. 1 and FIG. 2 , the
如圖1及圖2所示,跟拍裝置200包含控制器210、第二通訊介面220、轉向模組230及光學編碼接收單元240。As shown in FIG. 1 and FIG. 2 , the
如圖1與圖2所示,第二通訊介面220電性連接於控制器210,並與第一通訊介面150建立通訊連結,使得跟拍裝置200的控制器210與可攜式電子裝置100建立通訊連結。As shown in FIG. 1 and FIG. 2 , the
如圖1及圖2所示,轉向模組230電性連接於控制器210,且轉向模組230用於承載可攜式電子裝置100。控制器210依據轉向控制訊號驅動轉向模組230轉向,使轉向模組230於橫向及縱向轉動或偏斜可攜式電子裝置100而改變拍攝方向。As shown in FIG. 1 and FIG. 2 , the
轉向模組230通常包含一或多個馬達、必要的齒輪箱及夾具232,夾具232用以夾持可攜式電子裝置100,以承載可攜式電子裝置100於轉向模組230上。馬達與齒輪箱的組合用於在一或多個軸向轉動夾具232。馬達、齒輪箱及夾具232的組合為本發明所屬技術領域的通常知識,以下不再贅述其技術手段細節。The
如圖1及圖2所示,光學編碼接收單元240電性連接於控制器210,用於接收帶有跟拍啟動碼的光學編碼訊號,並傳送跟拍啟動碼至控制器210,使控制器210於接收跟拍啟動碼時觸發處理器110開始執行跟拍模式。As shown in FIG. 1 and FIG. 2 , the optical
如圖1及圖3所示,遙控器300包含編碼電路310、按鍵組320及光學編碼發射單元330。As shown in FIG. 1 and FIG. 3 , the
編碼電路310儲存至少一跟拍啟動碼,該跟拍啟動碼對應於一專屬的跟拍裝置200。光學編碼發射單元330電性連接於編碼電路310。當按鍵組320被按壓形成指定按鍵組合後(按鍵同時被按壓,或單一按鍵被快速按壓特定次數),按鍵組320觸發編碼電路310驅動光學編碼發射單元330發出帶有跟拍啟動碼的光學編碼訊號,以被跟拍裝置200的光學編碼接收單元240接收。The
如圖2及圖3所示,當光學編碼接收單元240接收跟拍啟動碼,控制器210判斷跟拍啟動碼是否為專屬的。於跟拍啟動碼為專屬的時,控制器210觸發處理器110開始執行跟拍模式。若跟拍啟動碼不是為專屬的,或是光學編碼訊號未帶有跟拍啟動碼,則控制器210不觸發處理器110執行跟拍模式,或進一步觸發處理器110停止跟拍模式。As shown in FIG. 2 and FIG. 3 , when the optical
如圖4所示,為本發明另一實施例中,光追蹤器400、遙控器300及跟拍裝置200的電路方塊圖。此一實施例中,發射光學編碼訊號的功能由遙控器300中分割出來,成為單獨的光追蹤器400。同樣地,編碼電路310也被分為第一編碼電路311以及第二編碼電路312。跟拍啟動碼則不由光學編碼訊號攜帶,跟拍啟動碼改由無線訊號攜帶。As shown in FIG. 4 , it is a circuit block diagram of the
如圖4所示,光追蹤器400具有一光學編碼發射單元330、第一編碼電路311以及至少一第一按鍵321。光學編碼發射單元330用於發出一光學定位訊號。第一編碼電路311用於產生一指定識別編碼,並且依據指定識別編碼驅動光學編碼發射單元330發出光學定位訊號,並使該光學定位訊號攜帶指定識別編碼。至少一第一按鍵321電性連接於第一編碼電路311,用以被按壓而觸發第一編碼電路311驅動光學編碼發射單元330發出光學定位訊號。此一光學定位訊號可被光學編碼接收單元240接收,以供跟拍裝置200的控制器210分析,而驅動轉向模組230轉向,而使拍攝方向趨向光追蹤器400,以利後續執行跟拍模式的執行。As shown in FIG. 4 , the
如圖4所示,在此一實施例中,跟拍裝置200與遙控器300也略作調整。在此實施例中,跟拍裝置200更包含一第三通訊介面250,電性連接於控制器210。遙控器300更包含一第四通訊介面340,電性連接於第二編碼電路312。第三通訊介面250以及第四通訊介面340用以建立通訊連結。第三通訊介面250以及第四通訊介面340為無線通訊介面,例如藍牙、RF通訊介面、Wi-Fi介面(支持Wi-Fi Direct)。具體而言,第三通訊介面250以及第四通訊介面340之間的通訊連結,以及第一通訊介面150以及第二通訊介面220之間的通訊連結, 是採用不同的通訊協定。As shown in FIG. 4 , in this embodiment, the
如圖4所示,按鍵組320的不同按鍵,用於觸發第二編碼電路312產生跟拍啟動碼,或是其他的功能命令編碼,例如拍攝功能的開始與結束、單張照片擷取的快門等,以透過第四通訊介面340發出。跟拍啟動碼或功能命令編碼由跟拍裝置200的第三通訊介面250接收。接著跟拍啟動碼,或是其他的功能命令編碼再透過第一通訊介面150與第二通訊介面220,傳送至可攜式電子裝置100,藉以透過遙控器300操作可攜式電子裝置100的相關功能。As shown in FIG. 4 , different keys of the
如圖5所示,開始執行跟拍模式之後,處理器110於影像資料M中定義互相垂直的橫向座標軸X及縱向座標軸Y。影像資料M沿橫向座標軸X的長度定義為複數個橫向單位SX,且影像資料M沿橫向座標軸X的高度定義為複數個縱向單位SY。As shown in FIG. 5 , after the tracking mode is started, the
可攜式電子裝置100執行跟拍模式之後,處理器110於影像資料M中識別特徵物件A,例如人臉。若影像資料M中未識別出特徵物件A,則處理器110發出轉向控制訊號,控制跟拍裝置200持續變化拍攝方向,直到於影像資料M中識別出特徵物件A為止。After the portable electronic device 100 executes the tracking mode, the
如圖5所示,於識別出特徵物件A後,處理器110於特徵物件A周圍設定取樣框F,取樣框F環繞特徵物件A,並且隨特徵物件A的移動而移動取樣框F,使特徵物件A維持位於取樣框F中。處理器110可以即時調整攝影鏡頭120的取像倍率,使取樣框F於拍攝的影像資料M中的比例維持不變。處理器110並於取樣框F中設定基準點R。As shown in FIG. 5 , after identifying the feature object A, the
如圖5所示,若處理器110同時識別出多個特徵物件A,A'時,處理器110對多個特徵物件A,A'分別設定取樣框F,F',並以影像資料M中面積最大的取樣框F執行跟拍模式。或,使用者可以透過觸控顯示面板140選取要執行跟拍模式的特徵物件A。As shown in FIG. 5 , if the
如圖5所示,處理器110計算基準點R與目標座標T的橫向距離Dis X及縱向距離Dis Y。前述的目標座標T可以是預設儲存於記憶單元130,由處理器110載入,例如預設的目標座標T可以是位於影像資料M的中央位置。目標座標T也可以是使用者直接在觸控顯示面板140上直接點選。此外,使用者也可以手動在觸控顯示面板140操作產生取樣框F,以變更待跟拍的特徵物件A,例如另一個人臉。As shown in FIG. 5 , the
處理器110由記憶單元130載入橫向閾值及縱向閾值。橫向閾值通常小於一個橫向單位SX,且縱向閾值小於一個縱向單位SY。The
如圖6所示,當橫向距離Dis X大於橫向閾值,處理器110發出轉向控制訊號,以透過控制器210控制轉向模組230改變拍攝方向,使拍攝方向於水平方向轉動,藉以讓基準點R朝目標座標T橫向移動至少一個橫向單位SX。實際上轉向模組230在水平方向的轉動方向,會與基準點R在影像資料M中的橫向移動方向相反。同樣地,當縱向距離Dis Y大於縱向閾值,處理器110控制轉向模組230改變拍攝方向,使拍攝方向改變上下傾角,藉以讓基準點R朝目標座標T縱向移動至少一個縱向單位SY。實際上轉向模組230改變傾角的方向,會與基準點R在影像資料M中的縱向移動方向相反。As shown in FIG. 6 , when the lateral distance Dis X is greater than the lateral threshold, the
如圖5所示,於一具體實施例中,當橫向閾值為0.5個橫向單位SX而縱向閾值為0.5個縱向單位SY。當橫向距離Dis X小於0.5個橫向單位SX,則處理器110不控制轉向模組230作動;且當縱向距離Dis Y小於0.5個縱向單位SY,則處理器110不控制轉向模組230作動。As shown in FIG. 5 , in an embodiment, when the horizontal threshold is 0.5 horizontal units SX and the vertical threshold is 0.5 vertical units SY. When the horizontal distance Dis X is less than 0.5 horizontal units SX, the
如圖6所示,當橫向距離Dis X大於0.5個橫向單位SX,則處理器110透過控制器210控制轉向模組230,使基準點R朝目標座標T橫向移動一個橫向單位SX。處理器110可進一步載入進階橫向閾值,例如於橫向距離Dis X大於1.5個橫向單位SX時,處理器110控制轉向模組230,使基準點R朝目標座標T橫向移動二個橫向單位SX。As shown in FIG. 6 , when the lateral distance Dis X is greater than 0.5 lateral units SX, the
如圖6所示,同樣地當縱向距離Dis Y大於0.5個縱向單位SY,則處理器110透過控制器210控制轉向模組230,使基準點R朝目標座標T縱向移動一個縱向單位SY。處理器110可進一步載入進階縱向閾值,例如於縱向距離Dis Y大於1.5個縱向單位SY時,處理器110控制轉向模組230,使基準點R朝影像資料M中的目標座標T橫向移動二個縱向單位SY。基準點R在橫向座標軸X及縱向座標軸Y的移動,可以是同步進行,也可以是依序進行。As shown in FIG. 6 , when the longitudinal distance Dis Y is greater than 0.5 longitudinal units SY, the
如圖7所示,本發明另一種跟拍方法中,當識別出多個特徵物件A,A'時,處理器110對多個特徵物件A,A'分別設定取樣框F,F',接著,依據所要跟拍數量,依序由面積最大至面積最小選取符合跟拍數量的取樣框F作為跟拍對象,並設定包圍該些被選取的取樣框F的輔助框AF,以輔助框AF為範圍,於該些取樣框F之間設定基準點R,以執行該跟拍模式。跟拍數量可以是二個,也可以是二個以上,或者是全部。As shown in FIG. 7 , in another tracking method of the present invention, when multiple feature objects A, A' are identified, the
如圖8及圖9所示,本發明另一種跟拍方法中,當識別出多個特徵物件A,A'時,處理器110對多個特徵物件A,A'分別設定取樣框F,並以面積最大的取樣框F作為跟拍對象。處理器110持續比對各取樣框F之間的大小變化,即時將跟拍對象改為當前面積最大的取樣框F。在多人同時被拍攝入影像資料M時,攝影鏡頭120可以隨時將跟拍對象改為距離攝影鏡頭120最接近的人臉(取樣框F面積最大)。As shown in FIG. 8 and FIG. 9 , in another tracking method of the present invention, when a plurality of characteristic objects A, A' are identified, the
如圖10所示,為本發明另一實施例所提出的自動攝錄影跟拍系統。此一自動攝錄影跟拍系統包含若多組已經成對建立通訊連結的可攜式電子裝置100a,100b及跟拍裝置200a,200b,並且每一跟拍裝置200a,200b中儲存有對應的跟拍啟動碼。在此依據對應跟拍裝置200a,200b的不同,區隔為第一跟拍啟動碼及第二跟拍啟動碼;其中,第一跟拍裝置200a對應的是第一跟拍啟動碼,第二跟拍裝置200b對應的是第二跟拍啟動碼。As shown in FIG. 10 , it is an automatic video recording and tracking system proposed by another embodiment of the present invention. The automatic video recording and tracking system includes a plurality of groups of portable
按鍵組320可以依據按鍵組合的不同,分別驅動第一編碼電路311或第二編碼電路312發出第一跟拍啟動碼、第二跟拍啟動碼及停止碼;例如,按一下按鍵組320為第一跟拍啟動碼,快速按兩下為第二跟拍啟動碼,長按或另一個按鍵組320為停止碼。前述按鍵組合僅為例示,亦可是不同的按壓模式或是多個按鍵組合。The
當遙控器300發出帶有第一跟拍啟動碼的光學編碼訊號或無線訊號,且被第一跟拍裝置200a接收時,其控制器210可識別出光學編碼訊號或無線訊號帶有第一跟拍啟動碼,而觸發承載於第一跟拍裝置200a上的第一可攜式電子裝置100a。而第二跟拍裝置200b若接收到第一跟拍啟動碼的光學編碼訊號或無線訊號,則因為與第二跟拍啟動碼不符合,因此不會有作動;或是,第二跟拍裝置200b可在接收到第一跟拍啟動碼時,將第一跟拍啟動碼識別為停止碼,而觸發停止跟拍。When the
相反地,當遙控器300發出帶有第二跟拍啟動碼的光學編碼訊號或無線訊號,且被第二跟拍裝置200b接收時,其控制器210可識別出光學編碼訊號或無線訊號帶有第二跟拍啟動碼,而觸發承載於第二跟拍裝置200b上的第二可攜式電子裝置100b。而第一跟拍裝置200a若接收到第二跟拍啟動碼的光學編碼訊號或無線訊號,則因為與第一跟拍啟動碼不符合而不會有作動;或是,第一跟拍裝置200a可在接收到第二跟拍啟動碼時,將第二跟拍啟動碼識別為停止碼,而觸發停止跟拍。On the contrary, when the
當遙控器300發出帶有停止碼的光學編碼訊號或無線訊號而被第一跟拍裝置200a及第二跟拍裝置200b接收後,第一跟拍裝置200a及第二跟拍裝置200b可各自觸發第一及第二可攜式電子裝置100a,100b停止跟拍。After the
參閱圖11及圖12所示,本發明進一步提出一種自動攝錄影跟拍方法,適用於互相建立通訊連結的可攜式電子裝置100及跟拍裝置200,可攜式電子裝置100以攝影鏡頭120沿拍攝方向拍攝影像資料M,並產生轉向控制訊號至跟拍裝置200,跟拍裝置200用於承載可攜式電子裝置100,並接收轉向控制訊號以改變拍攝方向。Referring to FIGS. 11 and 12 , the present invention further provides an automatic video recording and tracking method, which is suitable for the portable electronic device 100 and the
首先,以跟拍裝置200接收跟拍啟動碼,而觸發可攜式電子裝置100執行跟拍模式,以對影像資料M中的特徵物件A進行一跟拍模式。如步驟Step 110及Step 120所示。First, the tracking activation code is received by the
前述步驟Step 110中,跟拍裝置200持續等待由遙控器300發出的光學編碼訊號或無線訊號,並比對光學編碼訊號或無線訊號是否包含跟拍啟動碼。若光學編碼訊號或無線訊號包含跟拍啟動碼,則執行步驟Step 120;若光學編碼訊號或無線訊號不包含跟拍啟動碼,則等待接收下一個光學編碼訊號或無線訊號。光學編碼訊號或無線訊號的收發已揭露於前述自動攝錄影跟拍系統的實施方式說明,以下不再贅述。In the
可攜式電子裝置100於影像資料M中定義互相垂直的橫向座標軸X及縱向座標軸Y;其中,影像資料M沿橫向座標軸X的長度定義為複數個橫向單位SX,且影像資料M沿橫向座標軸X的高度定義為複數個縱向單位SY,如步驟Step 130所示。The portable electronic device 100 defines a horizontal coordinate axis X and a vertical coordinate axis Y that are perpendicular to each other in the image data M; wherein, the length of the image data M along the horizontal coordinate axis X is defined as a plurality of horizontal units SX, and the image data M is along the horizontal coordinate axis X. The height of is defined as a plurality of vertical units SY, as shown in
可攜式電子裝置100持續識別影像資料M中是否包含特徵物件A,如步驟Step 140所示。The portable electronic device 100 continuously identifies whether the image data M includes the characteristic object A, as shown in
當影像資料M中識別出特徵物件A時,可攜式電子裝置100於特徵物件A周圍設定取樣框F,使取樣框F環繞特徵物件A,並且於取樣框F中設定一基準點R,如步驟Step 150所示。When the feature object A is identified in the image data M, the portable electronic device 100 sets a sampling frame F around the feature object A, so that the sampling frame F surrounds the feature object A, and sets a reference point R in the sampling frame F, such as
於步驟Step 140中,若影像資料M中未識別出特徵物件A,則可攜式電子裝置100的處理器110發出轉向控制訊號,控制跟拍裝置200持續變化拍攝方向,如步驟Step 160所示,重複進行識別並變化拍攝方向直到於影像資料M中識別出特徵物件A為止。In
在步驟Step 150後,可攜式電子裝置100計算基準點R與目標座標T的橫向距離Dis X及縱向距離Dis Y,如步驟Step 170所示。After
當橫向距離Dis X大於橫向閾值,可攜式電子裝置100發出轉向控制訊號以改變拍攝方向,使基準點R朝目標座標T橫向移動至少一個橫向單位SX,如步驟Step 180及步驟Step 190所示。若橫向距離Dis X不大於橫向閾值,則跳過步驟Step 190, 直接到步驟Step 200。When the lateral distance Dis X is greater than the lateral threshold, the portable electronic device 100 sends a steering control signal to change the shooting direction, so that the reference point R moves laterally toward the target coordinate T by at least one lateral unit SX, as shown in
當縱向距離Dis Y大於縱向閾值,可攜式電子裝置100發出轉向控制訊號以改變拍攝方向,使影像資料M中的基準點R朝目標座標T縱向移動至少一個縱向單位SY,如步驟Step 200及Step 210所示,接著重回步驟Step 170。若縱向距離Dis Y不大於縱向閾值,則跳過步驟Step 210, 直接回到步驟Step 170。When the vertical distance Dis Y is greater than the vertical threshold, the portable electronic device 100 sends a steering control signal to change the shooting direction, so that the reference point R in the image data M is moved longitudinally by at least one vertical unit SY toward the target coordinate T, as shown in
如圖13所示,橫向座標軸X及縱向座標軸Y中的比對調整順序可以互換或是並行,不限於圖12的順序。As shown in FIG. 13 , the alignment adjustment order in the horizontal coordinate axis X and the vertical coordinate axis Y can be interchanged or parallel, and is not limited to the order in FIG. 12 .
若於步驟Step 140中識別出複數個特徵物件A, A'時,可攜式電子裝置100分別對各特徵物件A, A'設定取樣框F, F',並以面積最大的取樣框F進行跟拍模式。If a plurality of characteristic objects A, A' are identified in
另一種方式是,若於步驟Step 140中識別出複數個特徵物件A, A'時,可攜式電子裝置100分別對各特徵物件A, A'設定取樣框F, F',並依據所要跟拍數量,依序由面積最大至面積最小選取符合跟拍數量的該些取樣框F,並設定包圍該些被選取的取樣框F的輔助框AF,以輔助框AF為範圍,於該些取樣框F之間設定基準點R,以進行跟拍模式。Another way is, if a plurality of characteristic objects A, A' are identified in
如圖12所示,在步驟Step 120之後,跟拍裝置200仍持續接收光學編碼訊號或無線訊號,並比對光學編碼訊號或無線訊號是否包含一停止碼。於光學編碼訊號或無線訊號包含停止碼時,跟拍裝置200觸發可攜式電子裝置100停止跟拍模式。As shown in FIG. 12 , after
請參閱圖14以及圖15所示,以面積最大的取樣框F進行跟拍模式時,不論該取樣框F以及對應的特徵物件A在影像資料M中的面積是否發生變化,可攜式電子裝置100的處理器110都會鎖定該取樣框F以及對應的特徵物件A執行跟拍模式。然而,在某些情況下,面積最大的取樣框F中的特徵物件A由於移動速度太快或是被另一特徵物件A1遮蔽,可攜式電子裝置100無法繼續執行跟拍模式,而控制跟拍裝置200持續轉動搜尋特徵物件A,造成影像資料M的範圍快速變化超出使用者預期的範圍。Please refer to FIG. 14 and FIG. 15 , when the sampling frame F with the largest area is used in the tracking mode, regardless of whether the area of the sampling frame F and the corresponding feature object A in the image data M changes, the portable electronic device The
如圖14以及圖16所示,在步驟B之後,可攜式電子裝置100的處理器110會持續地判斷特徵物件A是否維持在影像資料M中,如步驟Step 220所示。As shown in FIG. 14 and FIG. 16 , after step B, the
如圖14以及圖16所示,若特徵物件A維持在影像資料M中,則處理器110繼續執行步驟Step 170。若特徵物件A不在影像資料M中,則處理器110判斷特徵物件A是否在移動過程中被另一特徵物件A1局部或全部遮蔽,如步驟Step 230所示。As shown in FIG. 14 and FIG. 16 , if the feature object A is maintained in the image data M, the
若特徵物件A在移動過程中被另一特徵物件A1遮蔽,則處理器110選取該另一特徵物件A1對應的另一取樣框F1執行跟拍模式,並重新設定基準點R1,如步驟Step 240所示。處理器110接著繼續執行步驟Step 170。此時,另一特徵物件A1將成為跟拍模式的新目標。If the feature object A is obscured by another feature object A1 during the movement, the
如圖15以及圖16所示,若特徵物件A並不是被另一特徵物件A1遮蔽,則特徵物件A可能是因為快速移動而脫離影像資料M的範圍,或是特徵物件A因為轉向(例如人臉背對攝影鏡頭120)而導致處理器110無法由影像資料M中識別出。此時,處理器110由影像資料中選取面積最大的另一取樣框F2執行跟拍模式,並重新設定基準點R2,如步驟Step 250所示。處理器110接著繼續執行步驟Step 170。此時,另一特徵物件A2將成為跟拍模式的新目標。藉由上述跟拍模式的目標的更新,可以避免攝影鏡頭的跟拍動作過度跟隨單一目標,而造成所拍攝的影像資料M的範圍大幅度的晃動。As shown in FIGS. 15 and 16 , if the feature object A is not covered by another feature object A1, the feature object A may be out of the range of the image data M due to rapid movement, or the feature object A may be caused by turning (for example, a person The face is facing away from the camera lens 120 ), so that the
本發明提供的技術手段中,攝影鏡頭120的跟拍動作,不會過度跟隨人臉,而造成所拍攝的影像資料M過度晃動,只有在移動距離超過閾值的情況下才逐步調整拍攝方向,可使得影像資料相對穩定,跟拍攝影的方式也會相對平順。In the technical means provided by the present invention, the follow-up action of the
100:可攜式電子裝置
100a:第一可攜式電子裝置
100b:第二可攜式電子裝置
110:處理器
120:攝影鏡頭
130:記憶單元
140:觸控顯示面板
150:第一通訊介面
200:跟拍裝置
200a:第一跟拍裝置
200b:第二跟拍裝置
210:控制器
220:第二通訊介面
230:轉向模組
232:夾具
240:光學編碼接收單元
250:第三通訊介面
300:遙控器
310:編碼電路
311:第一編碼電路
312:第二編碼電路
320:按鍵組
321:第一按鍵
330:光學編碼發射單元
340:第四通訊介面
400:光追蹤器
A,A’,A1,A2:特徵物件
X:橫向座標軸
Y:縱向座標軸
SX:橫向單位
SY:縱向單位
F,F’,F1,F2:取樣框
AF:輔助框
M:影像資料
T:目標座標
R:基準點
Dis Y:縱向距離
Dis X:橫向距離
Step110~Step250:步驟100:
圖1是本發明實施例中,自動攝錄影跟拍系統的系統示意圖。 圖2是本發明實施例中,可攜式電子裝置及跟拍裝置的電路方塊圖。 圖3是本發明實施例中,跟拍裝置及遙控器的電路方塊圖。 圖4是本發明另一實施例中,光追蹤器、遙控器及跟拍基座的電路方塊圖。 圖5是本發明實施例中,依據特徵物件產生取樣框及基準點的示意圖。 圖6是本發明實施例中,依據基準點及目標座標並改變拍攝方向的示意圖。 圖7是本發明實施例中,於多個取樣框中選取部分選取框並同時執行跟拍模式的示意圖。 圖8及圖9是本發明實施例中,持續以面積最大取樣框進行跟拍模式的示意圖。 圖10是本發明實施例中,以遙控器於多組可攜式電子裝置及跟拍裝置的組合中擇一啟動跟拍模式的示意圖。 圖11及圖12是本發明的自動攝錄影跟拍方法的流程圖。 圖13是本發明的自動攝錄影跟拍方法的另一流程圖。 圖14及圖15是本發明實施例中,特徵物件於影像資料中消失的示意圖。 圖16是本發明的自動攝錄影跟拍方法的又一流程圖。FIG. 1 is a system schematic diagram of an automatic video recording system according to an embodiment of the present invention. FIG. 2 is a circuit block diagram of a portable electronic device and a tracking device according to an embodiment of the present invention. FIG. 3 is a circuit block diagram of a tracking device and a remote controller according to an embodiment of the present invention. FIG. 4 is a circuit block diagram of a light tracker, a remote control and a tracking base according to another embodiment of the present invention. FIG. 5 is a schematic diagram of generating a sampling frame and a reference point according to a feature object according to an embodiment of the present invention. FIG. 6 is a schematic diagram of changing the shooting direction according to the reference point and the target coordinates according to the embodiment of the present invention. FIG. 7 is a schematic diagram of selecting some marquee frames in a plurality of sampling frames and simultaneously executing a tracking mode according to an embodiment of the present invention. FIG. 8 and FIG. 9 are schematic diagrams of continuously performing a follow-up mode with a sampling frame with the largest area according to an embodiment of the present invention. FIG. 10 is a schematic diagram of using a remote controller to select one from a combination of a plurality of portable electronic devices and a tracking device to activate the tracking mode according to an embodiment of the present invention. FIG. 11 and FIG. 12 are flowcharts of the automatic video recording method of the present invention. FIG. 13 is another flow chart of the automatic video recording method of the present invention. FIG. 14 and FIG. 15 are schematic diagrams of the characteristic objects disappearing from the image data according to the embodiment of the present invention. FIG. 16 is another flow chart of the automatic video recording method of the present invention.
Step 110~Step 250:步驟Step 110~Step 250: Steps
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109122472A TWI769471B (en) | 2020-07-02 | 2020-07-02 | Automatic panning shot system and automatic panning shot method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109122472A TWI769471B (en) | 2020-07-02 | 2020-07-02 | Automatic panning shot system and automatic panning shot method |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202202928A TW202202928A (en) | 2022-01-16 |
TWI769471B true TWI769471B (en) | 2022-07-01 |
Family
ID=80787741
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW109122472A TWI769471B (en) | 2020-07-02 | 2020-07-02 | Automatic panning shot system and automatic panning shot method |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI769471B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWM439186U (en) * | 2012-04-24 | 2012-10-11 | Abunno Technology Co Ltd | Automatic tracking and focus spherical lens device |
WO2018088380A1 (en) * | 2016-11-10 | 2018-05-17 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ | Transmission method, transmission device, and program |
US20200186719A1 (en) * | 2018-12-06 | 2020-06-11 | Heimavista Inc. | Automatic object tracking system and automatic object tracking method |
-
2020
- 2020-07-02 TW TW109122472A patent/TWI769471B/en active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWM439186U (en) * | 2012-04-24 | 2012-10-11 | Abunno Technology Co Ltd | Automatic tracking and focus spherical lens device |
WO2018088380A1 (en) * | 2016-11-10 | 2018-05-17 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ | Transmission method, transmission device, and program |
US20200186719A1 (en) * | 2018-12-06 | 2020-06-11 | Heimavista Inc. | Automatic object tracking system and automatic object tracking method |
Also Published As
Publication number | Publication date |
---|---|
TW202202928A (en) | 2022-01-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11159734B2 (en) | Automatic object tracking system and automatic object tracking method | |
US10855926B2 (en) | Automatic object tracking system and automatic object tracking method | |
US10757322B2 (en) | Method of setting initial position of camera, camera, and camera system | |
US9215363B2 (en) | Implementing autofocus in an image capture device while compensating for movement | |
US9609227B2 (en) | Photographing apparatus, image pickup and observation apparatus, image comparison and display method, image comparison and display system, and recording medium | |
JP6103948B2 (en) | IMAGING DEVICE, REMOTE OPERATION TERMINAL, CAMERA SYSTEM, IMAGING DEVICE CONTROL METHOD AND PROGRAM, REMOTE OPERATION TERMINAL CONTROL METHOD AND PROGRAM | |
KR102661185B1 (en) | Electronic device and method for obtaining images | |
CN105025208B (en) | Photographic device, camera component, long-distance operating device, method for imaging, display methods and recording medium | |
CN102111541A (en) | Image pickup control apparatus, image pickup control method and program | |
JP2012103661A (en) | Terminal device with imaging function and auto-focusing method for projection thereof | |
KR102657340B1 (en) | Control method for device cradle | |
CN106664361A (en) | Information processing device, information processing system, and information processing method and program | |
JP5200800B2 (en) | Imaging apparatus and imaging system | |
TWI769471B (en) | Automatic panning shot system and automatic panning shot method | |
US11575840B2 (en) | Method for controlling mobile device cradle and composing images | |
TWI663879B (en) | Automatic Panning Shot System and Automatic Panning Shot Method | |
TWI691210B (en) | System and method for image stabilizing panning shot | |
CN111050100A (en) | Automatic video recording and following shooting system and automatic video recording and following shooting method | |
TWI772830B (en) | System and method for image stabilizing panning shot | |
CN111050059B (en) | Follow-up shooting system with image stabilization function and follow-up shooting method with image stabilization function | |
US11245830B2 (en) | Image capture apparatus and control method for same, and storage medium | |
US20200329203A1 (en) | System and method for panning shot with image-stabilizing function | |
CN113923277A (en) | Automatic video recording system and automatic video recording method | |
JP2015012550A (en) | Imaging apparatus and imaging system | |
US20200186720A1 (en) | System and method for object tracking with image-stabilizing function |