18c63db09d8d95a1b16ad88f88f933e89b00733d,test/augmenters/test_geometric.py,TestAffine_scale,test_keypoints_scale_zoom_in__deterministic,#TestAffine_scale#,379

Before Change


        assert observed[0].keypoints[2].y > 2

    def test_keypoints_scale_zoom_in__deterministic(self):
        aug = iaa.Affine(scale=1.75, translate_px=0, rotate=0, shear=0)
        aug_det = aug.to_deterministic()

        observed = aug_det.augment_keypoints(self.kpsoi)

        assert observed[0].keypoints[0].x < 0
        assert observed[0].keypoints[0].y < 0
        assert observed[0].keypoints[1].x == 1

After Change


            self.kpsoi, self.kpsoi_scaled(1.75, 1.75), False)

    def test_keypoints_scale_zoom_in__deterministic(self):
        self._test_cba_scale(
            "augment_keypoints", 1.75,
            self.kpsoi, self.kpsoi_scaled(1.75, 1.75), True)

    def test_polygons_scale_zoom_in(self):
        self._test_cba_scale(
            "augment_polygons", 1.75,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 11

Instances


Project Name: aleju/imgaug
Commit Name: 18c63db09d8d95a1b16ad88f88f933e89b00733d
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_geometric.py
Class Name: TestAffine_scale
Method Name: test_keypoints_scale_zoom_in__deterministic


Project Name: aleju/imgaug
Commit Name: 18c63db09d8d95a1b16ad88f88f933e89b00733d
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_geometric.py
Class Name: TestAffine_scale
Method Name: test_keypoints_scale_zoom_in__deterministic


Project Name: aleju/imgaug
Commit Name: 18c63db09d8d95a1b16ad88f88f933e89b00733d
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_geometric.py
Class Name: TestAffine_scale
Method Name: test_keypoints_scale_zoom_in_only_y_axis__deterministic


Project Name: aleju/imgaug
Commit Name: 18c63db09d8d95a1b16ad88f88f933e89b00733d
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_geometric.py
Class Name: TestAffine_scale
Method Name: test_keypoints_scale_zoom_in_only_x_axis__deterministic