View analyze-face-in-video.py
import argparse
from scipy.misc import imsave
import cognitive_face as CF
import cv2
from sys import platform
def recognize(key):
CF.Key.set(key) # set API key
View CameraImage.cpp
#include "ofMain.h"
#include "ofxTiming.h"
class ofApp : public ofBaseApp {
public:
ofVideoGrabber grabber;
DelayTimer delay;
ofTrueTypeFont font;
string description;