The iteration loop [here](https://github.com/olgaliak/active-learning-detect/blob/62617be724bcdb73d94a64ebeeacc27284898a82/tag/upload_vott_json.py#L20) grabs all files and attempt to extract height and width without checking to see if the file is actually an image.