Skip to content

Commit

Permalink
README: small fixes to API examples
Browse files Browse the repository at this point in the history
  • Loading branch information
iejMac committed Jul 15, 2022
1 parent e899199 commit 31b6f38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ import glob
from video2numpy import video2numpy

VIDS = glob.glob("some/path/my_videos/*.mp4")
FRAME_DIR = "some/path/my_embeddings"
FRAME_DIR = "some/path/my_frames"
take_every_5 = 5

video2numpy(VIDS, FRAME_DIR, take_every_5)
Expand All @@ -75,7 +75,7 @@ VIDS = glob.glob("some/path/my_videos/*.mp4")
take_every_5 = 5
resize_size = 300

reader = FrameReader(VIDS, FRAME_DIR, take_every_5, resize_size)
reader = FrameReader(VIDS, take_every_5, resize_size)

for block, ind_dict in reader:

Expand Down

0 comments on commit 31b6f38

Please sign in to comment.