mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-07 00:09:14 +08:00
matching params
This commit is contained in:
1 parent
59df9130a1
commit
a1925788ba
1 file changed
+7
-7
@@ -493,13 +493,13 @@ def run_opensfm(
|
|||||||
# TODO cleanup config
|
# TODO cleanup config
|
||||||
config = {
|
config = {
|
||||||
"processes": 12,
|
"processes": 12,
|
||||||
"matching_bow_neighbors": 6,
|
"matching_order_neighbors": 20,
|
||||||
"feature_process_size": 1280,
|
"feature_process_size": 1024,
|
||||||
"triangulation_threshold": 0.004,
|
"triangulation_threshold": 0.006,
|
||||||
"triangulation_type": "ROBUST",
|
"triangulation_type": "ROBUST",
|
||||||
"min_track_length": 3,
|
"min_track_length": 2,
|
||||||
"retriangulation_ratio": 2,
|
"retriangulation_ratio": 1.5,
|
||||||
"bundle_new_points_ratio": 2,
|
"bundle_new_points_ratio": 1.5,
|
||||||
}
|
}
|
||||||
with open(opensfm_dir / "config.yaml", "w") as config_file:
|
with open(opensfm_dir / "config.yaml", "w") as config_file:
|
||||||
yaml.dump(config, config_file)
|
yaml.dump(config, config_file)
|
||||||
@@ -756,7 +756,7 @@ class ProcessVideo:
|
|||||||
"""Path the data, either a video file or a directory of images."""
|
"""Path the data, either a video file or a directory of images."""
|
||||||
output_dir: Path
|
output_dir: Path
|
||||||
"""Path to the output directory."""
|
"""Path to the output directory."""
|
||||||
num_frames_target: int = 120
|
num_frames_target: int = 150
|
||||||
"""Target number of frames to use for the dataset, results may not be exact."""
|
"""Target number of frames to use for the dataset, results may not be exact."""
|
||||||
camera_type: Literal["perspective", "fisheye"] = "perspective"
|
camera_type: Literal["perspective", "fisheye"] = "perspective"
|
||||||
"""Camera model to use."""
|
"""Camera model to use."""
|
||||||
|
|||||||
Reference in new issue
Block a user