Permalink
Browse files

remove unnecessary import

  • Loading branch information...
1 parent 2508f7b commit 6f35a25a1781f1908b3a08bb3ff03a1ad8a9d230 Dominik Dabrowski committed Nov 1, 2012
Showing with 0 additions and 6 deletions.
  1. +0 −6 similus/similus.py
View
@@ -1,4 +1,3 @@
-import Image
import scipy
from scipy.misc import fromimage
from scipy.signal.signaltools import correlate2d
@@ -16,8 +15,3 @@ def compare(im1, im2):
def compare_data(d1, d2):
return correlate2d(d1, d2, mode='same').max()
-
-if __name__ == '__main__':
- print compare(Image.open('/home/ddd/pr/sc2wow/races/0/t0.png'), Image.open('/home/ddd/pr/sc2wow/races/1/t1.png'))
- print compare(Image.open('/home/ddd/pr/sc2wow/races/1/t1.png'), Image.open('/home/ddd/pr/sc2wow/races/1/z1.png'))
-

0 comments on commit 6f35a25

Please sign in to comment.