Extracting images out of OpenCV- strange results.

edited October 2015 in Questions about Code


I'm trying to process images using OpenCV. I'm getting video in (GoPro->Blackmagic Intensity->Black Syphon->Processing with Syphon library). What can I use to display the video stream in Processing?

This is the code I have at the moment:

public void draw() {    
  if (client.newFrame()) {
    canvas = client.getGraphics(canvas);


    PImage newframe = opencv.getSnapshot();
    image(newframe,0,0, width, height);

If I set the last line to image(canvas,0,0,width,height) I get the unprocessed output of the camera. That works fine. But I want to get the camera processed by OpenCV (in this case, with the blur applied).

This is an image of the result of: Screen Shot 2015-10-01 at 1.43.18 pm



Sign In or Register to comment.