From e2fa6a35a6548a5acfd000af56ea333df8149b27 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Fri, 16 Nov 2018 21:29:56 +0000
Subject: [PATCH] More debugging cases

---
 sid_process.py |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/sid_process.py b/sid_process.py
index 14beb68..4674c0e 100644
--- a/sid_process.py
+++ b/sid_process.py
@@ -1,8 +1,6 @@
 import cv2
 import numpy as np
 from skimage import morphology, img_as_ubyte
-from sklearn import svm
-from sklearn.externals import joblib
 
 
 """
@@ -90,7 +88,7 @@
         move_left = 0
     # find biggest block of pixels
 
-    image1 = cv2.morphologyEx(image, cv2.MORPH_DILATE, kernel(5, 25), iterations=3)
+    image1 = cv2.morphologyEx(image, cv2.MORPH_DILATE, kernel(5, 25), iterations=4)
     cv2.imwrite("sidblock1.png", image1)
     im2, ctrs, hier = cv2.findContours(
         image1.copy(), cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE

--
Gitblit v1.9.3