ALPR Stats (#2)

* set up lambda to get total ALPR counts

* show total counts on map, updated hourly
This commit is contained in:
Will Freeman authored and GitHub committed 2024-11-20 14:49:19 -06:00
1 parent 6bb2c1ea99
commit 0d062296a3
9 files changed
+215 -175

No files matched your search

+6
View File
@@ -65,6 +65,12 @@ export const getALPRs = async (boundingBox: BoundingBox) => {
return response.data;
}
export const getALPRCounts = async () => {
const s3Url = "https://deflock-clusters.s3.us-east-1.amazonaws.com/alpr-counts.json";
const response = await apiService.get(s3Url);
return response.data;
}
export const getClusters = async () => {
const s3Url = "https://deflock-clusters.s3.us-east-1.amazonaws.com/alpr_clusters.json";
const response = await apiService.get(s3Url);