Skip to content

Commit f6d4139

Browse files
authored
Update README.md
1 parent e33aa6b commit f6d4139

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,9 @@ Each sample is calculated by first computing the optical flow between consecutiv
141141

142142

143143

144-
## CLI and Make Examples
144+
## Command Line Interface (CLI) and Make Examples
145145

146-
There examples in the `Examples` directory. Some test videos are in this same package under `slvideotools/data`.
146+
There are examples in the `Examples` directory. Some test videos are in this same package under `slvideotools/data`.
147147

148148

149149
## Module usage
@@ -214,15 +214,15 @@ with ImageDirFrameProducer(source_dir="my/frames/") as prod,\
214214
width, height, depth = frame.shape
215215
assert depth == 3
216216
# Transform the frame the way you want
217-
# [...]
217+
# new_frame = [...]
218218

219219
# Feed the frame to output video
220-
cons.consume(frame=frame)
220+
cons.consume(frame=new_frame)
221221
```
222222

223-
of course, any of combination of _image_dir_ or _video_ can be used for input or output.
223+
of course, any combination of _image_dir_ or _video_ can be used for input or output.
224224

225-
There are also a couple of factory methods, automatically determining if the source, or destination is a directory or a video file.
225+
There are also a couple of factory methods, automatically determining if the source, or destination, is a directory or a video file.
226226
For example:
227227

228228
```python

0 commit comments

Comments
 (0)