Skip to content

Instantly share code, notes, and snippets.

View PierrickKoch's full-sized avatar

Pierrick Koch PierrickKoch

View GitHub Profile
#!/usr/bin/env python
import sys
import cv2
import numpy as np
file_or_dev = sys.argv[1] if len(sys.argv) > 1 else 0
def nothing(*arg):
pass
#! /bin/bash
VERSION=16.4.3
WS=$(pwd)/ws
mkdir $WS; cd $WS
wget -c https://github.com/pypa/virtualenv/archive/${VERSION}.tar.gz
tar xvfz ${VERSION}.tar.gz
cd virtualenv-${VERSION}
python3 virtualenv.py pyvenv3
source pyvenv3/bin/activate
pip install jupyter matplotlib Pillow scikit-learn pandas-bokeh numba
#!/usr/bin/env python
'''
This sample demonstrates Canny edge detection.
Usage:
edge.py [<video source>]
Trackbars control edge thresholds.
@PierrickKoch
PierrickKoch / install-pcl-ros.bash
Created December 9, 2016 09:18
Install pcl ros on Fedora 24
#! /bin/bash
####
# On Fedora 24:
# sudo dnf install pcl-devel
####
[ -z "$DEVEL_BASE" ] && DEVEL_BASE=${HOME}/devel
dir=${DEVEL_BASE}/src
branch=indigo-devel
mkdir -p $dir; cd $dir
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.