Skip to content

Commit 276344b

Browse files
authored
demos: add truncation warning (#3848)
Close #3846
1 parent 9a89279 commit 276344b

File tree

52 files changed

+52
-52
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+52
-52
lines changed

demos/action_recognition_demo/python/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Options:
8080
Required. An input to process. The input must be a single image, a folder of images, video file or camera id.
8181
--loop Optional. Enable reading the input in a loop.
8282
-o OUTPUT, --output OUTPUT
83-
Optional. Name of the output file(s) to save.
83+
Optional. Name of the output file(s) to save. Frames of odd width or height can be truncated. See https://github.com/opencv/opencv/pull/24086
8484
-limit OUTPUT_LIMIT, --output_limit OUTPUT_LIMIT
8585
Optional. Number of frames to store in output. If 0 is set, all frames are stored.
8686
-at {en-de,en-mean,i3d-rgb}, --architecture_type {en-de,en-mean,i3d-rgb}

demos/action_recognition_demo/python/action_recognition_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def build_argparser():
4343
args.add_argument('--loop', default=False, action='store_true',
4444
help='Optional. Enable reading the input in a loop.')
4545
args.add_argument('-o', '--output', required=False,
46-
help='Optional. Name of the output file(s) to save.')
46+
help='Optional. Name of the output file(s) to save. Frames of odd width or height can be truncated. See https://github.com/opencv/opencv/pull/24086')
4747
args.add_argument('-limit', '--output_limit', required=False, default=1000, type=int,
4848
help='Optional. Number of frames to store in output. '
4949
'If 0 is set, all frames are stored.')

demos/background_subtraction_demo/cpp_gapi/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Options:
9696
-h Print a usage message.
9797
-i Required. An input to process. The input must be a single image, a folder of images, video file or camera id.
9898
-loop Optional. Enable reading the input in a loop.
99-
-o "<path>" Optional. Name of the output file(s) to save.
99+
-o "<path>" Optional. Name of the output file(s) to save. Frames of odd width or height can be truncated. See https://github.com/opencv/opencv/pull/24086
100100
-limit "<num>" Optional. Number of frames to store in output. If 0 is set, all frames are stored.
101101
-res "<WxH>" Optional. Set camera resolution in format WxH.
102102
-at "<type>" Required. Architecture type: maskrcnn.

demos/background_subtraction_demo/python/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Inference options:
136136
Input/output options:
137137
--loop Optional. Enable reading the input in a loop.
138138
-o OUTPUT, --output OUTPUT
139-
Optional. Name of the output file(s) to save.
139+
Optional. Name of the output file(s) to save. Frames of odd width or height can be truncated. See https://github.com/opencv/opencv/pull/24086
140140
-limit OUTPUT_LIMIT, --output_limit OUTPUT_LIMIT
141141
Optional. Number of frames to store in output. If 0 is set, all frames are stored.
142142
--no_show Optional. Don't show output.

demos/background_subtraction_demo/python/background_subtraction_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def build_argparser():
9191
io_args.add_argument('--loop', default=False, action='store_true',
9292
help='Optional. Enable reading the input in a loop.')
9393
io_args.add_argument('-o', '--output', required=False,
94-
help='Optional. Name of the output file(s) to save.')
94+
help='Optional. Name of the output file(s) to save. Frames of odd width or height can be truncated. See https://github.com/opencv/opencv/pull/24086')
9595
io_args.add_argument('-limit', '--output_limit', required=False, default=1000, type=int,
9696
help='Optional. Number of frames to store in output. '
9797
'If 0 is set, all frames are stored.')

demos/classification_demo/python/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Inference options:
149149
Input/output options:
150150
--loop Optional. Enable reading the input in a loop.
151151
-o OUTPUT, --output OUTPUT
152-
Optional. Name of the output file(s) to save.
152+
Optional. Name of the output file(s) to save. Frames of odd width or height can be truncated. See https://github.com/opencv/opencv/pull/24086
153153
-limit OUTPUT_LIMIT, --output_limit OUTPUT_LIMIT
154154
Optional. Number of frames to store in output. If 0 is set, all frames are stored.
155155
--no_show Optional. Don't show output.

demos/classification_demo/python/classification_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def build_argparser():
7878
io_args.add_argument('--loop', default=False, action='store_true',
7979
help='Optional. Enable reading the input in a loop.')
8080
io_args.add_argument('-o', '--output', required=False,
81-
help='Optional. Name of the output file(s) to save.')
81+
help='Optional. Name of the output file(s) to save. Frames of odd width or height can be truncated. See https://github.com/opencv/opencv/pull/24086')
8282
io_args.add_argument('-limit', '--output_limit', required=False, default=1000, type=int,
8383
help='Optional. Number of frames to store in output. '
8484
'If 0 is set, all frames are stored.')

demos/colorization_demo/python/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Options:
5353
Required. An input to process. The input must be a single image, a folder of images, video file or camera id.
5454
--loop Optional. Enable reading the input in a loop.
5555
-o OUTPUT, --output OUTPUT
56-
Optional. Name of the output file(s) to save.
56+
Optional. Name of the output file(s) to save. Frames of odd width or height can be truncated. See https://github.com/opencv/opencv/pull/24086
5757
-limit OUTPUT_LIMIT, --output_limit OUTPUT_LIMIT
5858
Optional. Number of frames to store in output. If 0 is set, all frames are stored.
5959
--no_show Optional. Don't show output.

demos/colorization_demo/python/colorization_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def build_arg():
5151
in_args.add_argument('--loop', default=False, action='store_true',
5252
help='Optional. Enable reading the input in a loop.')
5353
in_args.add_argument('-o', '--output', required=False,
54-
help='Optional. Name of the output file(s) to save.')
54+
help='Optional. Name of the output file(s) to save. Frames of odd width or height can be truncated. See https://github.com/opencv/opencv/pull/24086')
5555
in_args.add_argument('-limit', '--output_limit', required=False, default=1000, type=int,
5656
help='Optional. Number of frames to store in output. '
5757
'If 0 is set, all frames are stored.')

demos/common/cpp/utils/include/utils/default_flags.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ DEFINE_uint32(limit, 1000, limit_message);
1717
static const char input_message[] = "Required. An input to process. The input must be a single image, a folder of "
1818
"images, video file or camera id.";
1919
static const char loop_message[] = "Optional. Enable reading the input in a loop.";
20-
static const char output_message[] = "Optional. Name of the output file(s) to save.";
20+
static const char output_message[] = "Optional. Name of the output file(s) to save. Frames of odd width or height can be truncated. See https://github.com/opencv/opencv/pull/24086";
2121
static const char limit_message[] = "Optional. Number of frames to store in output. If 0 is set, all frames are stored.";

0 commit comments

Comments
 (0)