From 17546355de7e9942adf4996cf8fff372f64091a5 Mon Sep 17 00:00:00 2001 From: Malte Peters Date: Fri, 16 Feb 2018 17:28:41 +0100 Subject: [PATCH] chore: don't save demo image to disk --- .../src/main/java/org/reactnative/opencv/OpenCVProcessor.java | 2 +- ios/RN/OpenCVProcessor.mm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/android/src/main/java/org/reactnative/opencv/OpenCVProcessor.java b/android/src/main/java/org/reactnative/opencv/OpenCVProcessor.java index 22afaaa..5b59682 100644 --- a/android/src/main/java/org/reactnative/opencv/OpenCVProcessor.java +++ b/android/src/main/java/org/reactnative/opencv/OpenCVProcessor.java @@ -79,7 +79,7 @@ public class OpenCVProcessor { Imgproc.resize(grayMat, grayMat, new Size(), scale, scale, 2); if (this.frame == 30) { - Log.d(ReactConstants.TAG, "---SAVE IMAGE!!--- "); +// Log.d(ReactConstants.TAG, "---SAVE IMAGE!!--- "); // saveMatToDisk(grayMat); } diff --git a/ios/RN/OpenCVProcessor.mm b/ios/RN/OpenCVProcessor.mm index 95a4ee8..4229390 100644 --- a/ios/RN/OpenCVProcessor.mm +++ b/ios/RN/OpenCVProcessor.mm @@ -10,7 +10,7 @@ - (id) init { - saveDemoFrame = true; + saveDemoFrame = false; processedFrames = 0; expectedFaceOrientation = -1;