Skip to content

Instantly share code, notes, and snippets.

@genekogan
genekogan / CvUtils.h
Last active October 11, 2015 00:23
OCR on browser screengrab in openframeworks, ofxTesseract + ofxScreebGrab
#pragma once
// small excerpt from forthcoming of-cv utility/addon
#include "ofConstants.h"
#include "ofImage.h"
#include "cv.h"
namespace cv {
@genekogan
genekogan / ofApp.cpp
Created May 14, 2015 00:19
code examples from SFPC 5.13
#include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
kinect.setup();
kinect.addDepthGenerator();
kinect.setDepthColoring(COLORING_GREY);
kinect.start();
grayImage.allocate(kinect.getWidth(), kinect.getHeight());