leandromoreira / digital_video_introduction

A hands-on introduction to video technology: image, video, codec (av1, vp9, h265) and more (ffmpeg encoding). Translations: 🇺🇸 🇨🇳 🇯🇵 🇮🇹 🇰🇷 🇷🇺 🇧🇷 🇪🇸
https://github.com/leandromoreira/introduction_video_technology
BSD 3-Clause "New" or "Revised" License
15.28k stars 1.32k forks source link

fix usage of decrypted bytescale #124

Closed alanlivio closed 2 years ago

alanlivio commented 2 years ago

The func scipy.misc.bytescale become decrypted as can see here.
The PR follow this suggestion and use skimage.util.img_as_ubyte with same functionality in some notebooks.

alanlivio commented 2 years ago

what do you think @leandromoreira?

leandromoreira commented 2 years ago

Thanks @alanlivio did you try to run it using the provided docker?

alanlivio commented 2 years ago

Hi @leandromoreira, I ran and the patch worked both inside the provided docker and outside the docker (directly from most recent python and pkgs). Without the patch it doesn't works outside the docker.