Image-based camera calibration system for drone-mounted cameras

By using video feeds from the UAV's onboard camera and image processing of the 3D model, efficient real-time calibration of the UAV camera was achieved, solving the problems of high cost and low flexibility caused by sensor dependence and improving the system's real-time performance and adaptability.

CN123146969APending Publication Date: 2026-11-20PGA TOUR ENTERPRISES LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202580027058.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2024-12-31
Filing Date
2025-12-31
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing drone camera calibration systems rely on data from multiple sensors, resulting in high costs, high operating expenses, and poor flexibility and scalability, which limits their application, especially in drones.

Method used

An image-based camera calibration system is adopted, which utilizes video feeds from UAV-borne cameras and 3D models. The calibration processor processes video frames in real time, and combined with a rendering engine and an update engine, it achieves camera calibration and tracking, reducing reliance on sensor data.

Benefits of technology

Efficient and real-time camera calibration was achieved under high-speed movement conditions, reducing system costs and operating expenses, and improving system flexibility and scalability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123146969A_ABST
    Figure CN123146969A_ABST
Patent Text Reader

Abstract

An image-based camera calibration system includes a calibration processor configured to calibrate image frames of a video feed. The calibration processor determines a proposed calibration of the image frames to initialize a refinement calibration process that generates a refined calibration. The refined calibration can be generated by rendering a three-dimensional model of an environment captured in the video feed and comparing the rendering to the video feed images and adjusting the proposed calibration values so that the comparison between the rendered images and the image frames is minimized. The system is configured to generate calibrations of sequential images of a video feed in real-time to support live broadcasts without requiring additional data related to camera positions, only the video feed.
Need to check novelty before this filing date? Find Prior Art

Description

Summary of the Invention

[0001] In one aspect, an image-based camera calibration system is configured to perform on-site UAV camera calibration and tracking based on video feeds from the UAV's onboard camera and a three-dimensional (3D) model of the environment in which the UAV operates. The system can be configured to eliminate any need for data from the camera, making the video feed from the UAV the sole external input to the system for generating the camera calibration. For example, the system is configured to rely solely on the UAV's onboard camera video feed and the 3D model, without requiring additional sensor data. In one example, the 3D model includes high-density light detection and ranging (LiDAR) scans. The system can be specifically configured for use in live-stream conditions. The system can be configured to maintain reliability relative to camera calibration even when the UAV is traveling at high speeds, such as approximately 40 mph or higher. In some embodiments, the system can combine multiple calibration solution methods to support a wide range of moving scenes and 3D model conditions, such as point clouds, thereby ensuring consistently accurate results with very low latency.

[0002] The system may include a calibration processor configured to process the raw video to deliver calibration output of image frames in real time, for example, less than 300 ms. For each frame, the system may provide calibration values, such as position coordinates in a coordinate reference system, e.g., x, y, z coordinates, camera orientation, or other camera parameters. For example, position coordinates may be output along with values ​​for tilt, pitch, and yaw. In another example, values ​​for focal length, one or more camera distortion parameters, or combinations thereof, may be output. The system may be configured to output calibrations relative to sequential image frames at a rate of up to 60 fps or higher. In one example, the system or its calibration processor may include cloud-based, local, or other computing infrastructure, such as a server, to process and deliver the calibration output.

[0003] For a given video frame, the calibration processor can be configured to determine a proposed calibration that approximates the camera's true calibration. Using the proposed calibration, the calibration processor can refine the proposed calibration using a calibration refinement process that includes a core calibration procedure and output a refined calibration. This refinement process takes into account errors in position, orientation, or camera parameters, such as errors in position, rotation, scaling, or other calibration values. In various embodiments, this process can be accomplished using only a solution method consisting of past, current, and predicted frames and calibrations, where data does not need to be acquired from or used from the drone, only the video feed is required.

[0004] Proposed calibrations can be obtained in one or more ways. For example, proposed calibrations can be obtained from calibrations pre-existing at a location. For instance, a drone can be sent to a location and that location is recorded as a waypoint. A reference image taken at that waypoint can be offline calibrated to generate a reference calibration, which can be stored for later use. When the drone revisits the waypoint during normal operation, such as during a golf tournament, the camera will be close enough to the stored reference calibration that the calibration processor can use that reference calibration as a proposed calibration for the camera's current frame to run a calibration refinement process. In one example, a reference image can be generated by: capturing a reference image from a camera at the location; and manually associating that reference image with a 3D location within a 3D model, such as a point cloud. Initial approximate calibration can be achieved via a virtual camera view within the 3D model. For example, operations can manipulate the virtual camera view within the 3D model to a view of an approximate reference image within the 3D model. The calibration processor can then associate points within the 3D model with pixels in the reference image and fit them to the distortion model to further refine the reference calibration, thereby obtaining a reference calibration suitable for later use as a proposed calibration, to initialize the calibration during system operation.

[0005] Additionally or alternatively, proposed calibrations can be automatically discovered from a set of previously calibrated reference images. Given a set of reference images and calibrations, a calibration processor can be configured to determine which calibrated reference image in the set is closest to the current image frame and use that calibration as the proposed calibration for the current image frame. The system can identify features of interest in the reference images and image frames and match these features. This can be done using computer vision programs. Each of these features in the reference images can be assigned a 3D position in a 3D model by rendering a model, such as a point cloud, at that point. Thus, a correspondence from features in the image frames to 3D points can be established. The calibration processor can be configured, given these correspondences, to use nonlinear optimization to solve for camera calibration values, such as position, rotation, and translation, to compute the proposed calibration before thinning. The calibration processor can be configured to perform this step on multiple reference images and select the solution that yields the best result. Therefore, the calibration processor can be configured to select the closest reference image and compute a proposed calibration, which can then be used as an initial estimate for the calibration refinement process. The system can be configured to initialize and run additional calibrations relative to subsequent image frames in the video feed without manual intervention.

[0006] In some embodiments, the calibration processor is configured to determine the proposed calibration by means of a calibration prediction proposal based on the calibration of previous frames in the video feed. For example, this may include, when processing sequential image frames of the video feed, copying a previously refined calibration or incorporating a motion model after initialization via one of the processes above or another that enables the calibration of previous frames. The calibration of previous frames typically approximates the true calibration of the current frame, representing a small change in calibration values ​​caused by movement within an applicable calibration frame rate interval, such that calibration refinement can be performed on the proposed calibration based on the refined calibration prediction of previous frames. As mentioned above, the motion model can also be used to generate predictions from previous calibrations to the next calibration, which can be particularly helpful during faster motion.

[0007] In embodiments incorporating motion models, the calibration processor can analyze calibration values ​​from one or more previous frames to identify patterns of camera movement. For example, the motion model can track changes in position coordinates or camera orientation values ​​across sequential frames to determine motion characteristics. The calibration processor can then apply these motion characteristics to the calibration of previous frames to adjust the calibration values ​​for the current frame. Motion models can be particularly useful during phases of continuous motion in a consistent direction or at a consistent speed. In one configuration, the calibration processor can choose between replicating previous calibrations and applying a motion model based on the characteristics of motion detected between frames.

[0008] In various embodiments, by utilizing a combination of two or more of the methods described above, the system can calibrate cameras sufficiently quickly, using only video captured by cameras mounted on drones or other mobile platforms as input, to meet the needs of live broadcasting. The proposed calibration obtained through such methods can then proceed to a calibration refinement process to produce a more refined calibration.

[0009] The calibration processor can be configured to perform a calibration refinement process to optimize the proposed calibration and output a refined calibration. The calibration processor can calibrate the camera to the 3D model by rendering a 3D model based on the proposed calibration and comparing the render with the corresponding image frames from the video feed. Given the proposed calibration, the calibration processor can optimize it. For example, the calibration processor can adjust the value of the proposed calibration such that the comparison between the rendered image and the image frame generated by the 3D model based on the proposed calibration is minimized. In one configuration, the calibration processor can perform optimization by minimizing the least-squares error between the rendered image and the image frame. The calibration processor can accelerate the computation of the optimized cost function on a GPU to enhance the method in real-time processing.

[0010] The system may include a rendering engine configured to render the 3D model based on coordinates in a 3D space in which the 3D model is defined. For example, a golf course or other environment in which a camera will be calibrated may be represented as a 3D scan with sufficiently high fidelity for the calibration process. This may include, for example, hundreds of millions of points or more. In one example, the 3D model may include a point cloud. In one configuration, the rendering engine employs a data structure configured to efficiently query a smaller subset of points visible from a given camera or a given image frame from the camera, the smaller subset of points optimally representing the scene from the viewpoint. More distant areas may be represented by fewer points, and / or areas outside the camera view may be omitted entirely. The implementation of the data structure may be streamed from CPU memory and / or disk, enabling the calibration process to be performed using a fixed, limited amount of GPU memory. Additionally, a smaller subset of points can be used to improve rendering speed compared to rendering all points, such as the entire point cloud, while still representing the scene with sufficient fidelity for calibration processing during the calibration refinement process.

[0011] In various embodiments, the data structure can be configured to vary the point density based on the distance to the camera position in the proposed calibration. For example, points near the camera position can be selected with a higher density than points farther away. This distance-based selection reduces the total number of points rendered while preserving the visual fidelity of features closer to the camera, which contribute more significantly to the rendered image. In one configuration, the data structure applies a distance-based criterion where points exceeding a certain distance threshold are selected with a progressively decreasing density or are omitted entirely. Selecting fewer points for distant regions and omitting points outside the camera view allows the rendering engine to operate efficiently while maintaining sufficient fidelity for calibration processing. In various embodiments, the data structure can support spatial queries to efficiently identify subsets of points. In various embodiments, spatial queries can include: range queries to identify points within a specified distance; region queries to identify points within a defined region; or visibility queries to identify points within the camera's field of view. The data structure can employ indexing methods, such as spatial trees, grid-based partitioning, or hierarchical organization, to accelerate query performance. Query optimization techniques may include terminating the search early when enough points are identified, or progressively refining the query results to enhance real-time calibration refinement.

[0012] In some embodiments, the rendering engine may maintain information about the locations of points in the central processing unit memory or on disk, enabling the selective loading of subsets of points into the graphics processing unit memory. Points visible from the current viewpoint can be loaded into the graphics processing unit memory for rendering operations. As the viewpoint changes with subsequent frames, points that are no longer visible can be unloaded and replaced with those that have become visible. This streaming approach allows the rendering engine to operate with a fixed amount of graphics processing unit memory, regardless of the total size of the 3D model, thereby enabling the use of graphics processing units with limited memory capacity to operate on point clouds containing hundreds of millions of points. In various embodiments, the 3D model 22 can be managed to efficiently process large-scale point data. For example, in some configurations, point cloud compression can be applied to reduce storage and transmission requirements while maintaining spatial accuracy for calibration processing. For example, detail level management can maintain multiple representations of the point cloud at different resolutions for use based on viewing distance, processing requirements, or other factors. Data streaming protocols can be applied additionally or alternatively, enabling the loading and unloading of point cloud portions based on criteria such as camera movement, viewing direction, or combinations thereof.

[0013] In one embodiment, the system includes an update engine configured to update the 3D model. For example, the 3D model of a golf course or other mapped environment may not be up-to-date relative to the current environment depicted within it by the video feed. Given one or more calibrated image frames, such as those from the system's tracking operations or manually calibrated, the update engine can be configured to incorporate colors from the calibrated images into the 3D model, rather than colors obtained via mapping, such as scanning, or previous color updates. This color reference can be used by the calibration processor to improve tracking. The color reference can be updated as the camera moves. This can include updating the color reference using previously tracked frames. This can lead to progressive drift as small errors accumulate. The update engine can be configured to correct drift by correcting the refined calibration using various methods. Various methods can be used, including online methods, offline methods, or combinations thereof. For example, in one example, a slower and more unstable offline method could be employed, which the calibration processor then uses to correct the calibration of the reference frames and progressively incorporates these adjustments into the system. This can be used to support the system's correction of progressive drift, while using continuously updated color references to maintain smooth tracking from the calibration refinement process and maintain calibration accuracy over time. Attached Figure Description

[0014] The novel features of the described embodiments are specifically set forth in the appended claims. However, the organization and operation of the described embodiments can be best understood by referring to the following description taken in conjunction with the accompanying drawings, in which: Figure 1 This is a half-illustrative diagram of an image-based camera calibration system for a camera mounted on a drone, according to various embodiments described herein. Figure 2 Image-based camera calibration methods according to various embodiments described herein are illustrated; Figure 3 Image-based camera calibration methods according to various embodiments described herein are illustrated; Figure 4 Image-based camera calibration methods according to various embodiments described herein are illustrated; Figure 5 Image-based camera calibration methods according to various embodiments described herein are illustrated; and Figure 6 The diagram illustrates a machine in the form of a computer system according to various embodiments described herein, in which an instruction set, when executed, enables the machine to perform image-based camera calibration. Detailed Implementation

[0015] Traditional broadcast camera systems employ calibration methods that often depend on a combination of sensors—such as those inside and / or outside the camera—and real-time data streams to track camera position and orientation in real time. For example, cameras mounted on robots or cranes typically rely on built-in encoders and inertial measurement units (IMUs) to deliver precise position and orientation angle data. Lens encoders are also commonly used to supply camera parameter metadata, including zoom and focus values, which can be used for finer calibration. For aerial or UAV-based cameras, the necessary accuracy can be achieved using systems and lens data that support the Global Positioning System (GPS) to transmit position information to ground-based systems.

[0016] In traditional broadcast camera tracking, continuous data exchange between camera calibration systems is always necessary, making sensor-driven workflows the cornerstone of the conventional methodology. However, integrating multiple hardware sensors (such as IMUs, encoders, and GPS units) requires precise alignment, maintenance, and significant setup time. These requirements increase costs and operational overhead, and limit both the flexibility and scalability of the system. For drones and cameras mounted on them, these limitations are even more stringent due to the strict rules and regulations associated with flight.

[0017] Figure 1Figures 7 to 7 illustrate the features, configurations, components, and methods of image-based calibration of a camera that utilizes video feeds and 3D models to move as the moving camera undergoes movement, according to various embodiments, wherein similar features are identified by similar numbers.

[0018] For details, please refer to the following: Figure 1 , Figure 1 An image-based camera calibration system 10 according to various embodiments described herein is illustrated. System 10 may include a calibration processor 20 configured to calibrate the moving camera using a video feed collected by camera 42 as the moving camera undergoes movement. The moving camera may be mounted on a drone. A drone refers to an unmanned vehicle or similar platform, such as an aerial platform, capable of carrying and moving the camera. The camera video feed can be calibrated in real time during camera movement. The calibration of the video feed can be transmitted during movement for calibration purposes. While the examples herein describe the calibration of a camera mounted on a drone, the disclosed systems and methods are equally applicable to other mobile platforms that carry cameras and undergo movement during video capture, including but not limited to robotic arms, cranes, manned vehicles, and other mobile supports.

[0019] System 10 or its calibration processor 20 can utilize one or more 3D models 22 to generate calibration data related to camera 42, where the camera 42 collects video feeds. The 3D models 22 can be derived from a mapping of the region using suitable mapping techniques. For example, suitable mapping techniques may include imaging or scanning techniques such as laser, e.g., Light Detection and Ranging (LiDAR), photography, e.g., photogrammetry, or other suitable techniques. In one example, the 3D model 22 is generated from a LiDAR scan. For example, a LiDAR scan may include a high-density LiDAR scan. An example 3D model 22 includes a point cloud. The calibration processor 20 can be configured to analyze image frames from the video feed and perform a best-fit analysis against previously calibrated images, views obtained from a rendering of the 3D model of the region, or combinations thereof. The calibration processor 20 can analyze the video feed and match image frames frame by frame. The calibration processor 20 can be configured to identify pixels and associated features and track feature movement from frame to frame to calculate changes in movement and orientation. The calibration processor 20 can use historical data to help constrain calculations. For example, the determination of a pixel position in an image frame at time X can be traced to the pixel position in a subsequent image frame at time X+1. While this description generally refers to points relating to associations and correspondences between or in combination of 3D model renderings, 3D model views from rendered points or locations, images, and such, it should be understood that the features represented above can include lines representing surfaces or other features, shapes connecting points, etc. In addition to using points, or as an alternative to using points, the calibration processor 20 can be configured to utilize such lines, shapes, etc., or otherwise calculate proposed calibrations for refinement in the calibration operations described herein, such as when fitting views, determining associations, determining correspondences.

[0020] The operation of System 10 can be configured to enable it to process data across a variety of data processing infrastructures and configurations. For example, video feed 44 can be processed on a cloud-based or on-premises server, for instance, to generate and deliver calibration data output 21. In various embodiments, System 10 can be configured for live streaming conditions to maintain reliability even when camera 42 is traveling at high speeds, such as approximately 40 mph or higher. Multiple calibration solution methods can be employed by calibration processor 20 to support a wide range of moving scenes and three-dimensional (3D) modeling conditions, thereby ensuring consistently accurate results with very low latency. In various embodiments, System 10 can maintain processing timing constraints through pipeline management and resource allocation. In some configurations, calibration processor 20 can employ a parallel processing pipeline where different processing stages operate concurrently on different image frames. Load balancing protocols can be configured to distribute processing tasks across available processing cores or graphics processing units (GPUs). System 10 can monitor processing time and adjust processing parameters, such as point cloud density or optimization iterations, to maintain the target frame rate and enhance real-time calibration requirements under varying computational loads.

[0021] In various embodiments, the operation of calibration processor 20 can be configured to eliminate the need to collect any calibration data from the camera or drone other than the video feed, or to utilize any calibration data from the camera or drone other than the video feed, such that the video feed 44 from camera 42 is the only external input required for camera calibration. For example, system 10 can be configured to provide on-site camera calibration data for drone 40 using the video feed 44 captured by camera 42 and 3D model 22, which may include tracking data. Indeed, in some embodiments, calibration and tracking can be performed without any additional sensor data, whether the additional sensor data is onboard or remotely position-sensing to determine position, orientation, velocity, etc. For example, system 10 can be configured to perform on-site video calibration relying solely on the onboard video feed 44 and 3D model 22 of the drone-mounted camera 42, without additional sensor data. As mentioned above, 3D model 22 may include LiDAR scans, such as high-density LiDAR scans.

[0022] System 10 can be configured to process video, such as raw video, to deliver real-time calibration data output 21. Various calibration data outputs 21 can be delivered to data client 50 relative to image frames of the collected video. In one example, calibration data output 21 can be delivered at 300 ms intervals. For example, in some applications, calibration data output 21 can be provided in real-time to each image frame of the video feed 44 at a rate of 60 fps or higher. For example, calibration data output 21 can include coordinates within a 3D reference frame. The 3D reference frame can be configured in any suitable 3D coordinate space. The 3D coordinate space can be the 3D coordinate space of the 3D model 22 or a translation relative to the 3D model 22. Position calibration data output 21 can be provided in x, y, z coordinates within such a coordinate space. The data client can use the calibration data output 21 for various applications 52, such as creating Artificial Reality (AR) rendering or other augmented content within the video.

[0023] For example, calibration data output 21 may include camera orientation parameters, such as one or more of tilt, pitch, or yaw. This orientation may be relative to a position within a 3D reference frame. For example, the orientation may be obtained from the calibration data output camera position. The orientation parameters may be provided as angles relative to a reference or set position, such as angles relative to one or more coordinate axes. In some embodiments, calibration data output 21 may include one or both of camera 42-specific parameters, such as focal length or distortion. For example, system 10 may be configured to provide x, y, z coordinates and tilt, pitch, yaw, focal length, and camera 42 distortion parameters for each frame. Calibration data output 21 may include all or a combination of the generated calibration data. In various embodiments, calibration processor 20 may be configured to determine camera parameters by analyzing the calibration refinement process. In some configurations, focal length may be determined by analyzing the scale relationship between the rendered image and image frames during optimization. Additionally or alternatively, camera distortion parameters may be determined by analyzing systematic differences between rendered straight lines and curves in image frames. The calibration processor 20 can be configured to validate camera parameters by comparing results across multiple frames and applying consistency checks. In some configurations, parameter updates can occur gradually to maintain stability in the calibration output.

[0024] In one embodiment, system 10 may be configured to initialize the calibration of a first image of video feed 44. For example, a proposed calibration may be determined based on a previous calibration. The previous calibration may correspond to a calibration generated at a location corresponding to the position of camera 42, which collects image frames to be calibrated. In one example, the corresponding location may be determined based on a starting position or waypoint relative to the position of camera 42. In another example, system 10 may be configured to automatically discover proposed calibrations based on analysis of image frames. For example, system 10 may be configured to analyze features in the image frames and compare those features with those features in a set of one or more previously calibrated reference image frames to identify one or more reference images that include the feature or otherwise closely approximate the view of the image frames. This may include the application of computer vision or other techniques to match features. In one example, for example, the 3D location of a feature in a reference image is determined using the calibration of the reference images, and the 3D location of the feature in the reference images is applied to the feature in the image frame to provide a 3D point correspondence to the feature. Then, given the correspondence, calibration processor 20 can be configured to optimize the calibration values ​​of camera 42. In one embodiment, calibration processor 20 can perform this process on multiple reference images and select the solution that yields the best result. Thus, in one example, calibration processor 20 is configured to select the closest reference image and compute a proposed calibration, which serves as the starting estimate for calibration refinement. After the image frames of video feed 44 have been calibrated, calibration processor 20 can be initialized to calibrate subsequent image frames, which are determined based on the calibration of previous image frames in video feed 44. In some embodiments, this may include applying a motion model to the previous frames. In some embodiments, calibration processor 20 can be configured according to method 300 ( Figure 3 We will use this to initialize, which will be described in more detail below.

[0025] In various embodiments, calibration processor 20 may be configured to refine the above calibration during a calibration refinement process, which includes calibrating camera 42 to a 3D model rendering obtained from the above calibration and comparing the rendering with corresponding image frames. For example, system 10 or calibration processor 20 of system 10 may include rendering engine 24, which is configured to render 3D model 22 based on its position within the model. For example, a camera environment, such as a golf course, may be captured in a 3D scan. The 3D scan may be captured at a sufficiently high level of fidelity for use during the calibration process. For example, in one embodiment, the fidelity of the 3D scan provides rendering engine 24 with the ability to render 3D model 22 with hundreds of millions or more points. For example, rendering engine 24 may render a point cloud with hundreds of millions or more points. In one embodiment, calibration processor 20 includes a data structure configured to efficiently query a small subset of points visible from a given camera 42 that optimally represents the scene from the viewpoint. In one configuration, fewer points are used to represent distant areas, and areas outside the camera view are completely omitted. In one example, rendering the 3D model 22 using the designed data structure operates with a fixed amount of GPU memory via streaming from Central Processing Unit (CPU) memory and / or disk. To generate a refined calibration, the above calibration can be used as a proposed calibration, which the calibration processor 20 uses in the calibration refinement process to generate a 3D model render based on. The calibration refinement process may include adjusting the values ​​of the proposed calibration such that the comparison between the image generated from the 3D model render based on the proposed calibration and the image frame is minimized to produce a refined calibration.

[0026] In various embodiments, system 10 includes an update engine 28 configured to update 3D model 22, for example, to keep 3D model 22 up-to-date. For example, 3D model 22 may not be up-to-date with what is captured in video feed 44. For example, there may be new or modified structures (e.g., tees, bunkers, trees, or tournament infrastructure). Features may similarly be different colors, such as foliage, or richer colors. Update engine 28 may be configured to incorporate colors from calibrated images into 3D model 22, replacing colors from the original scan or previous updates. For example, colors in a calibrated image may be incorporated at corresponding points in 3D model 22, replacing the previous color at that point. The calibrated image may come from a library of calibrated reference images or from previously calibrated frames in video feed 44, as an example. This can be used by calibration processor 20 as a color reference, which provides better tracking. The color reference may be updated as camera 42 moves, as described above. For example, the color reference may be continuously updated from previously tracked frames. This can ultimately lead to drift due to the accumulation of small errors. Correspondingly, update engine 28 can be configured to correct the calibration of the reference frame and incorporate adjustments. For example, a method can be used to correct drift by correcting the calibration of the reference frame, and the resulting adjustments can be incorporated into the calibration operation. In one configuration, update engine 28 can be configured to correct drift by correcting the calibration of the reference frame and incorporating adjustments. In one example, an offline method is used to correct the calibration of the reference frame, and the update engine gradually incorporates the adjustments into system 10. Thus, update engine 28 can be configured to correct progressive drift while maintaining smooth tracking from the core calibration process using a continuously updated color reference, thereby enhancing calibration accuracy over time.

[0027] According to one embodiment, in system 10, calibration processor 20 receives input image frames from video feed 44 for calibration processing. Advantageously, system 10 can be configured to generate calibration data relative to the live or delayed video feed 44. The calibration processing may include a proposed calibration acquisition and refinement process. At the proposed calibration acquisition, a proposed calibration is determined. For example, for a given video frame, a proposed calibration is determined using one or more methods that approximates a correct or true calibration of the camera relative to the image frame. As will be described in more detail below, a calibration refinement process can then be performed to refine the proposed calibration. For example, the refinement process can be configured to generate a refined calibration that takes into account errors, such as errors in one or more of position, rotation, or scaling in the proposed calibration. As mentioned above, in various embodiments, the entire process can be accomplished using only a solution method that takes into account one or more of past, current, or predicted frames and calibrations. Thus, the process can be accomplished without ingesting or using data from the UAV 40 other than the video feed 44.

[0028] Video feed 44 from camera 42 can be captured and encoded before or after it is received. For example, the video feed can be captured and encoded, for instance, when received by calibration processor 20, or calibration processor 20 or another system 10 component can be configured to capture or encode one or more video feeds. In the examples above and other configurations described herein, the video feed is encoded before being transmitted to calibration processor 20 via an internet connection. In one configuration, the video is encoded using a standard HD6X codec. As described above, one or more aspects of calibration processor 20 can operate in a cloud environment, a local hardware processing environment, a remote hardware processing environment, or a combination thereof. In various embodiments, video feed 44 can undergo preprocessing before calibration processing. In some configurations, calibration processor 20 can receive video data in different formats and perform format conversion or decompression as needed. Video feed 44 can be parsed to extract individual image frames for sequential processing. In one configuration, video feed 44 is processed frame-by-frame at the received rate, such as 60 fps, to maintain real-time calibration output.

[0029] As described above, calibration processor 20 can be configured to determine proposed calibration for a given video frame in a video feed. Calibration processor 20 can utilize one or more processes to determine the proposed calibration. For example, in some embodiments, the calibration process includes determining the proposed calibration, which may include predicting the proposed calibration based on previous frames, selecting a previously generated calibration, or automatically discovering the proposed calibration from a set of previously calibrated images. As mentioned above, in some embodiments, a combination of methods can be used to keep camera 42 calibrated through the application of the calibration process described herein, which is executed fast enough for use in a live broadcast environment.

[0030] When video feed 44 is received, calibration processor 20 can be configured to perform an initialization process to calibrate a first image of video feed 44. For example, the calibration process may include an initialization process that includes determining proposed calibrations and a calibration refinement process to calibrate camera 42 relative to the first image frame. Calibration relative to the first image can provide a basis on which the calibration process can determine proposed calibrations for subsequent image frames, followed by a calibration refinement process relative to those subsequent image frames. Calibration relative to subsequent image frames can similarly form the basis for calibration of a second subsequent image frame.

[0031] During initialization, a proposed calibration can be determined for the first image frame. For example, for a given image frame in a video, one or more methods are used to determine a proposed calibration that closely approximates the true calibration for refinement of a specific image frame.

[0032] The initialization process may include determining a proposed calibration based on a previously calibrated position. Determining the proposed calibration may include identifying a previously calibrated position corresponding to the position of camera 42. The previously calibrated position may have been previously calibrated from a reference image taken at that position. This calibration may include an initial reference calibration process that calibration processor 20 can use to provide a proposed calibration for the first image frame during the initialization process. For example, drone 40 may be sent to a position, and that position may be recorded as a waypoint. Then, a reference image taken by camera 42 associated with drone 40 at that waypoint can be calibrated to obtain a reference calibration for subsequent use in relation to the proposed calibration. Thus, when drone 40 returns to the waypoint, camera 42 will be close enough to the position corresponding to the originally calibrated reference image to apply the calibration refinement process using the stored reference calibration as the proposed calibration.

[0033] As described above, the calibration of a reference image taken at a known location can be used as a proposed calibration during the initialization process. In various embodiments, generating a reference calibration for a camera location for subsequent use during initialization may include capturing a reference image at the camera location. The reference calibration process may also include generating the reference calibration using the reference image by aligning or otherwise associating features in the reference image with the same features represented in a 3D model 22 surrounding the camera location. For example, the reference calibration may be generated by taking a reference image from camera 42 and fitting that reference image to a view representing a 3D location within 3D model 22; in some embodiments, the 3D model may include a point cloud. In this or another example, the reference calibration may include generating an initial approximation of the location within 3D model 22 that approximates a view of the reference image. For example, reference calibration generation may include manually identifying the initial approximation of the camera location within 3D model 22 by comparing the reference image to a virtual camera location within 3D model 22. For example, an operator may interact with the rendering of 3D model 22 to move the virtual camera 42. In one embodiment, the reference calibration process may include associating points within the 3D model 22 with pixels in a reference image to generate an initial calibration. In another embodiment, points in the 3D model 22 associated with pixels in the reference image are fitted to a distortion model to further refine the reference calibration for later use as a proposed calibration. In one example, where an initial approximation of the camera position within the 3D model 22 is identified, associating points within the 3D model 22 with pixels in the reference image and fitting them to a distortion model to generate the reference calibration may include an offline or otherwise prior calibration refinement process that further refines the initial calibration corresponding to the initial approximation. As described above, rendering the 3D model 22 may include utilizing or generating a data structure comprising a subset of points that optimally represent the scene from the rendered viewpoint.

[0034] In some embodiments, calibration processor 20 may be configured to automatically determine proposed calibrations for image frames of video feed 44 from a set of previously calibrated image frames. Automatic discovery may be used in the proposed calibration determination portion of the initial process as an alternative to waypoints or manual calibration paths. Previously calibrated image frames may be obtained by accessing a calibration library comprising images and associated calibrations. For example, given a set of reference images and calibrations, calibration processor 20 may be configured to determine which image in the set of images most closely approximates the image frame and utilize the associated calibration as the proposed calibration for the current frame. In another example, calibration processor 20 may further process the image frames relative to the set of image frames to solve for calibration values. In one embodiment, calibration processor 20 is configured to identify and match corresponding features in the reference images and image frames. For example, using computer vision, calibration processor 20 may be configured to find features in the set of reference images and image frames, such as obvious, unique, or features of interest, and match the features. Features may include obvious angles, such as right angles, or feature profiles. This can provide or be used to provide a correspondence from features in an image frame to the 3D location of those features in the 3D model 22. For example, a feature in a reference image can be assigned a 3D location in the model, such as a point cloud, by rendering a cloud at that point. Given the correspondence, the calibration processor 20 can be configured to solve for the position / rotation / translation of the camera 42, for example, by using nonlinear optimization to compute the proposed calibration. The calibration processor 20 can be configured to perform this operation on multiple reference images and select the solution that yields the best result. Thus, the calibration processor 20 can be configured to select the closest reference image from the set of reference images and compute the proposed calibration as an initial estimate for initiating the thinning process at the same point, such as the point closest to the same point.

[0035] In various implementations, feature identification includes detecting prominent features in the image frame, such as corners, edges, or other identifiable elements. The calibration processor 20 can compute descriptors for the features, which characterize local image properties around each feature. Matching features between the image frame and a previously calibrated reference image can include comparing these descriptors to identify correspondences. The calibration processor 20 can apply consistency checks to filter out erroneous matches. Matched features can be used to establish a correspondence between their location in the image frame and their 3D location in the 3D model 22, determined based on the calibration of the reference image. The calibration processor 20 can use such correspondences to solve for calibration values ​​to compute a proposed calibration prior to refinement.

[0036] In various embodiments, solving for the calibration value involves formulating an optimization problem to determine a value that minimizes the error between the expected and observed feature locations. For example, calibration processor 20 can perform optimization by iteratively adjusting the calibration value to reduce the error. This optimization can begin with an initial estimate and refine that estimate through multiple iterations. In one configuration, calibration processor 20 can perform optimization multiple times with different starting points or different subsets of correspondences and select the result with the lowest error as the proposed calibration.

[0037] As described above, in some embodiments, calibration processor 20 may be configured to determine proposed calibrations for image frames of video feed 44 by means of calibrations predicted based on previous frame generation. In various embodiments, this may include replicating previous calibrations or incorporating motion models associated with previously refined calibrations when processing image frames. For example, a calibration from a previous image frame will generally be close enough to the true calibration of the current image frame to be used as a proposed calibration for applying the calibration refinement process. In one example, once system 10 has been initialized with video frame generation calibrations for the order of video feed 44, the proposed calibration for the current image frame may be a calibration generated for previous image frames. The calibration of previous image frames may also be referred to herein as a refined calibration. In some embodiments, a motion model may be employed to better predict proposed calibrations from previous calibrations to the next calibration. The application of a motion model can be utilized during rapid motion. When camera 42 is undergoing predictable motion, the motion model can provide increased accuracy associated with the proposed calibration. In one example, calibration processor 20 is configured to analyze previous camera positions to predict motion between the current image frame and previous image frames, the previous camera positions being determined based on the calibration of the previous frames, such as tracking. In various embodiments, calibration processor 20 is configured to, after initializing the calibration of image frames in video feed 44, use an automatic discovery of previously calibrated positions based on a set of previously calibrated images or corresponding to the current position of camera 42, to predict proposed calibrations for subsequent image frames whose calibrations are generated for previous image frames.

[0038] The calibration processor 20 can be configured to perform a calibration refinement process to refine the proposed calibration. For example, the refinement process can be configured to generate a refined calibration that takes into account errors, such as errors in one or more of position, rotation, or scaling in the proposed calibration. The refinement process can optimize the proposed calibration by adjusting the calibration values ​​in the proposed calibration to minimize the difference between the proposed calibration and the image frame, thereby outputting a refined calibration for subsequent inclusion in calibration data output 21. During the calibration refinement process, the calibration processor 20 can be configured to calibrate the camera 42 to a 3D model 22, such as a point cloud, by rendering a 3D model 22 based on the proposed calibration. The proposed calibration can be compared with a video feed 44 from the camera 42. Given the proposed calibration, the calibration values ​​can be adjusted such that the comparison between the proposed calibration and the image frame is minimized. For example, the image frame can be compared with a rendering based on the proposed calibration, and the system 10 can calculate values ​​that minimize the differences in the view. This can include minimizing the differences in the relative positions of corresponding features represented by pixels in an image frame and points in a 3D model view. In one embodiment, given a proposed calibration, calibration processor 20 adjusts the value of the calibration such that comparisons between the rendered image and the image frame are minimized, for example, minimizing the least-squares error between the 3D model rendering and the image frame. In some embodiments, calibration processor 20 is configured to accelerate the computation of the optimized cost function on a GPU, thereby enhancing real-time processing, for example, processing at 60 fps on high-definition screens.

[0039] In various embodiments, calibration processor 20 accelerates the computation of the optimization cost function on the GPU by parallelizing residual computation across multiple processing cores. For example, the differences between a rendered image generated based on the proposed calibration and the corresponding image frame from a video feed can be computed in parallel for multiple pixels or regions of an image. The GPU can aggregate these residuals into an error measurement, such as a least-squares cost function, using parallel reduction operations. The calibration processor can then perform optimization update steps—such as gradient descent, Gauss-Newton, or Levonberg-Marquardt—on the GPU to iteratively adjust the calibration values ​​of the proposed calibration to minimize the cost function. In one embodiment, by mapping both residual computation and optimization iteration to GPU cores, system 10 can be configured to achieve real-time throughput, for example, refinement per frame within approximately 300 ms at frame rates of 60 frames per second or higher.

[0040] In various embodiments, the calibration refinement process may include multiple iterations of rendering, comparison, and adjustment. Each iteration may include: rendering the 3D model 22 based on the proposed calibration, calculating the differences between the rendered image and image frames, and adjusting the calibration values ​​to reduce the differences. The calibration processor 20 may continue iterating until the differences are below a threshold, the changes between iterations become minimal, or a predetermined number of iterations is reached, or a combination thereof. This iterative approach allows the calibration processor 20 to refine proposed calibrations that may differ significantly from the actual calibration.

[0041] In various embodiments, the optimization process can employ convergence criteria to determine when sufficient refinement has been achieved. In some configurations, convergence can be determined when the cost function falls below a specified threshold, when the change between optimization iterations becomes less than a specified amount, or when the maximum number of iterations is reached. In another configuration, the calibration processor 20 can be configured to employ numerical stability checks to detect divergences or oscillations in the optimization parameters. In some arrangements, early termination of the optimization can be applied when processing time constraints require completion within a target frame rate interval.

[0042] The calibration processor 20 can transmit calibration data, such as refined calibration, to the data client 50. Calibration data can be sent for each video frame. In one example, calibration data can be sent at a rate of 60 fps or higher. The data client 20 can use the calibration data along with image frames for object tracking operations or the creation of AR rendering. In various embodiments, calibration data can be streamed from the calibration processor 20 to the data client 50 via an internet connection. As described above, calibration data streams can be sent via an internet connection at a rate of 60 fps or higher per video frame.

[0043] Further reference Figure 2A method for calibrating a camera 200 mounted on a drone may include receiving a video feed 202. The video feed may include one or more image frames. While the video feed does not need to be on-site, this disclosure can advantageously provide processing of on-site video feeds to generate calibration data sufficient for use in a live broadcast environment in real time. The video feed can be transmitted wirelessly from an onboard wireless transmitter or transceiver. In one embodiment, the video feed signal can be received and transmitted via a suitable protocol for calibration processing. In one example, the video feed signal can be received and transmitted via a serial digital interface or other video signal transmission protocol for calibration processing. In another example, the received video signal can be captured, encoded, and transferred for calibration processing. For example, the video feed signal can be received and transmitted via a serial digital interface and then captured and encoded before being transferred for calibration processing (e.g., by the calibration processor 20 described herein). In one example, the captured and encoded video can be transferred for calibration processing via an internet connection. In one configuration, the video is encoded using a standard HD6X codec.

[0044] Method 200 may include: determining a proposed calibration 204 of the camera relative to a video frame. Example methods for determining the proposed calibration 204 of a video frame may include those described above. Figure 1 Or those methods described elsewhere herein. In some embodiments, determining the proposed calibration may include: using the camera's current position and a previously stored calibration corresponding to the same approximate position, such as waypoint localization. In this or another embodiment, determining the proposed calibration may include: using computer vision to predict the calibration by comparing the image frame with images in a library of calibrated images, and using the calibration of a nearby image as the proposed calibration for the image frame. In another embodiment, the calibration of previously calibrated images may be further optimized relative to the current image frame by determining 3D points of features and then using the 3D points to solve for calibration values ​​for the camera, such as one or more of position, rotation, or translation, based on the 3D position of the features in a 3D model of the area where the image frame was collected. In one example, this may be performed on multiple previously calibrated images, and the best result may be selected as the starting point for refinement. In any of the above or another embodiment, determining the proposed calibration may include: predicting the proposed calibration based on the calibration of a previous frame. This may include copying the previous calibration or adjusting the values ​​of the previous calibration using a motion model.

[0045] Method 200 may optionally include performing a color referencing process to update the 3D model 206. For example, a color referencing process can be used to update the 3D model, which incorporates colors from a calibrated image into the 3D model to replace colors from the original scan or previous updates. Colors in the calibrated image can be incorporated into the corresponding points in the 3D model to replace the previous color at those points. As frames are calibrated, the color reference can be continuously updated using previously tracked frames. The color referencing process can be performed when significant movement or a view change is detected, including features that have not yet been updated or have had their colors applied during the color referencing process.

[0046] In various embodiments, detecting significant movement includes comparing calibration values ​​between the current frame and previous frames. For example, the update engine may compare position coordinates between frames to calculate the distance traveled, or it may compare camera orientation values ​​to calculate angular displacement. When the distance traveled exceeds a distance threshold and / or the angular displacement exceeds an angle threshold, the update engine may trigger a color reference process. Thresholds may be configured based on point density in the 3D model, the rate of calibration updates, or other factors related to maintaining accurate color information in the 3D model. In some embodiments, various thresholds employed by system 10 may be determined based on one or more operational characteristics, performance requirements, or combinations thereof. In one embodiment, a movement threshold for triggering color reference updates may be set based on point cloud density, where higher-density models may use smaller movement thresholds. For example, a drift threshold may be established based on acceptable calibration accuracy for the intended application. In some configurations, a matching threshold for feature correspondence may be determined using descriptor similarity measurements. System 10 may employ adaptive thresholds that adjust based on observed performance metrics or environmental conditions.

[0047] Method 200 may include performing a calibration refinement process 208 using the proposed calibration. The calibration process may include calibrating to the 3D model by rendering a 3D model based on the proposed calibration and comparing it to image frames. The calibration process may include adjusting the values ​​of the proposed calibration to minimize differences between the scene rendered from the 3D model and the image frames. In one example, the calibration refinement process may calibrate the camera to the 3D model by rendering a 3D model based on the proposed calibration and comparing that rendering to the corresponding image frames from a video feed. Given a proposed calibration, the proposed calibration can be optimized. For example, the values ​​of the proposed calibration can be adjusted such that the comparison between the image rendered from the 3D model based on the proposed calibration and the image frames is minimized. In one example, optimization may include calculating the minimization of the least-squares error between the rendered image and the image frames. In one configuration, the computation of the optimized cost function is accelerated on a GPU for enhanced real-time processing. In one example, a data structure is employed, configured to efficiently query a smaller subset of points in a 3D model visible from a given camera or a given image frame from a camera. This smaller subset of points optimally represents the scene from the viewpoint. More distant regions can be represented by fewer points, and / or regions outside the camera's view can be omitted entirely. The implementation of the data structure can be streamed from CPU memory and / or disk, enabling the calibration process to be performed using a fixed, limited amount of GPU memory.

[0048] Method 200 may optionally include: drift correction 210. Drift may occur as a result of a color reference process or otherwise. For example, the accumulation of small errors over time can lead to drift. Drift correction may include tracking features in sequential image frames over time and determining changes in alignment relative to one or more reference frames, and then applying correction. In one example, an image registration algorithm may be applied. In one embodiment, drift can be corrected by using a method to correct the calibration of reference frames, and the resulting adjustments can be incorporated into the calibration operation. Drift correction can correct drift relative to the calibration of reference frames and incorporate adjustments into the calibration refinement process. Drift correction can be applied to calibration based on the output of calibration refinement 208. Drift correction may employ methods to correct the calibration of reference frames and progressively incorporate these adjustments into the calibration operation. For example, when used in conjunction with a color reference process, progressive drift correction can be performed while maintaining smooth tracking from a core calibration process with a continuously updated color reference.

[0049] In various embodiments, drift can be detected by monitoring error metrics across sequential image frames. For example, the update engine can track residual errors from the calibration refinement process over multiple frames. When the residual error exhibits an increasing trend, this can indicate the accumulation of calibration errors. In another configuration, the update engine can compare the predicted calibration with the refined calibration, where the increasing difference over time indicates drift. The update engine can compute adjustments by calculating the difference between the corrected calibration of a reference frame and the original calibration of that reference frame. A gradual combination of adjustments can include applying fractional portions of the adjustments over multiple subsequent frames, rather than applying the full adjustment immediately. This maintains smooth tracking by avoiding abrupt changes in calibration values ​​while still correcting for drift accumulated over time.

[0050] Method 200 may include: outputting a refined calibration 212, which may include a refined calibration that has already undergone drift correction. The refined calibration may be output to a data client for various uses. Example uses include creating augmented reality content within video data, such as overlaying augmented reality content onto video data calibrated to a 3D reference frame.

[0051] In various embodiments, such as with system 10 or elsewhere herein (e.g.) Figures 3 to 6 The system 10 may perform one or more of the following as described: receiving a video feed 202; determining a proposed calibration for an image frame 204; performing a color reference process to update the 3D model 206; performing a calibration refinement process 208 using the proposed calibration; calibrating to the 3D model 210 by rendering the 3D model based on the proposed calibration and comparing it with the image frame; adjusting the values ​​of the proposed calibration to minimize differences in the scene rendered from the 3D model and the image frame; performing and applying drift correction 210; or outputting the refined calibration 212. In one embodiment, the system 10 may be configured to perform method 200.

[0052] In one embodiment, determining the proposed calibration 204 of a video frame within method 200 may include performing an initialization process to initialize a method for performing camera calibration on subsequent image frames using a refined calibration of the previous frame.

[0053] Further reference Figure 3A method for calibrating a camera 300 mounted on a UAV may include receiving a video feed 302, which may or may not be a live video feed. The video feed may be one or more image frames. Method 300 may be similar to method 200 described above and includes an initialization process. For example, method 300 may include an initialization calibration process 304, including determining a proposed calibration of the camera relative to a first image frame, including: (a) manual calibration, for example, (i) manually calibrating the first image frame, or (ii) using the first image frame corresponding to the camera at a pre-calibrated waypoint; or (b) automatically discovering a proposed calibration relative to the first image frame using previously calibrated images.

[0054] In one example, the proposed calibration can be determined using a previous calibration, such as a reference calibration, which was pre-calculated relative to the camera at a position similar to or close to the camera when the image frame was collected. The position may include waypoint calibration, which can be calculated as described above, such as using manual calibration techniques. According to one method, determining the proposed calibration includes: positioning the camera at a waypoint or determining that the camera is positioned at a waypoint; and setting the proposed calibration of the currently collected image frame as the waypoint calibration. In one embodiment, determining the proposed calibration includes: automatically discovering the proposed calibration using previously calibrated images. A library of calibrated images and image frames can be analyzed using computer vision to identify one or more images that include the same features as the image frames. This can be used to identify approximate matches between image views and image frames in the image library. Corresponding features in the calibrated images can be used to identify 3D points of the features. The calibration process can solve for calibration values ​​to compute the proposed calibration from the previously calibrated image frame to the proposed calibration in the current image frame. In one example, given a correspondence, nonlinear optimization can be applied to solve for calibration values, such as camera position, rotation, and translation, to generate proposed calibrations that can be used as initial estimates. In one example, this can be performed on multiple previously calibrated images, and the best result can be selected as the proposed calibration.

[0055] Method 300 may include performing a calibration refinement process 306 using the proposed calibration, including: (a) calibrating to the 3D model by rendering a 3D model based on the proposed calibration and comparing it with image frames, and (b) adjusting the values ​​of the proposed calibration to minimize differences in the scene rendered from the 3D model and the image frames. Method 300 may also include: outputting the refined calibration 308. In various embodiments, determining the proposed calibration and / or performing the refinement process is performed as described with respect to method 200, system 10, or elsewhere herein. In one embodiment, method 300 may also include: calibrating subsequent image frames. In one example, the calibration of subsequent image frames may be performed according to method 200, method 400, or as described with respect to system 10 or elsewhere herein.

[0056] Further reference Figure 4 A method for calibrating a camera 400 mounted on a drone may include: receiving a video feed 402, which may or may not be a live video feed. The video feed may be one or more image frames of the video feed. The video feed may be received as described with respect to method 200 or elsewhere herein. Method 400 may include: determining a proposed calibration of the camera relative to the image frames by predicting a proposed calibration based on calibration of previous frames 404, which may include replicating a refined calibration of the previous frames or adjusting a previous refined calibration using a motion model. In one example, the previous calibration may be determined according to method 300 or as described with respect to system 10 or elsewhere herein. Method 400 may optionally include: performing a color reference process to update the 3D model 406. In various embodiments, the color reference process may be performed as described with respect to method 200, system 10, or elsewhere herein.

[0057] Method 400 may include performing calibration refinement 408 using the proposed calibration, including: (a) calibrating to the 3D model by rendering the 3D model based on the proposed calibration and comparing it with image frames, and (b) adjusting the values ​​of the proposed calibration to minimize differences in the scene rendered from the 3D model and the image frames. In various embodiments, the calibration refinement process may be performed as described with respect to method 200, system 10, or elsewhere herein.

[0058] Method 400 may optionally include performing and applying drift correction 410 on the refined calibration from the calibration refinement output to generate a drift-corrected refined calibration 412. In various embodiments, drift correction may be performed as described with respect to method 200, system 10, or elsewhere herein.

[0059] Method 400 may include: outputting a refined calibration 412, the refined calibration including a refined calibration that has already undergone drift correction. In various embodiments, the refined calibration may be output to a data client for various uses, such as those described herein.

[0060] In one embodiment of method 200, calibration processing is initialized according to method 300, and then calibration processing is continued for subsequent image frames in the video feed according to method 400.

[0061] Figure 5 A calibration process 500, according to various embodiments, is illustrated that can be executed by system 10. Video frames can be input (502) into system 10. The video frames may include image frames of a video feed collected by a camera mounted on a drone. The video frames may be image frames of a live video feed. Calibration process 500 may include coarse calibration 504, configured to compute coarse calibration 516, which includes a proposed calibration of the video frame. Coarse calibration 504 may include determining whether the calibration process should be initialized or reinitialized 506. For example, if system 10, such as calibration processor 20, determines that the video frame is the first image frame of the video feed or otherwise not an image frame of a subsequent image frame that has already been calibrated, calibration processor 20 may enter reinitialization mode 508. Similarly, if the calibration process has been initialized but it is determined that the calibration process should be reinitialized, calibration processor 20 may enter reinitialization mode 508. In reinitialization mode 508, calibration processor 20 may determine a proposed calibration. For example, calibration processor 20 may determine a proposed calibration 512 from a previously calibrated manual calibration, or automatically discover a proposed calibration 514 from previously calibrated images. In one embodiment, calibration processor 20 determines which initialization path to execute, wherein manual calibration 512 is preferred if available. In a manual calibration path, the position of camera 42 or drone 40 acting as a proxy for camera 42 can be matched to a calibration previously calculated at that position. In one configuration, the previously calibrated calibration is not a manual calibration, and the calibration is calculated previously using an automatic match between images collected at the position and rendered views of the 3D model corresponding to the calibration. Automatic path discovery 514 may include comparing video frames with previously calibrated images to identify images matching one or more calibrations depicted in the video frames. In some embodiments, optimization may be applied to further refine the proposed calibration before refinement. For example, features in the video frames may be associated with 3D points relative to the 3D model, and these points may be used to solve for differences in previous calibration values ​​to compute a better proposed calibration. In various embodiments, it can be as described above, for example, regarding Figures 1 to 3The calibration processor 20 performs manual calibration in advance 512 and / or automatically discovers calibration from previously calibrated images, such as those from a calibration library 514. If it is determined that no initialization or re-initialization is required, for example, if the calibration of a previous video frame has already been calculated, the calibration processor 20 can predict the proposed calibration based on the previous frame 510. For example, the calibration of a previous frame can be copied, or a motion model can be applied to one or more previous frames to better predict the proposed calibration of the video frame.

[0062] System 10 may include an update engine 28, which is configured to keep the 3D model 22 up-to-date during the update process. Figure 5 In this context, the 3D model is described as including a point cloud. However, those skilled in the art will understand that other 3D models 22 can be used. The update engine 28 can detect whether there is significant movement 520. For example, the update engine 28 can analyze the current video frame and previous video frames to determine whether significant movement has occurred between images. If significant movement 520 is detected, the rendering engine 24 can re-render the 3D model 22 with the last frame calibration, and the update engine 28 can re-color 522 with the last frame pixel guidance to update the rendered point cloud 526. Re-coloring can also trigger an offline drift correction process 524. The drift correction process can be as described above. In some embodiments, drift correction or one or more aspects of drift correction are performed online.

[0063] The calibration process 500 may include a calibration refinement process 528, which includes performing calibration refinement 530. Performing calibration refinement 530 may be performed as described above regarding system 10 and... Figures 1 to 4 As described, the calibration refinement 530 may also include drift correction. For example, camera 42 can be calibrated to a 3D model by rendering a 3D model based on the proposed calibration and comparing that rendering with video frames. Given the proposed calibration, calibration processor 20 can adjust the calibration values ​​of the proposed calibration such that the comparison between the rendered scene and the video frames is minimized. If drift correction is triggered 522, it can be determined whether the correction was successful 532. If the correction is successful, update engine 28 can apply the drift correction 534, and the refined calibration can be output 536. If the drift correction is unsuccessful, no correction is applied, and the refined calibration is output without correction 536.

[0064] While certain embodiments of this disclosure are described with respect to camera 42 on drone 40, this disclosure is equally applicable to other mobile platforms on which camera 42 may be mounted to collect video as the platform undergoes movement or otherwise moves to different locations, thereby collecting video from different locations. Additionally, although this disclosure generally describes camera 42 calibrated relative to a golf course, those skilled in the art will understand upon reading this disclosure that system 10 is not limited to operation within a golf course environment. In fact, system 10 can find use in environments where camera 24 is calibrated, such as in television, film, surveillance, concerts, parades, events and parties, surveying, or other sporting events such as rugby, baseball, football, racing, athletics, tennis, wrestling, basketball, swimming, etc.

[0065] This disclosure can be implemented in various configurations, such as any of those configurations described above or elsewhere herein. Various non-limiting aspects of this disclosure are provided below as additional examples.

[0066] In a first aspect, a method for calibrating a mobile camera, such as a camera mounted on a drone or other mobile platform, includes: receiving a video feed comprising sequentially captured image frames by the camera; determining a proposed calibration for a current image frame by performing at least one of the following: automatic discovery, including: detecting features in the current image frame and matching the features in the current image frame with features in a previously calibrated reference image, assigning 3D positions to the matching features in a 3D model by rendering at the feature locations, and solving for calibration values ​​and setting the proposed calibration for the current image frame; and waypoint-based selection. The process includes: obtaining a reference calibration previously generated for waypoint positions, and setting the proposed calibration of the current image frame as the reference calibration if the camera meets a proximity threshold relative to the waypoint; or making a prediction based on a previously refined calibration obtained for a preceding image frame, including: copying the previously refined calibration or adjusting the previously refined calibration using a motion model, and setting the proposed calibration accordingly for the current image frame; performing a calibration refinement process, including: rendering a 3D model based on the proposed calibration, comparing the rendered image with the current image frame, and adjusting the calibration values ​​to minimize the difference, thereby generating a refined calibration; and outputting the refined calibration.

[0067] In the example, the method further includes: storing a calibration library comprising previously calibrated reference images and reference calibrations for use in automatic discovery and / or waypoint-based selection. In the above or another example of the first aspect, the method may include: generating a reference calibration, including aligning a virtual camera view within a 3D model with a reference image, associating points in the 3D model with pixels in the reference image, and fitting a distortion model. In any of the above or another example of the first aspect, a reference calibration is selected as the proposed calibration if the camera position satisfies a proximity threshold relative to the waypoint position. In any of the above or another example of the first aspect, the refined calibration includes position coordinates and camera orientation values, camera parameters, or combinations thereof, wherein the camera parameters include at least one of focal length or distortion values. In any of the above or another example of the first aspect, the method further includes: minimizing a least-squares cost function between the rendered image and the current image frame, and GPU-accelerating residual computation and optimization updates.

[0068] In either the first aspect above or another example, the method further includes performing drift correction, including detecting accumulated errors on sequential frames, correcting the calibration of the reference frame, and gradually incorporating the corresponding adjustments into subsequent refinement processes to maintain smooth tracking.

[0069] In either the first aspect above or another example, the method includes: determining proposed calibrations on sequential image frames of a video feed and performing a refinement process such that each refined calibration is based on a proposed calibration derived from a previously refined calibration. In another example, the refined calibrations are output in real time, wherein the frame rate reaches 60 frames per second and the latency per frame is less than 300 milliseconds.

[0070] In either of the examples above or another example of the first aspect, automatic discovery includes: detecting features in the current image frame and reference images, computing descriptors, matching descriptors to form feature correspondences, and assigning 3D positions to the matched features by rendering a 3D model at the feature locations. In another example, the method includes: using nonlinear optimization to solve for position, rotation, and translation to compute and set the proposed calibration for the current image frame. In yet another example, the method includes: evaluating multiple candidate reference images and selecting the proposed calibration that produces the lowest correspondence error as the starting estimate for the calibration refinement process.

[0071] In either of the examples above or in the first aspect, rendering involves selecting a subset of points in the point cloud that are visible from the proposed calibration, wherein the point density varies based on distance from the camera position, and points outside the view are omitted. In another example, visible points are streamed to GPU memory, and invisible points are evicted as the viewpoint changes, in order to maintain a fixed memory footprint while rendering large-scale point clouds.

[0072] In any of the above or another example of the first aspect, the method further includes: incorporating colors from calibrated image frames into the 3D model to replace the previous colors at corresponding points. In another example, a color update is triggered if a movement threshold is exceeded, the movement threshold including the distance or angular displacement traveled between sequential frames. In any of the above examples, the method may further include: rendering the 3D model according to a refined calibration to identify visible points and mapping pixel colors from the calibrated image frames to the visible points.

[0073] The second aspect includes a non-transitory computer-readable medium storing instructions that, when executed by one or more processors, cause the system to perform any or a combination of the methods of the first aspect or other examples of the first aspect.

[0074] In a third aspect, a system for calibrating a moving camera, such as a camera mounted on a drone or other mobile platform, includes: one or more processors; and one or more memories storing instructions that, when executed by the one or more processors, cause the system to: receive a video feed comprising sequential image frames captured by the camera; determine a proposed calibration for the current image frame by utilizing a previously refined calibration obtained for previous image frames, including at least one of: copying the previously refined calibration, or adjusting the previously refined calibration using a motion model based on changes in position and orientation across multiple previous frames based on changes in position and orientation on previous frames; performing a calibration refinement process, the calibration refinement process including: rendering a 3D model based on the proposed calibration, comparing the rendered image with the current image frame, and adjusting calibration values ​​to minimize differences, thereby generating a refined calibration; and outputting the refined calibration.

[0075] In the example of the third aspect, the update engine performs drift correction, including: detecting accumulated errors on sequential frames and gradually incorporating adjustments into subsequent refinements.

[0076] In the third example above or another example, the system outputs refined calibration at a frame rate of 60 frames per second or higher. In another example, the system outputs each refined calibration within 300 milliseconds per frame.

[0077] In either of the above or another example in the third aspect, the system also includes an update engine configured to incorporate colors from calibrated image frames into the 3D model, replacing the previous color at the corresponding point. In another example, a color update is triggered if a movement threshold is exceeded, which may include the distance traveled or angular displacement between frames.

[0078] In either of the above or another example in the third aspect, the refined calibration includes position coordinates and camera orientation values, camera parameters, or combinations thereof, with the camera parameters including at least one of focal length or distortion values.

[0079] In a fourth aspect, a system for calibrating a camera, the camera being mounted on a movable platform, the system including a calibration processor configured to: receive a video feed from the camera, wherein the video feed includes a plurality of sequential image frames; determine a proposed calibration for the image frames of the video feed, wherein the proposed calibration includes calibration values, the calibration values ​​including position coordinates and / or camera orientation in a coordinate reference system; perform a calibration refinement process, including: rendering a 3D model of the environment captured in the video feed based on the proposed calibration to generate a rendered image, comparing the rendered image with the image frames, and adjusting the calibration values ​​of the proposed calibration to minimize the differences between the rendered image and the image frames, thereby generating a refined calibration; and outputting the refined calibration. The system can perform calibration using the video feed and the 3D model without requiring additional sensor data from the camera or the movable platform.

[0080] In the example of the fourth aspect, the calibration values ​​include position coordinates, camera orientation angle, focal length, and camera distortion parameters. In the example above or another example of the fourth aspect, the calibration processor is configured to iteratively adjust the calibration values ​​using optimization to minimize the differences between rendered images and image frames. In any of the examples above or another example of the fourth aspect, the calibration processor is configured to calibrate the camera without receiving or utilizing position data from a GPS sensor, orientation data from an inertial measurement unit, lens parameter data from a lens encoder, or motion data from an accelerometer associated with the camera or mobile platform. In the example above or another example of the fourth aspect, the system also includes a rendering engine communicatively coupled to the calibration processor and configured to render a 3D model based on the proposed calibration, wherein the rendering engine includes data structures configured to efficiently query a subset of points in the 3D model visible from the proposed calibration.

[0081] In a fifth aspect, a method for calibrating a camera, the camera being mounted on a movable platform, the method comprising: receiving a video feed from the camera, wherein the video feed includes a first image frame; determining a proposed calibration of the first image frame by: identifying features in the first image frame; comparing the features in the first image frame with features in a set of previously calibrated reference images to identify at least one reference image having features matching the features in the first image frame; establishing a correspondence between features in the first image frame and 3D positions of features in a 3D model of an environment captured in the video feed using calibration data associated with the at least one reference image; and solving for calibration values ​​of the camera using the correspondence to generate a proposed calibration; performing a calibration refinement process, comprising: rendering a 3D model based on the proposed calibration to generate a rendered image; comparing the rendered image with the first image frame; and adjusting the calibration values ​​of the proposed calibration to minimize the difference between the rendered image and the first image frame, thereby generating a refined calibration of the first image frame; and outputting the refined calibration of the first image frame.

[0082] In an example of the fifth aspect, identifying features in the first image frame includes: performing a computer vision procedure to detect and extract features. In this or another example of the fifth aspect, establishing a correspondence includes: determining the 3D location of features in at least one reference image, including: rendering a 3D model based on a calibration associated with at least one reference image. In any of the above or another example of the fifth aspect, solving for the calibration value includes: performing nonlinear optimization using the correspondence to generate a proposed calibration. In this or another example of the fifth aspect, the method includes calibrating a second image frame following the first image frame, including: determining a second proposed calibration by predicting a second proposed calibration based on a refined calibration of the first image frame, and performing a second calibration refinement process on the second image frame.

[0083] In one or another example of the fifth aspect, the refined calibration includes a first calibration, and the method includes: performing a second calibration to calibrate subsequent image frames, including: predicting a proposed calibration based on subsequent image frames by adjusting the first calibration value based on motion between the first image frame and the second image frame using the first calibration combined with the motion model. In another example of the fifth aspect, adjusting the calibration value includes: using optimization to iteratively adjust the calibration value to minimize the difference between the rendered image and the second image frame. In any of the above examples of the fifth aspect, the method may include: updating the 3D model by incorporating the colors from the first image frame into the 3D model after determining the first calibration of the first image frame.

[0084] Still referencing Figure 6At least a portion of the methods and techniques described with respect to exemplary embodiments of system 10 may be combined with a machine, such as, but not limited to, computer system 600 or other computing devices, within which an instruction set, when executed, enables the machine to perform any or more of the methods or functions discussed above. The machine may be configured to facilitate various operations performed by system 10. For example, the machine may be configured, but not limited to, to assist system 10, such as the calibration processor 20 of system 10, by providing processing power to assist in handling loads encountered in system 10, providing storage capacity to store instructions or data traversing system 10, or assisting any other operations performed by or within system 10. As another example, computer system 600 may assist in obtaining video feed data, data transmission, rendering 3D model 22, updating 3D model 22, association operations, correspondence operations, data import, data storage, data transformation, data mapping, updating any of them, or combinations thereof. As another example, computer system 600 can assist in the output and / or distribution of calibration data, or in the assembly or compilation of calibration data, modifications, updates, or other data to data client 52 for delivery or distribution.

[0085] In some embodiments, the machine may operate as a standalone device. In some embodiments, the machine may be connected to other machines and systems and assist in operations performed by those other machines and systems, such as, but not limited to, any of the functions, generators, simulators, databases, engines, or other functions described herein, any of which may be provided to the machine by such other machines or systems for System 10 to perform the operations described herein. The machine may be connected to any component of System 10. In a network deployment, the machine may operate as a server or client user machine in a server-client user network environment, or as a peer machine in a peer-to-peer (or distributed) network environment. The machine may operate in a cloud environment in which resources are distributed. The machine may include a server computer, client user computer, personal computer (PC), tablet computer, laptop computer, desktop computer, control system, network router, switch, or bridge, or any machine capable of executing (sequentially or otherwise) a set of instructions specifying actions to be taken by the machine. Furthermore, although a single machine is shown, the term "machine" should also be considered to include any set of machines that execute, individually or in combination, a set of instructions (or multiple sets of instructions) to perform any or more of the methods discussed herein.

[0086] Computer system 600 may include processors 602 (e.g., a central processing unit (CPU) and / or a graphics processing unit (GPU)), main memory 604, and static memory 606 that communicate with each other via bus 608. Computer system 600 may also include a video display unit 610, which may be, but is not limited to, a liquid crystal display (LCD), a flat panel, a solid-state display, or a cathode ray tube (CRT). Computer system 600 may include input devices 612, such as, but not limited to, a keyboard; cursor control devices 614, such as, but not limited to, a mouse; a disk drive unit 616; signal generation devices 618, such as, but not limited to, speakers or a remote control; and a network interface device 620. Network interface device 635 can handle data communication with other devices, modules, units, or components of system 10 or another system or machine.

[0087] The disk drive unit 616 may include a machine-readable medium 622 on which one or more instruction sets 624 are stored, such as, but not limited to, software embodying the methods described herein, including those shown above, or any one or more of the functions. The instructions 624 may also reside wholly or at least partially in main memory 604, static memory 606, processor 602, or combinations thereof during execution by the computer system 600. Main memory 604 and processor 602 may also constitute machine-readable media.

[0088] Similarly, dedicated hardware implementations can be constructed to implement the methods described herein, including but not limited to application-specific integrated circuits (ASICs), programmable logic arrays (PLAs), and other hardware devices. Applications that can include various embodiments of the apparatus and systems broadly encompass a wide range of electronic and computer systems. Some embodiments implement functionality in two or more specific interconnected hardware modules or devices, wherein associated control and data signals communicate between or through the modules, or as part of an ASIC. Therefore, example system 10 is applicable to software, firmware, and hardware implementations.

[0089] According to various embodiments of this disclosure, the methods described herein are intended to operate as software programs running on a computer processor. Furthermore, software implementations may include, but are not limited to, distributed processing or component / object distributed processing, parallel processing, or virtual machine processing, and may also be constructed to implement the methods described herein.

[0090] This disclosure envisions a machine-readable medium 622 containing instructions 624, enabling a device connected to a communication network 635, another network, or a combination thereof to send or receive voice, video, or data, and to communicate using the instructions via the communication network 635, another network, or a combination thereof. Instructions 624 can also be transmitted or received via a network interface device 620 through the communication network 635, another network, or a combination thereof.

[0091] Although machine-readable medium 622 is shown as a single medium in the example embodiment, the term "machine-readable medium" should be considered to include a single medium or multiple media (e.g., a centralized or distributed database and / or associated caches and servers) that store one or more sets of instructions. The term "machine-readable medium" should also be considered to include any medium capable of storing, encoding, or carrying a set of instructions that is executed by a machine and causes the machine to perform any or more of the methods of this disclosure.

[0092] Therefore, the terms "machine-readable medium," "machine-readable device," or "computer-readable device" should be considered to include, but are not limited to: storage devices, solid-state storage, such as memory cards or other packages containing one or more read-only (non-volatile) memories, random access memories, or other rewritable (volatile) memories; magneto-optical or optical media, such as magnetic disks or magnetic tapes; or other independent information archives or archive sets considered equivalent to tangible storage media. "Machine-readable medium," "machine-readable device," or "computer-readable device" may be non-transient and, in some embodiments, may not include the wave or signal itself. Therefore, this disclosure is considered to include any one or more of the machine-readable media or distributed media listed herein, and includes equivalents and subsequent media recognized in the art in which the software implementations herein are stored.

[0093] The description of the arrangements herein is intended to provide a general understanding of the structure of various embodiments and is not intended as a complete description of all elements and features of the apparatus and system 10 that may utilize the structures described herein. Other arrangements may be utilized and derived from these settings, allowing for structural and logical substitutions and changes without departing from the scope of this disclosure. For example, the calibration data output may be limited in one or more ways, or otherwise customized for use by the data client 50. For example, position coordinates may be transformed to a desired coordinate system or a general coordinate system used by the data client 50. In one example, coordinates are provided relative to image frames in a grid pattern, pixel-by-pixel, feature-dependent manner, or otherwise. In one example, coordinates may be provided relative to the position of the drone 40 / camera 42. While system 10 is capable of generating calibration output at 60 fps or higher, this description is not limited to camera calibration in a strict order for each frame. For example, one or more sequential frames may be skipped, allowing calibration output to be provided for every other image frame, every first image frame, second image frame, fourth image frame, and fifth image frame, or other image frame patterns. In another embodiment, system 10 may be configured to provide calibration relative to image frames based on tracking activity obtained from analysis of sequential image frames, in order to determine whether sufficient movement has occurred to warrant performing all or part of the calibration operation on a particular frame.

[0094] It should be understood that the figures are merely representative, and the description and drawings should be viewed in an illustrative rather than restrictive sense. Therefore, although specific arrangements have been illustrated and described herein, it should be understood that any arrangement intended to achieve the same purpose may be substituted for the specific arrangement shown. This disclosure is intended to cover any and all modifications or variations of the various embodiments and arrangements of the invention. Combinations of the above arrangements, as well as other arrangements not specifically described herein, will be apparent to those skilled in the art upon reading the above description. Therefore, this disclosure is not intended to be limited to the specific settings disclosed as the best mode contemplated for carrying out the invention, but rather the invention will encompass all embodiments and arrangements falling within the scope of the appended claims.

[0095] Any reference to “various embodiments,” “certain embodiments,” “some embodiments,” “one embodiment,” “embodiment,” or their “example,” “configuration,” or “instance” counterparts generally implies that the specific elements, features, and / or aspects described are included in at least one embodiment, but may not refer to the same embodiment. Furthermore, while the phrase “in one such embodiment” or “in some such embodiments” generally refers to and describes the foregoing embodiments, it is not intended to suggest that the elements, features, and aspects of the embodiments introduced by this phrase are limited to the foregoing embodiments; rather, this phrase is provided to assist the reader in understanding the various elements, features, and aspects disclosed herein, and it should be understood that those skilled in the art will recognize that such elements, features, and aspects presented in the described embodiments can be applied in combination with various other combinations and sub-combinations of elements, features, and aspects presented in the disclosed embodiments. Unless otherwise indicated, the grammatical articles “a,” “an,” “one,” and “the” used in the specification are intended to include “at least one” or “one or more.” Therefore, the articles used in the specification refer to one or more of the grammatical objects of the article (i.e., “at least one”). For example, "component" means one or more components, and therefore, it is possible that more than one component may be envisioned and employed or used in the implementation of the described embodiments. Furthermore, unless the context of use requires otherwise, the use of singular nouns includes plural nouns, and the use of plural nouns includes singular nouns.

Claims

1. A system for calibrating a moving camera, the system comprising: One or more processors; as well as One or more memories store instructions that, when executed by the one or more processors, cause the system to: Receive a video feed, the video feed comprising sequential image frames captured by the camera; The calibration of the current image frame proposal is determined by performing at least one of the following: Automatic discovery includes: detecting features in the current image frame and matching the features in the current image frame with features in a previously calibrated reference image, assigning 3D positions to the matching features in the 3D model by rendering at the feature locations, and solving for calibration values ​​and setting the proposed calibration for the current image frame; Based on waypoint selection, the process includes: obtaining a reference calibration previously generated for waypoint locations, and, if the camera meets a proximity threshold relative to the waypoint, setting the proposed calibration of the current image frame as the reference calibration; or Predicting based on a previously refined calibration obtained for a preceding image frame includes: replicating the previously refined calibration or adjusting the previously refined calibration using a motion model, and setting the proposed calibration accordingly for the current image frame; Performing a calibration refinement process includes: comparing a rendered image with the current image frame using a rendering engine and adjusting calibration values ​​to minimize differences, thereby generating a refined calibration, wherein the rendering engine is configured to render the 3D model based on the proposed calibration; and Output the refined calibration.

2. The system according to claim 1, wherein, The memory stores a calibration library, which includes previously calibrated reference images and reference calibrations. The previously calibrated reference images and reference calibrations are used both automatically discovered and based on waypoint selection to determine the proposed calibration.

3. The system according to claim 1, wherein, The instructions further enable the system to generate a reference calibration, including aligning a virtual camera view within the 3D model with a reference image, associating points in the 3D model with pixels in the reference image, and fitting a distortion model.

4. The system according to claim 1, wherein, The instruction further enables the system to select the reference calibration as the proposed calibration when the camera's position meets a proximity threshold relative to the waypoint position.

5. The system according to claim 1, wherein, The refined calibration includes position coordinates and camera orientation values.

6. The system according to claim 1, wherein, The refined calibration also includes camera parameters, which include at least one of focal length or distortion value.

7. The system according to claim 1, wherein, The instructions further instruct the system to determine proposed calibrations on image frames in the order of the video feed and perform a refinement process, such that each subsequent refinement calibration is based on a proposed calibration derived from the previously refined calibration.

8. The system according to claim 7, wherein, The instructions further enable the system to output refined calibrations in real time, wherein the frame rate reaches 60 frames per second and the latency per frame is less than 300 milliseconds.

9. The system according to claim 1, wherein, The instructions further enable the system to detect features in the current image frame and reference image during automatic discovery, calculate descriptors, match descriptors to form feature correspondences, and assign 3D positions to the matched features by rendering the 3D model at the feature locations.

10. The system according to claim 9, wherein, The instructions further instruct the system to use nonlinear optimization to solve for position, rotation, and translation in order to calculate and set the proposed calibration for the current image frame.

11. The system according to claim 10, wherein, The instructions further instruct the system to evaluate multiple candidate reference images and select the proposed calibration that produces the lowest correspondence error as the starting estimate for the calibration refinement process.

12. The system according to claim 1, wherein, The rendering engine includes a data structure configured to efficiently query a subset of points in the point cloud that are visible from the proposed calibration, wherein the point density varies with distance from the camera position and points outside the view are omitted.

13. The system according to claim 12, wherein, The instructions further enable the system to stream visible points to GPU memory and evict invisible points as the viewpoint changes, in order to maintain a fixed memory footprint while rendering large-scale point clouds.

14. The system according to claim 1, wherein, The instructions further enable the system to minimize the least-squares cost function between the rendered image and the current image frame, and to accelerate residual calculation and optimization updates using the GPU.

15. The system of claim 1, further comprising an updating engine, wherein, The instructions further instruct the system to incorporate colors from calibrated image frames into the 3D model to replace the previous colors at the corresponding points.

16. The system according to claim 15, wherein, The instruction further causes the system to trigger a color update if a movement threshold is exceeded, the movement threshold including the distance or angular displacement traveled between sequential frames.

17. The system according to claim 15, wherein, The instructions further instruct the system to render the 3D model according to the refined calibration, in order to identify visible points and map the pixel colors from the calibrated image frames onto the visible points.

18. The system according to claim 1, wherein, The instructions further instruct the system to perform drift correction, including: detecting accumulated errors on sequential frames, correcting the calibration of reference frames, and gradually incorporating the corresponding adjustments into subsequent refinement processes to maintain smooth tracking.

19. A method for calibrating a moving camera, the method comprising: Receive a video feed, the video feed comprising sequential image frames captured by the camera; For the current image frame, the proposed calibration is determined by performing at least one of the following: Automatic discovery includes: detecting features in the current image frame and matching the features in the current image frame with features in a previously calibrated reference image, assigning 3D positions to the matching features in the 3D model by rendering at the feature locations, and solving for calibration values ​​and setting the proposed calibration for the current image frame; Based on waypoint selection, the process includes: obtaining a reference calibration previously generated for waypoint locations, and, if the camera meets a proximity threshold relative to the waypoint, setting the proposed calibration of the current image frame as the reference calibration; or Predicting based on a previously refined calibration obtained for a preceding image frame includes: replicating the previously refined calibration or adjusting the previously refined calibration using a motion model, and setting the proposed calibration accordingly for the current image frame; Performing a calibration refinement process includes: rendering the 3D model based on the proposed calibration, comparing the rendered image with the current image frame, and adjusting the calibration values ​​to minimize the difference, thereby generating a refined calibration; and Output the refined calibration.

20. A system for calibrating a camera undergoing movement, the system comprising: One or more processors; as well as One or more memories store instructions that, when executed by the one or more processors, cause the system to: Receive a video feed, the video feed comprising sequential image frames captured by the camera; For the current image frame, a proposed calibration is determined by utilizing previously refined calibrations obtained for previous image frames, including at least one of the following: Copy the previously refined calibration, or The previously refined calibration is adjusted using a motion model based on changes in position and orientation across multiple previous frames; Performing a calibration refinement process includes: rendering a 3D model based on the proposed calibration, comparing the rendered image with the current image frame, and adjusting the calibration values ​​to minimize the difference, thereby generating a refined calibration; and The system outputs the refined calibration at a frame rate of 60 frames per second or higher.