Skip to content

Instantly share code, notes, and snippets.

@virajshah
virajshah / goes16-rtlsdr.md
Created August 26, 2019 01:36 — forked from lxe/goes16-rtlsdr.md
Receive GOES-16 and GOES-17 Images with a Raspberry Pi and RTL-SDR dongle
@virajshah
virajshah / imageSimilarity.py
Created July 30, 2012 17:27
imageSimilarity
import numpy
from PIL import Image
import cv2
def similarness(image1,image2):
"""
Return the correlation distance be1tween the histograms. This is 'normalized' so that
1 is a perfect match while -1 is a complete mismatch and 0 is no match.
"""
# Open and resize images to 200x200