Skip to content

Instantly share code, notes, and snippets.

View huleg's full-sized avatar
🌏
Enjoying on the Earth

Luke Alex Reeve huleg

🌏
Enjoying on the Earth
  • Cambridge, MA
View GitHub Profile
@huleg
huleg / install-docker.sh
Created June 3, 2022 09:44 — forked from p3jitnath/install-docker.sh
Docker and Nvidia Docker installation in Ubuntu 20.04 LTS
# WARNING : This gist in the current form is a collection of command examples. Please exercise caution where mentioned.
# Docker
sudo apt-get update
sudo apt-get remove docker docker-engine docker.io
sudo apt install docker.io
sudo systemctl start docker
sudo systemctl enable docker
docker --version
@huleg
huleg / ZomBuster.sh
Created April 8, 2017 00:30 — forked from Lauszus/ZomBuster.sh
Install OpenCV on minimal Raspbian image for use with: https://github.com/Lauszus/ImageAnalysisWithMicrocomputer30330
#!/bin/bash -e
gpio mode 8 up # Input with internal pull-up resistor
#echo "Compiling..."
#make -C ~/ImageAnalysisWithMicrocomputer30330/ZomBuster/src 1> /dev/null
echo "Press button to start"
while true; do
while [ $(gpio read 8) == 1 ]; do
@huleg
huleg / SimpleVideoStabilizer.cpp
Created March 16, 2017 07:28 — forked from royshil/SimpleVideoStabilizer.cpp
A simple video stabilizer in OpenCV, based on goodFeaturesToTrack, calcOpticalFlowPyrLK and estimateRigidTransform.
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/features2d/features2d.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/video/video.hpp>
#include <iostream>
using namespace cv;
using namespace std;
/*
* video2seq.cpp
*
* Created on: Feb 20, 2017
* Author: Asa
*/
#include <iostream>
#include <opencv2/opencv.hpp>
#include <opencv2/imgcodecs.hpp>
#include <opencv2/imgproc/imgproc.hpp>
@huleg
huleg / install-opencv-2.4.11-in-ubuntu.sh
Created February 16, 2017 15:03 — forked from dynamicguy/install-opencv-2.4.11-in-ubuntu.sh
install opencv-2.4.11 in ubuntu
# install dependencies
sudo apt-get update
sudo apt-get install -y build-essential
sudo apt-get install -y cmake
sudo apt-get install -y libgtk2.0-dev
sudo apt-get install -y pkg-config
sudo apt-get install -y python-numpy python-dev
sudo apt-get install -y libavcodec-dev libavformat-dev libswscale-dev
sudo apt-get install -y libjpeg-dev libpng-dev libtiff-dev libjasper-dev
@huleg
huleg / storytelling_from_space.md
Created October 18, 2016 04:43 — forked from briantjacobs/storytelling_from_space.md
Storytelling from Space

Storytelling from Space: Tools/Resources

This list of resources is all about acquring and processing aerial imagery. It's generally broken up in three ways: how to go about this in Photoshop/GIMP, using command-line tools, or in GIS software, depending what's most comfortable to you. Often these tools can be used in conjunction with each other.

Acquiring Landsat & MODIS

Web Interface

  • Landsat archive