Hello, thanks for your great framework.
It's really a helpful for me.
I have some issues to use and need your help.
Following is my code part.
protected void onCreate(Bundle savedInstanceState) {
....
// For Camera Input
view1 = new FastImageProcessingView(this);
pipeline1 = new FastImageProcessingPipeline();
view1.setPipeline(pipeline1);
cameraInput = new CameraPreviewInput(view1);
screen1 = new ScreenEndpoint(pipeline1);
cameraInput.addTarget(screen1);
pipeline1.addRootRenderer(cameraInput);
pipeline1.startRendering();
// For Image Input
view2 = new FastImageProcessingView(this);
pipeline2 = new FastImageProcessingPipeline();
view2.setPipeline(pipeline2);
screen2 = new ScreenEndpoint(pipeline2);
....
}
Hello, thanks for your great framework. It's really a helpful for me.
I have some issues to use and need your help. Following is my code part.
protected void onCreate(Bundle savedInstanceState) { .... // For Camera Input view1 = new FastImageProcessingView(this); pipeline1 = new FastImageProcessingPipeline(); view1.setPipeline(pipeline1);
// For Image Input view2 = new FastImageProcessingView(this); pipeline2 = new FastImageProcessingPipeline(); view2.setPipeline(pipeline2); screen2 = new ScreenEndpoint(pipeline2); .... }
private void applyFilter { ... TransformFilter transformFilter = new TransformFilter(new float[] { transformScale, 0f, 0f, 0f, 0f, transformScale, 0f, 0f, 0f, 0f, 1f, 0f, 0f, 0f, 0f, 1f }, false, false); GaussianBlurFilter gaussianBlurFilter; gaussianBlurFilter = new GaussianBlurFilter(3.0f);
... }
I found that NormalBlendFilter doesn't work properly. Please check my code.
Thanks.