Skip to content

Instantly share code, notes, and snippets.

View muhammadazam's full-sized avatar

Muhammad Azam muhammadazam

View GitHub Profile
@muhammadazam
muhammadazam / find_duplicate_images.py
Created May 23, 2020 12:09
Remove duplicate images in a folder
import hashlib
from matplotlib.pyplot import imread, imshow
import matplotlib.pyplot as plt
import time
import numpy as np
import os
import hashlib
#######################
# Variables
function initializeMap() {
var data, i, options, r, scatter, val, x, xaxis, y, yaxis;
r = new Bokeh.Random(123456789);
var esri_natgeo_map_service = 'http://server.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer/tile/{Z}/{Y}/{X}';
var esri_imagery_label = 'http://server.arcgisonline.com/ArcGIS/rest/services/Reference/World_Boundaries_and_Places/MapServer/tile/{Z}/{Y}/{X}';
var osm_service = 'http://c.tile.openstreetmap.org/{Z}/{X}/{Y}.png';
var bing_service = 'http://t0.tiles.virtualearth.net/tiles/a{Q}.jpeg?g=854&mkt=en-US&token=Anz84uRE1RULeLwuJ0qKu5amcu5rugRXy1vKc27wUaKVyIv1SVZrUjqaOfXJJoI0'