Skip to content

Instantly share code, notes, and snippets.

View favrei's full-sized avatar

peter hsu favrei

  • Taipei, Taiwan
View GitHub Profile
@favrei
favrei / test_imgaug.py
Last active May 16, 2019 13:48
test code that duplicates bbox issue
import random
import imageio
import imgaug as ia
import numpy as np
from imgaug.augmentables.bbs import BoundingBox, BoundingBoxesOnImage
from imgaug import augmenters as iaa
ia.imgaug.seed(10)
random.seed(5)