Skip to content

Commit

Permalink
chore: change azure to camera type
Browse files Browse the repository at this point in the history
  • Loading branch information
versey-sherry committed Mar 28, 2023
1 parent 3e7249e commit 855b080
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions moseq2_pca/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ def common_dask_parameters(function):
@click.option('--output-file', default='pca', type=str, help='Name of h5 file for storing pca results')
@click.option('--local-processes', default=False, type=bool, help='Used with a local cluster. If True: use processes, If False: use threads')
@click.option('--overwrite-pca-train', default=False, type=bool, help='Used to bypass the pca overwrite question. If True: skip question, run automatically')
@click.option('--azure', default=False, type=bool, help='specify if this is depth videos from Azure Kinect camera')
@click.option('--camera-type', default='k2', type=str, help='specify the camera type (k2 or azure), default is k2')
def train_pca(input_dir, output_dir, output_file, **cli_args):
# function writes output pca path to config_data
if cli_args.get('azure'):
if cli_args.get('camera_type') == 'azure':
# check if parameters are set to k2 default, change to azure default
print('Updating parameters for Azure Kinect camera...')
if cli_args['gaussfilter_space'] == (1.5, 1):
Expand Down

0 comments on commit 855b080

Please sign in to comment.