mirror of
https://github.com/FoggedLens/deflock.git
synced 2026-09-30 12:41:48 +02:00
alpr counts us only
This commit is contained in:
1 parent
2b5f28ee7b
commit
67eae25a1a
1 file changed
+2
-2
@@ -2,7 +2,7 @@ import json
|
|||||||
import requests
|
import requests
|
||||||
import boto3
|
import boto3
|
||||||
|
|
||||||
def fetch_alpr_surveillance_nodes(usOnly=False):
|
def fetch_alpr_surveillance_nodes(usOnly=True):
|
||||||
overpass_url = "http://overpass-api.de/api/interpreter"
|
overpass_url = "http://overpass-api.de/api/interpreter"
|
||||||
overpass_query = f"""
|
overpass_query = f"""
|
||||||
[out:json][timeout:180];
|
[out:json][timeout:180];
|
||||||
@@ -34,7 +34,7 @@ def lambda_handler(event, context):
|
|||||||
|
|
||||||
all_alprs = {
|
all_alprs = {
|
||||||
# 'us': us_alprs,
|
# 'us': us_alprs,
|
||||||
'worldwide': worldwide_alprs
|
'worldwide': worldwide_alprs # keep this as worldwide while we deploy, change eventually
|
||||||
}
|
}
|
||||||
|
|
||||||
s3 = boto3.client('s3')
|
s3 = boto3.client('s3')
|
||||||
|
|||||||
Reference in new issue
Block a user