Skip to content

Instantly share code, notes, and snippets.

View bakercp's full-sized avatar

Christopher Baker bakercp

View GitHub Profile
bakercp / Install
Created July 21, 2014 20:25
openFrameworks on the UDOO Udoobuntu 1.0
To Install:
- Download 0.8.3 or use the 0.8.3 tag on master.
- Install dependencies.
- Copy into $OF_ROOT/libs/openFrameworksCompiled/project/linuxarmv7l
- Go to example project.
To Prep:
$ export MAKEFLAGS="-j4 -s PLATFORM_VARIANT=udoo"
bakercp / Logger.pde
Created October 20, 2016 14:03
A simple CSV data logger for Processing.
import processing.serial.*;
import java.text.SimpleDateFormat;
import java.util.Date;
Serial myPort;
int lineFeedChar = 10;
String lastRow = "";
int currentY = 0;

Keybase proof

I hereby claim:

  • I am bakercp on github.
  • I am bakercp ( on keybase.
  • I have a public key ASBZ3ejlA1s6ZG2RwP0zvfscT3WosEMIhaU7j_cR26xQmwo

To claim this, I am signing this object:

bakercp / ConvexHull.cpp
Last active June 6, 2019 09:26
An openFrameworks convex hull / defect index finder using opencv (because there is a bug in the opencv version). bug
// Copyright (c) 2017 Christopher Baker <>
// SPDX-License-Identifier: MIT
#include "ConvexHull.h"
bakercp / fhog_simd_ex.cpp
Created April 30, 2017 02:03
dlib SIMD tests
#include <dlib/image_io.h>
#include <dlib/image_transforms.h>
using namespace std;
using namespace dlib;
int main(int argc, char** argv)
// Control PWM via a transistor.
class MotorController
MotorController(int motorPin)
pin = motorPin;
startTime = endTime = millis();
bakercp /
Created May 22, 2013 04:04
Building / Installing / Running SGX modules on the Beagle Bone Black
#!/bin/bash -e
# Copyright (c) 2012-2013 Robert Nelson <>
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
bakercp /
Created November 8, 2016 16:13 — forked from max-mapper/
Video stabilization using VidStab and FFMPEG (Mac OS X)

Video stabilization using VidStab and FFMPEG

Examples here use the default settings, see the VidStab readme on GitHub for more advanced instructions.

Here's an example video I made

Install ffmpeg with the vidstab plugin from homebrew

brew install ffmpeg --with-libvidstab
bakercp /
Last active January 4, 2016 20:09 — forked from mbostock/.block
// in your .h file
ofTrueTypeFont font;
/// in your cpp file
// we load our font with contours (see the docs for more info on the args)
font.loadFont("verdana.ttf", 50, true, true, true);
vector<ofPath> paths = font.getStringAsPoints("hello");