Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
nachifur committed Jan 31, 2021
1 parent 2e7be0f commit a97889c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -720,5 +720,5 @@ def resize(self, img, scale):
return img

def rotate(self, id):
img = Image.open(self.flist[id]).convert('RGB').rotate(90)
img = Image.open(self.flist[id]).convert('RGB').rotate(-90)
img.save(self.flist[id])

0 comments on commit a97889c

Please sign in to comment.