Skip to content

Commit

Permalink
Comment typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dmpetrov committed Jun 26, 2016
1 parent da9386d commit e4ecab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imagehash/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def whash(image, hash_size = 8, image_scale = None, mode = 'haar', remove_max_ha
coeffs = pywt.wavedec2(pixels, mode, level = dwt_level)
dwt_low = coeffs[0]

# Subsitract median and compute hash
# Substract median and compute hash
med = numpy.median(dwt_low)
diff = dwt_low > med
return ImageHash(diff)

0 comments on commit e4ecab7

Please sign in to comment.