SysCV / shift-dev

SHIFT Dataset DevKit - CVPR2022
https://www.vis.xyz/shift
MIT License
101 stars 10 forks source link

Support decompressing to tar; decompress to jpg by default. #27

Closed mattiasegu closed 1 year ago

mattiasegu commented 1 year ago

This PR implements decompression to tarball and decompression to .jpg by default.

The following functionalities are still to be implemented:

suniique commented 1 year ago

An example of decompressed tar/hdf5.

$ tar -tvf /Users/taosun/Documents/shift_dataset/discrete/videos/val/front/img_decompressed.tar | head
drwxr-xr-x  0 taosun staff       0 Oct 23 19:55 eba5-a5bd/
-rw-r--r--  0 taosun staff   78153 Oct 23 19:55 eba5-a5bd/00000000_img_front.jpg
-rw-r--r--  0 taosun staff  109909 Oct 23 19:55 eba5-a5bd/00000001_img_front.jpg
-rw-r--r--  0 taosun staff  121730 Oct 23 19:55 eba5-a5bd/00000002_img_front.jpg