How to read gif in python ?
How do I read a gif in opencv python ? I tried imread but it is reading nothing. It is in the same directory as my code.
How do I read a gif in opencv python ? I tried imread but it is reading nothing. It is in the same directory as my code.
you can't using imread() , there's no codec for that builtin (still a license problem)
you can abuse VideoCapture (works, because ffmpeg can read gif's) , or you'll have to fallback to 3rd party libs like PIL
Asked: 2018-03-03 06:43:20 -0600
Seen: 14,001 times
Last updated: Mar 03 '18
Understand the memory managment while using imread() on allocated Mat
Problem Reading PNG with Transparency layer
Imread in Android OpenCV shows an image with too much blue colour
can't imread or imwrite in python
OpenCV Java API: Highgui.imread() and paths pointing to files in a jar