a9e3a7530859b4d2fc44f0ac4ade07927f1209d5,test/augmenters/test_geometric.py,TestAffine_translate,test_keypoints_translate_1px_right__deterministic,#TestAffine_translate#,985

Before Change


        assert keypoints_equal(observed, self.kpsoi_1px_right)

    def test_keypoints_translate_1px_right__deterministic(self):
        aug = iaa.Affine(scale=1.0, translate_px={"x": 1, "y": 0}, rotate=0,
                         shear=0)
        aug_det = aug.to_deterministic()

        observed = aug_det.augment_keypoints(self.kpsoi)

        assert keypoints_equal(observed, self.kpsoi_1px_right)

    def test_image_translate_1px_right_skimage(self):

After Change


            self.kpsoi, self.kpsoi_1px_right, False)

    def test_keypoints_translate_1px_right__deterministic(self):
        self._test_cba_translate_px(
            "augment_keypoints", {"x": 1, "y": 0},
            self.kpsoi, self.kpsoi_1px_right, True)

    def test_polygons_translate_1px_right(self):
        self._test_cba_translate_px(
            "augment_polygons", {"x": 1, "y": 0},
Italian Trulli
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_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_right


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_bottom