From aed079377f2e1472c9e8e4b27a7feca8cef9a9e5 Mon Sep 17 00:00:00 2001 From: Bastian Kohler Date: Tue, 20 Jun 2023 11:07:57 +0200 Subject: [PATCH] Refactor --- .../example/ueberwachungssystem/Detection/VideoDetector.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/src/main/java/com/example/ueberwachungssystem/Detection/VideoDetector.java b/app/src/main/java/com/example/ueberwachungssystem/Detection/VideoDetector.java index 809ea92..7ef72a1 100644 --- a/app/src/main/java/com/example/ueberwachungssystem/Detection/VideoDetector.java +++ b/app/src/main/java/com/example/ueberwachungssystem/Detection/VideoDetector.java @@ -53,9 +53,6 @@ public class VideoDetector extends Detector { // Calling Activity private final Context context; - // Permission handling - private static final int PERMISSION_REQUEST_CODE = 3691; - // Camera Provider private ProcessCameraProvider cameraProvider; private ImageAnalysis imageAnalysis; @@ -285,7 +282,6 @@ public class VideoDetector extends Detector { this.outputImageView = outputImageView; } - /** private void setPreviewView(@NonNull PreviewView previewView) { // Create Preview @@ -295,7 +291,6 @@ public class VideoDetector extends Detector { */ - /** Generate File Name */ private String generateFileName(){ // Get the current timestamp