Skip to content
This repository was archived by the owner on Dec 24, 2021. It is now read-only.

Commit 28bb23a

Browse files
committed
Update to V4.1.1 - Error Correction
Correction in ReadDigitalDigitClass.py
1 parent 1b8e28c commit 28bb23a

8 files changed

+4
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ This repository is the sum of different projects to read out an analog water met
44
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.
55

66
## Changelog - lastest version
7+
##### 4.1.1 (2019-11-29)
8+
* Error correction in ReadDigitalDigitClass.py
79
##### 4.1.0 (2019-11-25)
810
* Upgrade to Tensorflow 2.0
911
* Changed image processing within CNN to Pillow (instead of OpenCV)

code/lib/ReadDigitalDigitClass.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,5 @@ def saveLogImage(self, image, value, logtime):
9898
return
9999
speichername = image[0] + '_' + logtime + '.jpg'
100100
speichername = self.log_Image + '/' + str(value) + '/' + speichername
101-
cv2.imwrite(speichername, image[1])
101+
image[1].save(speichername, "JPEG")
102+
# cv2.imwrite(speichername, image[1])
-5.84 KB
Binary file not shown.
-3.01 KB
Binary file not shown.
-2.79 KB
Binary file not shown.
-2.94 KB
Binary file not shown.
-6.31 KB
Binary file not shown.
-159 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)