b82aa91395df7c8e35f677037c210764094d5c64,test/augmenters/test_geometric.py,TestPerspectiveTransform,test_empty_polygons,#TestPerspectiveTransform#,5509

Before Change



        observed = aug.augment_polygons(psoi)

        assert_cbaois_equal(observed, psoi)

    def test_polygons_under_extreme_scale_values(self):
        // test extreme scales
        // TODO when setting .min_height and .min_width in PerspectiveTransform

After Change



    def test_empty_polygons(self):
        psoi = ia.PolygonsOnImage([], shape=(20, 10, 3))
        self._test_empty_cba(psoi, "augment_polygons")

    def test_polygons_under_extreme_scale_values(self):
        // test extreme scales
        // TODO when setting .min_height and .min_width in PerspectiveTransform
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: aleju/imgaug
Commit Name: b82aa91395df7c8e35f677037c210764094d5c64
Time: 2019-10-02
Author: kontakt@ajung.name
File Name: test/augmenters/test_geometric.py
Class Name: TestPerspectiveTransform
Method Name: test_empty_polygons


Project Name: aleju/imgaug
Commit Name: ab11f67ef80ca205f9c4ae6d7f4dc7d43e829c19
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_blend.py
Class Name: TestAlphaElementwise
Method Name: test_empty_polygons


Project Name: aleju/imgaug
Commit Name: 51cf14a916b88493885988004646aee02a2fa5b3
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_blend.py
Class Name: TestAlpha
Method Name: test_keypoints_are_empty


Project Name: aleju/imgaug
Commit Name: ab11f67ef80ca205f9c4ae6d7f4dc7d43e829c19
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_blend.py
Class Name: TestAlphaElementwise
Method Name: test_keypoints_are_empty