TWI736008B - Target tracking shooting method, device, computer device and storage medium - Google Patents
Target tracking shooting method, device, computer device and storage medium Download PDFInfo
- Publication number
- TWI736008B TWI736008B TW108140481A TW108140481A TWI736008B TW I736008 B TWI736008 B TW I736008B TW 108140481 A TW108140481 A TW 108140481A TW 108140481 A TW108140481 A TW 108140481A TW I736008 B TWI736008 B TW I736008B
- Authority
- TW
- Taiwan
- Prior art keywords
- mobile camera
- tracking
- camera device
- target
- video
- Prior art date
Links
Images
Landscapes
- Image Analysis (AREA)
- Studio Devices (AREA)
Abstract
Description
本發明涉及目標追蹤拍攝領域,具體涉及一種目標追蹤拍攝方法、裝置、電腦裝置及電腦存儲介質。 The invention relates to the field of target tracking and shooting, in particular to a target tracking and shooting method, device, computer device and computer storage medium.
無人機可以實現高空攝影和目標跟蹤,尤其在大型運動項目中,無人機在高空中獲取每個參賽選手全方位,多角度之圖像。現有之無人機跟蹤方法中,無人機都預先設置為一對一之方式進行跟蹤。這種目標追蹤方式在一些比賽專案中,當大量之無人機同時對不同之跟蹤物件進行拍攝時,會造成相互干擾或碰撞問題,甚至會造成事故,例如馬拉松項目中,如果每個跑步者都由一台專門之無人機進行跟蹤,那麼在比賽之起點同時會有大量之無人機,當無人機之數量超過一定範圍時,不同無人機之間之干擾和碰撞將難以避免。 UAVs can achieve high-altitude photography and target tracking, especially in large-scale sports events. UAVs can obtain all-round and multi-angle images of each contestant at high altitude. In the existing UAV tracking methods, the UAVs are pre-set to track in a one-to-one manner. In some competition projects, when a large number of drones are shooting different tracking objects at the same time, it will cause mutual interference or collision problems, and even cause accidents. For example, in a marathon, if every runner is Tracking by a dedicated drone, there will be a large number of drones at the beginning of the game. When the number of drones exceeds a certain range, interference and collisions between different drones will be unavoidable.
鑒於以上內容,有必要提出一種目標追蹤拍攝方法及裝置、電腦裝置和電腦存儲介質,以解決當多台移動攝像裝置同時對多個目標進行拍攝時,所述多台移動攝像裝置之間之干擾和碰撞問題。 In view of the above, it is necessary to propose a target tracking and shooting method and device, a computer device, and a computer storage medium to solve the interference between the multiple mobile camera devices when the multiple mobile camera devices shoot multiple targets at the same time And collision problems.
本申請之第一方面提供目標追蹤拍攝方法,所述方法包括:接收第一移動攝像裝置採集之包含多個追蹤目標之視頻;在所述視頻中識別並監控多個所述追蹤目標;判斷多個所述追蹤目標是否在所述第一移動攝像裝置之監控範圍內; 若至少一個追蹤目標不在所述第一移動攝像裝置之監控範圍內,則控制至少一台第二移動攝像裝置對所述至少一個追蹤目標進行追蹤拍攝,其中,一個不在所述第一移動攝像裝置之監控範圍內之追蹤目標由一台第二移動攝像裝置進行追蹤拍攝。 A first aspect of the present application provides a target tracking and shooting method. The method includes: receiving a video containing multiple tracking targets collected by a first mobile camera; identifying and monitoring multiple tracking targets in the video; judging multiple targets. Whether each of the tracking targets is within the monitoring range of the first mobile camera device; If at least one tracking target is not within the monitoring range of the first mobile camera device, control at least one second mobile camera device to track and photograph the at least one tracking target, one of which is not within the first mobile camera device The tracking target within the monitoring range is tracked and photographed by a second mobile camera device.
優選地,所述判斷多個所述追蹤目標是否在所述第一移動攝像裝置之監控範圍內之步驟包括:從包含多個追蹤目標之視頻中識別多個所述追蹤目標之特徵資訊;每隔一預設時間,重新獲取所述第一移動攝像裝置採集之視頻,並在所述視頻之圖像幀中查找是否包含多個所述追蹤目標之特徵資訊,以判斷多個所述追蹤目標是否在所述第一移動攝像裝置之監控範圍內。 Preferably, the step of determining whether a plurality of the tracking targets are within the monitoring range of the first mobile camera device includes: identifying feature information of a plurality of the tracking targets from a video containing the plurality of tracking targets; each At a predetermined time interval, re-acquire the video collected by the first mobile camera device, and search for the image frame of the video whether it contains the characteristic information of a plurality of the tracking targets, so as to determine the plurality of the tracking targets Whether it is within the monitoring range of the first mobile camera device.
優選地,若至少一個追蹤目標不在所述第一移動攝像裝置之監控範圍內,則控制至少一台第二移動攝像裝置對所述至少一個追蹤目標進行追蹤拍攝之步驟包括:若所述圖像幀中缺少所述至少一個追蹤目標之特徵資訊,將所述至少一個追蹤目標之特徵資訊分別發送給所述至少一個第二移動攝像裝置,以控制所述至少一台第二移動攝像裝置對所述至少一個追蹤目標進行追蹤拍攝。 Preferably, if at least one tracking target is not within the monitoring range of the first mobile camera device, the step of controlling at least one second mobile camera device to track and photograph the at least one tracking target includes: if the image The feature information of the at least one tracking target is missing in the frame, and the feature information of the at least one tracking target is sent to the at least one second mobile camera device to control the at least one second mobile camera device to The at least one tracking target is tracked and photographed.
優選地,所述步驟還包括:若所述圖像幀中缺少所述至少一個追蹤目標之特徵資訊,將所述至少一個追蹤目標之運動方向發送給所述至少一個第二移動攝像裝置;其中,所述運動方向為以第一移動攝像裝置之方位為中心,所述追蹤目標與所述第一移動攝像裝置之相對方位。 Preferably, the step further includes: if the feature information of the at least one tracking target is missing in the image frame, sending the movement direction of the at least one tracking target to the at least one second mobile camera; wherein , The movement direction is centered on the orientation of the first mobile camera device, and the relative orientation of the tracking target and the first mobile camera device.
優選地,所述方法還包括:獲取所述第二移動攝像裝置按照所述追蹤目標之運動方向進行飛行而採集到之視頻圖像;識別所述視頻圖像中之特徵資訊,將所述特徵資訊與接收到之追蹤目標之特徵資訊進行比對; 若一致,則控制第二移動攝像裝置即時獲取所述追蹤目標之視頻;若不一致,則在所述第一移動攝像裝置及其他第二移動攝像裝置獲取之視頻中查找與所述視頻圖像中之特徵資訊匹配之追蹤目標。 Preferably, the method further includes: acquiring a video image collected by the second mobile camera device flying according to the movement direction of the tracking target; identifying feature information in the video image, and combining the feature The information is compared with the received characteristic information of the tracking target; If they are consistent, control the second mobile camera device to obtain the video of the tracking target in real time; The characteristic information matches the tracking target.
優選地,所述第一移動攝像裝置之飛行速度與多個所述追蹤目標之平均速度相等,所述方法還包括:當所述第二移動攝像裝置未接收到追蹤目標指令時,所述第二移動攝像裝置與所述第一移動攝像裝置保持一預設距離。 Preferably, the flying speed of the first mobile camera device is equal to the average speed of a plurality of the tracking targets, and the method further includes: when the second mobile camera device does not receive a tracking target instruction, the first The second mobile camera device maintains a predetermined distance from the first mobile camera device.
本申請之第二方面提供一種目標追蹤拍攝裝置,所述裝置包括:接收模組,用於接收第一移動攝像裝置採集之包含多個追蹤目標之視頻;監控模組,用於在所述視頻中識別並監控多個所述追蹤目標;判斷模組,用於判斷多個所述追蹤目標是否在所述第一移動攝像裝置之監控範圍內;執行模組,用於當至少一個追蹤目標不在所述第一移動攝像裝置之監控範圍內時,控制至少一台第二移動攝像裝置對所述至少一個追蹤目標進行追蹤拍攝,其中,一個不在所述第一移動攝像裝置之監控範圍內之追蹤目標由一台第二移動攝像裝置進行追蹤拍攝。 A second aspect of the present application provides a target tracking and shooting device. The device includes: a receiving module for receiving a video containing multiple tracking targets collected by a first mobile camera; a monitoring module for viewing the video Identify and monitor a plurality of the tracking targets; a judgment module for judging whether a plurality of the tracking targets are within the monitoring range of the first mobile camera device; an execution module for when at least one tracking target is not When the first mobile camera device is within the monitoring range, at least one second mobile camera device is controlled to track and photograph the at least one tracking target, and one of them is not within the monitoring range of the first mobile camera device. The target is tracked and photographed by a second mobile camera device.
優選地,所述目標追蹤拍攝裝置還包括控制模組,用於控制所述第一移動攝像裝置之飛行速度,其中,所述第一移動攝像裝置之飛行速度與多個所述追蹤目標之平均速度相等;當所述第二移動攝像裝置未接收到追蹤目標指令時,所述第二移動攝像裝置與所述第一移動攝像裝置保持一預設距離。 Preferably, the target tracking and shooting device further includes a control module for controlling the flight speed of the first mobile camera device, wherein the flight speed of the first mobile camera device is equal to the average of the plurality of tracking targets The speeds are equal; when the second mobile camera device does not receive a tracking target instruction, the second mobile camera device maintains a preset distance from the first mobile camera device.
本申請之協力廠商面提供一種電腦裝置,所述電腦裝置包括處理器,所述處理器用於執行記憶體中存儲之電腦程式時實現如前所述目標追蹤拍攝方法。 The third party of the present application provides a computer device, the computer device includes a processor, and the processor is used to execute the computer program stored in the memory to implement the aforementioned target tracking and shooting method.
本申請之第四方面提供一種電腦存儲介質,其上存儲有電腦程式,所述電腦程式被處理器執行時實現如前所述目標追蹤拍攝方法。 A fourth aspect of the present application provides a computer storage medium on which a computer program is stored, and when the computer program is executed by a processor, the target tracking and shooting method as described above is realized.
本發明目標追蹤拍攝方法、標追蹤拍攝裝置、電腦裝置和電腦可讀存儲介質,藉由第一移動攝像裝置和第二移動攝像裝置進行分段拍攝,解決了多個移動攝像裝置同時對多個追蹤目標進行拍攝時,存在之干擾和碰撞問題。 The target tracking shooting method, target tracking shooting device, computer device and computer-readable storage medium of the present invention use the first mobile camera device and the second mobile camera device to perform segmented shooting, which solves the problem of multiple mobile camera devices simultaneously When tracking the target to shoot, there are interference and collision problems.
1:電腦裝置 1: computer device
2:移動攝像裝置 2: Mobile camera
10:目標追蹤拍攝裝置 10: Target tracking camera
20:記憶體 20: memory
30:處理器 30: processor
40:電腦程式 40: computer program
101:接收模組 101: receiving module
102:監控模組 102: Monitoring module
103:判斷模組 103: Judgment Module
104:執行模組 104: Execution module
圖1是本發明實施例一提供之目標追蹤拍攝方法之應用環境架構示意圖。 FIG. 1 is a schematic diagram of the application environment architecture of the target tracking and shooting method according to the first embodiment of the present invention.
圖2是本發明實施例二提供之目標追蹤拍攝方法流程圖。 FIG. 2 is a flowchart of a target tracking and shooting method according to the second embodiment of the present invention.
圖3是本發明實施例三提供之目標追蹤拍攝裝置之結構示意圖。 FIG. 3 is a schematic diagram of the structure of the target tracking and shooting device provided by the third embodiment of the present invention.
圖4是本發明實施例四提供之電腦裝置示意圖。 FIG. 4 is a schematic diagram of a computer device provided by the fourth embodiment of the present invention.
為了能夠更清楚地理解本發明之上述目的、特徵和優點,下面結合附圖和具體實施例對本發明進行詳細描述。需要說明之是,在不衝突之情況下,本申請之實施例及實施例中之特徵可以相互組合。 In order to be able to understand the above objectives, features and advantages of the present invention more clearly, the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other if there is no conflict.
在下面之描述中闡述了很多具體細節以便於充分理解本發明,所描述之實施例僅僅是本發明一部分實施例,而不是全部之實施例。基於本發明中之實施例,本領域普通技術人員在沒有做出創造性勞動前提下所獲得之所有其他實施例,都屬於本發明保護之範圍。 In the following description, many specific details are explained in order to fully understand the present invention. The described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
除非另有定義,本文所使用之所有之技術和科學術語與屬於本發明之技術領域之技術人員通常理解之含義相同。本文中在本發明之說明書中所使用之術語只是為了描述具體之實施例之目的,不是旨在於限制本發明。 Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments, and are not intended to limit the present invention.
實施例一 Example one
參閱圖1所示,為本發明實施例一提供之目標追蹤拍攝方法之應用環境架構示意圖。 Referring to FIG. 1, it is a schematic diagram of the application environment architecture of the target tracking and shooting method provided by the first embodiment of the present invention.
本發明中之目標追蹤拍攝方法應用在電腦裝置1中,所述電腦裝置1與至少一個移動攝像裝置2藉由網路建立通信連接。所述電腦裝置1能夠接收移動攝像裝置2採集之視頻,對所述視頻中之追蹤目標進行識別,並判斷是否需要控制多台移動攝像裝置2對追蹤目標進行追蹤之功能。所述移動攝像裝置2具有移動拍攝待追蹤目標之功能。所述網路優選為無線網路,例如無線電、無線保真(Wireless Fidelity,WIFI)、蜂窩、衛星、廣播等。
The target tracking and shooting method of the present invention is applied to a
在本發明又一實施方式中,本發明中之目標追蹤拍攝方法還可直接應用在移動攝像裝置2中,即所述移動攝像裝置2具有採集視頻,並能夠對所述視頻中之追蹤目標進行識別,判斷是否需要控制多台移動攝像裝置2對追蹤目標進行追蹤之功能。所述移動攝像裝置2可以是安裝有目標追蹤拍攝軟體之第一移動攝像裝置、第二移動攝像裝置,所述第一移動攝像裝置和至少一個第二移動攝像裝置藉由無線網路建立通信連接。所述第一移動攝像裝置用於拍攝並監控多個追蹤目標,當任意一個或多個追蹤目標不在第一移動攝像裝置之監控範圍時,第一移動攝像裝置向至少一個第二無人接發送待追蹤目標之特徵資訊,進而由第二移動攝像裝置追蹤拍攝所述待追蹤目標。
In yet another embodiment of the present invention, the target tracking and shooting method of the present invention can also be directly applied to the
所述電腦裝置1可以為安裝有目標追蹤拍攝軟體之電子設備,例如個人電腦、伺服器等,其中,所述伺服器可以是單一之伺服器、伺服器集群或雲伺服器等。
The
所述移動攝像裝置2可以是具有飛行和拍攝功能之無人機,還可以是具有移動拍攝功能之攝像機、監控器等電子設備。
The
實施例二 Example two
請參閱圖2所示,是本發明第二實施例提供之目標追蹤拍攝方法之 流程圖。根據不同之需求,所述流程圖中步驟之順序可以改變,某些步驟可以省略。 Please refer to FIG. 2, which is an example of the target tracking and shooting method provided by the second embodiment of the present invention flow chart. According to different needs, the order of the steps in the flowchart can be changed, and some steps can be omitted.
步驟S1、接收第一移動攝像裝置採集之包含多個追蹤目標之視頻。 Step S1: Receive a video containing multiple tracking targets collected by the first mobile camera device.
本發明一實施方式中,電腦裝置1接收第一移動攝像裝置採集之包含多個追蹤目標之視頻,所述視頻可以藉由第五代移動通訊技術進行傳輸,也可以藉由WIFI網路進行傳輸。
In one embodiment of the present invention, the
舉例而言,在馬拉松比賽之起點,所述第一移動攝像裝置位於起點之上空位置,用於拍攝位於馬拉松比賽起點之多個運動員,並將拍攝到之具有多個運動員視頻發送給電腦裝置1。
For example, at the starting point of a marathon, the first mobile camera device is located at an empty position above the starting point, and is used to photograph multiple athletes at the starting point of the marathon, and send the captured video with multiple athletes to the
步驟S2、在所述視頻中識別並監控多個所述追蹤目標。 Step S2: Identify and monitor multiple tracking targets in the video.
電腦裝置1藉由圖像識別方法對所述視頻中之追蹤目標進行識別。例如在賽車比賽中,電腦裝置1接收位於起點之視頻,識別視頻中不同賽車之特徵資訊,所述特徵資訊包括賽車之車牌、顏色、文字中之一種或多種資訊。比如,在馬拉松比賽中,電腦裝置1接收位於馬拉松比賽起點位置之視頻,並識別所述視頻中運動員之號碼牌。
The
步驟S3、判斷多個所述追蹤目標是否在所述第一移動攝像裝置之監控範圍內。 Step S3: Determine whether a plurality of the tracking targets are within the monitoring range of the first mobile camera device.
在本發明一實施方式中,電腦裝置1判斷多個所述追蹤目標是否在所述第一移動攝像裝置之監控範圍內之方法可以包括:從包含多個追蹤目標之視頻中識別多個所述追蹤目標之特徵資訊;每隔一預設時間,重新獲取所述第一移動攝像裝置採集之視頻,並在所述視頻之圖像幀中查找是否包含多個所述追蹤目標之特徵資訊,以判斷多個所述追蹤目標是否在所述第一移動攝像裝置之監控範圍內,其中,所述第一移動攝像裝置之飛行速度與多個所述追蹤目標之平均速度相等。
In one embodiment of the present invention, the method for the
舉例而言,電腦裝置1接收第一移動攝像裝置獲取之馬拉松比賽起點位置之視頻,並識別所述視頻中運動員之號碼牌,並每隔一預設時間,重新獲取第一移動攝像裝置獲取之視頻資訊,並從所述視頻資訊中查找是否包含位元所有運動員之號碼牌。其中,所述第一移動攝像裝置為了在獲取到之視頻圖像中包含最多之追蹤目標,所述第一移動攝像裝置之飛行速度與多個所述追蹤目標之平均速度相等。
For example, the
步驟S4、若至少一個追蹤目標不在所述第一移動攝像裝置之監控範圍內,則控制至少一台第二移動攝像裝置對所述至少一個追蹤目標進行追蹤拍攝,其中,一個不在所述第一移動攝像裝置之監控範圍內之追蹤目標由一台無人機進行追蹤拍攝。 Step S4: If at least one tracking target is not within the monitoring range of the first mobile camera device, control at least one second mobile camera device to track and photograph the at least one tracking target, and one of them is not in the first mobile camera. The tracking target within the monitoring range of the mobile camera device is tracked and photographed by an unmanned aerial vehicle.
在本發明一實施方式中,藉由電腦裝置1對獲取之視頻資訊中之特徵資訊進行查找,若至少一個追蹤目標不在所述第一移動攝像裝置之監控範圍內,則控制至少一台第二移動攝像裝置對所述至少一個追蹤目標進行追蹤拍攝,其中,一個不在所述第一移動攝像裝置之監控範圍內之追蹤目標由一台第二移動攝像裝置進行追蹤拍攝。
In an embodiment of the present invention, the
在本發明又一實施方式中,電腦裝置1還可以將所述至少一個追蹤目標之特徵資訊分別發送給所述至少一個第二移動攝像裝置,以控制所述至少一台第二移動攝像裝置對所述至少一個追蹤目標進行追蹤拍攝。
In another embodiment of the present invention, the
在本發明又一實施方式中,所述方法還包括,電腦裝置1還將所述至少一個追蹤目標之運動方向發送給所述至少一個第二移動攝像裝置;其中,所述運動方向優選以第一移動攝像裝置之方位為中心,所述追蹤目標與所述第一移動攝像裝置之相對方位。當所述第二移動攝像裝置未獲取追蹤目標指令時,所述第二移動攝像裝置與所述第一移動攝像裝置保持一預設距離。
In another embodiment of the present invention, the method further includes that the
在又一實施方式中,所述方法還包括當第二移動攝像裝置對所述
追蹤目標進行追蹤時,將第二移動攝像裝置所獲取的視頻發送給電腦裝置1,電腦裝置1根據所述視頻判斷所述追蹤是否與第一攝像裝置要求第二攝像裝置追蹤的追蹤目標一致。具體步驟包括:所述電腦裝置1獲取所述第二移動攝像裝置按照所述追蹤目標的運動方向進行飛行而採集到的視頻圖像;識別所述視頻圖像中的特徵資訊,將所述特徵資訊與接收到的追蹤目標的特徵資訊進行比對;若一致,則控制第二移動攝像裝置即時獲取所述追蹤目標的視頻;若不一致,則在所述第一移動攝像裝置及其他第二移動攝像裝置獲取的視頻中查找與所述視頻圖像中的特徵資訊匹配的追蹤目標。
In yet another embodiment, the method further includes when the second mobile camera device views the
When the tracking target is tracked, the video obtained by the second mobile camera device is sent to the
舉例而言,電腦裝置1經過查找第一移動攝像裝置獲取之馬拉松比賽之視頻中運動員之號碼牌,發現5號和65號運動員不在第一移動攝像裝置之監控畫面內,電腦裝置1分別將5號運動員之特徵資訊和65號運動員之特徵資訊以及所述5號運動員和65號運動員之運動方向分別發送給編號為001之第二移動攝像裝置和編號為002之第二移動攝像裝置,所述特徵資訊包含運動員之號碼牌、外貌衣著特徵中之至少一項。所述運動方向分別為5號運動員、65號運動員相對於第一移動攝像裝置之相對位置,例如5號運動員位於第一移動攝像裝置右前方35°方向,65號運動員位於第一移動攝像裝置左後方30°方向。編號為001之第二移動攝像裝置獲取到5號運動員之運動方向,按照所述運動方向飛行,並在飛行過程中獲取追蹤目標視頻,並將所述視頻發送至電腦裝置1,電腦裝置1按照所述5號運動員之特徵資訊,每隔一預設時間在所述視頻之圖像幀中查找所述5號運動員之特徵資訊。若所述視頻圖像幀中包含所述5號運動員之特徵資訊,電腦裝置1向編號為001之第二移動攝像裝置發送持續追蹤所述5號運動員之特徵資訊之指令。所述編號為001之第二移動攝像裝置根據所述指令對5號運動員進行持續追蹤拍攝。若編號為001之第二移動攝像裝置根據獲取到5號運動員之運動方向拍攝視頻,電腦裝置1在預設時間內所述編號為001之第二移動攝像裝置
拍攝之視頻資訊中沒有找到5號運動員之特徵資訊,則調取第一移動攝像裝置及其他第二移動攝像裝置拍攝之視頻,並在視頻中查找所述5號運動員之特徵資訊;若所述視頻中依然無法找到5號運動員之特徵資訊,則藉由短信、即時通訊消息、電話、郵件等方式發出提示消息。
For example, the
在本發明又一實施方式中,所述編號為002之第二移動攝像裝置根據電腦裝置1發送之所述65號運動員之特徵資訊,藉由編號為002之第二移動攝像裝置之處理器對所述編號為002之第二移動攝像裝置之攝像裝置採集之視頻中之所述65號運動員之特徵資訊進行查找,若所述視頻中包含65號運動員之特徵資訊,則對所述特徵資訊進行持續追蹤拍攝;若超過一預設時間之查找,依舊在所述視頻中無法找到65號運動員之特徵資訊,則調取第一移動攝像裝置及其他第二移動攝像裝置拍攝之視頻,並在視頻中查找所述5號運動員之特徵資訊;若所述視頻中仍無法找到65號運動員之特徵資訊,則藉由短信、即時通訊消息、電話、郵件等方式發出提示消息。
In yet another embodiment of the present invention, the second mobile camera device numbered 002 is based on the characteristic information of the athlete No. 65 sent by the
上述圖2詳細介紹了本發明之目標追蹤拍攝方法,下面結合第3-4圖,對實現所述目標追蹤拍攝方法之軟體裝置之功能模組以及實現所述目標追蹤拍攝方法之硬體裝置架構進行介紹。 The above-mentioned Figure 2 describes in detail the target tracking and shooting method of the present invention. The following is a combination of Figures 3-4 to implement the functional modules of the software device for the target tracking and shooting method and the hardware device architecture for the target tracking and shooting method. Make an introduction.
應所述瞭解,所述實施例僅為說明之用,在專利申請範圍上並不受此結構之限制。 It should be understood that the embodiments are only for illustrative purposes, and are not limited by this structure in the scope of the patent application.
實施例三 Example three
圖3為本發明目標追蹤拍攝裝置較佳實施例之結構圖。 FIG. 3 is a structural diagram of a preferred embodiment of the target tracking and shooting device of the present invention.
在一些實施例中,目標追蹤拍攝裝置10運行於電腦裝置中。所述電腦裝置藉由網路連接了多個移動攝像裝置。所述目標追蹤拍攝裝置10可以包括多個由程式碼段所組成之功能模組。所述目標追蹤拍攝裝置10中之各個程式段之程式碼可以存儲於電腦裝置之記憶體中,並由所述至少一個處理器所執行,
以實現目標追蹤拍攝功能。
In some embodiments, the target tracking and
本實施例中,所述目標追蹤拍攝裝置10根據其所執行之功能,可以被劃分為多個功能模組。參閱圖3所示,所述功能模組可以包括:接收模組101、監控模組102、判斷模組103、執行模組104。本發明所稱之模組是指一種能夠被至少一個處理器所執行並且能夠完成固定功能之一系列電腦程式段,其存儲在記憶體中。在本實施例中,關於各模組之功能將在後續之實施例中詳述。
In this embodiment, the target tracking and
所述接收模組101,用於接收第一移動攝像裝置採集之包含多個追蹤目標之視頻。
The receiving
本發明一實施方式中,接收模組101接收第一移動攝像裝置採集之包含多個追蹤目標之視頻,所述視頻可以藉由第五代移動通訊技術進行傳輸,也可以藉由WIFI網路進行傳輸。
In one embodiment of the present invention, the receiving
舉例而言,在馬拉松比賽之起點,所述第一移動攝像裝置位於起點之上空位置,用於拍攝位於馬拉松比賽起點之多個運動員,並將拍攝到之具有多個運動員視頻發送給接收模組101。
For example, at the starting point of a marathon, the first mobile camera is located at an empty position above the starting point, and is used to photograph multiple athletes at the starting point of the marathon, and send the captured video with multiple athletes to the receiving
所述監控模組102,用於在所述視頻中識別並監控多個所述追蹤目標。
The
所述監控模組102藉由圖像識別方法對所述視頻中之追蹤目標進行識別。例如在賽車比賽中,監控模組102接收位於起點之視頻,識別視頻中不同賽車之特徵資訊,所述特徵資訊包括賽車之車牌、顏色、文字中之一種或多種資訊。比如,在馬拉松比賽中,監控模組102接收位於馬拉松比賽起點位置之視頻,並識別所述視頻中運動員之號碼牌。
The
所述判斷模組103,用於判斷多個所述追蹤目標是否在所述第一移動攝像裝置之監控範圍內。
The
在本發明一實施方式中,判斷模組103判斷多個所述追蹤目標是否
在所述第一移動攝像裝置之監控範圍內之方法可以包括:從包含多個追蹤目標之視頻中識別多個所述追蹤目標之特徵資訊;每隔一預設時間,重新獲取所述第一移動攝像裝置採集之視頻,並在所述視頻之圖像幀中查找是否包含多個所述追蹤目標之特徵資訊,以判斷多個所述追蹤目標是否在所述第一移動攝像裝置之監控範圍內,其中,所述第一移動攝像裝置之飛行速度與多個所述追蹤目標之平均速度相等。
In an embodiment of the present invention, the judging
舉例而言,判斷模組103接收第一移動攝像裝置獲取之馬拉松比賽起點位置之視頻,並識別所述視頻中運動員之號碼牌,並每隔一預設時間,重新獲取第一移動攝像裝置獲取之視頻資訊,並從所述視頻資訊中查找是否包含位元所有運動員之號碼牌。其中,所述第一移動攝像裝置為了在獲取到之視頻圖像中包含最多之追蹤目標,所述第一移動攝像裝置之飛行速度與多個所述追蹤目標之平均速度相等。
For example, the judging
所述執行模組104,用於當至少一個追蹤目標不在所述第一移動攝像裝置之監控範圍內時,控制至少一台第二移動攝像裝置對所述至少一個追蹤目標進行追蹤拍攝,其中,一個不在所述第一移動攝像裝置之監控範圍內之追蹤目標由一台第二移動攝像裝置進行追蹤拍攝。
The
在本發明一實施方式中,藉由執行模組104對獲取之視頻資訊中之特徵資訊進行查找,若至少一個追蹤目標不在所述第一移動攝像裝置之監控範圍內,則控制至少一台第二移動攝像裝置對所述至少一個追蹤目標進行追蹤拍攝,其中,一個不在所述第一移動攝像裝置之監控範圍內之追蹤目標由一台第二移動攝像裝置進行追蹤拍攝。
In one embodiment of the present invention, the
在本發明一實施方式中,執行模組104還可以將所述至少一個追蹤目標之特徵資訊分別發送給所述至少一個第二移動攝像裝置,以控制所述至少一台第二移動攝像裝置對所述至少一個追蹤目標進行追蹤拍攝。
In an embodiment of the present invention, the
在又一實施方式中,執行模組104還將所述至少一個追蹤目標之運動方向發送給所述至少一個第二移動攝像裝置;其中,所述運動方向優選以第一移動攝像裝置之方位為中心,所述追蹤目標與所述第一移動攝像裝置之相對方位。當所述第二移動攝像裝置未獲取追蹤目標指令時,所述第二移動攝像裝置與所述第一移動攝像裝置保持一預設距離。
In another embodiment, the
在又一實施方式中,所述方法還包括當第二移動攝像裝置對所述追蹤目標進行追蹤時,將第二移動攝像裝置所獲取的視頻發送給執行模組104,執行模組104根據所述視頻判斷所述追蹤是否與第一攝像裝置要求第二攝像裝置追蹤的追蹤目標一致。具體步驟包括:所述執行模組104獲取所述第二移動攝像裝置按照所述追蹤目標的運動方向進行飛行而採集到的視頻圖像;識別所述視頻圖像中的特徵資訊,將所述特徵資訊與接收到的追蹤目標的特徵資訊進行比對;若一致,則控制第二移動攝像裝置即時獲取所述追蹤目標的視頻;若不一致,則在所述第一移動攝像裝置及其他第二移動攝像裝置獲取的視頻中查找與所述視頻圖像中的特徵資訊匹配的追蹤目標。
In another embodiment, the method further includes when the second mobile camera device tracks the tracking target, sending the video obtained by the second mobile camera device to the
舉例而言,執行模組104經過查找第一移動攝像裝置獲取之馬拉松比賽之視頻中運動員之號碼牌,發現5號和65號運動員不在第一移動攝像裝置之監控畫面內,執行模組104分別將5號運動員之特徵資訊和65號運動員之特徵資訊以及所述5號運動員和65號運動員之運動方向分別發送給編號為001之第二移動攝像裝置和編號為002之第二移動攝像裝置,所述特徵資訊包含運動員之號碼牌、外貌衣著特徵中之至少一項。所述運動方向分別為5號運動員、65號運動員相對於第一移動攝像裝置之相對位置,例如5號運動員位於第一移動攝像裝置右前方35°方向,65號運動員位於第一移動攝像裝置左後方30°方向。編號為001之第二移動攝像裝置獲取到5號運動員之運動方向,按照所述運動方向飛行,並在飛行過程中獲取追蹤目標視頻,並將所述視頻發送至執行模組104,執行模組
104按照所述5號運動員之特徵資訊,每隔一預設時間在所述視頻之圖像幀中查找所述5號運動員之特徵資訊。若所述視頻圖像幀中包含所述5號運動員之特徵資訊,電腦裝置1向編號為001之第二移動攝像裝置發送持續追蹤所述5號運動員之特徵資訊之指令。所述編號為001之第二移動攝像裝置根據所述指令對5號運動員進行持續追蹤拍攝。若編號為001之第二移動攝像裝置根據獲取到5號運動員之運動方向拍攝視頻,電腦裝置1在預設時間內所述編號為001之第二移動攝像裝置拍攝之視頻資訊中沒有找到5號運動員之特徵資訊,則調取第一移動攝像裝置及其他第二移動攝像裝置拍攝之視頻,並在視頻中查找所述5號運動員之特徵資訊;若所述視頻中依然無法找到5號運動員之特徵資訊,則藉由短信、即時通訊消息、電話、郵件等方式發出提示消息。
For example, the
在本發明又一實施方式中,所述編號為002之第二移動攝像裝置根據電腦裝置1發送之所述65號運動員之特徵資訊,藉由編號為002之第二移動攝像裝置之處理器對所述編號為002之第二移動攝像裝置之攝像裝置採集之視頻中之所述65號運動員之特徵資訊進行查找,若所述視頻中包含65號運動員之特徵資訊,則對所述特徵資訊進行持續追蹤拍攝;若超過一預設時間之查找,依舊在所述視頻中無法找到65號運動員之特徵資訊,則調取第一移動攝像裝置及其他第二移動攝像裝置拍攝之視頻,並在視頻中查找所述5號運動員之特徵資訊;若所述視頻中仍無法找到65號運動員之特徵資訊,則藉由短信、即時通訊消息、電話、郵件等方式發出提示消息。
In yet another embodiment of the present invention, the second mobile camera device numbered 002 is based on the characteristic information of the athlete No. 65 sent by the
實施例四 Example four
圖4為本發明電腦裝置較佳實施例之示意圖。 Fig. 4 is a schematic diagram of a preferred embodiment of the computer device of the present invention.
所述電腦裝置1包括記憶體20、處理器30以及存儲在所述記憶體20中並可在所述處理器30上運行之電腦程式40,例如目標追蹤拍攝程式。所述處理器30執行所述電腦程式40時實現上述目標追蹤拍攝方法實施例中之步驟,例
如圖2所示之步驟S1~S4。或者,所述處理器30執行所述電腦程式40時實現上述目標追蹤拍攝裝置實施例中各模組/單元之功能,例如圖3中之單元101-104。
The
示例性之,所述電腦程式40可以被分割成一個或多個模組/單元,所述一個或者多個模組/單元被存儲在所述記憶體20中,並由所述處理器30執行,以完成本發明。所述一個或多個模組/單元可以是能夠完成特定功能之一系列電腦程式指令段,所述指令段用於描述所述電腦程式40在所述電腦裝置1中之執行過程。例如,所述電腦程式40可以被分割成圖3中之接收模組101、監控模組102、判斷模組103、執行模組104。
Exemplarily, the
所述電腦裝置1可以是桌上型電腦、筆記本、掌上型電腦及雲端伺服器等計算設備。本領域技術人員可以理解,所述示意圖僅僅是電腦裝置1之示例,並不構成對電腦裝置1之限定,可以包括比圖示更多或更少之部件,或者組合某些部件,或者不同之部件,例如所述電腦裝置1還可以包括輸入輸出設備、網路接入設備、匯流排等。
The
所稱處理器30可以是中央處理單元(Central Processing Unit,CPU),還可以是其他通用處理器、數位訊號處理器(Digital Signal Processor,DSP)、專用積體電路(Application Specific Integrated Circuit,ASIC)、現成可程式設計閘陣列(Field-Programmable Gate Array,FPGA)或者其他可程式設計邏輯器件、分立門或者電晶體邏輯器件、分立硬體元件等。通用處理器可以是微處理器或者所述處理器30也可以是任何常規之處理器等,所述處理器30是所述電腦裝置1之控制中心,利用各種介面和線路連接整個電腦裝置1之各個部分。
The so-called
所述記憶體20可用於存儲所述電腦程式40和/或模組/單元,所述處理器30藉由運行或執行存儲在所述記憶體20內之電腦程式和/或模組/單元,以及調用存儲在記憶體20內之資料,實現所述電腦裝置1之各種功能。所述記憶體20可主要包括存儲程式區和存儲資料區,其中,存儲程式區可存儲作業系統、至
少一個功能所需之應用程式(比如聲音播放功能、圖像播放功能等)等;存儲資料區可存儲根據電腦裝置1之使用所創建之資料(比如音訊資料)等。此外,記憶體20可以包括高速隨機存取記憶體,還可以包括非易失性記憶體,例如硬碟、記憶體、插接式硬碟,智慧存儲卡(Smart Media Card,SMC),安全數位(Secure Digital,SD)卡,快閃記憶體卡(Flash Card)、至少一個磁碟記憶體件、快閃記憶體器件、或其他非易失性固態記憶體件。
The
所述電腦裝置1集成之模組/單元如果以軟體功能單元之形式實現並作為獨立之產品銷售或使用時,可以存儲在一個電腦可讀取存儲介質中。基於這樣之理解,本發明實現上述實施例方法中之全部或部分流程,也可以藉由電腦程式來指令相關之硬體來完成,所述之電腦程式可存儲於一電腦可讀存儲介質中,所述電腦程式在被處理器執行時,可實現上述各個方法實施例之步驟。其中,所述電腦程式包括電腦程式代碼,所述電腦程式代碼可以為原始程式碼形式、物件代碼形式、可執行檔或某些中間形式等。所述電腦可讀介質可以包括:能夠攜帶所述電腦程式代碼之任何實體或裝置、記錄介質、U盤、移動硬碟、磁碟、光碟、電腦記憶體、唯讀記憶體(ROM,Read-Only Memory)、隨機存取記憶體(RAM,Random Access Memory)、電載波信號、電信信號以及軟體分發介質等。
If the integrated module/unit of the
在本發明所提供之幾個實施例中,應所述理解到,所揭露之電腦裝置和方法,可以藉由其它之方式實現。例如,以上所描述之電腦裝置實施例僅僅是示意性之,例如,所述單元之劃分,僅僅為一種邏輯功能劃分,實際實現時可以有另外之劃分方式。 In the several embodiments provided by the present invention, it should be understood that the disclosed computer device and method can be implemented in other ways. For example, the embodiments of the computer device described above are merely illustrative. For example, the division of the units is only a logical function division, and there may be other divisions in actual implementation.
另外,在本發明各個實施例中之各功能單元可以集成在相同處理單元中,也可以是各個單元單獨物理存在,也可以兩個或兩個以上單元集成在相同單元中。上述集成之單元既可以採用硬體之形式實現,也可以採用硬體加 軟體功能模組之形式實現。 In addition, the functional units in the various embodiments of the present invention may be integrated in the same processing unit, or each unit may exist alone physically, or two or more units may be integrated in the same unit. The above-mentioned integrated unit can be realized in the form of hardware or hardware plus Realization in the form of software function modules.
對於本領域技術人員而言,顯然本發明不限於上述示範性實施例之細節,而且在不背離本發明之精神或基本特徵之情況下,能夠以其他之具體形式實現本發明。因此,無論從哪一點來看,均應將實施例看作是示範性之,而且是非限制性之,本發明之範圍由所附申請專利範圍而不是上述說明限定,因此旨在將落在申請專利範圍之等同要件之含義和範圍內之所有變化涵括在本發明內。不應將申請專利範圍中之任何附圖標記視為限制所涉及之申請專利範圍。此外,顯然“包括”一詞不排除其他單元或步驟,單數不排除複數。電腦裝置申請專利範圍中陳述之多個單元或電腦裝置也可以由同一個單元或電腦裝置藉由軟體或者硬體來實現。第一,第二等詞語用來表示名稱,而並不表示任何特定之順序。 For those skilled in the art, it is obvious that the present invention is not limited to the details of the above exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or basic characteristics of the present invention. Therefore, no matter from which point of view, the embodiments should be regarded as exemplary and non-restrictive. The scope of the present invention is defined by the scope of the attached patent application rather than the above description, so it is intended to fall within the application The meaning of the equivalent elements of the patent scope and all changes within the scope are included in the present invention. Any reference signs in the scope of the patent application should not be regarded as limiting the scope of the patent application involved. In addition, it is obvious that the word "including" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or computer devices stated in the scope of the computer device patent application can also be implemented by the same unit or computer device by software or hardware. Words such as first and second are used to denote names, but do not denote any specific order.
最後應說明之是,以上實施例僅用以說明本發明之技術方案而非限制,儘管參照較佳實施例對本發明進行了詳細說明,本領域之普通技術人員應當理解,可以對本發明之技術方案進行修改或等同替換,而不脫離本發明技術方案之精神和範圍。 Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be Modifications or equivalent replacements are made without departing from the spirit and scope of the technical solutions of the present invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108140481A TWI736008B (en) | 2019-11-07 | 2019-11-07 | Target tracking shooting method, device, computer device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108140481A TWI736008B (en) | 2019-11-07 | 2019-11-07 | Target tracking shooting method, device, computer device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202119804A TW202119804A (en) | 2021-05-16 |
TWI736008B true TWI736008B (en) | 2021-08-11 |
Family
ID=77020916
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW108140481A TWI736008B (en) | 2019-11-07 | 2019-11-07 | Target tracking shooting method, device, computer device and storage medium |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI736008B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114827464B (en) * | 2022-04-19 | 2023-03-03 | 北京拙河科技有限公司 | Target tracking method and system based on mobile camera |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9785147B1 (en) * | 2014-08-13 | 2017-10-10 | Trace Live Network Inc. | Pixel based image tracking system for unmanned aerial vehicle (UAV) action camera system |
WO2018004681A1 (en) * | 2016-07-01 | 2018-01-04 | Intel Corporation | Internet-of-things swarm management |
-
2019
- 2019-11-07 TW TW108140481A patent/TWI736008B/en active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9785147B1 (en) * | 2014-08-13 | 2017-10-10 | Trace Live Network Inc. | Pixel based image tracking system for unmanned aerial vehicle (UAV) action camera system |
WO2018004681A1 (en) * | 2016-07-01 | 2018-01-04 | Intel Corporation | Internet-of-things swarm management |
Also Published As
Publication number | Publication date |
---|---|
TW202119804A (en) | 2021-05-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110267008B (en) | Image processing method, image processing apparatus, server, and storage medium | |
CN106407984B (en) | Target object identification method and device | |
US9934823B1 (en) | Direction indicators for panoramic images | |
US20160381306A1 (en) | Content-based zooming and panning for video curation | |
US9824723B1 (en) | Direction indicators for panoramic images | |
CN111294563B (en) | Video monitoring method and device, storage medium and electronic device | |
CN112788227B (en) | Target tracking shooting method, target tracking shooting device, computer device and storage medium | |
WO2019084712A1 (en) | Image processing method and apparatus, and terminal | |
TWI736008B (en) | Target tracking shooting method, device, computer device and storage medium | |
US20110074965A1 (en) | Video processing system and method | |
WO2020057350A1 (en) | Moving object recognition method, device, and system | |
US20200090309A1 (en) | Method and device for denoising processing, storage medium, and terminal | |
CN108804684B (en) | Data processing method and device | |
WO2022099988A1 (en) | Object tracking method and apparatus, electronic device, and storage medium | |
WO2019052197A1 (en) | Aircraft parameter setting method and apparatus | |
CN112911149A (en) | Image output method, image output device, electronic equipment and readable storage medium | |
CN114422776B (en) | Detection method and device of image pickup equipment, storage medium and electronic device | |
CN112887605B (en) | Image anti-shake method and device and electronic equipment | |
CN111654620B (en) | Shooting method and device | |
CN112367467B (en) | Display control method, display control device, electronic apparatus, and medium | |
CN112672057A (en) | Shooting method and device | |
CN108496363A (en) | Method and apparatus for track up | |
CN108366338A (en) | Method and apparatus for searching electronic equipment | |
CN113364966B (en) | Shooting method, shooting device and storage medium for team shooting | |
CN114554280B (en) | Method and device for generating video of video division, electronic equipment and storage medium |