Quantcast
Channel: pastebin.com – LeakedIn
Viewing all articles
Browse latest Browse all 2834

Potential leak of data: Simple PIN code

$
0
0
Detected 2 occurrence(s) of ‘^\s*pin[code]*\s*(:|=|is|was)\s': g = np.sum(patchesWithColFlat[ind],axis=2) return img if __name__ =='__main__': img = np.random.randint(255,size=[100,100]) sImg = img.shape sP = np.array([39,39]) # size of patch step = np.array([1,1]) # sliding window step size pInd = get_indices_for_un_patchify(sImg,sP,step) patches = patchify(img,pInd) imgOut = unpatchify(patches,pInd) weights = weights_unpatchify(sImg,pInd) imgOut = weights*imgOut print 'Difference of img and imgOut […]

Viewing all articles
Browse latest Browse all 2834

Trending Articles