germanattanasio / visual-recognition-nodejs

DEPRECATED: this repo is no longer actively maintained
Apache License 2.0
361 stars 351 forks source link

Adds code to respect exif orientation #241

Closed kognate closed 7 years ago

kognate commented 7 years ago

If exif orientation is found, it's respected and the returned image is oriented correctly. This code also changes the resize to be based on transform rather than manually.

Fixes #240 and #239 (though there may be disagreement about that one).