Skip to content

Instantly share code, notes, and snippets.

View amrithmmh's full-sized avatar

ENigma amrithmmh

  • India
View GitHub Profile
@soruly
soruly / compre.py
Last active June 15, 2023 14:38
Compare two images using OpenCV and SIFT in python
import cv2
import sys
import os.path
import numpy as np
def drawMatches(img1, kp1, img2, kp2, matches):
rows1 = img1.shape[0]
cols1 = img1.shape[1]
rows2 = img2.shape[0]
@42Factory
42Factory / thingspeak-install2.sh
Last active May 16, 2020 16:50 — forked from silvio-didonna/thingspeak-install2.sh
Bash script to install Thingspeak server on Raspberry Pi running Raspbian.
#!/bin/bash
# Install Thingspeak server on Raspberry Pi running Raspbian.
# Based on work of Andrew Bythell <abythell@ieee.org> and Silvio <tnw513>
# Install required packages
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get -y install build-essential mysql-server mysql-client libmysqlclient-dev
sudo apt-get -y install libxml2-dev libxslt-dev git-core curl rubygems
sudo apt-get -y install ruby2.1 ruby2.1-dev