[vz-users] Wasserzähler, vzlogger und OCR
Daniel Lauckner
vz at jahp.de
Sun Oct 30 18:42:29 CET 2016
Hallo,
nachdem die ersten Stolpersteine
https://github.com/volkszaehler/vzlogger/issues/276
aus dem Weg geräumt sind bin ich zwar etwas weiter gekommen, weiß
jetzt aber nicht weiter weil mir vzlogger weder ein Logfile noch ein
Diagnosebild generiert.
sudo vzlogger -c ~/config/vzlogger.ocrtest.conf
[Oct 30 18:36:28][main] vzlogger v0.6.0 based on heads/master-0-g1484f9aad1 from Mon, 22 Aug 2016 22:32:51 +0200 started.
[Oct 30 18:36:28][push] Ignoring push entry due to empty array or duplicate section
[Oct 30 18:36:28][mtr0] Creating new meter with protocol ocr.
[Oct 30 18:36:28][ocr] recognizer=[ { "boundingboxes": { "identifier": "8-0:3.2.0", "scaler": -1, "digit": true, "type": "circle", "circle": { "cx": 992, "cy": 452, "cr": 70, "offset": 0 } }, "type": "needle", "kernelColorString": "2 -1 -1 0 0 0 0 0 0" } ]
[Oct 30 18:36:28][ocr] boundingboxes={ "identifier": "8-0:3.2.0", "scaler": -1, "digit": true, "type": "circle", "circle": { "cx": 992, "cy": 452, "cr": 70, "offset": 0 } }
Der vzlogger wird danach beendet.
~/config/vzlogger.ocrtest.conf:
{
"retry": 3,
"daemon": true,
"verbosity": 15,
"log": "/tmp/vzlogger.log",
"push": [],
"local": {
"enabled": false,
"port": 8080,
"index": true,
"timeout": 0,
"buffer": 0
},
"meters": [
{
"enabled": true,
"allowskip": true,
"interval": -1,
"aggtime": -1,
"aggfixedinterval": false,
"channels": [
{
"uuid": "UUID",
"identifier": "8-0:3.2.0",
"api": "volkszaehler",
"middleware": "URL",
"secretKey": "",
"type": "device",
"scaler": 1,
"aggmode": "none",
"duplicates": 0
}
],
"protocol": "ocr",
"impulses": 0,
"file": "/tmp/wasserzaehler.png",
"v4l2_dev": "",
"generate_debug_image": true,
"rotate": 0.0,
"recognizer": [
{
"boundingboxes": {
"identifier": "8-0:3.2.0",
"scaler": -1,
"digit": true,
"type": "circle",
"circle": {
"cx": 992,
"cy": 452,
"cr": 70,
"offset": 0
}
},
"type": "needle",
"kernelColorString": "2 -1 -1 0 0 0 0 0 0"
}
]
}
]
}
mfg Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wasserzaehler.png(verkleinert).jpg
Type: image/jpeg
Size: 16353 bytes
Desc: not available
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-users/attachments/20161030/d704e734/attachment-0001.jpg>
More information about the volkszaehler-users
mailing list