e58fd535d582f580d48d9d41854ad5ad982ade15,plugins/extract/align/cv2_dnn.py,Align,pad_image,#Any#Any#,139

Before Change


                                    pad_r,
                                    cv2.BORDER_CONSTANT,
                                    value=(0, 0, 0))
        logger.trace("Padded shape: %s", retval.shape)
        return retval

    def predict(self, batch):
         Predict the 68 point landmarks 

After Change


                                          pad_r,
                                          cv2.BORDER_CONSTANT,
                                          value=(0, 0, 0))
        offsets = (pad_l - pad_r, pad_t - pad_b)
        logger.trace("image_shape: %s, Padded shape: %s, box: %s, offsets: %s",
                     image.shape, padded_image.shape, box, offsets)
        return padded_image, offsets
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: deepfakes/faceswap
Commit Name: e58fd535d582f580d48d9d41854ad5ad982ade15
Time: 2020-03-06
Author: 36920800+torzdf@users.noreply.github.com
File Name: plugins/extract/align/cv2_dnn.py
Class Name: Align
Method Name: pad_image


Project Name: arraiy/torchgeometry
Commit Name: 0234315776751221ef9da5d2073e32f9f54c01bb
Time: 2020-11-01
Author: edgar.riba@gmail.com
File Name: test/color/test_gray.py
Class Name: TestBgrToGrayscale
Method Name: test_jit


Project Name: arraiy/torchgeometry
Commit Name: 08143b8126d203ece62227f3b4bf157eeff5e58f
Time: 2019-05-04
Author: edgar.riba@gmail.com
File Name: test/test_pinhole.py
Class Name: TestNormalizePixelCoordinates
Method Name: test_jit