(
    reconstruction: types.Reconstruction,
    camera_priors: Dict[str, pygeometry.Camera],
    rig_camera_priors: Dict[str, pymap.RigCamera],
    gcp: Optional[List[pymap.GroundControlPoint]],
    central_shot_id: str,
    config: Dict[str, Any],
)
return pt_ids, report
Bundle adjust the local neighborhood of a shot.
Bundle adjust the local neighborhood of a shot.
Bundle adjust the local neighborhood of a shot .
def bundle_local(
    reconstruction: types.Reconstruction,
    camera_priors: Dict[str, pygeometry.Camera],
    rig_camera_priors: Dict[str, pymap.RigCamera],
    gcp: Optional[List[pymap.GroundControlPoint]],
    central_shot_id: str,
    config: Dict[str, Any],
) -> Tuple[Dict[str, Any], List[int]]:
    """Bundle adjust the local neighborhood of a shot."""
    pt_ids, report = pysfm.BAHelpers.bundle_local(
        reconstruction.map,
        dict(camera_priors),
        dict(rig_camera_priors),
        gcp if gcp is not None else [],
        central_shot_id,
        config,
    )
    logger.debug(report["brief_report"])
    return pt_ids, report
def bundle_local ( reconstruction : types . Reconstruction , camera_priors : Dict [ str , pygeometry . Camera ] , rig_camera_priors : Dict [ str , pymap . RigCamera ] , gcp : Optional [ List [ pymap . GroundControlPoint ] ] , central_shot_id : str , config : Dict [ str , Any ] , ) -> Tuple [ Dict [ str , Any ] , List [ int ] ] : pt_ids , report = pysfm . BAHelpers . bundle_local ( reconstruction . map , dict ( camera_priors ) , dict ( rig_camera_priors ) , gcp if gcp is not None else [ ] , central_shot_id , config , ) logger . debug ( report [ "brief_report" ] ) return pt_ids , report