OpenCV3 Tutorials 13 Using OpenCV to Convert to PNG and JPEG

preview_player
Показать описание
In this video we see that we can achieve simple conversions in opencv with a 2 line code. Keep in mind that there are stronger compression algorithms if the intent of your conversion is minimizing the size.

Twitter: @ibrahimokdad
Рекомендации по теме
Комментарии
Автор

When code change to cv2.IMWRITE_JPEG_QUALITY.
You just forgot to change the file extension to ".jpg".
in my case, I found there are so many blocks when
the jpeg_quality is 10 and also I change the file extension.

王騰泓
visit shbcf.ru