Open achimhoth opened 7 years ago
I think I found the solution. In MotionDetector.swift I changed the output like this:
self.configureGroup{input, output in
input --> output
input --> self.motionComparison --> self.averageColorExtractor // --> output
input --> self.lowPassFilter --> self.motionComparison
}
I have a simple application in mind: The iPhones camera is used as a security camera. When motion is detected (via MotionDetector) it should display the cameras raw footage. How do I do that?
Currently it seems the motionDetectedCallback is only fired when I feed it's output to the RenderView. However I don't want the filtered output to be displayed but rather the original footage.
I want something like:
But the motionDetectedCallback does not get fired like that.