Skip to content

Commit

Permalink
Added downsample_max_edge missing option. (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
pablospe authored Mar 8, 2024
1 parent be0f269 commit 72915cc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pipelines/pipeline_navvis_rig.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ def run(
qrcode_detection: bool = True,
use_simplified_mesh: bool = False,
visualization: bool = True,
downsample_max_edge: Optional[int] = None,
**kargs,
):
capture_path = output_path or Path.cwd() / "lamar-capture-format"
Expand Down Expand Up @@ -138,6 +139,7 @@ def run(
tiles_format,
session,
export_as_rig=True,
downsample_max_edge=downsample_max_edge,
copy_pointcloud=True,
)

Expand Down Expand Up @@ -302,6 +304,13 @@ def run(
default=False,
help="Write out QR maps in json format. Default: False.",
)
parser.add_argument(
"--downsample_max_edge",
type=int,
default=None,
help="Downsample the resolution of RGB images and depth maps. "
"This reduces data size and processing time.",
)
args = parser.parse_args().__dict__

run(**args)

0 comments on commit 72915cc

Please sign in to comment.