diff --git a/README.md b/README.md index 5cb25a1..82953ac 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ This repository is the sum of different projects to read out an analog water met The result is a HTTP-server, that takes an image as input, processes it and gives as an output the water meter number, including the subdigits. ## Changelog - lastest version +##### 4.1.1 (2019-11-29) +* Error correction in ReadDigitalDigitClass.py ##### 4.1.0 (2019-11-25) * Upgrade to Tensorflow 2.0 * Changed image processing within CNN to Pillow (instead of OpenCV) diff --git a/code/lib/ReadDigitalDigitClass.py b/code/lib/ReadDigitalDigitClass.py index 2c210a0..77b6a67 100644 --- a/code/lib/ReadDigitalDigitClass.py +++ b/code/lib/ReadDigitalDigitClass.py @@ -98,4 +98,5 @@ def saveLogImage(self, image, value, logtime): return speichername = image[0] + '_' + logtime + '.jpg' speichername = self.log_Image + '/' + str(value) + '/' + speichername - cv2.imwrite(speichername, image[1]) + image[1].save(speichername, "JPEG") +# cv2.imwrite(speichername, image[1]) diff --git a/code/lib/__pycache__/CutImageClass.cpython-37.pyc b/code/lib/__pycache__/CutImageClass.cpython-37.pyc deleted file mode 100644 index d9ab41d..0000000 Binary files a/code/lib/__pycache__/CutImageClass.cpython-37.pyc and /dev/null differ diff --git a/code/lib/__pycache__/LoadFileFromHTTPClass.cpython-37.pyc b/code/lib/__pycache__/LoadFileFromHTTPClass.cpython-37.pyc deleted file mode 100644 index 9b7e720..0000000 Binary files a/code/lib/__pycache__/LoadFileFromHTTPClass.cpython-37.pyc and /dev/null differ diff --git a/code/lib/__pycache__/ReadAnalogNeedleClass.cpython-37.pyc b/code/lib/__pycache__/ReadAnalogNeedleClass.cpython-37.pyc deleted file mode 100644 index e991741..0000000 Binary files a/code/lib/__pycache__/ReadAnalogNeedleClass.cpython-37.pyc and /dev/null differ diff --git a/code/lib/__pycache__/ReadDigitalDigitClass.cpython-37.pyc b/code/lib/__pycache__/ReadDigitalDigitClass.cpython-37.pyc deleted file mode 100644 index ba11b02..0000000 Binary files a/code/lib/__pycache__/ReadDigitalDigitClass.cpython-37.pyc and /dev/null differ diff --git a/code/lib/__pycache__/ZaehlerstandClass.cpython-37.pyc b/code/lib/__pycache__/ZaehlerstandClass.cpython-37.pyc deleted file mode 100644 index 7ea53e3..0000000 Binary files a/code/lib/__pycache__/ZaehlerstandClass.cpython-37.pyc and /dev/null differ diff --git a/code/lib/__pycache__/__init__.cpython-37.pyc b/code/lib/__pycache__/__init__.cpython-37.pyc deleted file mode 100644 index 12a536b..0000000 Binary files a/code/lib/__pycache__/__init__.cpython-37.pyc and /dev/null differ