a9e3a7530859b4d2fc44f0ac4ade07927f1209d5,test/augmenters/test_geometric.py,TestAffine_translate,test_keypoints_translate_1px_bottom__deterministic,#TestAffine_translate#,1089
Before Change
assert keypoints_equal(observed, self.kpsoi_1px_bottom)
def test_keypoints_translate_1px_bottom__deterministic(self):
aug = iaa.Affine(scale=1.0, translate_px={"x": 0, "y": 1}, rotate=0,
shear=0)
aug_det = aug.to_deterministic()
observed = aug_det.augment_keypoints(self.kpsoi)
assert keypoints_equal(observed, self.kpsoi_1px_bottom)
// ---------------------
After Change
self.kpsoi, self.kpsoi_1px_bottom, False)
def test_keypoints_translate_1px_bottom__deterministic(self):
self._test_cba_translate_px(
"augment_keypoints", {"x": 0, "y": 1},
self.kpsoi, self.kpsoi_1px_bottom, True)
def test_polygons_translate_1px_bottom(self):
self._test_cba_translate_px(
"augment_polygons", {"x": 0, "y": 1},
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 11
Instances
Project Name: aleju/imgaug
Commit Name: a9e3a7530859b4d2fc44f0ac4ade07927f1209d5
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_geometric.py
Class Name: TestAffine_translate
Method Name: test_keypoints_translate_1px_bottom__deterministic
Project Name: aleju/imgaug
Commit Name: a9e3a7530859b4d2fc44f0ac4ade07927f1209d5
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_geometric.py
Class Name: TestAffine_translate
Method Name: test_keypoints_translate_1px_right__deterministic
Project Name: aleju/imgaug
Commit Name: a9e3a7530859b4d2fc44f0ac4ade07927f1209d5
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_geometric.py
Class Name: TestAffine_translate
Method Name: test_keypoints_translate_1px_bottom
Project Name: aleju/imgaug
Commit Name: a9e3a7530859b4d2fc44f0ac4ade07927f1209d5
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_geometric.py
Class Name: TestAffine_translate
Method Name: test_keypoints_translate_1px_right