TWI736008B - Target tracking shooting method, device, computer device and storage medium - Google Patents

Target tracking shooting method, device, computer device and storage medium Download PDF

Info

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
Application number
TW108140481A
Other languages
Chinese (zh)
Other versions
TW202119804A (en
Inventor
李念哲
Original Assignee
鴻海精密工業股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 鴻海精密工業股份有限公司 filed Critical 鴻海精密工業股份有限公司
Priority to TW108140481A priority Critical patent/TWI736008B/en
Publication of TW202119804A publication Critical patent/TW202119804A/en
Application granted granted Critical
Publication of TWI736008B publication Critical patent/TWI736008B/en

Links

Images

Landscapes

  • Image Analysis (AREA)
  • Studio Devices (AREA)

Abstract

The present disclosure provides a target tracking shooting method, a target tracking shooting device, a computer device and a computer storage medium. The method includes: receiving a video captured by a first mobile camera, wherein the video includes a plurality of tracking targets; identifying and monitoring the plurality of tracking targets in the video; determining whether the plurality of tracking targets are within a monitoring range of the first mobile device; if at least one tracking target is not within the monitoring range of the first mobile camera, controlling at least one second mobile camera to track and shoot the at least one tracking target, wherein, a tracking target that is not within the monitoring range of the first mobile camera is tracked and shoot by a second mobile camera.

Description

目標追蹤拍攝方法、裝置、電腦裝置及存儲介質 Target tracking and shooting method, device, computer device and storage medium

本發明涉及目標追蹤拍攝領域,具體涉及一種目標追蹤拍攝方法、裝置、電腦裝置及電腦存儲介質。 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 computer device 1, and the computer device 1 and at least one mobile camera device 2 establish a communication connection via a network. The computer device 1 can receive the video collected by the mobile camera device 2, identify the tracking target in the video, and determine whether it is necessary to control multiple mobile camera devices 2 to track the tracking target. The mobile camera device 2 has the function of moving and photographing the target to be tracked. The network is preferably a wireless network, such as radio, wireless fidelity (WIFI), cellular, satellite, broadcast, etc.

在本發明又一實施方式中,本發明中之目標追蹤拍攝方法還可直接應用在移動攝像裝置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 mobile camera device 2. That is, the mobile camera device 2 can capture video and can perform tracking on the target in the video. Recognize and determine whether it is necessary to control multiple mobile camera devices 2 to track the tracking target. The mobile camera device 2 may be a first mobile camera device and a second mobile camera device installed with target tracking and shooting software. The first mobile camera device and at least one second mobile camera device establish a communication connection via a wireless network. . The first mobile camera device is used to photograph and monitor multiple tracking targets. When any one or more of the tracking targets is not within the monitoring range of the first mobile camera device, the first mobile camera device sends a standby message to at least one second unattended camera. The characteristic information of the tracked target is then tracked and photographed by the second mobile camera device.

所述電腦裝置1可以為安裝有目標追蹤拍攝軟體之電子設備,例如個人電腦、伺服器等,其中,所述伺服器可以是單一之伺服器、伺服器集群或雲伺服器等。 The computer device 1 may be an electronic device installed with target tracking and shooting software, such as a personal computer, a server, etc., where the server may be a single server, a server cluster, or a cloud server.

所述移動攝像裝置2可以是具有飛行和拍攝功能之無人機,還可以是具有移動拍攝功能之攝像機、監控器等電子設備。 The mobile camera device 2 can be a drone with flying and shooting functions, or electronic equipment such as cameras and monitors with mobile shooting functions.

實施例二 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 computer device 1 receives a video containing multiple tracking targets collected by the first mobile camera device. The video can be transmitted by the fifth-generation mobile communication technology, or can be transmitted by the WIFI network. .

舉例而言,在馬拉松比賽之起點,所述第一移動攝像裝置位於起點之上空位置,用於拍攝位於馬拉松比賽起點之多個運動員,並將拍攝到之具有多個運動員視頻發送給電腦裝置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 computer device 1 .

步驟S2、在所述視頻中識別並監控多個所述追蹤目標。 Step S2: Identify and monitor multiple tracking targets in the video.

電腦裝置1藉由圖像識別方法對所述視頻中之追蹤目標進行識別。例如在賽車比賽中,電腦裝置1接收位於起點之視頻,識別視頻中不同賽車之特徵資訊,所述特徵資訊包括賽車之車牌、顏色、文字中之一種或多種資訊。比如,在馬拉松比賽中,電腦裝置1接收位於馬拉松比賽起點位置之視頻,並識別所述視頻中運動員之號碼牌。 The computer device 1 recognizes the tracking target in the video by using an image recognition method. For example, in a racing game, the computer device 1 receives the video at the starting point and recognizes the characteristic information of different cars in the video. The characteristic information includes one or more of the license plate, color, and text of the car. For example, in a marathon, the computer device 1 receives a video at the starting point of the marathon, and recognizes the number plates of the athletes in the video.

步驟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 computer device 1 to determine whether the multiple tracking targets are within the monitoring range of the first mobile camera device may include: identifying multiple tracking targets from a video containing multiple tracking targets. The characteristic information of the tracking target; every preset time, the video collected by the first mobile camera device is re-acquired, and the image frame of the video is searched for whether it contains multiple characteristic information of the tracking target. It is determined whether the multiple tracking targets are within the monitoring range of the first mobile camera device, wherein the flying speed of the first mobile camera device is equal to the average speed of the multiple tracking targets.

舉例而言,電腦裝置1接收第一移動攝像裝置獲取之馬拉松比賽起點位置之視頻,並識別所述視頻中運動員之號碼牌,並每隔一預設時間,重新獲取第一移動攝像裝置獲取之視頻資訊,並從所述視頻資訊中查找是否包含位元所有運動員之號碼牌。其中,所述第一移動攝像裝置為了在獲取到之視頻圖像中包含最多之追蹤目標,所述第一移動攝像裝置之飛行速度與多個所述追蹤目標之平均速度相等。 For example, the computer device 1 receives the video of the starting position of the marathon obtained by the first mobile camera, and recognizes the number plates of the athletes in the video, and re-acquires the data obtained by the first mobile camera every preset time. Video information, and find out whether the number plates of all athletes are included in the video information. Wherein, in order for the first mobile camera device to include the most tracking targets in the acquired video image, the flying speed of the first mobile camera device is equal to the average speed of the multiple tracking targets.

步驟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 computer device 1 is used to search for feature information in the acquired video information, and if at least one tracking target is not within the monitoring range of the first mobile camera device, at least one second mobile camera is controlled The mobile camera device tracks and photographs the at least one tracking target, wherein a tracking target that is not within the monitoring range of the first mobile camera device is tracked and photographed by a second mobile camera device.

在本發明又一實施方式中,電腦裝置1還可以將所述至少一個追蹤目標之特徵資訊分別發送給所述至少一個第二移動攝像裝置,以控制所述至少一台第二移動攝像裝置對所述至少一個追蹤目標進行追蹤拍攝。 In another embodiment of the present invention, the computer device 1 may also send the characteristic information of the at least one tracking target to the at least one second mobile camera device to control the at least one second mobile camera device The at least one tracking target is tracked and photographed.

在本發明又一實施方式中,所述方法還包括,電腦裝置1還將所述至少一個追蹤目標之運動方向發送給所述至少一個第二移動攝像裝置;其中,所述運動方向優選以第一移動攝像裝置之方位為中心,所述追蹤目標與所述第一移動攝像裝置之相對方位。當所述第二移動攝像裝置未獲取追蹤目標指令時,所述第二移動攝像裝置與所述第一移動攝像裝置保持一預設距離。 In another embodiment of the present invention, the method further includes that the computer device 1 also sends the movement direction of the at least one tracking target to the at least one second mobile camera device; wherein, the movement direction is preferably the first The position of a mobile camera device is the center, and the relative position of the tracking target and the first mobile camera device. When the second mobile camera device does not acquire the tracking target instruction, the second mobile camera device maintains a preset distance from the first mobile camera device.

在又一實施方式中,所述方法還包括當第二移動攝像裝置對所述 追蹤目標進行追蹤時,將第二移動攝像裝置所獲取的視頻發送給電腦裝置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 computer device 1, and the computer device 1 determines whether the tracking is consistent with the tracking target that the first camera device requires the second camera device to track according to the video. The specific steps include: the computer device 1 obtains the video image collected by the second mobile camera device flying in the moving direction of the tracking target; The information is compared with the received feature information of the tracking target; if they are consistent, the second mobile camera is controlled to obtain the video of the tracking target in real time; if they are inconsistent, the first mobile camera and other second mobile cameras The video obtained by the camera device searches for a tracking target that matches the feature information in the video image.

舉例而言,電腦裝置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 computer device 1 searches for the number plates of the athletes in the marathon video obtained by the first mobile camera device, and finds that athletes No. 5 and 65 are not in the monitoring screen of the first mobile camera device. The characteristic information of the athlete No. 65 and the characteristic information of the athlete No. 65 and the movement directions of the athlete No. 5 and No. 65 are sent to the second mobile camera device numbered 001 and the second mobile camera device numbered 002, respectively. The characteristic information includes at least one of the athlete's number plate and appearance and clothing characteristics. The movement directions are the relative positions of athlete No. 5 and athlete 65 with respect to the first mobile camera device. For example, athlete No. 5 is located at 35° to the right of the first mobile camera device, and athlete No. 65 is located on the left side of the first mobile camera device. 30° to the rear. The second mobile camera device numbered 001 obtains the movement direction of athlete No. 5, flies according to the movement direction, and obtains the tracking target video during the flight, and sends the video to the computer device 1, and the computer device 1 follows The characteristic information of the athlete No. 5 is searched for the characteristic information of the athlete No. 5 in the image frame of the video at a predetermined time interval. If the video image frame contains the characteristic information of the athlete No. 5, the computer device 1 sends an instruction to continuously track the characteristic information of the athlete No. 5 to the second mobile camera device numbered 001. The second mobile camera device numbered 001 continuously tracks and photographs athlete No. 5 according to the instruction. If the second mobile camera device numbered 001 captures the video according to the movement direction of athlete No. 5, the computer device 1 said second mobile camera device numbered 001 within the preset time If the feature information of athlete No. 5 is not found in the captured video information, then retrieve the videos taken by the first mobile camera device and other second mobile camera devices, and search for the feature information of athlete No. 5 in the video; if said If the characteristic information of athlete No. 5 cannot be found in the video, a reminder message will be sent out by means of SMS, instant messaging, telephone, email, etc.

在本發明又一實施方式中,所述編號為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 computer device 1, and the processor of the second mobile camera device numbered 002 pairs Search for the feature information of the athlete No. 65 in the video collected by the camera device of the second mobile camera device numbered 002. If the video contains the feature information of the athlete No. 65, perform a search on the feature information Continue to track and shoot; if the search for more than a preset time, the feature information of athlete No. 65 is still not found in the video, the video taken by the first mobile camera device and other second mobile camera devices will be retrieved and displayed in the video Find the characteristic information of the athlete No. 5 in the video; if the characteristic information of the athlete No. 65 cannot be found in the video, a reminder message will be sent by means of SMS, instant messaging, telephone, email, etc.

上述圖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 shooting device 10 runs in a computer device. The computer device is connected to a plurality of mobile camera devices via a network. The target tracking and shooting device 10 may include a plurality of functional modules composed of code segments. The code of each program segment in the target tracking and shooting device 10 can be stored in the memory of the computer device and executed by the at least one processor, In order to achieve the target tracking shooting function.

本實施例中,所述目標追蹤拍攝裝置10根據其所執行之功能,可以被劃分為多個功能模組。參閱圖3所示,所述功能模組可以包括:接收模組101、監控模組102、判斷模組103、執行模組104。本發明所稱之模組是指一種能夠被至少一個處理器所執行並且能夠完成固定功能之一系列電腦程式段,其存儲在記憶體中。在本實施例中,關於各模組之功能將在後續之實施例中詳述。 In this embodiment, the target tracking and shooting device 10 can be divided into multiple functional modules according to the functions it performs. Referring to FIG. 3, the functional modules may include: a receiving module 101, a monitoring module 102, a judgment module 103, and an execution module 104. The module referred to in the present invention refers to a series of computer program segments that can be executed by at least one processor and can complete fixed functions, which are stored in the memory. In this embodiment, the functions of each module will be described in detail in subsequent embodiments.

所述接收模組101,用於接收第一移動攝像裝置採集之包含多個追蹤目標之視頻。 The receiving module 101 is used for receiving a video including multiple tracking targets collected by the first mobile camera.

本發明一實施方式中,接收模組101接收第一移動攝像裝置採集之包含多個追蹤目標之視頻,所述視頻可以藉由第五代移動通訊技術進行傳輸,也可以藉由WIFI網路進行傳輸。 In one embodiment of the present invention, the receiving module 101 receives a video containing multiple tracking targets collected by the first mobile camera device. The video can be transmitted by the fifth-generation mobile communication technology, or can be performed by the WIFI network. transmission.

舉例而言,在馬拉松比賽之起點,所述第一移動攝像裝置位於起點之上空位置,用於拍攝位於馬拉松比賽起點之多個運動員,並將拍攝到之具有多個運動員視頻發送給接收模組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 module 101.

所述監控模組102,用於在所述視頻中識別並監控多個所述追蹤目標。 The monitoring module 102 is used to identify and monitor multiple tracking targets in the video.

所述監控模組102藉由圖像識別方法對所述視頻中之追蹤目標進行識別。例如在賽車比賽中,監控模組102接收位於起點之視頻,識別視頻中不同賽車之特徵資訊,所述特徵資訊包括賽車之車牌、顏色、文字中之一種或多種資訊。比如,在馬拉松比賽中,監控模組102接收位於馬拉松比賽起點位置之視頻,並識別所述視頻中運動員之號碼牌。 The monitoring module 102 uses an image recognition method to recognize the tracking target in the video. For example, in a racing game, the monitoring module 102 receives the video at the starting point and recognizes the characteristic information of different cars in the video. The characteristic information includes one or more of the car's license plate, color, and text. For example, in a marathon, the monitoring module 102 receives a video at the starting point of the marathon, and recognizes the athlete's number plate in the video.

所述判斷模組103,用於判斷多個所述追蹤目標是否在所述第一移動攝像裝置之監控範圍內。 The judgment module 103 is used for judging whether a plurality of the tracking targets are within the monitoring range of the first mobile camera device.

在本發明一實施方式中,判斷模組103判斷多個所述追蹤目標是否 在所述第一移動攝像裝置之監控範圍內之方法可以包括:從包含多個追蹤目標之視頻中識別多個所述追蹤目標之特徵資訊;每隔一預設時間,重新獲取所述第一移動攝像裝置採集之視頻,並在所述視頻之圖像幀中查找是否包含多個所述追蹤目標之特徵資訊,以判斷多個所述追蹤目標是否在所述第一移動攝像裝置之監控範圍內,其中,所述第一移動攝像裝置之飛行速度與多個所述追蹤目標之平均速度相等。 In an embodiment of the present invention, the judging module 103 judges whether a plurality of the tracking targets The method within the monitoring range of the first mobile camera device may include: identifying feature information of a plurality of the tracking targets from a video containing a plurality of tracking targets; reacquiring the first The video collected by the mobile camera device is searched for in the image frame of the video whether it contains the characteristic information of a plurality of the tracking targets, so as to determine whether the plurality of the tracking targets are within the monitoring range of the first mobile camera device Inside, wherein the flying speed of the first mobile camera device is equal to the average speed of a plurality of the tracking targets.

舉例而言,判斷模組103接收第一移動攝像裝置獲取之馬拉松比賽起點位置之視頻,並識別所述視頻中運動員之號碼牌,並每隔一預設時間,重新獲取第一移動攝像裝置獲取之視頻資訊,並從所述視頻資訊中查找是否包含位元所有運動員之號碼牌。其中,所述第一移動攝像裝置為了在獲取到之視頻圖像中包含最多之追蹤目標,所述第一移動攝像裝置之飛行速度與多個所述追蹤目標之平均速度相等。 For example, the judging module 103 receives the video of the starting position of the marathon obtained by the first mobile camera, and recognizes the athlete's number plate in the video, and re-acquires the first mobile camera at a predetermined time interval. And find out whether it contains the number plates of all athletes from the video information. Wherein, in order for the first mobile camera device to include the most tracking targets in the acquired video image, the flying speed of the first mobile camera device is equal to the average speed of the multiple tracking targets.

所述執行模組104,用於當至少一個追蹤目標不在所述第一移動攝像裝置之監控範圍內時,控制至少一台第二移動攝像裝置對所述至少一個追蹤目標進行追蹤拍攝,其中,一個不在所述第一移動攝像裝置之監控範圍內之追蹤目標由一台第二移動攝像裝置進行追蹤拍攝。 The execution module 104 is configured to control at least one second mobile camera device to track and photograph the at least one tracking target when at least one tracking target is not within the monitoring range of the first mobile camera device, wherein, A tracking target that is not within the monitoring range of the first mobile camera device is tracked and photographed by a second mobile camera device.

在本發明一實施方式中,藉由執行模組104對獲取之視頻資訊中之特徵資訊進行查找,若至少一個追蹤目標不在所述第一移動攝像裝置之監控範圍內,則控制至少一台第二移動攝像裝置對所述至少一個追蹤目標進行追蹤拍攝,其中,一個不在所述第一移動攝像裝置之監控範圍內之追蹤目標由一台第二移動攝像裝置進行追蹤拍攝。 In one embodiment of the present invention, the execution module 104 is used to search for feature information in the acquired video information, and if at least one tracking target is not within the monitoring range of the first mobile camera device, at least one second camera is controlled A second mobile camera device tracks and photographs the at least one tracking target, wherein a tracking target that is not within the monitoring range of the first mobile camera device is tracked and photographed by a second mobile camera device.

在本發明一實施方式中,執行模組104還可以將所述至少一個追蹤目標之特徵資訊分別發送給所述至少一個第二移動攝像裝置,以控制所述至少一台第二移動攝像裝置對所述至少一個追蹤目標進行追蹤拍攝。 In an embodiment of the present invention, the execution module 104 may also send the characteristic information of the at least one tracking target 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.

在又一實施方式中,執行模組104還將所述至少一個追蹤目標之運動方向發送給所述至少一個第二移動攝像裝置;其中,所述運動方向優選以第一移動攝像裝置之方位為中心,所述追蹤目標與所述第一移動攝像裝置之相對方位。當所述第二移動攝像裝置未獲取追蹤目標指令時,所述第二移動攝像裝置與所述第一移動攝像裝置保持一預設距離。 In another embodiment, the execution module 104 also sends the movement direction of the at least one tracking target to the at least one second mobile camera device; wherein, the movement direction is preferably based on the orientation of the first mobile camera device In the center, the relative position of the tracking target and the first mobile camera device. When the second mobile camera device does not acquire the tracking target instruction, the second mobile camera device maintains a preset distance from the first mobile camera device.

在又一實施方式中,所述方法還包括當第二移動攝像裝置對所述追蹤目標進行追蹤時,將第二移動攝像裝置所獲取的視頻發送給執行模組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 execution module 104, and the execution module 104 according to the The video determines whether the tracking is consistent with the tracking target that the first camera device requires the second camera device to track. The specific steps include: the execution module 104 obtains the video image collected by the second mobile camera device flying in accordance with the movement direction of the tracking target; recognizes the feature information in the video image, and compares the The feature information is compared with the received feature information of the tracking target; if it is consistent, the second mobile camera is controlled to obtain the video of the tracking target in real time; if it is inconsistent, the first mobile camera and the other second Searching for a tracking target matching the feature information in the video image in the video obtained by the mobile camera device.

舉例而言,執行模組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 execution module 104 searches for the athlete's number plate in the marathon video obtained by the first mobile camera device, and finds that athletes No. 5 and 65 are not in the monitoring screen of the first mobile camera device, and the execution module 104 respectively Send the characteristic information of the No. 5 athlete and the characteristic information of the No. 65 athlete and the movement directions of the No. 5 athlete and the No. 65 athlete to the second mobile camera device numbered 001 and the second mobile camera device numbered 002, respectively, The characteristic information includes at least one of the athlete's number plate and appearance and clothing characteristics. The movement directions are the relative positions of athlete No. 5 and athlete 65 with respect to the first mobile camera device. For example, athlete No. 5 is located at 35° to the right of the first mobile camera device, and athlete No. 65 is located on the left side of the first mobile camera device. 30° to the rear. The second mobile camera device numbered 001 obtains the movement direction of athlete No. 5, flies according to the movement direction, and obtains the tracking target video during the flight, and sends the video to the execution module 104, which is the execution module 104, according to the characteristic information of the athlete No. 5, search for the characteristic information of the athlete No. 5 in the image frame of the video at predetermined intervals. If the video image frame contains the characteristic information of the athlete No. 5, the computer device 1 sends an instruction to continuously track the characteristic information of the athlete No. 5 to the second mobile camera device numbered 001. The second mobile camera device numbered 001 continuously tracks and photographs athlete No. 5 according to the instruction. If the second mobile camera device numbered 001 shoots a video according to the movement direction of athlete No. 5, the computer device 1 does not find number 5 in the video information captured by the second mobile camera device numbered 001 within the preset time. For the feature information of the athlete, retrieve the videos taken by the first mobile camera device and other second mobile camera devices, and search for the feature information of the No. 5 athlete in the video; if the No. 5 athlete is still not found in the video Feature information is sent out prompt messages through short messages, instant messaging messages, phone calls, emails, etc.

在本發明又一實施方式中,所述編號為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 computer device 1, and the processor of the second mobile camera device numbered 002 pairs Search for the feature information of the athlete No. 65 in the video collected by the camera device of the second mobile camera device numbered 002. If the video contains the feature information of the athlete No. 65, perform a search on the feature information Continue to track and shoot; if the search for more than a preset time, the feature information of athlete No. 65 is still not found in the video, the video taken by the first mobile camera device and other second mobile camera devices will be retrieved and displayed in the video Find the characteristic information of the athlete No. 5 in the video; if the characteristic information of the athlete No. 65 cannot be found in the video, a reminder message will be sent by means of SMS, instant messaging, telephone, email, etc.

實施例四 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 computer device 1 includes a memory 20, a processor 30, and a computer program 40 stored in the memory 20 and running on the processor 30, such as a target tracking and shooting program. When the processor 30 executes the computer program 40, the steps in the above embodiment of the target tracking and shooting method are realized, for example, As shown in Figure 2 steps S1 ~ S4. Alternatively, when the processor 30 executes the computer program 40, the functions of the modules/units in the above-mentioned embodiment of the target tracking and shooting device are realized, such as the units 101-104 in FIG. 3.

示例性之,所述電腦程式40可以被分割成一個或多個模組/單元,所述一個或者多個模組/單元被存儲在所述記憶體20中,並由所述處理器30執行,以完成本發明。所述一個或多個模組/單元可以是能夠完成特定功能之一系列電腦程式指令段,所述指令段用於描述所述電腦程式40在所述電腦裝置1中之執行過程。例如,所述電腦程式40可以被分割成圖3中之接收模組101、監控模組102、判斷模組103、執行模組104。 Exemplarily, the computer program 40 may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 20 and executed by the processor 30 , To complete the present invention. The one or more modules/units may be a series of computer program instruction segments capable of completing a specific function, and the instruction segments are used to describe the execution process of the computer program 40 in the computer device 1. For example, the computer program 40 can be divided into the receiving module 101, the monitoring module 102, the judgment module 103, and the execution module 104 in FIG. 3.

所述電腦裝置1可以是桌上型電腦、筆記本、掌上型電腦及雲端伺服器等計算設備。本領域技術人員可以理解,所述示意圖僅僅是電腦裝置1之示例,並不構成對電腦裝置1之限定,可以包括比圖示更多或更少之部件,或者組合某些部件,或者不同之部件,例如所述電腦裝置1還可以包括輸入輸出設備、網路接入設備、匯流排等。 The computer device 1 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server. Those skilled in the art can understand that the schematic diagram is only an example of the computer device 1, and does not constitute a limitation on the computer device 1. Components, for example, the computer device 1 may also include input and output devices, network access devices, bus bars, and the like.

所稱處理器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 processor 30 may be a central processing unit (Central Processing Unit, CPU), other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), and dedicated integrated circuits (Application Specific Integrated Circuit, ASIC). , Ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor 30 can also be any conventional processor, etc. The processor 30 is the control center of the computer device 1 and connects the entire computer device 1 with various interfaces and lines. Various parts.

所述記憶體20可用於存儲所述電腦程式40和/或模組/單元,所述處理器30藉由運行或執行存儲在所述記憶體20內之電腦程式和/或模組/單元,以及調用存儲在記憶體20內之資料,實現所述電腦裝置1之各種功能。所述記憶體20可主要包括存儲程式區和存儲資料區,其中,存儲程式區可存儲作業系統、至 少一個功能所需之應用程式(比如聲音播放功能、圖像播放功能等)等;存儲資料區可存儲根據電腦裝置1之使用所創建之資料(比如音訊資料)等。此外,記憶體20可以包括高速隨機存取記憶體,還可以包括非易失性記憶體,例如硬碟、記憶體、插接式硬碟,智慧存儲卡(Smart Media Card,SMC),安全數位(Secure Digital,SD)卡,快閃記憶體卡(Flash Card)、至少一個磁碟記憶體件、快閃記憶體器件、或其他非易失性固態記憶體件。 The memory 20 can be used to store the computer programs 40 and/or modules/units, and the processor 30 runs or executes the computer programs and/or modules/units stored in the memory 20, And call the data stored in the memory 20 to realize various functions of the computer device 1. The memory 20 may mainly include a storage program area and a storage data area, wherein the storage program area can store the operating system, to One less application program (such as sound playback function, image playback function, etc.) required for one function; the storage data area can store data created based on the use of the computer device 1 (such as audio data), etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), and a secure digital device. (Secure Digital, SD) card, flash memory card (Flash Card), at least one magnetic disk memory device, flash memory device, or other non-volatile solid state memory device.

所述電腦裝置1集成之模組/單元如果以軟體功能單元之形式實現並作為獨立之產品銷售或使用時,可以存儲在一個電腦可讀取存儲介質中。基於這樣之理解,本發明實現上述實施例方法中之全部或部分流程,也可以藉由電腦程式來指令相關之硬體來完成,所述之電腦程式可存儲於一電腦可讀存儲介質中,所述電腦程式在被處理器執行時,可實現上述各個方法實施例之步驟。其中,所述電腦程式包括電腦程式代碼,所述電腦程式代碼可以為原始程式碼形式、物件代碼形式、可執行檔或某些中間形式等。所述電腦可讀介質可以包括:能夠攜帶所述電腦程式代碼之任何實體或裝置、記錄介質、U盤、移動硬碟、磁碟、光碟、電腦記憶體、唯讀記憶體(ROM,Read-Only Memory)、隨機存取記憶體(RAM,Random Access Memory)、電載波信號、電信信號以及軟體分發介質等。 If the integrated module/unit of the computer device 1 is realized in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiments and methods, and can also be completed by computer programs instructing related hardware, and the computer programs can be stored in a computer-readable storage medium. When the computer program is executed by the processor, it can implement the steps of the foregoing method embodiments. Wherein, the computer program includes computer program code, and the computer program code may be in the form of original program code, object code, executable file, or some intermediate forms. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only) Only Memory), Random Access Memory (RAM, Random Access Memory), electrical carrier signal, telecommunications signal, and software distribution media.

在本發明所提供之幾個實施例中,應所述理解到,所揭露之電腦裝置和方法,可以藉由其它之方式實現。例如,以上所描述之電腦裝置實施例僅僅是示意性之,例如,所述單元之劃分,僅僅為一種邏輯功能劃分,實際實現時可以有另外之劃分方式。 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)

一種目標追蹤拍攝方法,所述方法包括:接收第一移動攝像裝置採集之包含多個追蹤目標之視頻,其中,所述第一移動攝像裝置之飛行速度與多個所述追蹤目標之平均速度相等;在所述視頻中識別並監控多個所述追蹤目標;判斷多個所述追蹤目標是否在所述第一移動攝像裝置之監控範圍內;若至少一個追蹤目標不在所述第一移動攝像裝置之監控範圍內,則控制至少一台第二移動攝像裝置對所述至少一個追蹤目標進行追蹤拍攝,其中,一個不在所述第一移動攝像裝置之監控範圍內之追蹤目標由一台第二移動攝像裝置進行追蹤拍攝,其中,當所述第二移動攝像裝置未接收到追蹤目標指令時,所述第二移動攝像裝置與所述第一移動攝像裝置保持一預設距離。 A target tracking and shooting method, the method comprising: receiving a video including a plurality of tracking targets collected by a first mobile camera device, wherein the flying speed of the first mobile camera device is equal to the average speed of the plurality of tracking targets Identify and monitor multiple tracking targets in the video; determine whether multiple tracking targets are within the monitoring range of the first mobile camera device; if at least one tracking target is not in the first mobile camera device Within the monitoring range of the first mobile camera device, control at least one second mobile camera device to track and shoot the at least one tracking target, wherein a tracking target that is not within the monitoring range of the first mobile camera device is moved by a second The camera device performs tracking shooting, wherein 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. 如請求項1所述之目標追蹤拍攝方法,其中,所述判斷多個所述追蹤目標是否在所述第一移動攝像裝置之監控範圍內之步驟包括:從包含多個追蹤目標之視頻中識別多個所述追蹤目標之特徵資訊;每隔一預設時間,重新獲取所述第一移動攝像裝置採集之視頻,並在所述視頻之圖像幀中查找是否包含多個所述追蹤目標之特徵資訊,以判斷多個所述追蹤目標是否在所述第一移動攝像裝置之監控範圍內。 The target tracking and shooting method according to claim 1, wherein the step of determining whether a plurality of the tracking targets are within the monitoring range of the first mobile camera device comprises: identifying from a video containing a plurality of tracking targets Feature information of a plurality of the tracking targets; re-acquire the video collected by the first mobile camera device at a predetermined time interval, and search for the image frame of the video whether it contains multiple tracking targets Feature information to determine whether a plurality of the tracking targets are within the monitoring range of the first mobile camera device. 如請求項2所述之目標追蹤拍攝方法,其中,若至少一個追蹤目標不在所述第一移動攝像裝置之監控範圍內,則控制至少一台第二移動攝像裝置對所述至少一個追蹤目標進行追蹤拍攝之步驟包括:若所述圖像幀中缺少所述至少一個追蹤目標之特徵資訊,將所述至少一個追蹤目標之特徵資訊分別發送給所述至少一個第二移動攝像裝置,以控制所述至少一台第二移動攝像裝置對所述至少一個追蹤目標進行追蹤拍攝。 The target tracking and shooting method according to claim 2, wherein if at least one tracking target is not within the monitoring range of the first mobile camera device, at least one second mobile camera device is controlled to perform on the at least one tracking target The step of tracking and shooting includes: if the feature information of the at least one tracking target is missing in the image frame, sending the feature information of the at least one tracking target to the at least one second mobile camera device to control all The at least one second mobile camera device tracks and photographs the at least one tracking target. 如請求項3所述之目標追蹤拍攝方法,其中,所述方法還包括: 若所述圖像幀中缺少所述至少一個追蹤目標之特徵資訊,將所述至少一個追蹤目標之運動方向發送給所述至少一個第二移動攝像裝置;其中,所述運動方向為以第一移動攝像裝置之方位為中心,所述追蹤目標與所述第一移動攝像裝置之相對方位。 The target tracking and shooting method according to claim 3, wherein the method further includes: If the feature information of the at least one tracking target is missing in the image frame, the movement direction of the at least one tracking target is sent to the at least one second mobile camera; wherein, the movement direction is based on the first The position of the mobile camera is the center, and the relative position of the tracking target and the first mobile camera. 如請求項4所述之目標追蹤拍攝方法,其中,所述方法還包括:獲取所述第二移動攝像裝置按照所述追蹤目標之運動方向進行飛行而採集到之視頻圖像;識別所述視頻圖像中之特徵資訊,將所述特徵資訊與接收到之追蹤目標之特徵資訊進行比對;若一致,則控制第二移動攝像裝置即時獲取所述追蹤目標之視頻;若不一致,則在所述第一移動攝像裝置及其他第二移動攝像裝置獲取之視頻中查找與所述視頻圖像中之特徵資訊匹配之追蹤目標。 The target tracking and shooting method according to claim 4, wherein the method further comprises: acquiring a video image collected by the second mobile camera device flying according to the movement direction of the tracking target; and identifying the video For the feature information in the image, compare the feature information with the received feature information of the tracking target; if it is consistent, control the second mobile camera device to obtain the video of the tracking target in real time; Searching for a tracking target matching the feature information in the video image from the video acquired by the first mobile camera device and other second mobile camera devices. 一種目標追蹤拍攝裝置,所述裝置包括:接收模組,用於接收第一移動攝像裝置採集之包含多個追蹤目標之視頻;控制模組,用於控制所述第一移動攝像裝置之飛行速度,其中,所述第一移動攝像裝置之飛行速度與多個所述追蹤目標之平均速度相等;監控模組,用於在所述視頻中識別並監控多個所述追蹤目標;判斷模組,用於判斷多個所述追蹤目標是否在所述第一移動攝像裝置之監控範圍內;執行模組,用於當至少一個追蹤目標不在所述第一移動攝像裝置之監控範圍內時,控制至少一台第二移動攝像裝置對所述至少一個追蹤目標進行追蹤拍攝,其中,一個不在所述第一移動攝像裝置之監控範圍內之追蹤目標由一台第二移動攝像裝置進行追蹤拍攝,其中,當所述第二移動攝像裝置未接收到追蹤目標指令時,所述第二移動攝像裝置與所述第一移動攝像裝置保持一預設距 離。 A target tracking and shooting device, the device comprising: a receiving module for receiving a video containing multiple tracking targets collected by a first mobile camera device; a control module for controlling the flight speed of the first mobile camera device , Wherein the flying speed of the first mobile camera device is equal to the average speed of a plurality of the tracking targets; a monitoring module for identifying and monitoring a plurality of the tracking targets in the video; a judgment module, Used to determine whether a plurality of the tracking targets are within the monitoring range of the first mobile camera device; an execution module is used to control at least A second mobile camera device tracks and photographs the at least one tracking target, wherein a tracking target that is not within the monitoring range of the first mobile camera device is tracked and photographed by a second mobile camera device, wherein, When the second mobile camera device does not receive the tracking target instruction, the second mobile camera device maintains a preset distance from the first mobile camera device Leave. 一種電腦裝置,所述電腦裝置包括處理器,所述處理器用於執行記憶體中存儲之電腦程式時實現如請求項1至5中任一項所述之目標追蹤拍攝方法。 A computer device, the computer device includes a processor, and the processor is used to implement the target tracking and shooting method according to any one of claim items 1 to 5 when executing a computer program stored in a memory. 一種電腦存儲介質,其上存儲有電腦程式,其中所述電腦程式被處理器執行時實現如請求項1至5中任一項所述之目標追蹤拍攝方法。 A computer storage medium has a computer program stored thereon, wherein when the computer program is executed by a processor, the target tracking and shooting method according to any one of claim items 1 to 5 is realized.
TW108140481A 2019-11-07 2019-11-07 Target tracking shooting method, device, computer device and storage medium TWI736008B (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (2)

* Cited by examiner, † Cited by third party
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