diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 31fc103..4b9c622 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -19,14 +19,12 @@
-
-
-
-
-
+
+
+
-
+
@@ -250,7 +248,7 @@
-
+
1589815443652
@@ -294,7 +292,14 @@
1589952979012
-
+
+ 1589955873104
+
+
+
+ 1589955873104
+
+
@@ -320,7 +325,8 @@
-
+
+
@@ -347,6 +353,10 @@
+
+
+
+
diff --git a/coder/image.py b/coder/image.py
index addaea2..861bd4d 100644
--- a/coder/image.py
+++ b/coder/image.py
@@ -47,7 +47,7 @@ rows, cols = img.shape
for i in range(rows):
for j in range(cols):
k = img[i, j]
- if k > 100:
+ if k == 255:
k = 0 # brak czarnego
else:
k = 1
diff --git a/coder/test3.png b/coder/test3.png
index 06e94af..99347fe 100644
Binary files a/coder/test3.png and b/coder/test3.png differ
diff --git a/coder/test5.jpg b/coder/test5.jpg
new file mode 100644
index 0000000..c9d6260
Binary files /dev/null and b/coder/test5.jpg differ
diff --git a/coder/test5.png b/coder/test5.png
new file mode 100644
index 0000000..4a506f6
Binary files /dev/null and b/coder/test5.png differ