You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 24, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: Config_Description.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
The config.ini file contains the information for the alignment and ROIs to process the image. It consists of 3 main segments, which are described in the following sections:
4
4
5
5
*`[Imagesource]`
6
+
*`[ConsistencyCheck]`
6
7
*`[alignment]`
7
8
*`[Analog_Counter]`
8
9
*`[Digital_Counter]`
@@ -22,6 +23,24 @@ The parameter `url=` in the server request can be omitted, if in the Imagesource
22
23
| LogImageLocation | optional - if set, the source images will be logged in the given folder |`LogImageLocation=./log/source_image`|
23
24
| LogOnlyFalsePictures | optional - if enabled, only false picture will be stored to avoid large amounts of pictures |`LogOnlyFalsePictures=True`|
24
25
26
+
## ConsistencyCheck
27
+
#### Main section [ConsistencyCheck]
28
+
Here a consistency check of the readout value with respect to the previous full read value can be configured. Prequisite is, that the previous value is stored and has no non readable digits ("N"). This can be achieved by using setPreValue to store the first value and the parameter &usePreValue to constantly remove the "N" in case of unambigous digits.
29
+
30
+
| Parameter | Meaning | Example |
31
+
| ------------- | ------------- | ------------- |
32
+
| Enabled | Diable or Enable the Check |`Enabled=True`|
33
+
| AllowNegativeRates | If set to `False`, then only increasing counter values are accepted |`AllowNegativeRates=False`|
34
+
| MaxRateValue | Maximum absolute change from the previous value (+/-) |`MaxRateValue=0.1`|
35
+
| ErrorReturn | Return value, in case of unconsistent values |`ErrorReturn=OldValue, ErrorMessage, Readout`|
36
+
37
+
Options for ErrorReturn are the following:
38
+
*`OldValue` = giving back the old value and ignore the "false" readout
39
+
*`NewValue` = notify about unconstent value, but still accept it and give it back as readout
40
+
*`ErrorMessage` = attach to value a reason for the inconistent value (max rate or negative)
41
+
*`Readout` = attach the original readout - usefull, if the OldValue is given back to see, what the readout really was
Copy file name to clipboardExpand all lines: README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,8 @@ This repository is the sum of different projects to read out an analog water met
4
4
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.
5
5
6
6
## Changelog - lastest version
7
-
##### 2.3.0 (2019-10-05)
8
-
* Load default configuration, if none is present (beneficial for Docker-Version with mounted config and log directories)
9
-
* Parameter "simple" to reduche output to a single value
7
+
##### 3.0.0 (2019-10-06)
8
+
* Impementation of optional consistency check of readout value (not negative, maximum rate)
10
9
### [Full Changelog](Changelog.md)
11
10
12
11
@@ -29,6 +28,9 @@ Path are relative, so it should run immediatly with the following command:
29
28
The configuration is storred in the subdirectory `config`. In the Ini-file the CNN-Network to be loaded is listed. Configuration of the neural network (*.h5) itself is stored in the subdirectory `neuralnets`.
30
29
Detailed information on config.ini see [Config_Description.md](Config_Description.md)
31
30
31
+
##### Consistency Check
32
+
With Version 3.0.0 a consistency check of the readout value is implemented. Prequesite for this check is a storage of the last full readout (without "N"), which can be achieved by the parameter "usePreValue".
0 commit comments