mmcv.image.use_backend¶
- mmcv.image.use_backend(backend: str) → None[source]¶
Select a backend for image decoding.
- Parameters
backend (str) – The image decoding backend type. Options are cv2,
pillow – //github.com/lilohuang/PyTurboJPEG)
(see https (turbojpeg) – //github.com/lilohuang/PyTurboJPEG)
tifffile. turbojpeg is faster but it only supports .jpeg (and) –
format. (file) –