This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

SPZ number/LM
#33
(18.01.2023, 13:53)admin Wrote: This is a copy/paste issue. Remove all leading spaces and it will work. The previous example might also work if modified:
Code:
<?

require('apps')

upload()
vars = getvars()

for key, value in pairs(vars) do
log(key, value)
end
This look to works fine, log rom event below :

* arg: 1
  * string: event
* arg: 2
  * string: {"packetCounter":"0",
"datetime":"20230119 101832000",
"plateText":"\u0050\u0030\u004c\u0049\u0043\u0049\u0045",
"plateCountry":"POL",
"plateConfidence":"0.843826",
"carState":"new",
"geotag":{"lat": 49,"lon": 17},"imageType": "plate","plateImageType": "png","plateImageSize": "0","carMoveDirection":"unknown",
"timeProcessing":"0",
"timeDetection":"20230119 101832000",
"plateCoordinates":[737, 137, 63, 20],
"carID":"698",
"GEOtarget":"/mnt/opensdk/html/NumberOkEdgeHanwha/images/images/2023119101833_58189/2023119101833_58189lp_P0LICIE.png",
"datetimezone":"2023-01-19T10:18:32+0100",
"carVerticalDirection":"unknown",
"recognitionZone":"1",
"imagesURI":["/home/setup/opensdk/html/NumberOkEdgeHanwha/images/images/2023119101833_58189/2023119101833_58189lp_P0LICIE.png","/home/setup/opensdk/html/NumberOkEdgeHanwha/images/images/2023119101833_58189/2023119101833_58189lp_P0LICIE.jpeg"],
"plateASCII":"P0LICIE",
"plateUnicode":"\u0050\u0030\u004c\u0049\u0043\u0049\u0045",
"sensorProviderID":"1"
}

(19.01.2023, 09:23)2MAX Wrote:
(18.01.2023, 13:53)admin Wrote: This is a copy/paste issue. Remove all leading spaces and it will work. The previous example might also work if modified:
Code:
<?

require('apps')

upload()
vars = getvars()

for key, value in pairs(vars) do
log(key, value)
end
This look to works fine, log rom event below :

* arg: 1
  * string: event
* arg: 2
  * string: {"packetCounter":"0",
"datetime":"20230119 101832000",
"plateText":"\u0050\u0030\u004c\u0049\u0043\u0049\u0045",
"plateCountry":"POL",
"plateConfidence":"0.843826",
"carState":"new",
"geotag":{"lat": 49,"lon": 17},"imageType": "plate","plateImageType": "png","plateImageSize": "0","carMoveDirection":"unknown",
"timeProcessing":"0",
"timeDetection":"20230119 101832000",
"plateCoordinates":[737, 137, 63, 20],
"carID":"698",
"GEOtarget":"/mnt/opensdk/html/NumberOkEdgeHanwha/images/images/2023119101833_58189/2023119101833_58189lp_P0LICIE.png",
"datetimezone":"2023-01-19T10:18:32+0100",
"carVerticalDirection":"unknown",
"recognitionZone":"1",
"imagesURI":["/home/setup/opensdk/html/NumberOkEdgeHanwha/images/images/2023119101833_58189/2023119101833_58189lp_P0LICIE.png","/home/setup/opensdk/html/NumberOkEdgeHanwha/images/images/2023119101833_58189/2023119101833_58189lp_P0LICIE.jpeg"],
"plateASCII":"P0LICIE",
"plateUnicode":"\u0050\u0030\u004c\u0049\u0043\u0049\u0045",
"sensorProviderID":"1"
}

Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
SPZ number/LM - by 2MAX - 09.01.2023, 12:48
RE: SPZ number/LM - by admin - 09.01.2023, 12:57
RE: SPZ number/LM - by 2MAX - 09.01.2023, 13:01
RE: SPZ number/LM - by admin - 09.01.2023, 13:06
RE: SPZ number/LM - by 2MAX - 09.01.2023, 13:27
RE: SPZ number/LM - by admin - 09.01.2023, 13:32
RE: SPZ number/LM - by 2MAX - 09.01.2023, 13:43
RE: SPZ number/LM - by admin - 10.01.2023, 10:34
RE: SPZ number/LM - by 2MAX - 11.01.2023, 12:09
RE: SPZ number/LM - by admin - 11.01.2023, 12:15
RE: SPZ number/LM - by 2MAX - 11.01.2023, 12:49
RE: SPZ number/LM - by admin - 11.01.2023, 12:49
RE: SPZ number/LM - by 2MAX - 11.01.2023, 12:52
RE: SPZ number/LM - by 2MAX - 13.01.2023, 08:25
RE: SPZ number/LM - by Daniel - 13.01.2023, 08:51
RE: SPZ number/LM - by admin - 13.01.2023, 09:26
RE: SPZ number/LM - by 2MAX - 16.01.2023, 11:55
RE: SPZ number/LM - by admin - 16.01.2023, 12:00
RE: SPZ number/LM - by 2MAX - 16.01.2023, 15:24
RE: SPZ number/LM - by admin - 17.01.2023, 07:55
RE: SPZ number/LM - by 2MAX - 17.01.2023, 11:16
RE: SPZ number/LM - by admin - 17.01.2023, 11:17
RE: SPZ number/LM - by 2MAX - 17.01.2023, 11:27
RE: SPZ number/LM - by admin - 17.01.2023, 14:00
RE: SPZ number/LM - by 2MAX - 18.01.2023, 04:54
RE: SPZ number/LM - by admin - 18.01.2023, 08:04
RE: SPZ number/LM - by 2MAX - 18.01.2023, 12:05
RE: SPZ number/LM - by admin - 18.01.2023, 12:17
RE: SPZ number/LM - by 2MAX - 18.01.2023, 12:54
RE: SPZ number/LM - by admin - 18.01.2023, 13:06
RE: SPZ number/LM - by 2MAX - 18.01.2023, 13:11
RE: SPZ number/LM - by admin - 18.01.2023, 13:53
RE: SPZ number/LM - by 2MAX - 19.01.2023, 09:23
RE: SPZ number/LM - by admin - 19.01.2023, 09:29
RE: SPZ number/LM - by 2MAX - 19.01.2023, 19:13
RE: SPZ number/LM - by admin - 20.01.2023, 07:10

Forum Jump: