TWI888137B - Obstacle avoidance camera system and method - Google Patents
Obstacle avoidance camera system and method Download PDFInfo
- Publication number
- TWI888137B TWI888137B TW113117931A TW113117931A TWI888137B TW I888137 B TWI888137 B TW I888137B TW 113117931 A TW113117931 A TW 113117931A TW 113117931 A TW113117931 A TW 113117931A TW I888137 B TWI888137 B TW I888137B
- Authority
- TW
- Taiwan
- Prior art keywords
- parameter
- processor
- camera
- video
- shooting
- Prior art date
Links
Images
Landscapes
- Closed-Circuit Television Systems (AREA)
Abstract
Description
本發明係關於一種攝影方法,特別是一種避障拍攝系統及方法。The present invention relates to a photography method, and more particularly to an obstacle avoidance photography system and method.
舞台表演經常會配合錄影或現場轉播。Stage performances are often videotaped or broadcast live.
然而,不預期走動的現場觀眾在經過攝影機時遮蔽到拍攝目標,可能會導致畫面模糊或失焦,這將影響觀看影片的觀眾的視覺體驗。即使安排攝影人員,也無法保證能夠全程迴避掉所有進入畫面的非拍攝目標。However, unexpectedly moving audience members may block the target when passing by the camera, which may cause the picture to be blurred or out of focus, which will affect the visual experience of the audience watching the video. Even if a cameraman is arranged, there is no guarantee that all non-shooting targets that enter the picture can be avoided.
有鑒於此,本發明提出一個避障拍攝系統及方法,解決錄影或現場轉播時,由於觀眾不預期走動導致的畫面遮蔽及失焦問題。In view of this, the present invention proposes an obstacle avoidance shooting system and method to solve the problem of image occlusion and out-of-focus caused by unexpected movement of the audience during recording or live broadcasting.
依據本發明一實施例的一種避障拍攝方法,包括:攝影機依據第一參數或第二參數拍攝場景以產生視訊,其中視訊用於呈現包括顯示區及檢測區的一畫面;處理器接收視訊並偵測檢測區中的至少一物件;處理器依據所述至少一物件的移動方向將第一參數調整為第二參數,其中第二參數用於避免所述至少一物件進入顯示區;以及顯示裝置接收視訊並呈現顯示區。According to an embodiment of the present invention, an obstacle avoidance shooting method includes: a camera shoots a scene according to a first parameter or a second parameter to generate a video, wherein the video is used to present a picture including a display area and a detection area; a processor receives the video and detects at least one object in the detection area; the processor adjusts the first parameter to a second parameter according to the moving direction of the at least one object, wherein the second parameter is used to avoid the at least one object from entering the display area; and a display device receives the video and presents the display area.
依據本發明一實施例的一種避障拍攝系統,包括攝影機、處理器以及顯示裝置。攝影機依據第一參數或第二參數拍攝場景以產生視訊,視訊呈現包括顯示區及檢測區的畫面。處理器電性連接攝影機以接收視訊。處理器用於偵測檢測區中的至少一物件,依據所述至少一物件的移動方向將第一參數調整為第二參數,其中該第二參數用於避免所述至少一物件進入顯示區。顯示裝置電性連接處理器以接收視訊。顯示裝置用於呈現顯示區。According to an embodiment of the present invention, an obstacle avoidance shooting system includes a camera, a processor, and a display device. The camera shoots a scene according to a first parameter or a second parameter to generate a video, and the video presentation includes a picture of a display area and a detection area. The processor is electrically connected to the camera to receive the video. The processor is used to detect at least one object in the detection area, and adjusts the first parameter to a second parameter according to the moving direction of the at least one object, wherein the second parameter is used to avoid the at least one object from entering the display area. The display device is electrically connected to the processor to receive the video. The display device is used to present the display area.
綜上所述,本發明提出的避障拍攝系統及方法除了能夠閃避非拍攝目標,還可以兼顧畫面自然度,確保回放時的觀影品質。In summary, the obstacle avoidance shooting system and method proposed by the present invention can not only avoid non-shooting targets, but also take into account the naturalness of the picture to ensure the viewing quality during playback.
以上之關於本揭露內容之說明及以下之實施方式之說明係用以示範與解釋本發明之精神與原理,並且提供本發明之專利申請範圍更進一步之解釋。The above description of the disclosed content and the following description of the implementation methods are used to demonstrate and explain the spirit and principle of the present invention, and provide a further explanation of the scope of the patent application of the present invention.
以下在實施方式中詳細敘述本發明之詳細特徵以及優點,其內容足以使任何熟習相關技藝者了解本發明之技術內容並據以實施,且根據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。以下之實施例係進一步詳細說明本發明之觀點,但非以任何觀點限制本發明之範疇。The following detailed description of the features and advantages of the present invention is provided in the implementation mode, and the content is sufficient to enable any person skilled in the relevant art to understand the technical content of the present invention and implement it accordingly. Moreover, according to the content disclosed in this specification, the scope of the patent application and the drawings, any person skilled in the relevant art can easily understand the relevant purposes and advantages of the present invention. The following embodiments are to further explain the viewpoints of the present invention in detail, but are not to limit the scope of the present invention by any viewpoint.
圖1是依據本發明一實施例的避障拍攝系統的方塊架構圖。如圖1所示,所述避障拍攝系統10包括:攝影機1、處理器3以及顯示裝置5。FIG1 is a block diagram of an obstacle avoidance photography system according to an embodiment of the present invention. As shown in FIG1 , the obstacle
攝影機1依據參數拍攝場景以產生視訊。圖2是攝影機拍攝場景的範例示意圖。如圖2所示,場景包括舞台上的目標P1,舞台下的觀眾P2以及影響舞台攝影的物件P3。在一實施例中,攝影機1是平移傾斜變焦攝影機(pan-tilt-zoom camera,PTZ camera),其參數包括平移量(pan)、傾斜量(tilt)以及變焦量(zoom)。
處理器3電性連接攝影機1以接收視訊。基於圖2的範例,圖3是處理器3接收到的視訊範例示意圖。如圖3所示,視訊的畫面A0被區分為顯示區A1及檢測區A2。在一實施例中,顯示區A1位於畫面A0中央,檢測區A2位於畫面A0下方及兩側。在其他實施例中,檢測區A2包括畫面A0上方、下方、左側及右側中的至少一者,顯示區A1為檢測區A2以外的部分。處理器3用於偵測檢測區A2中的物件P3(如起身走動的現場觀眾),依據物件P3的移動方向調整拍攝時的參數,以避免物件P3進入顯示區A1。The
在一實施例中,攝影機1的對焦操作只限於顯示區中的目標P1,而不會對焦到檢測區A2中的物件。In one embodiment, the focusing operation of the
處理器3可以是獨立於攝影機1外的硬體裝置,例如個人電腦、伺服器或智慧型手機。處理器3也可以是內建於攝影機1的硬體裝置,例如微處理器、應用處理器(application processor,AP)或特殊應用IC(application-specific integrated circuit ,ASIC),但不以上述範例為限。The
顯示裝置5電性連接處理器3以接收並呈現視訊。由於處理器3傳送至顯示裝置5的視訊不包括檢測區A2的部分,因此顯示裝置5呈現的畫面只有顯示區A1。顯示裝置5例如是液晶顯示器或發光二極體顯示器,但不以上述範例為限。The
圖4是依據本發明一實施例的避障拍攝方法的流程圖。此方法包括步驟S1至S9,可以採用前述的避障拍攝系統10運行。Fig. 4 is a flow chart of an obstacle avoidance photography method according to an embodiment of the present invention. The method includes steps S1 to S9, and can be implemented using the obstacle
在步驟S1中,攝影機1依據第一參數拍攝場景以產生視訊,其中第一參數包括平移量、傾斜量以及變焦量。In step S1, the
在步驟S2中,處理器3接收視訊,並判斷檢測區A2中是否有物件P3。若步驟S2的判斷為是,則繼續步驟S3。若步驟S2的判斷為否,則返回步驟S1。在一實施例中,視訊包括多個幀,處理器3將時序在前的幀與時序在後的幀進行相減,依據這兩個幀之間的差異程度是否超過閾值來決定檢測區A2中是否有物件P3。在另一實施例中,處理器3將連續多個幀輸入至物件偵測的演算法,依據演算法的輸出決定檢測區A2中是否有物件P3。In step S2, the
在步驟S3中,處理器3判斷物件P3的移動模式。移動模式包括:遠離拍攝目標P1、左右移動以及前後移動等三種。這三種模式並非各自獨立,例如判斷結果可能同時符合左右移動及前後移動的狀況。在一實施例中,在偵測到物件P3之後,處理器3在畫面A0中標示包含物件P3的定界框,然後在接下來的多個幀中,計算每一幀中定界框與顯示區A1邊界的距離。若距離愈來愈大,代表物件P3逐漸遠離拍攝目標P1,此時執行步驟S4。In step S3, the
在步驟S4中,由於物件P3不會進入顯示區中遮蔽目標P1,因此處理器3將第一參數恢復為初始參數,也就是攝影機1一開始拍攝目標P1時採用的參數。In step S4, since the object P3 will not enter the display area to cover the target P1, the
圖5是基於圖2範例的俯視圖。定界框與畫面A0中線的距離愈來愈小代表物件P3可能進入顯示區A1中,對此需要預作防範。具體方式是:處理器3計算物件P3的移動方向D3,並將移動方向D3分解為第一方向D31與第二方向D32。第一方向D31垂直於攝影機1的拍攝方向D1,代表物件P3在畫面A0中左右移動。第二方向D32平行於攝影機1的拍攝方向D1,代表物件P3在畫面A0中朝向攝影機1向前移動或背向攝影機向後移動。FIG5 is a top view based on the example of FIG2. The decreasing distance between the bounding box and the center line of the screen A0 indicates that the object P3 may enter the display area A1, and precautions need to be taken. Specifically, the
在步驟S5中,若物件P3在畫面A0中水平移動,為了避免物件P3進入到顯示區A1,處理器3提高第一參數中的傾斜量(例如從0度到10度)及/或變焦量(例如從放大1倍到放大1.5倍),藉此讓攝影機1朝向畫面A0中間上方(即:以顯示區A1為主)進行放大拍攝。在一實施例中,處理器3計算物件P3與顯示區A1之間的距離,在距離大於一閾值時調整傾斜量,在小於或等於一閾值時調整變焦量。在其他實施例中,若攝影機1位置高於舞台,即俯拍,則在步驟S5中,處理器降低傾斜量以避免物件P3進入到顯示區A1。In step S5, if the object P3 moves horizontally in the picture A0, in order to prevent the object P3 from entering the display area A1, the
在步驟S6執行前,需要考慮兩點:一,在畫面A0中前後移動的物件P3可能進入到顯示區A1;二,為了避免前述狀況而調整攝影機1的拍攝姿態,之後拍攝到的畫面是否會裁切到拍攝目標P1。為此,處理器3先進行步驟S6的判斷,再依據結果調整第一參數中的平移量及變焦量中至少一者。Before executing step S6, two points need to be considered: first, the object P3 moving forward and backward in the picture A0 may enter the display area A1; second, in order to avoid the above situation, the shooting posture of the
在步驟S6中,處理器3偵測畫面A0是否即將過度偏離。In step S6, the
請回顧圖3,在一實施例中,在攝影機1使用初始參數拍攝目標P1時(在步驟S1之前),處理器3設定畫面A0中的核心區A3。核心區A3位於顯示區A1中,用於涵蓋拍攝目標P1。在一實施例中,處理器3將視訊輸入至人工智慧模型,由人工智慧模型決定畫面A0中哪個部分屬於核心區A3。在其他實施例中,核心區A3可以由人為手動設定。Referring back to FIG. 3 , in one embodiment, when the
考量到攝影機1要拍攝的目標P1會移動,核心區A3在畫面中的位置會因為攝影機1平移或傾斜而改變,因此處理器3需要持續偵測核心區A3的位置並進行動態調整。另一方面,若攝影機1為了閃避物件P3而過度平移(或傾斜),將會導致過度偏離。圖6是過度偏離的範例示意圖。如圖6所示,由於攝影機1向右平移過頭,使得核心區A3的一部分進入檢測區A2,導致在顯示裝置5呈現顯示區A1時,觀眾看到左半部分被截掉的目標P1。Considering that the target P1 to be photographed by the
承上述範例,本發明提出的作法是:在攝影機1持續平移,直到核心區A3的邊緣快要接近檢測區A2的邊緣(即顯示區A1與檢測區A2的交界處)時,會進行小幅度的反方向平移(或直接停止平移)以及放大拍攝,從而避免拍攝目標P1進入檢測區A2中。具體來說,在步驟S6的一實施例中,處理器判斷核心區A3的邊緣與檢測區A2的邊緣是否小於一閾值。若步驟S6的判斷為否,則繼續步驟S7。若步驟S6的判斷為是,則繼續步驟S8。Based on the above example, the method proposed by the present invention is: when the
在步驟S7中,處理器3依據物件P3在畫面A0中的移動方向適應性地調整第一參數中的平移量。例如,物件P3朝向左邊移動,則攝影機1應向左平移以避免物件P3出現在顯示區A1中。In step S7, the
在步驟S8的一實施例中,處理器3恢復上一次的平移量調整,並提高變焦量。例如:上一次進入步驟S7時向右平移10度,則本次進入步驟S8時向左平移5度,並在拉回畫面後進行放大拍攝,從而維持目標P1在顯示區A1中。In an embodiment of step S8, the
在步驟S8的另一實施例中,處理器3直接提高變焦量。例如:上一次進入步驟S7時向右平移10度,則本次進入步驟S8時不再向右平移,直接進行放大拍攝,從而維持目標P1在顯示區A1中。In another embodiment of step S8, the
在步驟S9中,也就是在步驟S4、S5、S7及S8完成後,第一參數被處理器3調整為第二參數。調整的方式包括:恢復為初始參數、調整第一參數中的平移量、傾斜量及變焦量中的至少一者。然後,處理器3將第二參數送至攝影機1以調整其拍攝姿態,繼續拍攝場景以產生不同畫面的視訊。另外,顯示裝置5從處理器3接收處理後的視訊,並呈現依據第二參數拍攝到的畫面中的顯示區A1。In step S9, that is, after steps S4, S5, S7 and S8 are completed, the first parameter is adjusted to the second parameter by the
前述實施例提出的避障拍攝方法適用於一或多個物件。換言之,攝影機1在閃避第一個物件P3的同時,也會依照相同規則閃避其他的物件。The obstacle avoidance shooting method proposed in the above embodiment is applicable to one or more objects. In other words, when the
綜上所述,本發明提出的避障拍攝系統及方法除了能夠閃避非拍攝目標,還可以兼顧畫面自然度,確保回放時的觀影品質。In summary, the obstacle avoidance shooting system and method proposed by the present invention can not only avoid non-shooting targets, but also take into account the naturalness of the picture to ensure the viewing quality during playback.
雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明。在不脫離本發明之精神和範圍內,所為之更動與潤飾,均屬本發明之專利保護範圍。關於本發明所界定之保護範圍請參考所附之申請專利範圍。Although the present invention is disclosed as above with the aforementioned embodiments, it is not intended to limit the present invention. Any changes and modifications made without departing from the spirit and scope of the present invention are within the scope of patent protection of the present invention. Please refer to the attached patent application for the scope of protection defined by the present invention.
10:避障拍攝系統 1:攝影機 3:處理器 5:顯示裝置 P1:目標 P2:觀眾 P3:物件 A0:畫面 A1:顯示區 A2:檢測區 A3:核心區 D3:移動方向 D31:第一方向 D32:第二方向 D1:拍攝方向 S1~S9:步驟10: Obstacle avoidance shooting system 1: Camera 3: Processor 5: Display device P1: Target P2: Audience P3: Object A0: Screen A1: Display area A2: Detection area A3: Core area D3: Moving direction D31: First direction D32: Second direction D1: Shooting direction S1~S9: Steps
圖1是依據本發明一實施例所的避障拍攝系統的方塊架構圖; 圖2是攝影機拍攝場景的範例示意圖; 圖3是處理器接收到的視訊的範例示意圖; 圖4是依據本發明一實施例所的避障拍攝方法的流程圖; 圖5是基於圖2範例的俯視圖;以及 圖6是過度偏離的範例示意圖。 FIG1 is a block diagram of an obstacle avoidance shooting system according to an embodiment of the present invention; FIG2 is a schematic diagram of an example of a camera shooting a scene; FIG3 is a schematic diagram of an example of a video signal received by a processor; FIG4 is a flow chart of an obstacle avoidance shooting method according to an embodiment of the present invention; FIG5 is a top view based on the example of FIG2; and FIG6 is a schematic diagram of an example of excessive deviation.
S1~S9:步驟 S1~S9: Steps
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW113117931A TWI888137B (en) | 2024-05-15 | 2024-05-15 | Obstacle avoidance camera system and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW113117931A TWI888137B (en) | 2024-05-15 | 2024-05-15 | Obstacle avoidance camera system and method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TWI888137B true TWI888137B (en) | 2025-06-21 |
| TW202547175A TW202547175A (en) | 2025-12-01 |
Family
ID=97227601
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW113117931A TWI888137B (en) | 2024-05-15 | 2024-05-15 | Obstacle avoidance camera system and method |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI888137B (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW201946029A (en) * | 2018-03-29 | 2019-12-01 | 日商日本電氣股份有限公司 | Video monitoring device and control method thereof, and computer-readable medium |
| TW202205850A (en) * | 2020-07-15 | 2022-02-01 | 圓展科技股份有限公司 | Method for image tracking and display |
-
2024
- 2024-05-15 TW TW113117931A patent/TWI888137B/en active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW201946029A (en) * | 2018-03-29 | 2019-12-01 | 日商日本電氣股份有限公司 | Video monitoring device and control method thereof, and computer-readable medium |
| TW202205850A (en) * | 2020-07-15 | 2022-02-01 | 圓展科技股份有限公司 | Method for image tracking and display |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12276899B2 (en) | Image pickup device and method of tracking subject thereof | |
| US10244159B2 (en) | Image capturing apparatus and control method thereof | |
| US10356321B2 (en) | Imaging apparatus with focus adjustment control and exposure adjustment control | |
| JP6087671B2 (en) | Imaging apparatus and control method thereof | |
| US8687041B2 (en) | Stereoscopic panorama image creating apparatus, stereoscopic panorama image creating method, stereoscopic panorama image reproducing apparatus, stereoscopic panorama image reproducing method, and recording medium | |
| US8284296B2 (en) | Continuous focusing method for digital camera | |
| JPH08149514A (en) | Method for converting two-dimensional video image into three-dimensional video image | |
| KR20110102313A (en) | Stereoscopic image processing device, method, recording medium and stereoscopic imaging device | |
| JP2008136174A (en) | Imaging apparatus and imaging control method | |
| CN102972035A (en) | Stereoscopic panorama image synthesizing device and compound-eye imaging device as well as stereoscopic panorama image synthesizing method | |
| JP5526233B2 (en) | Stereoscopic image photographing apparatus and control method thereof | |
| JP2016012811A (en) | Imaging apparatus, control method therefor, program, and storage medium | |
| CN109936697B (en) | Video shooting target tracking method and device | |
| US8390709B2 (en) | Camera and method for adjusting photographing time and mode | |
| JP5426874B2 (en) | Auto focus system | |
| TWI888137B (en) | Obstacle avoidance camera system and method | |
| JP7616211B2 (en) | Information processing device, information processing method, and program | |
| CN115529445A (en) | Projection equipment and projection image quality adjusting method | |
| JPH08336128A (en) | Video viewing device | |
| CN105379247A (en) | Image processing device, display device, image pickup device, and image processing method and program | |
| JP2004328606A (en) | Imaging device | |
| TW202547175A (en) | Obstacle avoidance camera system and method | |
| CN114612360B (en) | Video fusion method and system based on motion model | |
| JP3891402B2 (en) | Image clipping control device | |
| JP4131113B2 (en) | Image processing apparatus, image processing method, and image processing program |