-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: serve can now link the calibration feat: add auto compression + auto sync feat: add /v1/reset fix: fix npy compression.wrong.filename
- Loading branch information
1 parent
71f5bdd
commit 6d758ab
Showing
13 changed files
with
676 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import argparse | ||
import numpy as np | ||
from typing import Tuple | ||
|
||
from realsense_recorder.io import compress_record, sync_cameras | ||
|
||
# def detect_fiducials(base_dir: str): | ||
# pass | ||
|
||
|
||
def worker(base_dir: str): | ||
compress_record(base_dir) | ||
sync_cameras(base_dir) | ||
|
||
|
||
def main(args): | ||
worker(args.base_dir) | ||
pass | ||
|
||
|
||
def entry_point(argv): | ||
parser = argparse.ArgumentParser(description='Recorder') | ||
parser.add_argument('--base_dir', type=str, help='Base directory', default='') | ||
args = parser.parse_args(argv) | ||
main(args) | ||
|
||
|
||
if __name__ == '__main__': | ||
import sys | ||
|
||
entry_point(sys.argv[1:]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Oops, something went wrong.