Skip to content

Commit

Permalink
okay
Browse files Browse the repository at this point in the history
  • Loading branch information
hakanaktas1 committed May 16, 2023
1 parent 17e6a74 commit 251220a
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 4 deletions.
Binary file modified src/aug-tool/dataAugmentor/__pycache__/annAug.cpython-39.pyc
Binary file not shown.
Binary file modified src/aug-tool/dataAugmentor/__pycache__/dataAug.cpython-39.pyc
Binary file not shown.
Binary file modified src/aug-tool/dataAugmentor/__pycache__/imgAug.cpython-39.pyc
Binary file not shown.
8 changes: 4 additions & 4 deletions src/aug-tool/dataAugmentor/imgAug.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ def apply_adj(self):
lucky_shot = random.randint(0, len(queue) - 1)

if "Brigness" == queue[lucky_shot]:
self.image = ImageEnhance.Brightness(self.image)
self.aug_image = ImageEnhance.Brightness(self.aug_image)
elif "Contrast" == queue[lucky_shot]:
self.image = ImageEnhance.Contrast(self.image)
self.aug_image = ImageEnhance.Contrast(self.aug_image)
elif "Sharpness" == queue[lucky_shot]:
self.image = ImageEnhance.Sharpness(self.image)
self.aug_image = ImageEnhance.Sharpness(self.aug_image)

self.image = self.image.enhance(brig_factor)
self.aug_image = self.aug_image.enhance(brig_factor)
else:
pass
Binary file modified src/aug-tool/dataOpener/__pycache__/xmlOp.cpython-39.pyc
Binary file not shown.
Binary file modified src/aug-tool/dataSaver/__pycache__/annSav.cpython-39.pyc
Binary file not shown.
Binary file modified src/aug-tool/dataSaver/__pycache__/dataSav.cpython-39.pyc
Binary file not shown.
Binary file modified src/aug-tool/dataSaver/__pycache__/imgSav.cpython-39.pyc
Binary file not shown.

0 comments on commit 251220a

Please sign in to comment.