Skip to content

Instantly share code, notes, and snippets.

Lloyd Henning eldog

Block or report user

Report or block eldog

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
eldog / BackgroundRemoval.pde
Created Feb 6, 2017
Removes the background using processing.
View BackgroundRemoval.pde
import gab.opencv.*;
Capture liveCam;
PImage camCapture, foregroundMask, screenshot;
OpenCV opencv;
int width = 640;
int height = 480;
View BackgroundMask.pde
// Import Libraries - install these if necessary.
import gab.opencv.*;
//create Capture
Capture liveCam;
//create PImages
PImage camCapture, foregroundMask, backgroundMask, screenshot;
float comparVal = 0.25;
eldog /
Created Jan 11, 2014
Oauth monkey patch to get meteor oauth accounts to work in a cordova app
Meteor.startup ->
Package.oauth.Oauth.initiateLogin = initiateLogin
getHostnameFromUrl = (url) ->
aEl = document.createElement 'a'
aEl.href = url
initiateLogin = (credentialToken,
// Save the canvas to file "check.jpg" on SDCard
public void saveCanvas() throws IOException
// Write the canvas to file
FileOutputStream fos;
fos = new FileOutputStream("/sdcard/check.jpg");
mBitmap.compress(Bitmap.CompressFormat.JPEG, 100, fos);
You can’t perform that action at this time.