Skip to content

Commit e63c34c

Browse files
committed
timepoints
1 parent cafba46 commit e63c34c

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

metadata.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,15 @@ def appmetadata() -> AppMetadata:
4747
metadata.add_parameter(
4848
name="stopAt",
4949
type="integer",
50-
default="2 * 60 * 60 * 30", # ~2 hours of video at 30fps
50+
default=108000, # ~2 hours of video at 30fps 1 * 60 * 60 * 30
5151
description="Frame number to stop running. Only works with VideoDocument input. The default is roughly 2 hours of video at 30fps.",
5252
)
53-
53+
metadata.add_parameter(
54+
name="mergeBoxes",
55+
type="boolean",
56+
default=False,
57+
description="if True, creates a single merged bounding box from all detected boxes."
58+
)
5459
return metadata
5560

5661

0 commit comments

Comments
 (0)