19.01.2023, 09:29
This will log the plate number text from the camera event:
Code:
<?
require('apps')
upload()
vars = getvars()
data, err = json.pdecode(vars.event)
if type(data) == 'table' then
log(data.plateText)
else
log('decode failed', err)
end