goberoi / cloudy_vision

Cloudy Vision is an open source tool to test the image labeling capabilities of different computer vision API vendors.
MIT License
229 stars 64 forks source link

python 2/3 compatibility #11

Open iborko opened 6 years ago

iborko commented 6 years ago

I made changes to make this code both python2 and python3 compatible. I replaced the iteritems with items - it doesn't do the same thing, but for very small lists (as the ones in this code) performance impact is insignificant. And of course, results are equal. Also added list in front of zip to make in work in python3 (where zip returns a iterable ZipObject).

goberoi commented 6 years ago

Thank you for the several pull requests you have submitted!

I will take a look at them this weekend and write back or merge away.