Skip to content

Commit

Permalink
change name again
Browse files Browse the repository at this point in the history
  • Loading branch information
rien333 committed Jun 24, 2018
1 parent 0e6d71e commit a0576b9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions image_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def background_im():
# Returns: scale and image array
# obj_f is a file path refering to an object/mask combo
# background is a numpy image
def generate_image(cat, thresh=0.5, obj_f=None, background=None, total_size=False):
def generate_image(cat, thresh=0.5, obj_f=None, background=None, size=False):
if obj_f:
obj = cv2.imread(obj_f, 1) # RGB
else:
Expand Down Expand Up @@ -295,7 +295,6 @@ def generate_set(fidx, nfiles, cat, thresh=0.5):
fidx += 1

# _, obj_f = single_obj()

if __name__ == "__main__":
b = background_im()
for i in range(4):
Expand Down

0 comments on commit a0576b9

Please sign in to comment.