NEAR-FIELD REMOTE CONTROL METHOD AND SYSTEM FOR TRACKING GIMBAL AND FIELD ELEMENT MARKING METHOD

The present disclosure provides a near-field remote control method and system for tracking a gimbal. The method comprises: sending a motion control signal to a shooting terminal via a message channel, so as to enable the shooting terminal to forward the received motion control signal to a motion terminal; receiving a real-time shot image of the shooting terminal via a streaming media channel; and upon detection of an abnormal connection interruption, reestablishing the message channel and the streaming media channel via a broadcast service. In addition, the present disclosure further provides a field element marking system.

Skip to: Description  ·  Claims  · Patent History  ·  Patent History
Description
CROSS-REFERENCE TO RELATED APPLICATIONS

The present disclosure claims priority to Chinese patent application No. 202510713272.4 filed with the China National Intellectual Property Administration on May 29, 2025 and entitled “NEAR-FIELD REMOTE CONTROL METHOD, DEVICE, AND SYSTEM FOR TRACKING GIMBAL AND STORAGE MEDIUM”, and priority to Chinese patent application No. 202510645876X filed with the China National Intellectual Property Administration on May 20, 2025 and entitled “FIELD ELEMENT MARKING METHOD AND TRACKING AND SHOOTING METHOD BASED ON FIELD BOUNDARY LINE FILTERING”, the contents of which are incorporated herein by reference in entirety.

TECHNICAL FIELD

Embodiments of the present disclosure relate to the technical field of computer vision and intelligent sports shooting, and specifically to a near-field remote control method and system for tracking a gimbal, and a field element marking system.

BACKGROUND ART

Intelligent tracking and shooting technologies are typically applied to photography or inspection tasks. For example, in unmanned aerial vehicle remote control technologies for manipulating unmanned aerial vehicles, it is necessary to precisely manipulate a flight path of the unmanned aerial vehicle and a camera angle in an effective distance. Current intelligent tracking gimbals generally have problems in connection stability, real-time information exchange and device collaboration efficiency in near-field control scenes. Therefore, a novel near-field remote control solution is urgently needed in intelligent tracking and shooting to meet requirements for high-efficiency communication and shooting stability.

In addition, when performing intelligent sports shooting, the prior art typically performs target identification and tracking on athlete body targets, including body shapes, postures, facial data, etc., especially when multi-target tracking is involved, accurate identification of athlete targets and positions significantly affects a tracking effect. In the prior art, there are some ideas to identify boundary lines in a real-time video image and filter out people whose foot points are beyond boundary lines accordingly. CN116416648A addresses this problem of filtering people by the above method. However, in practical applications, field situations at courts are quite complex, and high boundary line identification difficulty is a technical problem to be solved.

SUMMARY

Embodiments of the present disclosure provide a near-field remote control method for tracking a gimbal, including steps of:

    • sending, by a control terminal, a motion control signal to a shooting terminal via a message channel, so that the shooting terminal forwards the received motion control signal to a motion terminal, where the motion control signal is configured to control the motion terminal to adjust a gimbal posture;
    • sending a real-time shot image of the shooting terminal to the control terminal via a streaming media channel; and
    • reestablishing, upon detection of an abnormal connection interruption, the message channel and the streaming media channel via a broadcast service.

In some embodiments of the present disclosure, the method further includes steps of:

    • sending, by the control terminal, a virtual scoreboard configuration signal to the shooting terminal via the message channel, so that the shooting terminal sets a virtual scoreboard on the real-time shot image and integrates it into a shot image marked with a real-time score; and
    • sending the shot image marked with the real-time score of the shooting terminal to the control terminal via the streaming media channel.

In some embodiments of the present disclosure, the step of reestablishing the message channel and the streaming media channel via a broadcast service includes:

    • the shooting terminal activating the broadcast service to broadcast an IP address of the shooting terminal to a local area network;
    • the control terminal activating a broadcast monitoring service and a streaming media monitoring service, receiving a broadcast message from the shooting terminal, and extracting the IP address of the shooting terminal;
    • the control terminal comparing the received IP address of the shooting terminal with an IP address of a historical shooting terminal locally cached, if the IP addresses are consistent, an IP address of the control terminal is returned to the shooting terminal, and if the IP addresses are inconsistent, a new broadcast message is continuously received until the IP addresses are consistent;
    • the control terminal establishing a stable message channel via TCP three-way handshake, or sending a message to the IP address of the shooting terminal directly based on a UDP protocol; and
    • the shooting terminal receiving the IP address of the control terminal fed back by the control terminal, and re-establishing the message channel and the streaming media channel with the control terminal, where
    • streaming media parameters are negotiated via a signaling protocol, and streaming media data is transmitted using an SRT protocol; and
    • timing synchronization and packet loss compensation are implemented by combining RTP/RTCP.

In some embodiments of the present disclosure, the step of setting a virtual scoreboard on the real-time shot image, and integrating it into the shot image marked with the real-time score includes:

    • invoking a device camera API to acquire raw video data of the real-time shot image;
    • creating a transparent overlay on the raw video data, and rendering dynamic elements of the virtual scoreboard;
    • receiving a score updating instruction of the control terminal, and updating a score content of the overlay; and
    • overlaying the virtual scoreboard of the overlay with the raw video data frame by frame using a graphic rendering engine, while outputting an integrated video frame image, i.e., the shot image marked with the real-time score, to a screen in real time.

In some embodiments of the present disclosure, the control terminal is directly connected to the motion terminal, and transfers partial functionality to the motion terminal, where load of the shooting terminal is reduced via Wi-Fi hotspot.

In some embodiments of the present disclosure, the control terminal is configured to send a rotation signal, a shooting signal or a shooting pause signal to the shooting terminal.

In some embodiments of the present disclosure, the control terminal is configured to receive and synchronously display a real-time shot image sent by the shooting terminal.

In some embodiments of the present disclosure, the control terminal is an intelligent remote controller configured to control the shooting terminal.

In some embodiments of the present disclosure, the shooting terminal is an intelligent device fixed on the motion terminal for performing real-time shooting.

In some embodiments of the present disclosure, the motion terminal is an intelligent cradle or gimbal containing a chip, and is configured to receive an instruction forwarded by the shooting terminal to rotate.

In some embodiments of the present disclosure, the motion terminal includes an AI camera, and is capable of performing adaptive rotation based on an analysis result of the AI camera.

In some embodiments of the present disclosure, when an intelligent gimbal or an intelligent shooting device of the motion terminal performs adaptive rotation and shooting, a shot image taken by the AI camera in a shooting gimbal is first acquired, and then input into a target detection model to acquire a key target position, then, intelligent tracking and shooting are performed on a shot target according to a distortion parameter and a rotational angle of the AI camera and a multi-target tracking algorithm.

In some embodiments of the present disclosure, the motion terminal and the shooting terminal are connected via a Bluetooth protocol, the message channel is established via TCP or UDP protocol, and the streaming media channel is connected via an SRT protocol.

Embodiments of the present disclosure further provide a near-field remote control system for tracking a gimbal, including a control terminal, a shooting terminal and a motion terminal, where

    • the control terminal is configured to send a motion control signal to the shooting terminal or the motion terminal via a message channel; receive a real-time shot image of the shooting terminal via a streaming media channel; and reestablish, upon detection of an abnormal connection interruption, the message channel and the streaming media channel via a broadcast service;
    • the shooting terminal is configured to receive, via the message channel, the motion control signal sent by the control terminal, and forward it to the motion terminal; send the real-time shot image to the control terminal or the motion terminal via the streaming media channel; and reestablish, upon detection of the abnormal connection interruption, the message channel and the streaming media channel via the broadcast service; and
    • the motion terminal is configured to adjust a gimbal posture according to the motion control signal.

Embodiments of the present disclosure further provide a field element marking system, including:

    • a control terminal, where the control terminal is configured to perform real-time control on a gimbal angle, and acquire and display a first real-time image of a shooting terminal using the near-field remote control method provided by the embodiments of the present disclosure; and the control terminal is configured to record, in response to a click of a user on a field element on the first real-time image, first coordinates clicked by the user and a first gimbal angle at the time of clicking, and send them to an analysis terminal; and
    • a gimbal, including:
    • the shooting terminal, configured to acquire the first real-time image; and
    • an analysis terminal, where the analysis terminal is configured to obtain second coordinates of the field element in a second real-time image of the analysis terminal based on the first coordinates; convert the second coordinates to third coordinates in a virtual three-dimensional coordinate system based on the first gimbal angle; and when the field element needs to be marked in a video frame of the second real-time image, map the third coordinates to the fourth coordinates based on the third coordinates and a second gimbal angle at time of the video frame, where the fourth coordinates are coordinates of a position of the field element in the video frame.

In some embodiments of the present disclosure, the analysis terminal is further configured to perform shifting and/or distortion on the first coordinates based on a positional difference and/or a difference in field of view between a camera of the shooting terminal and a camera of the analysis terminal.

In some embodiments of the present disclosure, converting the second coordinates to the third coordinates in the virtual three-dimensional coordinate system based on the first gimbal angle includes:

    • converting the second coordinates to first intermediate coordinates in a coordinate system with a center of the second real-time image as origin;
    • adding a third-dimensional coordinate to the first intermediate coordinates to obtain a first three-dimensional vector, where a magnitude of the first three-dimensional vector is a focal length value of the camera of the analysis terminal; and
    • reversely rotating the first three-dimensional vector back to an initial angle based on the first gimbal angle, so as to obtain the third coordinates.

In some embodiments of the present disclosure, mapping the third coordinates to the fourth coordinates based on the third coordinates and the second gimbal angle at time of the video frame includes:

    • rotating the third coordinates according to the second gimbal angle, so as to obtain a second three-dimensional vector;
    • extracting first two dimensions in the second three-dimensional vector, so as to obtain second intermediate coordinates; and
    • converting the second intermediate coordinates into the fourth coordinates in a default coordinate system of the second real-time image.

In some embodiments of the present disclosure, the control terminal is an intelligent terminal in communication connection with the shooting terminal, and images of the control terminal and the shooting terminal on the gimbal are synchronized in real time.

In some embodiments of the present disclosure, the shooting terminal and the analysis terminal are both devices fixed on the gimbal, and the control terminal is in communication connection with the gimbal, and is capable of choosing to acquire a real-time image of the shooting terminal or a real-time image of the analysis terminal.

BRIEF DESCRIPTION OF DRAWINGS

The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent in conjunction with drawings and with reference to following detailed description. The same or like reference signs represent the same or like elements in the drawings, in which

FIG. 1 shows a schematic diagram of steps of a near-field remote control method for tracking a gimbal according to an embodiment of the present disclosure;

FIG. 2 shows a schematic diagram of steps of another near-field remote control method for tracking a gimbal according to an embodiment of the present disclosure;

FIG. 3 shows a schematic flowchart of disconnection auto-reconnection according to an embodiment of the present disclosure;

FIG. 4 shows a schematic diagram of steps of another near-field remote control method for tracking a gimbal according to an embodiment of the present disclosure;

FIG. 5 shows a schematic diagram of steps of another near-field remote control method for tracking a gimbal according to an embodiment of the present disclosure;

FIG. 6 is a principle frame diagram of a near-field remote control method according to an embodiment of the present disclosure;

FIG. 7 shows a schematic principle diagram of a streaming media channel according to an embodiment of the present disclosure;

FIG. 8 shows a schematic principle diagram of disconnection auto-reconnection at a control terminal according to an embodiment of the present disclosure;

FIG. 9 shows a schematic principle diagram of disconnection auto-reconnection at a shooting terminal according to an embodiment of the present disclosure;

FIG. 10 shows a schematic diagram of a shot image marked with a real-time score according to an embodiment of the present disclosure;

FIG. 11 shows a schematic principle diagram of another communication establishment according to an embodiment of the present disclosure;

FIG. 12 shows another principle frame diagram of the near-field remote control method according to an embodiment of the present disclosure;

FIG. 13 shows a structural schematic diagram of a near-field remote control device for tracking a gimbal according to an embodiment of the present disclosure;

FIG. 14 shows a structural schematic diagram of another near-field remote control device for tracking a gimbal according to an embodiment of the present disclosure;

FIG. 15 shows a structural schematic diagram of a near-field remote control system for tracking a gimbal according to an embodiment of the present disclosure;

FIG. 16 shows a structural schematic diagram of another near-field remote control device 400 for tracking a gimbal according to an embodiment of the present disclosure;

FIG. 17 is a flowchart of a field element marking method according to an embodiment of the according to present disclosure;

FIG. 18 is a schematic diagram of a gimbal including a shooting terminal according to an embodiment of the present disclosure;

FIG. 19 is an architecture diagram of a field element marking system according to an embodiment of the present disclosure;

FIG. 20 is an architecture diagram of a tracking and shooting system according to an embodiment of the present disclosure; and

FIG. 21 shows a structural schematic diagram of a terminal device or a server configured to implement embodiments of the present disclosure.

DETAILED DESCRIPTION OF EMBODIMENTS

With regard to the present disclosure, in the technical field of computer vision, current intelligent tracking gimbal generally has problems in connection stability, real-time information exchange and device collaboration efficiency in near-field control scenes.

Specifically, in the field of intelligent tracking and shooting, remote control technologies for unmanned aerial vehicles are relatively mature. For example, CN219514123U discloses an image transmission system for an unmanned aerial vehicle, including the unmanned aerial vehicle, a ground monitoring terminal, a remote server and a control processing unit provided in the unmanned aerial vehicle, where the unmanned aerial vehicle is provided with a gimbal and a high-definition shooting and transmission device. The high-definition shooting and transmission device is electrically connected to the gimbal, and is configured to collect a high-definition video signal and encode the same, and send the same to the control processing unit through the gimbal for processing. The ground monitoring terminal is configured to receive and display the high-definition video signal, and control the unmanned aerial vehicle and the gimbal.

In the above solution, the ground monitoring terminal is directly connected to the gimbal, a shooting device needs to transmit the video signal to the ground monitoring terminal only via relay of the gimbal. Moreover, characteristics of the unmanned aerial vehicle also determine that it is impossible to add additional information to a real-time shot image. It can be seen that the prior art on unmanned aerial vehicle products cannot be directly applied to intelligent tracking gimbals. As a control terminal and a shooting terminal of an intelligent tracking gimbal are both intelligent electronic devices, and the control terminal and the shooting terminal are directly connected, situations such as device network failure, signal interruption, app collapse, and background switching will occur, which easily causes disconnection between the control terminal and the shooting terminal. In order to ensure as smooth a shooting process as possible, a disconnection auto-reconnection mechanism needs to be established.

Thus, such solutions have following core limitations:

Dependence on gimbal relay: Video signals need to be transmitted to the control terminal through the gimbal, preventing direct efficient interaction between the control terminal and the shooting terminal.

Absence of real-time information overlay: The prior art fails to dynamically overlay additional information (such as scoreboard and captions) on the real-time shot image, restricting functional expansion for live streaming or recording.

Insufficient connection stability: Direct connection between the control terminal and the shooting terminal is vulnerable to disconnection caused by network failure, signal interruption or App crash, lacking an effective disconnection reconnection mechanism.

Inefficient device collaboration: Conventional solutions fail to optimize computational load distribution between devices, overburdening the shooting terminal with high energy consumption.

In addition, current near-field control generally also has following defects.

Communication between devices relies on a single protocol (such as Bluetooth or Wi-Fi only), and the shooting terminal bears too many tasks (such as encoding and AI analysis), causing technical problems of high energy consumption and inefficiency; and device forms are not flexible enough, devices are fixedly divided in conventional solutions (for example, the control terminal, the shooting terminal, and a motion terminal are separated), and it is difficult to adapt to light weight or integrated scene requirements, etc.

Based on the above considerations, in the present disclosure, by establishing a streaming media channel and a message channel via a layered communication protocol, data transmission efficiency of near-field remote control is optimized, and delay and packet loss rate are reduced. A disconnection reconnection mechanism significantly elevates system connection stability, and reduces shooting interruptions caused by network churn.

The present disclosure is particularly adapted to shooting, real-time live streaming and relay scenes of large-scale games, and by configuring a virtual scoreboard to overlay and synchronize with a game image in real time through a virtual information overlay technology, improves intuitive real-time information display during game live streaming, and enhances user experience.

When a near-field remote control method, device and system for tracking a gimbal and the storage medium are applied to a control terminal, the method includes: sending a motion control signal to a shooting terminal via a message channel, so as to enable the shooting terminal to forward the received motion control signal to a motion terminal, the motion terminal adjusting a gimbal posture according to the motion control signal; receiving a real-time shot image of the shooting terminal via a streaming media channel, or receiving a real-time shot image forwarded by the motion terminal; and upon detection of an abnormal connection interruption with the shooting terminal, reestablishing the message channel and the streaming media channel via a broadcast service. In the present disclosure, by establishing the streaming media channel and the message channel via the layered communication protocol, data transmission efficiency of the near-field remote control is optimized, and delay and packet loss rate are reduced. Through the disconnection reconnection mechanism, the system connection stability is significantly elevated, and the shooting interruptions caused by network churn are reduced.

In order to make technical solutions and advantages of embodiments of the present disclosure clearer, exemplary embodiments of the present disclosure are further described in detail in conjunction with drawings. Apparently, the embodiments described are some but not all embodiments of the present disclosure. It should be noted that the embodiments in the present disclosure and features in the embodiments can be combined with each other without conflict.

In addition, in the field of computer vision analysis, an origin of a coordinate system is usually located at an upper left corner of an image by default. In various embodiments of the present disclosure, if no opposite expression is made, an upper left corner is used as an origin of an image coordinate system. Those skilled in the art should know that such coordinate system setting is not absolutely fixed, and when the origin of the coordinate system is set at any position inside or outside the image, corresponding technical solutions obtained through simple adjustment on this solution without involving any inventive efforts fall within the scope of protection of the present disclosure.

FIG. 1 shows a schematic diagram of steps of a near-field remote control method for tracking a gimbal according to an embodiment of the present disclosure.

As shown in FIG. 1, a near-field remote control method for tracking a gimbal of embodiments of the present disclosure, applied to a control terminal, includes:

    • S1: sending a motion control signal to a shooting terminal via a message channel, so as to enable the shooting terminal to forward the received motion control signal to a motion terminal, where the motion control signal is configured to control the motion terminal to adjust a gimbal posture;
    • S2: receiving a real-time shot image of the shooting terminal via a streaming media channel; and
    • S3: upon detection of an abnormal connection interruption, reestablishing the message channel and the streaming media channel via a broadcast service.

Thus, by establishing the streaming media channel and the message channel via a layered communication protocol, the present disclosure realizes optimization of data transmission efficiency of near-field remote control, and reduction of delay and packet loss rate. Through a disconnection reconnection mechanism, system connection stability is significantly elevated, and shooting interruptions caused by network churn are reduced.

FIG. 2 shows a schematic diagram of steps of another near-field remote control method for tracking a gimbal according to an embodiment of the present disclosure.

As shown in FIG. 2, the method further includes:

    • S4: sending a virtual scoreboard configuration signal to the shooting terminal via the message channel, so that the shooting terminal sets a virtual scoreboard on the real-time shot image, and integrates it into a shot image marked with a real-time score; and
    • S5: receiving the shot image marked with the real-time score from the shooting terminal.

During establishment of the streaming media channel and the message channel via the layered communication protocol, the streaming media channel is established via an SRT protocol, the message channel is established via a TCP or UDP protocol, and the shooting terminal and the motion terminal are connected preferably via Bluetooth.

Thus, the present disclosure realizes a layered design of a connection mode of the control terminal, the shooting terminal, and the motion terminal, reduces computational power consumption of the shooting terminal, and prolongs device endurance.

The present disclosure supports flexible networking. In other embodiments, the control terminal can also be directly connected to the motion terminal, and transfer partial functionality to the motion terminal, thereby reducing load of the shooting terminal via a Wi-Fi hotspot.

In addition, mainstream protocols (SRT, RTP/RTCP, and WebRTC) and developing frameworks (ARcore/ARKit) are supported, thus facilitating subsequent functionality extension and third party integration, and improving system compatibility and extensibility.

FIG. 3 shows a schematic flowchart of disconnection auto-reconnection according to an embodiment of the present disclosure.

As shown in FIG. 3, in specific implementation, the step of reestablishing the message channel and the streaming media channel via the broadcast service in S3 specifically includes following steps:

    • S31: the control terminal activating a broadcast monitoring service and a streaming media monitoring service;
    • meanwhile, the shooting terminal or the motion terminal activating a broadcast service to broadcast an IP address of the shooting terminal in a local area network;
    • S32: the control terminal receiving a broadcast message from the shooting terminal, and extracting the IP address of the shooting terminal;
    • S33: the control terminal comparing the IP address of the shooting terminal with an IP address of a historical shooting terminal locally cached, if the IP addresses are consistent, feeding back an IP address of the control terminal to the shooting terminal, and if the IP addresses are inconsistent, re-receiving a new broadcast message until the IP addresses are consistent;
    • S34: establishing a stable message channel via TCP three-way handshake, or sending a message to the IP address of the shooting terminal directly based on a UDP protocol;
    • S35: negotiating streaming media parameters via a signaling protocol, and transmitting streaming media data using the SRT protocol; and
    • S36: implementing timing synchronization and packet loss compensation by combining the RTP/RTCP.

Through the above steps, the present disclosure enables quick recovery upon connection interruption, and ensures accurate overlay of dynamic information in a real-time video stream, thereby improving user experience and functionality.

FIG. 4 shows a schematic diagram of steps of another near-field remote control method for tracking a gimbal according to an embodiment of the present disclosure.

As shown in FIG. 4, the near-field remote control method according to an embodiment of the present disclosure, applied to a shooting terminal, specifically includes:

    • S10: receiving a motion control signal sent by a control terminal via a message channel, and forwarding it to the motion terminal; and the motion terminal adjusting a gimbal posture according to the motion control signal, where
    • if the control terminal sends the motion control message to the motion terminal directly via the message channel to perform gimbal motion control, the shooting terminal is not allowed to forward a command message;
    • S20: sending a real-time shot image to the control terminal or the motion terminal via a streaming media channel; and
    • S30: upon detection of an abnormal connection interruption with the control terminal, reestablishing the message channel and the streaming media channel via a broadcast service.

FIG. 5 shows a schematic diagram of steps of another near-field remote control method for tracking a gimbal according to an embodiment of the present disclosure.

As shown in FIG. 5, in specific implementation of FIG. 4, the method further includes:

    • S40: receiving a virtual scoreboard configuration signal sent by the control terminal;
    • S50: configuring a virtual scoreboard on a real-time shot image, and integrating it into a shot image marked with a real-time score; and
    • S60: sending the shot image marked with the real-time score to the control terminal or via the streaming media channel.

In specific implementation, configuring the virtual scoreboard on the real-time shot image and integrating it into the shot image marked with the real-time score in S50 includes following steps:

    • 1) invoking a device camera API to acquire raw video data of the real-time shot image;
    • 2) creating a transparent overlay on the raw video data, and rendering dynamic elements of the virtual scoreboard;
    • 3) receiving a score updating instruction of the control terminal, and updating a score content of the overlay; and
    • 4) overlaying the virtual scoreboard of the overlay with the raw video data frame by frame using a graphic rendering engine, while outputting an integrated video frame image, i.e., the shot image marked with the real-time score, to a screen in real time.

Thus, the virtual scoreboard functionality is realized, and real-time information display requirements of scenes such as sporting events and live streaming are met, thus enhancing the user experience and functionality.

In other embodiments, the present disclosure further provides a near-field remote control method for tracking a gimbal, applied to a control terminal, and including following steps: firstly, sending a motion control signal to a motion terminal via a message channel, where the motion control signal is configured to control the motion terminal to adjust a gimbal posture; then receiving a real-time shot image forwarded by the motion terminal via a streaming media channel; and upon detection of an abnormal connection interruption, reestablishing the message channel and the streaming media channel via a broadcast service.

In other embodiments, the present disclosure further provides another near-field remote control method for tracking a gimbal, applied to a control terminal, and including following steps: firstly, sending a motion control signal to a motion shooting terminal via a message channel, where the motion control signal is configured to control a motion terminal to adjust a gimbal posture, and the motion shooting terminal includes integrated configuration of the motion terminal and a shooting terminal; then receiving a real-time shot image of the motion shooting terminal via a streaming media channel; and upon detection of an abnormal connection interruption, reestablishing the message channel and the streaming media channel via a broadcast service.

An implementation process of the near-field remote control method for tracking a gimbal according to an embodiment of the present disclosure is further described with embodiments below.

FIG. 6 shows a principle frame diagram of a near-field remote control method according to an embodiment of the present disclosure.

As shown in FIG. 6, the control terminal and the shooting terminal establish the message channel and the streaming media channel respectively, and the shooting terminal and the motion terminal can be fixedly connected.

The control terminal is an electronic device controlling the shooting terminal in real time. In specific implementation, it may be a universal intelligent digital device, such as a mobile phone or a tablet computer, and may also be a handheld intelligent terminal such as a specially-made intelligent remote controller.

The control terminal is configured to send a rotation signal, a scoreboard configuration signal, a shooting signal or a shooting pause signal to the shooting terminal.

The control terminal is configured to receive and synchronously display a real-time shot image sent by the shooting terminal.

The shooting terminal is an intelligent device fixed on the motion terminal for performing real-time shooting, and may be a mobile phone, a tablet computer, etc.

An image shot by the shooting terminal is configured with a virtual scoreboard at the top, and an image of the virtual scoreboard is integrated with a video stream. When live streaming is directly initiated by the shooting terminal, the virtual scoreboard will be simultaneously streamed with a real-time video.

The shooting terminal is configured to receive a rotation signal (the motion control signal) sent by the control terminal and forward it to the motion terminal.

The shooting terminal is configured to receive the scoreboard configuration signal sent by the control terminal, and the real-time score of the virtual scoreboard is synchronously configured on the image of the shooting terminal.

The motion terminal is an intelligent cradle or gimbal containing a chip, and is configured to receive an instruction forwarded by the shooting terminal to rotate. In other embodiments, the control instruction from the control terminal also can be directly received.

The motion terminal preferably includes an AI camera, and can perform adaptive rotation based on an analysis result of the AI camera.

When an intelligent shooting device or an intelligent gimbal of the motion terminal performs adaptive rotation and shooting, a shot image taken by the AI camera in a shooting gimbal is first acquired, and then input into a target detection model, to acquire a key target position. Then, intelligent tracking and shooting are performed on a shot target according to a distortion parameter and a rotational angle of the AI camera and a multi-target tracking algorithm. By continuously acquiring a moving image of a target and analyzing the same, the rotation instruction is continuously sent to the shooting gimbal, thereby realizing efficient intelligent tracking and shooting.

Preferably in implementation, the motion terminal and the shooting terminal are connected via a Bluetooth protocol, the message channel is established via the TCP or UDP protocol, and the streaming media channel is connected via the SRT protocol.

FIG. 7 shows a schematic principle diagram of the streaming media channel according to an embodiment of the present disclosure.

As shown in FIG. 7, the shooting terminal encodes a pixel frame of the real-time image taken, to obtain an srt file, which is then transmitted to the control terminal via an RTP port; and the control terminal decodes the srt file to obtain the pixel frame of the real-time image taken.

During communication between the control terminal and the shooting terminal, if connection is abnormally interrupted, a disconnection auto-reconnection solution is triggered.

Abnormal interruption means that connection interruption occurs in cases where a user does not actively click to exit shooting or disconnect.

FIG. 8 shows a schematic principle diagram of disconnection auto-reconnection at the control terminal according to an embodiment of the present disclosure. FIG. 9 shows a schematic principle diagram of disconnection auto-reconnection at the shooting terminal according to an embodiment of the present disclosure.

As shown in FIG. 8 and FIG. 9, when the shooting terminal and the control terminal detect an abnormal interruption, they execute following steps, respectively.

(1) Enabling the Broadcast Service.

The shooting terminal activates the broadcast service to broadcast the IP address to the local area network; and the control terminal activates the broadcast monitoring service.

In response to detecting the broadcast service initiated by the shooting terminal, the control terminal compares a received IP address with an IP address of last connection, and if they are consistent, acquires a local IP and feeds back its own IP address to the shooting terminal.

In this case, the control terminal may synchronously activate the streaming media monitoring service and a message monitoring service, and may also synchronously enable the message monitoring service while feeding back its own IP address.

(2) Reestablishing the Message Channel.

Upon receiving the IP address of the shooting terminal, the control terminal establishes a stable message channel via TCP three-way handshake, or sends a message to the IP address of the shooting terminal directly based on the UDP protocol.

(3) Reestablishing the Streaming Media Channel.

Upon reestablishment of the message channel, the control terminal establishes the streaming media channel with the shooting terminal via the message channel. The shooting terminal starts an encoder, and waits for sensor shot data; and the control terminal starts a decoder and waits for encoding the data.

In specific implementation, session parameters are exchanged using a signaling protocol such as SIP, RTSP, and WebRTC.

SDP (Session Description Protocol) is used to describe information about a media stream, such as coded format, port and IP. An RTP port is used to receive and send audio and video data packets. RTCP ports are used: using adjacent odd ports (e.g., 5005/5007) to transmit control information (packet loss rate, delay statistics).

The shooting terminal packages data according to the coded format negotiated via SDP, and sends the same to the control terminal via the RTP; and the control terminal parses an RTP header, and reassembles the media stream according to time stamp and serial number.

Finally, if the control terminal fails to receive the broadcast message all the time within a preset period of time, or the shooting terminal fails to receive a correct IP address fed back all the time, it is indicated that a peer device has entered in a relatively stable offline state, which may be automatic shutdown due to low battery, network interruption, a too long distance, etc. In this case, in order to conserve device power, the broadcast service or the broadcast monitoring service is turned off.

An implementation solution of the virtual scoreboard is as follows.

The virtual scoreboard can be implemented by directly invoking Android or iOS camera API, such as Android Camera2 API or iOS AVFoundation, or by some AR frameworks (ARKit/ARCore) or third party video processing SDK (Google ML Kit, Banuba, and Agora).

The Android Camera2 API is taken as an example.

    • (1) Firstly, camera data is captured. YUV or Texture data is acquired using Camera2 API.
    • (2) The virtual scoreboard is rendered and overlaid in real time. A transparent overlay of the scoreboard is drawn and rendered on Texture using OpenGL ES, including dynamic elements such as text/icons.
    • (3) Dynamic data of the scoreboard is updated.

Information about updating the scoreboard data is received from the control terminal, and new score data is received via the TCP signalling channel, i.e., the preceding message channel, and rendered on the scoreboard on the real-time image.

(4) Output Processing.

The virtual scoreboard of the overlay is overlaid with the raw video data frame by frame using the graphic rendering engine, while an integrated video frame image, i.e., the shot image marked with the real-time score, is output to a screen in real time. A final shot image result marked with the real-time score is shown in FIG. 10, where area A is the virtual scoreboard, and remaining area is a live game image taken.

During local preview, it is directly displayed on Texture View or Surface View.

During live streaming, the overlaid image is encoded as an H.264 stream (pushed by MediaCodec+RTMP).

It can be seen that the present disclosure can use another intelligent device to control an intelligent device executing intelligent tracking and shooting on the gimbal, and real-time image transmission.

In the present disclosure, by configuring the virtual scoreboard on the image of the shooting terminal, when the live streaming is directly activated at the shooting terminal, the scoreboard can be displayed synchronously. The score on the scoreboard can be adjusted in real time via the control terminal.

In an embodiment of the present disclosure: the control terminal establishes a communication connection with the shooting terminal; and the shooting terminal establishes a communication connection with the motion terminal. That is, the control terminal sends the motion control signal to the shooting terminal via the message channel, and the shooting terminal forwards the received motion control signal to the motion terminal.

In another embodiment of the present disclosure: the control terminal establishes a communication connection directly with the motion terminal. Transferring partial functionality to the motion terminal can reduce power consumption and computational load of the shooting terminal, and the motion terminal can be connected to the shooting terminal and the control terminal via Wi-Fi hotspot networking.

FIG. 11 shows a schematic principle diagram of another communication establishment according to an embodiment of the present disclosure.

As shown in FIG. 11, a communication channel principle thereof is as follows: the image taken by the shooting terminal is first forwarded to the motion terminal, and then forwarded by the motion terminal to the control terminal to decode and display. In this case, the control terminal is connected to the motion terminal via the message channel. Thus, partial functionality can be transferred to the motion terminal, and power consumption and computational load of the shooting terminal can be reduced.

In another embodiment of the present disclosure: the shooting terminal and the motion terminal are integrated into one device.

FIG. 12 shows another principle frame diagram of the near-field remote control method according to an embodiment of the present disclosure;

As shown in FIG. 12, the shooting terminal and the motion terminal are integrated into one device, and the control terminal only needs to establish communication with either one of them.

It should be understood that, two methods shown in FIG. 11 or FIG. 12 are improvements on the method shown in FIG. 1 in a communication connection architecture, without affecting implementation the method as shown in any one of FIG. 2 to FIG. 10, that is, by applying the method as shown in any one of FIG. 2 to FIG. 10 to the communication connection architecture shown in FIG. 11 or FIG. 12, those skilled in the art could implement the same operation without using any inventive efforts.

In summary, when the near-field remote control method for tracking a gimbal in the present disclosure is applied to the control terminal, the method includes: sending the motion control signal to the shooting terminal via the message channel, so as to allow the shooting terminal to forward the received motion control signal to the motion terminal; the motion terminal adjusting the gimbal posture according to the motion control signal; receiving the real-time shot image of the shooting terminal via the streaming media channel; and upon detection of the abnormal connection interruption with the shooting terminal, reestablishing the message channel and the streaming media channel via the broadcast service.

The present disclosure optimizes the data transmission efficiency of the near-field remote control and reduces delay and packet loss rate by establishing the streaming media channel and the message channel via the layered communication protocol. Through the disconnection reconnection mechanism, the system connection stability is significantly elevated, and the shooting interruptions caused by network churn are reduced. The present disclosure addresses the above defects to some extent, and realizes a more efficient, flexible and stable intelligent tracking gimbal system.

The present disclosure is particularly adapted to shooting, real-time live streaming and relay scenes of large-scale games, and by configuring the virtual scoreboard to overlay and synchronize with the game image in real time through the virtual information overlay technology, intuitive real-time information display during game live streaming is improved, and the user experience is enhanced.

In an embodiment of the present disclosure, a near-field remote control device for tracking a gimbal is provided. For details not disclosed in the near-field remote control device for tracking a gimbal in the present embodiment, reference is made to specific implementation contents of the near-field remote control method for tracking a gimbal in other embodiments.

FIG. 13 shows a structural schematic diagram of the near-field remote control device for tracking a gimbal according to an embodiment of the present disclosure.

As shown in FIG. 13, the near-field remote control device for tracking a gimbal according to an embodiment of the present disclosure, applied to a control terminal, includes a motion control module 10, a receiving module 20 and a first disconnection auto-reconnection module 30.

The motion control module 10 is configured to send a motion control signal to a shooting terminal via a message channel, so as to enable the shooting terminal to forward the received motion control signal to a motion terminal, where the motion terminal adjusts a gimbal posture according to the motion control signal.

The receiving module 20 is configured to receive a real-time shot image of the shooting terminal via a streaming media channel, or receive a real-time shot image forwarded by the motion terminal.

The first disconnection auto-reconnection module 30 is configured to, upon detection of an abnormal connection interruption with the shooting terminal, reestablish the message channel and the streaming media channel via a broadcast service.

FIG. 14 shows a structural schematic diagram of another near-field remote control device for tracking a gimbal according to an embodiment of the present disclosure;

As shown in FIG. 14, the near-field remote control device for tracking a gimbal according to an embodiment of the present disclosure, applied to a shooting terminal, includes a forwarding module 100, a sending module 200 and a second disconnection auto-reconnection module 300.

The forwarding module 100 is configured to receive a motion control signal sent by a control terminal via a message channel, and forward it to the motion terminal, where the motion terminal adjusts a gimbal posture according to the motion control signal.

The sending module 200 is configured to send a real-time shot image to the control terminal or the motion terminal via a streaming media channel.

The second disconnection auto-reconnection module 300 is configured to, upon detection of an abnormal connection interruption with the control terminal, reestablish the message channel and the streaming media channel via a broadcast service.

In other embodiments, the motion terminal receives, via the message channel, the motion control signal sent by the control terminal; the motion terminal forwards the real-time shot image of the shooting terminal to the control terminal via the streaming media channel; and upon detection of an abnormal connection interruption with the shooting terminal, the message channel and the streaming media channel are reestablished via a broadcast service.

In summary, the near-field remote control device for tracking a gimbal of the present disclosure, by establishing the streaming media channel and the message channel via a layered communication protocol, optimizes data transmission efficiency of near-field remote control, and reduces delay and packet loss rate. Through the disconnection reconnection mechanism, system connection stability is significantly elevated, and the shooting interruptions caused by network churn are reduced. The present disclosure addresses the above defects to some extent, and realizes a more efficient, flexible and stable intelligent tracking gimbal system.

The present disclosure is particularly adapted to shooting, real-time live streaming and relay scenes of large-scale games, and by configuring the virtual scoreboard to overlay and synchronize with the game image in real time through the virtual information overlay technology, improves intuitive real-time information display during game live streaming, and enhances user experience.

In an embodiment of the present disclosure, a near-field remote control system for tracking a gimbal is provided. For details not disclosed in the near-field remote control system for tracking a gimbal in the present embodiment, reference is made to specific implementation contents of the near-field remote control method or system for tracking a gimbal in other embodiments.

FIG. 15 shows a structural schematic diagram of a near-field remote control system for tracking a gimbal according to an embodiment of the present disclosure.

As shown in FIG. 15, the near-field remote control system for tracking a gimbal includes a control terminal 1, a shooting terminal 2 and a motion terminal 3.

The control terminal 1 is configured to send a motion control signal to the shooting terminal via a message channel; receive a real-time shot image of the shooting terminal via a streaming media channel; and upon detection of an abnormal connection interruption, reestablish the message channel and the streaming media channel via a broadcast service.

The shooting terminal 2 is configured to receive the motion control signal sent by the control terminal via the message channel, and forward it to the motion terminal; send the real-time shot image to the control terminal 1 or the motion terminal 3 via a streaming media channel; and upon detection of an abnormal connection interruption, reestablish the message channel and the streaming media channel via a broadcast service.

The motion terminal 3 is configured to adjust a gimbal posture according to the motion control signal.

In other embodiments, the motion terminal 2 receives, via the message channel, the motion control signal sent by the control terminal; the motion terminal 2 adjusts the gimbal posture based on the motion control signal; the motion terminal 2 forwards the real-time shot image of the shooting terminal to the control terminal via the streaming media channel; and upon detection of an abnormal connection interruption, the message channel and the streaming media channel are reestablished via a broadcast service.

The near-field remote control system for tracking a gimbal of the present disclosure, by establishing the streaming media channel and the message channel via the layered communication protocol, optimizes data transmission efficiency of the near-field remote control, and reduces delay and packet loss rate. Through the disconnection reconnection mechanism, the system connection stability is significantly elevated, and the shooting interruptions caused by network churn are reduced. The present disclosure addresses the above defects to some extent, and realizes a more efficient, flexible and stable intelligent tracking gimbal system.

The present disclosure is particularly adapted to shooting, real-time live streaming and relay scenes of large-scale games, and by configuring the virtual scoreboard to overlay and synchronize with the game image in real time through the virtual information overlay technology, improves intuitive real-time information display during game live streaming, and enhances user experience.

In an embodiment of the present disclosure, a near-field remote control device for tracking a gimbal is provided. For details not disclosed in the near-field remote control device for tracking a gimbal in the present embodiment, reference is made to specific implementation contents of the near-field remote control method or system for tracking a gimbal in other embodiments.

FIG. 16 shows a structural schematic diagram of a near-field remote control device 400 for tracking a gimbal according to an embodiment of the present disclosure.

As shown in FIG. 16, the near-field remote control device 400 for tracking a gimbal includes: a storage unit 402, configured to store an executable instruction; and a processing unit 401, configured to connect to the storage unit 402 so as to execute the executable instruction and thus complete the near-field remote control method for tracking a gimbal.

Those skilled in the art could understand that, schematic diagram FIG. 14 is only an example of the near-field remote control device 400 for tracking a gimbal, and constitutes no limitation to the near-field remote control device 400 for tracking a gimbal. More or fewer components than those shown in the drawing may be included, or some components or different components may be combined. For example, the near-field remote control device 400 for tracking a gimbal can further include an input-output device, a network access device, a bus, and the like.

The processing unit 401 (Central Processing Unit, CPU) also can be other general-purpose processor, digital signal processor (DSP), application specific integrated circuit (ASIC), field-programmable gate array (FPGA) or other programmable logic devices, discrete gates, transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processing unit 401 also may be any conventional processor, etc. The processing unit 401 is a control center of the near-field remote control device 400 for tracking a gimbal, and is connected to various parts of the entire near-field remote control device 400 for tracking a gimbal using various interfaces and lines.

The storage unit 402 may be configured to store a computer-readable instruction, and the processing unit 401 implements various functions of the near-field remote control device 400 for tracking a gimbal by running or executing the computer readable instruction or module stored in the storage unit 402 and invoking data stored in the storage unit 402. The storage unit 402 may mainly include a program storing zone and a data storing zone, where the program storing zone can store an operating system, an application program (such as a sound playing function and an image playing function) required for at least one function, etc.; and the data storing zone can store data created according to the near-field remote control device 400 for tracking a gimbal, etc. In addition, the storage unit 402 may include a hard disk, a memory, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, at least one magnetic disk storage device, a flash memory device, a read-only memory (ROM), a random access memory (RAM) or other nonvolatile/volatile storage devices.

If an integrated module of the near-field remote control device 400 for tracking a gimbal is realized in a form of software functional module and is sold or used as an individual product, it can be stored in one computer-readable storage medium. Based on such understanding, all or some procedures implementing the method in the above embodiments of the present disclosure can also be completed by related hardware instructed by a computer-readable instruction, where the computer-readable instruction can be stored in a computer-readable storage medium, and when the computer-readable instruction is executed by a processor, steps of various method embodiments in the above can be implemented.

In an embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and the computer program, when executed by a processor, implements the near-field remote control method for tracking a gimbal in other embodiments.

By using the near-field remote control device for tracking a gimbal and the medium in the present disclosure, the motion control signal is sent to the shooting terminal via the message channel, so as to enable the shooting terminal to forward the received motion control signal to the motion terminal; the motion terminal adjusts the gimbal posture according to the motion control signal; the real-time shot image of the shooting terminal is received via the streaming media channel, or the real-time shot image forwarded by the motion terminal is received; upon detection of an abnormal connection interruption with the shooting terminal, the message channel and the streaming media channel are reestablished via the broadcast service. By establishing the streaming media channel and the message channel via the layered communication protocol, the present disclosure optimizes data transmission efficiency of the near-field remote control, and reduces delay and packet loss rate. Through a disconnection reconnection mechanism, system connection stability is significantly elevated, and shooting interruptions caused by network churn are reduced.

FIG. 17 is a flowchart of a field element marking method according to an embodiment of the according to present disclosure. Referring to FIG. 17, the method includes:

first, in response to a click of a user on a field element in a first real-time image of a control terminal 31, recording first coordinates clicked by the user and a first gimbal angle at the time of clicking.

Herein, the first coordinates clicked by the user are coordinates of a pixel clicked by the user on the first real-time image; the first gimbal angle during the user's click, i.e., a real-time angle of a gimbal 22 when the user clicks, includes a pitch angle (a rotational angle on a pitch axis) and a yaw angle (a rotational angle on a yaw axis) of the gimbal 22.

In an embodiment of the present disclosure, the control terminal 31 is an intelligent terminal in communication connection with a shooting terminal 21, and images of the control terminal 31 and the shooting terminal 21 on the gimbal 22 are synchronized in real time, that is, the first real-time image of the shooting terminal 21 is synchronized to the control terminal 31. Moreover, the control terminal 31 may also relay control signaling via the shooting terminal 21 so as to control the gimbal 22 to rotate. Therefore, in order to simultaneously acquire the first coordinates in the first real-time image and the first gimbal angle at the time of clicking, it is necessary to introduce the control terminal 31 to perform data acquisition, and it is impossible to directly mark on the shooting terminal 21.

In an embodiment of the present disclosure, the shooting terminal 21 and the analysis terminal 23 are both devices fixed on the gimbal 22, and the control terminal 31 is in communication connection with the gimbal 22, and can choose to acquire a real-time image of the shooting terminal 21 or a real-time image of the analysis terminal 23.

Prior to receiving the user's click, preferably, the user may be allowed to select a name of a field element to be marked or the user may be prompted with the name of the field element to be marked, so that the analysis terminal 23 can precisely identify element information during subsequent marking. Field elements are typically elements for identifying specific events in games, for example, points on a boundary line of a court can be used for identifying a court boundary, so as to identify out-of-bounds events in various types of games; a basket point can be used for helping identifying scoring events; a basketball penalty spot can be used for identifying penalty events in basketball games; left and right goalpost points of a goal can be used for identifying a position of the goal, so as to identify scoring events in football matches, and net post points on two sides of a goal net can be used for identifying a position of the goal net, so as to identify stroke events in net sports, and so on.

In an embodiment of the present disclosure, an element that the user needs to mark may not be on a real-time image in an initial state, and the user thus may control the gimbal 22 to rotate so as to mark a specific element. In this case, the user remotely controls the gimbal 22 to rotate via the control terminal 31 until the specific element is displayed on the real-time image. Preferably, as it may be impossible to completely eliminate distortion caused by a difference in field of view between a camera 211 of the shooting terminal and a camera 221 of the analysis terminal, and the distortion decreases with proximity to an image center, the user may be required to control the gimbal 22 to rotate until the specific element is displayed at a center of the real-time image before starting marking.

Secondly, based on the first coordinates, second coordinates of the field element in a second real-time image of the analysis terminal 23 are obtained.

Herein, the second real-time image is a real-time image collected by the camera 221 of the analysis terminal.

In an embodiment of the present disclosure, the camera 221 of the analysis terminal is also configured to collect and record a real-time video. In this case, the shooting terminal 21 and the analysis terminal 23 are the same device, and the first real-time image in the control terminal 31 and the second real-time image in the analysis terminal 23 are also the same. In this case, there is no difference between the first coordinates and the second coordinates.

In an embodiment of the present disclosure, although the shooting terminal 21 and the analysis terminal 23 are not the same device, the control terminal 31 can directly acquire the real-time image of the analysis terminal 23. In this case, the first real-time image in the control terminal 31 and the second real-time image in the analysis terminal 23 are also the same, and there is no difference between the first coordinates and the second coordinates.

In an embodiment of the present disclosure, the analysis terminal 23 and the shooting terminal 21 are different devices mounted on the gimbal 22. In this case, the camera 221 of the analysis terminal and the camera 211 of the shooting terminal have a certain difference in position and/or field of view. Since the analysis terminal 23 needs to collect a large amount of visual data, preferably, the analysis terminal 23 adopts a wide-angle camera. As the shooting terminal 21 needs to have a better view, preferably, the shooting terminal 21 is generally higher in position. Therefore, preferably, displacement and/or distortion is performed on the first coordinates based on a positional difference and/or a difference in field of view between the camera 211 of the shooting terminal and the camera 221 of the analysis terminal. In conjunction with the description of the present disclosure, those skilled in the art should understand that neither of the preceding positional difference and difference in field of view may be present, only the positional difference may be present, or both the positional difference and difference in field of view may be present. Correspondingly, a process of processing the first coordinates may require no processing, only requires displacement, or require both displacement and distortion.

FIG. 18 is a schematic diagram of the gimbal 22 including the shooting terminal 21 according to an embodiment of the present disclosure, showing a positional relationship between the camera 221 of the analysis terminal and the camera 211 of the shooting terminal in an embodiment. As shown in FIG. 18, the shooting terminal 21 is detachably fixed on the gimbal 22, and the camera 211 of the shooting terminal is located at an upper right corner of the camera 221 of the analysis terminal. As FIG. 18 is a rear view of the shooting terminal 21, in practice, the camera 211 of the shooting terminal is located at upper left of the camera 221 of the analysis terminal.

Based on the positional difference between the camera 211 of the shooting terminal and the camera 221 of the analysis terminal, displacement is performed on the first coordinates, i.e., shifting the first coordinates by corresponding pixels in an opposite direction of the shooting terminal 21 relative to the analysis terminal 23. In the embodiment as shown in FIG. 18, as the camera 211 of the shooting terminal is located at the upper left of the camera 221 of the analysis terminal, the real-time image of the camera 211 of the shooting terminal is at the upper left of the real-time image of the camera 221 of the analysis terminal, then, a position of a same target element in the real-time image of the camera 221 of the analysis terminal is closer to the upper left corner than a position in the real-time image of the camera 211 of the shooting terminal. Therefore, in the embodiment as shown in FIG. 18, the first coordinates should be shifted to the upper left. A specific number of pixels shifted depends on a distance between the two cameras and DPI (Dots Per Inch) of the camera 211 of the shooting terminal, and a specific formula is as follows: number of pixels shifted=distance between the two cameras*DPI/2.54, where 2.54 is a conversion factor of inches to centimeters.

Distortion is performed on the first coordinates based on the difference in field of view between the camera 211 of the shooting terminal and the camera 221 of the analysis terminal, that is, the first coordinates are converted using an existing distortion model according to distortion coefficients. Corrected coordinates are calculated according to the distortion model by pre-calibrated distortion parameters (such as radial distortion coefficients k1 and k2, and tangential distortion coefficients p1 and p2). The present disclosure does not specifically limit the distortion model or manners of calibrating the parameters. In an implementation mode, the ZHANG Zhengyou calibration method can be employed to take a multi-angle checkerboard image, extract corner point coordinates as control points, and construct a nonlinear model to solve parameters. A procedure as follows can be adopted: taking an image→detecting corner points→establishing a distortion equation→least squares optimization (LM algorithm)→outputting parameters such as k1, k2, p1, and p2. An example of a specific distortion model is:

{ x corrected = x real ( 1 + k 1 ⁢ r 2 + k 2 ⁢ r 4 ) + 2 ⁢ p 1 ⁢ x real ⁢ y real + p 2 ( r 2 + 2 ⁢ x 2 ) y corrected = y real ( 1 + k 1 ⁢ r 2 + k 2 ⁢ r 4 ) + 2 ⁢ p 2 ⁢ x real ⁢ y real + p 1 ⁢ ( r 2 + 2 ⁢ y 2 ) r = ( x real - c x ) 2 + ( y real - c y ) 2

Herein, xreal and yreal are coordinates of a to-be-measured point before distortion correction, i.e., the first coordinates; xcorrected and ycorrected are coordinates of the to-be-measured point after distortion correction, i.e., the second coordinates; r is a distance of the to-be-measured point to a screen center before distortion correction; and cx and cy are coordinates of a central point of the screen.

In practical engineering, in order to avoid iterative calculation, a mapping table is directly constructed, and a table lookup method is used.

Secondly, based on the first gimbal angle, the second coordinates are converted to third coordinates in a virtual three-dimensional coordinate system.

In an embodiment of the present disclosure, a specific process of converting the second coordinates into the third coordinates includes three steps.

In a first step, as operations such as 3D projection and rotation of a virtual coordinate mapping algorithm need an optical axis (image center) as reference, firstly, the second coordinates are converted to first intermediate coordinates in a coordinate system with a central point of the second real-time image as origin. Specifically, if the second coordinates are (x, y), after the coordinate system is shifted to take an original image center (xc, yc) as origin, the first intermediate coordinates are (x-xc, y-yc).

In a second step, a third-dimensional coordinate is added to the first intermediate coordinates to obtain a first three-dimensional vector, where a magnitude of the first three-dimensional vector is a focal length value of the camera 221 of the analysis terminal. In order to solve a problem of mapping distortion of a two-dimensional image to a three-dimensional space, and realize coordinate uniformity of a multi-viewing angle large-scale scene through geometric characteristics of a spherical model, spherical transformation is employed to add the third-dimensional coordinate to the two-dimensional first intermediate coordinates, and convert the same into virtual three-dimensional coordinates.

Specifically, a Z-direction component is added to the first intermediate coordinates (x-xc, y-yc), so that the vector falls on a sphere with a radius fixed as a focal length value f (pixel unit), and an expression of the first three-dimensional vector is obtained as (x-xc, y-yc·√{square root over (f2−(x-xc)2−(y-yc)2))}. In a specific implementation mode, the z component is added using a right-handed coordinate system, where the right-handed coordinate system is a coordinate system with X-axis pointing rightward, Y-axis pointing downward, and Z-axis pointing forward in a 2D plane.

In a third step, based on the first gimbal angle, the first three-dimensional vector is reversely rotated back to an initial angle, so as to obtain the third coordinates. By reversely compensating for a change in a viewing angle caused by a motion of the gimbal 22, 2D image points captured in different postures are uniformly mapped to an initial coordinate system, so as to ensure consistency of global coordinates.

For example, if the gimbal 22 is rotated about the Y-axis by an angle θ, an image point taken thereby is equivalent to a result obtained by forwardly rotating an original coordinate system about the Y-axis by the angle θ; and if the gimbal 22 is rotated about the X-axis by an angle Φ, an image point taken thereby is equivalent to a result obtained by forwardly rotating the original coordinate system about the X-axis by the angle Φ. In order to map a current image point to the initial coordinate system (yaw=0, pitch=0), the first three-dimensional vector needs to be reversely rotated (i.e., rotated about the Y-axis by −θ, and rotated about the X-axis by −Φ), so as to counteract influence of the motion of the gimbal 22. Specifically, a rotation matrix of the Y-axis is

R y ( - θ ) = [ cos ⁢ θ 0 sin ⁢ θ 0 1 0 - sin ⁢ θ 0 cos ⁢ θ ] ,

a rotation matrix of the X-axis is

R x ( - ϕ ) = [ 1 0 0 0 cos ⁢ ϕ sin ⁢ ϕ 0 - sin ⁢ ϕ cos ⁢ ϕ ] ,

and a total rotation matrix is R=Ry(−θ)·Rx(−φ).

Herein, θ is the angle by which the first three-dimensional vector is reversely rotated about the Y-axis, and Φ is the angle by which the first three-dimensional vector is reversely rotated about the X-axis; Ry (−θ) is a rotation matrix of the first three-dimensional vector about the Y-axis, and Rx(−Φ) is a rotation matrix of the first three-dimensional vector about the X-axis; R is the total rotation matrix of the first three-dimensional vector in the three-dimensional coordinate system.

The third coordinates are obtained by multiplying the first three-dimensional vector by the total rotation matrix, where the third coordinates are coordinates of the field element in the virtual spherical three-dimensional coordinate system.

The foregoing three steps in FIG. 17 are pre-processing on behavior data of the user marking the field element acquired by the control terminal 31. Furthermore, with changes of timeline and changes of the viewing angle, when the field element needs to be marked in the video frame of the second real-time image, the third coordinates are mapped to the fourth coordinates based on the third coordinates and the second gimbal angle at time of the video frame, the fourth coordinates being coordinates of a position of the field element in the video frame. A main function of “marking” the field element is to assist an AI algorithm in position calculation, and thus it is generally unnecessary to actually display the position of the field element in the image. The “marking” the field element actually refers to acquiring coordinates of a position of the field element in the video frame, i.e., acquiring fourth coordinates of the field element in the video frame of the second real-time image. The time of the video frame refers to real-time time corresponding to a position of the video frame in the timeline. In an embodiment, the second real-time image video, timeline and gimbal log have a one-to-one correspondence relationship, and each second real-time image frame is corresponding to a time point on the timeline and one gimbal log, and the gimbal log includes a gimbal angle.

This step is reversely mapping the third coordinates in the virtual spherical three-dimensional coordinate system back to the fourth coordinates in a plane coordinate system of the second real-time image, specifically:

    • rotating the third coordinates according to the second gimbal angle, so as to obtain a second three-dimensional vector.

For example, if the second gimbal angle is rotated about the X-axis by α and rotated about the Y-axis by β, a rotation matrix about the X-axis is Rx

( α ) = [ 1 0 0 0 cos ⁢ α - sin ⁢ α 0 sin ⁢ α cos ⁢ α ] ,

and a rotation matrix about the Y-axis is Ry

( β ) = [ cos ⁢ β 0 - sin ⁢ β 0 1 0 sin ⁢ β 0 cos ⁢ β ] ,

Herein, α is an angle obtained by rotating the second gimbal angle about the X-axis; β is an angle obtained by rotating the second gimbal angle about the Y-axis; Rx(α) is the rotation matrix of the second gimbal angle about the X-axis; and Ry(β) is the rotation matrix of the second gimbal angle about the X-axis.

The second three-dimensional vector is obtained by multiplying the third coordinates by Rx(α) and then by Ry(β).

First two dimensions in the second three-dimensional vector are extracted, so as to obtain the second intermediate coordinates, and second intermediate coordinates are converted into the fourth coordinates in a default coordinate system of the second real-time image.

For example, if the second three-dimensional vector is (x′, y′, z′), then first two dimensions are extracted to obtain the second intermediate coordinates (x′, y′). In this case, the second intermediate coordinates are coordinates of the field element in a coordinate system with a central point as origin in the second real-time image, and they need to be converted to coordinates in a default coordinate system, i.e., the coordinate system with an upper left corner of an image as origin in the embodiment of the present disclosure. Assuming that coordinates of the central point in this case are (x′c, y′c), the fourth coordinates after conversion are (x′+x′c, y′+y′c). The fourth coordinates are real position coordinates of the field element in a current video frame of the second real-time image.

The above embodiments provide a solution in which the user manually marks the field element and maps the coordinates of the element to the real-time image of the analysis terminal 23, and can solve the problems of insufficient computational power, poor recognition effect, and easy position loss caused by simply using a video analysis technology. For example, in real-time shooting and analysis of basketball game scenes, it is necessary to locate a position of the basket in order to identify scoring events. If a pure video analysis algorithm is used, identification needs to be performed by an inference model frame by frame, and when the basket is blocked by players or ball, it cannot be located. If the technical solution of the above embodiment is adopted, before the user starts shooting, the user can be instructed to control the gimbal 22 to rotate via the control terminal 31 and manually mark positions of baskets on two sides. Upon obtaining the positions marked by the user and a gimbal angle during marking, the analysis terminal 23 can generate a virtual spherical three-dimensional coordinate system, and record the basket positions on the two sides in the virtual coordinate system. When the user starts shooting, if the gimbal 22 is rotated to a position where the basket is visible, the analysis terminal 23 can immediately inversely derive coordinates of the basket position in the real-time image, and the coordinates will not disappear due to blocking, so that events related to the basket can be better determined, thereby improving stability and robustness of a video analysis result.

Another embodiment of the present disclosure provides a tracking and shooting method based on field boundary line filtering. By means of the field element marking method of the above embodiments, the user marks a plurality of points on a field boundary line in advance, then the analysis terminal 23 connects the points to form the field boundary line, and based on this boundary line, people outside the field are filtered out. The solution of the present embodiment can significantly reduce interference of off-site people on target identification in a multi-target tracking algorithm.

First, a plurality of boundary line points of the field are marked in a real-time video frame, where the plurality of boundary line points at least include each inflection point of the boundary line of the field, the boundary line points are marked by the field element marking method in the embodiments of the present disclosure, each boundary line point as corresponding fifth coordinates, and based on all fifth coordinates, a field polygon in the real-time video frame is enclosed.

Playing fields are typically rectangular. There also may be polygonal fields such as octagonal cages. Sports competition venues with curved boundary lines are rare. Therefore, if it is necessary to completely plot the field boundary lines at the analysis terminal 23, the user at least needs to mark each inflection point (i.e., corner) on the boundary lines. Taking a rectangular field as an example, the user at least needs to mark points where four field corners are located as field elements, and each point has corresponding fifth coordinates. A specific marking method is the field element marking method in the preceding embodiments of the present disclosure, and will not be repeated redundantly herein.

Distortion is inherent to camera lenses. Therefore, a straight line in an image of a lens will not form a perfect straight line, but is a curve with a certain radian, and the distortion phenomenon is more obvious for a longer straight line. Therefore, preferably, in addition to marking corners of the field boundary lines, if the user also marks other points on the boundary lines, such as boundary line midpoints, the polygon formed will more closely approximate a shape of an actual field.

Secondly, all human targets in the real-time video frame are identified to obtain a first target set, and a foot point of each human target in the first target set is calculated. Herein, the foot point of the human target is coordinates of feet of the human target. In an embodiment, all human targets in the real-time video frame are identified using a target identification algorithm such as YOLO (You Only Look Once), SSD (Single Shot MultiBox Detector), and each human target is corresponding to one target box. In an embodiment, a midpoint of a bottom side of the target box can be approximated as the foot point of the target, and preferably in a boundary line filtering scene, it is necessary to minimize misidentifications caused by target box inaccuracy. Therefore, the foot point can be shifted upwards by a predetermined ratio from the midpoint of the bottom side of the target box. This ratio is correlated with an error rate of the target identification algorithm employed, and is not limited in the present disclosure. For example, in the YOLOv8 algorithm, the ratio can be set to be 5%, i.e., shifting the foot point upwards by 5% of a target box height from the midpoint of the bottom side of the target box.

Secondly, all human targets whose foot points are located outside the field polygon are filtered out from the first target set, so as to obtain a second target set.

Specifically, there are many simple plane geometric calculation methods for determining whether a point on a plane is located in a polygon, which is not limited in the present disclosure. For example, coordinates of a point can be put into a polygon equation to determine whether a value is positive or negative, and if the value is positive, the point is outside the polygon; if the value is negative, the point is within the polygon.

All human targets whose foot points are located outside the field polygon can be considered as physically located outside the field boundary lines, and are not athletes playing in the field; therefore, they are excluded from the set of targets to be tracked, so as to obtain the second target set.

Finally, the human targets in the second target set are tracked and shot. Specifically, the tracking and shooting may employ a universal multi-target tracking algorithm, such as a Kalman filter and SORT (Simple Online and Realtime Tracking), which is not limited in the present disclosure, and cases where the present solution is implemented by using any public or proprietary multi-target tracking algorithm belongs to the scope of protection of the present disclosure.

The method of the embodiments of the present disclosure is described in the above, and a system of embodiments of the present disclosure is provided below.

FIG. 19 is an architecture diagram of a field element marking system 50 according to an embodiment of the present disclosure. As shown in FIG. 19:

    • the field element marking system 50 includes a control terminal 31 and a gimbal 22, where the control terminal 31 and the gimbal 22 are in communication connection, where
    • the control terminal 31 is configured to perform real-time control on an angle of the gimbal 22, and acquire and display a first real-time image of a shooting terminal 21; the control terminal 31 is configured to, in response to a click of a user on a field element on the first real-time image, record first coordinates clicked by the user and a first gimbal angle at the time of clicking, and send them to an analysis terminal 23.

Herein, the real-time control of the control terminal 31 on the angle of the gimbal 22 and the acquisition and displaying of the first real-time image by the shooting terminal 21 are performed according to the near-field remote control method provided by the embodiments of the present disclosure.

The gimbal 22 includes:

    • the shooting terminal 21, configured to acquire the first real-time image;
    • the analysis terminal 23, where the analysis terminal 23 is configured to obtain second coordinates of the field element in a second real-time image of the analysis terminal 23 based on the first coordinates; convert the second coordinates to third coordinates in a virtual three-dimensional coordinate system based on the first gimbal angle; when the field element needs to be marked in a video frame of the second real-time image, map the third coordinates to the fourth coordinates based on the third coordinates and a second gimbal angle at time of the video frame, where the fourth coordinates are coordinates of a position of the field element in the video frame. The analysis terminal 23 is further configured to perform shifting and/or distortion on the first coordinates based on a positional difference and/or a difference in field of view between a camera 211 of the shooting terminal and a camera 221 of the analysis terminal.

FIG. 20 is an architecture diagram of a tracking and shooting system 40 according to an embodiment of the present disclosure. As shown in FIG. 20,

    • the tracking and shooting system 40 includes a control terminal 31 and a gimbal 22, where the control terminal 31 and the gimbal 22 are in communication connection, where
    • the control terminal 31 is configured to perform real-time control on an angle of the gimbal 22, and acquire and display a real-time image of a shooting terminal 21; the control terminal 31 is configured to, in response to a click of a user on a field boundary line point on the real-time image, record coordinates of each boundary line point clicked by the user and a gimbal angle at the time of clicking, and send the same to an analysis terminal 23, where the boundary line point at least includes each inflection point of the field boundary line.

The gimbal 22 includes:

    • the shooting terminal 21, configured to acquire the first real-time image;
    • the analysis terminal 23, where the analysis terminal 23 is configured to execute the tracking and shooting method based on field boundary line filtering in the embodiments of the present disclosure, obtain a tracking and shooting strategy, and send the same to the motion terminal 24; and
    • the motion terminal 24, configured to adjust the angle of the gimbal 22 based on the tracking and shooting strategy.

Herein, when the motion terminal 24 adjusts the angle of the gimbal 22 based on the tracking and shooting strategy, the angle of the shooting terminal 21 fixedly connected to the gimbal 22 is adjusted accordingly, so as to realize a tracking and shooting effect. The tracking and shooting strategy is obtained by a multi-target tracking algorithm. The multi-target tracking algorithm is prior art that should be known to those skilled in the art, has been introduced in the foregoing, and is not described herein again.

In addition, those skilled in the art should understand that, in the field element marking system 50 and the tracking and shooting system 40 in the embodiments of the present disclosure, a mechanism in the gimbal 22 is divided into the shooting terminal 21, the analysis terminal 23 and the motion terminal 24 according to functionality, where the shooting terminal 21 is a camera device configured to actually collect game videos in response to user requirements, and the analysis terminal 23 is an intelligent analysis device. Generally, the videos collected by the analysis terminal 23 are not stored. While in another embodiment, real-time videos of the analysis terminal 23 may be directly used as actually collected game videos. In this case, the shooting terminal 21 and the analysis terminal 23 are physically the same device component.

For convenience and brevity of description, for specific operation processes of the field element marking system 50 and the tracking and shooting system 40 in the embodiments of the present disclosure, reference can be made to specific implementation modes of corresponding processes in the foregoing method embodiments, and details are not described herein again.

FIG. 21 shows a structural schematic diagram of a terminal device or a server configured to implement embodiments of the present disclosure.

As shown in FIG. 21, the terminal device or the server includes a central processing unit (CPU) 501 which can perform various appropriate actions and processes in accordance with a program stored in a read only memory (ROM) 502 or a program loaded from a storage portion 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for operation of the terminal device or the server are also stored. The CPU 501, the ROM 502 and the RAM 503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to the bus 504.

The following components are connected to the I/O interface 505: an input portion 506 including a keyboard, a mouse, and the like; an output portion 507 including, for example, a cathode-ray tube (CRT), a liquid crystal display (LCD), a speaker and the like; a storage portion 508 including a hard disk or the like; and a communication portion 509 including a network interface card such as a LAN card, a modem, or the like. The communication portion 509 performs communication processing via a network such as the Internet. The driver 510 is also connected to the I/O interface 505 as necessary. A detachable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 510 as necessary, so that a computer program read therefrom is installed into the storage portion 508 as necessary.

In particular, according to an embodiment of the present disclosure, the above method process steps can be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product, including a computer program carried on a machine-readable medium, where the computer program includes program codes for executing the method shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from the network via the communication portion 509, and/or installed from detachable medium 511. When the computer program is executed by the central processing unit (CPU) 501, the above functions defined in the system of the present disclosure are executed.

It should be noted that, the computer-readable medium in the present embodiment may be a computer-readable signal medium, a computer-readable storage medium or any combination of the two. A computer-readable storage medium may be, but not limited to, for example, an electronic, magnetic, optical, electromagnetic, infrared or semiconductor system, apparatus or device, or any suitable combination of the above. More specific examples of the computer-readable storage medium may include, but not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device or any suitable combination of the above. In the present disclosure, the computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus or device. In the present disclosure, a computer-readable signal medium may include a propagated data signal with computer-readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take a variety of forms, including, but not limited to, electro-magnetic, signal, optical signal or any suitable combination thereof. A computer-readable signal medium may be any computer-readable medium that is not a computer-readable storage medium and that can communicate, propagate or transport a program for use by or in connection with an instruction execution system, apparatus or device. Program code embodied on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination thereof.

The flowcharts and block diagrams in the drawings illustrate possible system architectures, functions and operations of the device, method and computer program products according to multiple embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams may represent a part of a module, a program segment or a code, which contains one or more executable instructions configured to realize a specified logical function. It also should be noted that in some embodiments as substitutions, the functions indicated in the blocks also may proceed in an order different from that indicated in the drawings. For example, two consecutive blocks can substantially be concurrently executed, or they sometimes can be executed in a reverse order, which depends upon functions involved. It is also noted that each block of the block diagrams and/or flowcharts and combinations of blocks in the block diagrams and/or flowcharts can be implemented in dedicated hardware-based systems that perform specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.

Units or modules involved in the embodiments of the present disclosure may be implemented through software or hardware. The units or modules described may also be disposed in a processor. Herein, names of the units or modules do not form a limitation to the units or modules themselves in a certain case.

Those skilled in the art should know that the terms used in the present disclosure are merely for a purpose of describing specific embodiments, rather than limiting the present disclosure. Singular forms, “a/an”, “the” and “this”, used in the present disclosure and the appended claims also aim at including plural forms, unless otherwise clearly indicated in the context. It also should be understood that the term “and/or” used herein refers to any or all possible combinations containing one or more associated items listed.

It should be understood that the terms such as first, second, and third may be used in the present disclosure to describe information in various categories, but the information should not be limited to these terms. These terms are merely used to distinguish information in a same category. For example, without departing from the scope of the present disclosure, first information also may be referred to as second information, and similarly, the second information also may be referred to as the first information. Depending on the context, the word “if” used herein may be construed as “when . . . ” or “while . . . ” or “in response to . . . ”

Although preferred embodiments of the present disclosure have been described, those skilled in the art could make additional changes and modifications to these embodiments once they learn the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present disclosure.

Apparently, those skilled in the art could make various modifications and variations on the present disclosure without departing from the spirit and scope of the present disclosure. In this way, if these modifications and variations of the present disclosure fall within the scope of the claims of the present disclosure and equivalent technologies thereof, these modifications and variations are also intended to be covered within the present disclosure.

Claims

1. A near-field remote control method for tracking a gimbal, comprising steps of:

sending, by a control terminal, a motion control signal to a shooting terminal via a message channel, so that the shooting terminal forwards the received motion control signal to a motion terminal, wherein the motion control signal is configured to control the motion terminal to adjust a gimbal posture;
sending a real-time shot image of the shooting terminal to the control terminal via a streaming media channel; and
reestablishing, upon detection of an abnormal connection interruption, the message channel and the streaming media channel via a broadcast service.

2. The near-field remote control method according to claim 1, further comprising steps of:

sending, by the control terminal, a virtual scoreboard configuration signal to the shooting terminal via the message channel, so that the shooting terminal sets a virtual scoreboard on the real-time shot image and integrates it into a shot image marked with a real-time score; and
sending the shot image marked with the real-time score of the shooting terminal to the control terminal via the streaming media channel.

3. The near-field remote control method according to claim 1, wherein the step of reestablishing the message channel and the streaming media channel via a broadcast service comprises:

the shooting terminal activating the broadcast service to broadcast an IP address of the shooting terminal to a local area network;
the control terminal activating a broadcast monitoring service and a streaming media monitoring service, receiving a broadcast message from the shooting terminal, and extracting the IP address of the shooting terminal;
the control terminal comparing the IP address of the shooting terminal with an IP address of a historical shooting terminal locally cached, wherein if the IP addresses are consistent, an IP address of the control terminal is returned to the shooting terminal, and if the IP addresses are inconsistent, a new broadcast message is continuously received until the IP addresses are consistent;
the control terminal establishing a stable message channel via TCP three-way handshake, or sending a message to the IP address of the shooting terminal directly based on a UDP protocol; and
the shooting terminal receiving the IP address of the control terminal returned by the control terminal, and re-establishing the message channel and the streaming media channel with the control terminal, wherein
streaming media parameters are negotiated via a signaling protocol, and streaming media data is transmitted using an SRT protocol; and
timing synchronization and packet loss compensation are implemented by combining RTP/RTCP.

4. The near-field remote control method according to claim 2, wherein the step of setting a virtual scoreboard on the real-time shot image and integrating it into the shot image marked with the real-time score comprises:

invoking a device camera API to acquire raw video data of the real-time shot image;
creating a transparent overlay on the raw video data, and rendering dynamic elements of the virtual scoreboard;
receiving a score updating instruction of the control terminal, and updating a score content of the overlay; and
overlaying the virtual scoreboard of the overlay with the raw video data frame by frame using a graphic rendering engine, while outputting an integrated video frame image, i.e., the shot image marked with the real-time score, to a screen in real time.

5. The near-field remote control method according to claim 1, wherein the control terminal is directly connected to the motion terminal, and transfers partial functionality to the motion terminal, wherein load of the shooting terminal is reduced via Wi-Fi hotspot.

6. The near-field remote control method according to claim 1, wherein the control terminal is configured to send a rotation signal, a shooting signal or a shooting pause signal to the shooting terminal.

7. The near-field remote control method according to claim 1, wherein the control terminal is configured to receive and synchronously display a real-time shot image sent by the shooting terminal.

8. The near-field remote control method according to claim 1, wherein the control terminal is an intelligent remote controller configured to control the shooting terminal.

9. The near-field remote control method according to claim 1, wherein the shooting terminal is an intelligent device fixed on the motion terminal for performing real-time shooting.

10. The near-field remote control method according to claim 1, wherein the motion terminal is an intelligent cradle or gimbal containing a chip, and is configured to receive an instruction forwarded by the shooting terminal to rotate.

11. The near-field remote control method according to claim 1, wherein the motion terminal comprises an AI camera, and is capable of performing adaptive rotation based on an analysis result of the AI camera.

12. The near-field remote control method according to claim 11, wherein when an intelligent gimbal or an intelligent shooting device of the motion terminal performs adaptive rotation and shooting, a shot image taken by the AI camera in a shooting gimbal is first acquired, and then input into a target detection model to acquire a key target position, then, intelligent tracking and shooting are performed on a shot target according to a distortion parameter and a rotational angle of the AI camera and a multi-target tracking algorithm.

13. The near-field remote control method according to claim 1, wherein the motion terminal and the shooting terminal are connected via a Bluetooth protocol, the message channel is established via TCP or UDP protocol, and the streaming media channel is connected via an SRT protocol.

14. A near-field remote control system for tracking a gimbal, comprising a control terminal, a shooting terminal and a motion terminal, wherein

the control terminal is configured to send a motion control signal to the shooting terminal or the motion terminal via a message channel; receive a real-time shot image of the shooting terminal via a streaming media channel; and reestablish, upon detection of an abnormal connection interruption, the message channel and the streaming media channel via a broadcast service;
the shooting terminal is configured to receive, via the message channel, the motion control signal sent by the control terminal, and forward it to the motion terminal; send the real-time shot image to the control terminal or the motion terminal via the streaming media channel; and reestablish, upon detection of the abnormal connection interruption, the message channel and the streaming media channel via the broadcast service; and
the motion terminal is configured to adjust a gimbal posture according to the motion control signal.

15. A field element marking system, comprising:

a control terminal, wherein the control terminal is configured to perform real-time control on a gimbal angle, and acquire and display a first real-time image of a shooting terminal using the near-field remote control method according to claim 1; and the control terminal is configured to record, in response to a click of a user on a field element on the first real-time image, first coordinates clicked by the user and a first gimbal angle at the time of clicking, and send them to an analysis terminal; and
a gimbal, comprising:
the shooting terminal, configured to acquire the first real-time image; and
an analysis terminal, configured to obtain second coordinates of the field element in a second real-time image of the analysis terminal based on the first coordinates; convert the second coordinates to third coordinates in a virtual three-dimensional coordinate system based on the first gimbal angle; and when the field element needs to be marked in a video frame of the second real-time image, map the third coordinates to the fourth coordinates based on the third coordinates and a second gimbal angle at time of the video frame, wherein the fourth coordinates are coordinates of a position of the field element in the video frame.

16. The field element marking system according to claim 15, wherein the analysis terminal is further configured to perform shifting and/or distortion on the first coordinates based on a positional difference and/or a difference in field of view between a camera of the shooting terminal and a camera of the analysis terminal.

17. The field element marking system according to claim 15, wherein converting the second coordinates to the third coordinates in the virtual three-dimensional coordinate system based on the first gimbal angle comprises:

converting the second coordinates to first intermediate coordinates in a coordinate system with a center of the second real-time image as origin;
adding a third-dimensional coordinate to the first intermediate coordinates to obtain a first three-dimensional vector, wherein a magnitude of the first three-dimensional vector is a focal length value of the camera of the analysis terminal; and
reversely rotating the first three-dimensional vector back to an initial angle based on the first gimbal angle, so as to obtain the third coordinates.

18. The field element marking system according to claim 15, wherein mapping the third coordinates to the fourth coordinates based on the third coordinates and the second gimbal angle at time of the video frame comprises:

rotating the third coordinates according to the second gimbal angle, so as to obtain a second three-dimensional vector;
extracting first two dimensions in the second three-dimensional vector, so as to obtain second intermediate coordinates; and
converting the second intermediate coordinates into the fourth coordinates in a default coordinate system of the second real-time image.

19. The field element marking system according to claim 15, wherein the control terminal is an intelligent terminal in communication connection with the shooting terminal, and images of the control terminal and the shooting terminal on the gimbal are synchronized in real time.

20. The field element marking system according to claim 15, wherein the shooting terminal and the analysis terminal are both devices fixed on the gimbal, and the control terminal is in communication connection with the gimbal, and is capable of choosing to acquire a real-time image of the shooting terminal or a real-time image of the analysis terminal.

Patent History
Publication number: 20260380123
Type: Application
Filed: Sep 23, 2025
Publication Date: Nov 26, 2026
Applicant: Suzhou Deep Foresight Technology Co., Ltd. (Suzhou)
Inventors: Ji PENG (Suzhou), Xiaoqian LIAO (Suzhou), Jiarun ZHU (Suzhou), Meng GU (Suzhou), Sen LIU (Suzhou), Yuanbo HUANG (Suzhou)
Application Number: 19/337,164
Classifications
International Classification: H04N 23/661 (20230101); H04L 65/65 (20220101); H04N 23/63 (20230101);