This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Install Thingspeak server on Raspberry Pi running Raspbian. | |
# Based on work of Andrew Bythell <[email protected]> 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 |