
How to download files:

Copy all the script files to a directory
create the subdirectories

imagesQ99/HD
imagesQ99/4K
imagesQ99/SD
tmp

Then edit the path in loadfilesQ99 to point this directory

Edit the path csvPath to the directory where you hae downloaded the CSV file from OpenImage
(available here: https://storage.googleapis.com/openimages/2016_08/images_2016_08_v5.tar.gz)

Run loadfilesQ99.py using python2:

python loadfilesQ99.py

Now edit the matlab file convertImages.m:

change the jpegDir to the path of your directory/imagesQ99/HD/
change the destDir to where you want your .yuv files

Run convertImages.m with matlab:

matlab
>> convertImages.m




