openalpridcameraid
. I tried adding my overview Dahua cam to the appsettings.json
to have the overlay printed on that camera as well as my LPR but the overview cam doesn't get the overlay for some reason. The LPR camera is listed first in the appsettings.json
while I added the overview camera second and under the LPR. I did change the manufacturer
variable to something different than the LPR one, but that didn't have any effect. So I'm guessing order matters and whatever camera gets assigned the openalpridcameraid
first gets the overlay while the secondary one does not.bash <(curl http://deb.openalpr.com/install)
"urls": "http://0.0.0.0:5000"
{
"AllowedHosts": "*",
"Cameras": {
"Cameras": [
{
"Manufacturer": "Dahua",
"OpenAlprCameraId": ID,
"Password": "PASS",
"UpdateOverlayTextUrl": "http://192.168.85.121/cgi-bin/configManager.cgi?action=setConfig&VideoWidget[0].CustomTitle[1].Text=",
"Username": "admin"
},
"urls": "http://0.0.0.0:5000"
]
}
}
i think the "urls" needs to go down outside of the cameras block{
"AllowedHosts": "*",
"Cameras": {
"Cameras": [
{
"Manufacturer": "Dahua",
"OpenAlprCameraId": ID,
"Password": "PASS",
"UpdateOverlayTextUrl": "http://192.168.85.121/cgi-bin/configManager.cgi?action=setConfig&VideoWidget[0].CustomTitle[1].Text=",
"Username": "admin"
},
"urls": ""
]
}
}
Try the validator.. it comes back withPaste it into Best JSON Formatter and JSON Validator: Online JSON Formatter it will show you what is wrong.
i think the "urls" needs to go down outside of the cameras block
Nice idea on the stolen plates alert!Interesting, could do a comparison between what openalpr thinks the car is and what that site thinks the car is, and if they don't match up by a certain percentage put a big STOLEN CAR FAKE PLATE alert ?
{
"AllowedHosts": "*",
"Cameras": {
"Cameras": [
{
"Manufacturer": "Dahua",
"OpenAlprCameraId": 1,
"Password": "PASS",
"UpdateOverlayTextUrl": "http://192.168.85.121/cgi-bin/configManager.cgi?action=setConfig&VideoWidget[0].CustomTitle[1].Text=",
"Username": "admin"
},
"urls",
"http://0.0.0.0:5000"
]
}
}