From 05846438e33282ffff8af54030b422a4fc639dc8 Mon Sep 17 00:00:00 2001 From: Philipp Hasper Date: Thu, 1 Oct 2015 15:09:14 +0200 Subject: [PATCH] Typo in CameraBridgeViewBase.java Corrected typo and unused imports --- .../java/generator/src/java/android+CameraBridgeViewBase.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/java/generator/src/java/android+CameraBridgeViewBase.java b/modules/java/generator/src/java/android+CameraBridgeViewBase.java index da939017c..14e041146 100644 --- a/modules/java/generator/src/java/android+CameraBridgeViewBase.java +++ b/modules/java/generator/src/java/android+CameraBridgeViewBase.java @@ -3,10 +3,8 @@ package org.opencv.android; import java.util.List; import org.opencv.R; -import org.opencv.android.Utils; import org.opencv.core.Mat; import org.opencv.core.Size; -import org.opencv.videoio.Videoio; import android.app.Activity; import android.app.AlertDialog; @@ -451,7 +449,7 @@ public abstract class CameraBridgeViewBase extends SurfaceView implements Surfac */ protected abstract void disconnectCamera(); - // NOTE: On Android 4.1.x the function must be called before SurfaceTextre constructor! + // NOTE: On Android 4.1.x the function must be called before SurfaceTexture constructor! protected void AllocateCache() { mCacheBitmap = Bitmap.createBitmap(mFrameWidth, mFrameHeight, Bitmap.Config.ARGB_8888);