Functions for Management of Vision Processing

VisionInput::VisionInput(const char * siteXMLpath = NULL)
VisionInput's constructor parses the siteXML file passed in via siteXMLpath or /config/site/default.corners if siteXMLpath is NULL and uses this data to construct the filter graph and prime the pipeline's services. This method is called init() in Python.

bool VisionInput::update()
Process the input filtergraph and services subscribed to by any VisionSubscription. Returns true if new vision information was generated, false otherwise.

void VisionInput::captureBackground()
Takes a new reference metering when the input filtergraph contains a BGSubtract filter. Make sure that no one is in view of the camera when you do this.