Skip to content

Commit

Permalink
Merge pull request #157 from luxonis/sync_nn_depth
Browse files Browse the repository at this point in the history
Sync NN meta with depth(x,y,z), sync previewout & metaout
  • Loading branch information
alex-luxonis committed Jul 30, 2020
2 parents 944ebb1 + 8f596e8 commit dc7dae1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions depthai.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,10 @@
'fps': args['mono_fps'],
},
},
'app':
{
'sync_video_meta_streams': args['sync_video_meta'],
},
#'video_config':
#{
# 'rateCtrlMode': 'cbr',
Expand Down
5 changes: 4 additions & 1 deletion depthai_helpers/cli_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,10 @@ def parse_args():

parser.add_argument("-ff", "--full-fov-nn", default=False, action="store_true",
help="Full RGB FOV for NN, not keeping the aspect ratio")


parser.add_argument("-sync", "--sync-video-meta", default=False, action="store_true",
help="Synchronize 'previewout' and 'metaout' streams")

parser.add_argument("-s", "--streams",
nargs="+",
type=_stream_type,
Expand Down

0 comments on commit dc7dae1

Please sign in to comment.