Luckily Ubuntu has support for getting the build dependencies for a package
directly via apt-get
:
sudo apt-get build-dep opencv
#!/usr/bin/env python3 | |
# | |
# THIS SCRIPT REQUIRES PYTHON 3 | |
# | |
# Install requirements via: | |
# pip3 install docopt pillow reportlab | |
# | |
# Dedicated to the public domain where possible. | |
# See: https://creativecommons.org/publicdomain/zero/1.0/ | |
""" |
""" | |
Detect vehicles in a video sequence writing the result to an hdf5 file. | |
Usage: | |
detectvehicles (-h | --help) | |
detectvehicles [options] <videofile> <hdf5output> | |
Options: | |
-h, --help Show brief usage summary. | |
-q, --quiet Reduce logging verbosity. |
#!/bin/bash | |
# | |
# Usage: | |
# gen-ssl-cert.sh [common name] | |
# | |
# If common name is specified, it is used as the common name (i.e. server name) | |
# for the certificate. If omitted, a placeholder is used. | |
# exit on error | |
set -e |
#define VIA1 ((volatile unsigned char*)0xDFE0) | |
#define VIA1_DDRB VIA1 | |
#define VIA1_ORB (VIA1+2) | |
#define MC6845_AR ((volatile unsigned char*)0xDFFA) | |
#define MC6845_DR ((volatile unsigned char*)0xDFFB) | |
#define HORIZ_TOT 0x00 | |
#define HORIZ_DISP 0x01 | |
#define HORIZ_SYNCP 0x02 |