Opencv draws frames from the video and saves it as a picture

Table of contents

foreword

1. Save a single video in a single folder

2. Process multiple videos under the folder together


foreword

Note: The video read by opencv cannot have a Chinese path.

The path for imread and imwrite to read pictures in cv2 cannot contain Chinese or spaces, it can only be English or numbers, otherwise an error will be reported!

Guess you like

Origin blog.csdn.net/weixin_45823221/article/details/128399626