LoginSignup
7
3

More than 5 years have passed since last update.

Python + OpenCVでgif画像を読み込む

Posted at
python
def read_gif(filename):
    gif = cv2.VideoCapture('sample.gif')
    _, img = gif.read()
    return img  

readで1フレームずつ読み込む模様

7
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
3