Example #1
0
    void Update()
    {
        segmentation.Invoke(webcamTexture);
        cameraView.material = segmentation.transformMat;

        outputView.texture = segmentation.GetResultTexture();
    }
Example #2
0
 private void OnTextureUpdate(Texture texture)
 {
     segmentation.Invoke(texture);
     cameraView.material = segmentation.transformMat;
     outputView.texture  = segmentation.GetResultTexture();
 }