void Update() { segmentation.Invoke(webcamTexture); cameraView.material = segmentation.transformMat; outputView.texture = segmentation.GetResultTexture(); }
private void OnTextureUpdate(Texture texture) { segmentation.Invoke(texture); cameraView.material = segmentation.transformMat; outputView.texture = segmentation.GetResultTexture(); }