Skip to content

implemented extract_frames & extract_audio#6

Open
YifanZhang05 wants to merge 1 commit intomainfrom
Yifan_Onboarding
Open

implemented extract_frames & extract_audio#6
YifanZhang05 wants to merge 1 commit intomainfrom
Yifan_Onboarding

Conversation

@YifanZhang05
Copy link

No description provided.

Copy link
Contributor

@eshaan-mehta eshaan-mehta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Just read through the feedback and keep it in mind for when we write actual code


count, success = 0, True
while success:
success, image = video.read() # read a frame
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be good to add some error handling here. If it is not successful, the image could be corrupt and you would be saving bad data. Something to keep in mind

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants