Last active
September 27, 2023 10:48
-
-
Save nikparmar/ca0fe61cc99687bd96f541163a888180 to your computer and use it in GitHub Desktop.
ALPR-MODULE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.3' | |
services: | |
mongodb-sink-people: | |
build: | |
context: . | |
dockerfile: Dockerfile.adapters-py | |
restart: unless-stopped | |
network_mode: "host" | |
environment: | |
- ZMQ_ENDPOINT=sub+connect:tcp://127.0.0.1:4001 | |
- MONGODB_URL=mongodb://mongoadmin:[email protected]:5881/default?authSource=admin | |
- MONGODB_COLLECTION=events | |
- SKIP_FRAMES_WITHOUT_OBJECTS=true | |
- SKIP_FRAMES_WITH_SKIP_TAG=true | |
- STORE_FRAME_IMAGE=true | |
entrypoint: /opt/savant/adapters/python/sinks/mongodb.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.3' | |
services: | |
source_alpr_1st_avenue_out: | |
image: ghcr.io/insight-platform/savant-adapters-gstreamer:latest | |
container_name: source-alpr-f0c1adea-d97f-4390-a529-e82f0621ea88 | |
entrypoint: /opt/savant/adapters/gst/sources/rtsp.sh | |
environment: | |
- SYNC_OUTPUT=True | |
- SOURCE_ID=f0c1adea-d97f-4390-a529-e82f0621ea88 | |
- RTSP_URI=rtsp://admin:[email protected]/Streaming/Channels/101 | |
- ZMQ_ENDPOINT=pub+connect:tcp://172.25.208.184:3331 | |
- RUST_LOG=info | |
- SOURCE_TIMEOUT=120 | |
- SOURCE_EVICTION_INTERVAL=20 | |
restart: unless-stopped | |
source_alpr_zero_point_out: | |
image: ghcr.io/insight-platform/savant-adapters-gstreamer:latest | |
container_name: source-alpr-33fbd6b3-b721-4be6-8ac3-e652da8d4682 | |
entrypoint: /opt/savant/adapters/gst/sources/rtsp.sh | |
environment: | |
- SYNC_OUTPUT=True | |
- SOURCE_ID=33fbd6b3-b721-4be6-8ac3-e652da8d4682 | |
- RTSP_URI=rtsp://admin:[email protected]/Streaming/Channels/101 | |
- ZMQ_ENDPOINT=pub+connect:tcp://172.25.208.184:3331 | |
- RUST_LOG=info | |
- SOURCE_TIMEOUT=120 | |
- SOURCE_EVICTION_INTERVAL=20 | |
restart: unless-stopped | |
source_alpr_zero_point_jn: | |
image: ghcr.io/insight-platform/savant-adapters-gstreamer:latest | |
container_name: source-alpr-e634058f-9ec7-4c78-8e70-b8ae0b898b8a | |
entrypoint: /opt/savant/adapters/gst/sources/rtsp.sh | |
environment: | |
- SYNC_OUTPUT=True | |
- SOURCE_ID=e634058f-9ec7-4c78-8e70-b8ae0b898b8a | |
- RTSP_URI=rtsp://admin:[email protected]/Streaming/Channels/101 | |
- ZMQ_ENDPOINT=pub+connect:tcp://172.25.208.184:3331 | |
- RUST_LOG=info | |
- SOURCE_TIMEOUT=120 | |
- SOURCE_EVICTION_INTERVAL=20 | |
restart: unless-stopped | |
source_alpr_1st_avenue_in: | |
image: ghcr.io/insight-platform/savant-adapters-gstreamer:latest | |
container_name: source-alpr-9f6272d9-361c-4b7a-bc14-68d63fd8857c | |
entrypoint: /opt/savant/adapters/gst/sources/rtsp.sh | |
environment: | |
- SYNC_OUTPUT=True | |
- SOURCE_ID=9f6272d9-361c-4b7a-bc14-68d63fd8857c | |
- RTSP_URI=rtsp://admin:[email protected]/Streaming/Channels/101 | |
- ZMQ_ENDPOINT=pub+connect:tcp://172.25.208.184:3331 | |
- RUST_LOG=info | |
- SOURCE_TIMEOUT=120 | |
- SOURCE_EVICTION_INTERVAL=20 | |
restart: unless-stopped | |
source_alpr_sez_in: | |
image: ghcr.io/insight-platform/savant-adapters-gstreamer:latest | |
container_name: source-alpr-add1d1ee-a6d2-4d97-98e5-b5589be68933 | |
entrypoint: /opt/savant/adapters/gst/sources/rtsp.sh | |
environment: | |
- SYNC_OUTPUT=True | |
- SOURCE_ID=add1d1ee-a6d2-4d97-98e5-b5589be68933 | |
- RTSP_URI=rtsp://admin:[email protected]/Streaming/Channels/101 | |
- ZMQ_ENDPOINT=pub+connect:tcp://172.25.208.184:3331 | |
- RUST_LOG=info | |
- SOURCE_TIMEOUT=120 | |
- SOURCE_EVICTION_INTERVAL=20 | |
restart: unless-stopped | |
source_alpr_sez_out: | |
image: ghcr.io/insight-platform/savant-adapters-gstreamer:latest | |
container_name: source-alpr-cd64c253-21a9-4f2c-8bde-6bceb1f97bd9 | |
entrypoint: /opt/savant/adapters/gst/sources/rtsp.sh | |
environment: | |
- SYNC_OUTPUT=True | |
- SOURCE_ID=cd64c253-21a9-4f2c-8bde-6bceb1f97bd9 | |
- RTSP_URI=rtsp://admin:[email protected]/Streaming/Channels/101 | |
- ZMQ_ENDPOINT=pub+connect:tcp://172.25.208.184:3331 | |
- RUST_LOG=info | |
- SOURCE_TIMEOUT=120 | |
- SOURCE_EVICTION_INTERVAL=20 | |
restart: unless-stopped | |
# source_alpr_out_to_chengalpet: | |
# image: ghcr.io/insight-platform/savant-adapters-gstreamer:latest | |
# container_name: source-alpr-3ab0efec-2260-41c5-be15-b8f4a03d4455 | |
# entrypoint: /opt/savant/adapters/gst/sources/rtsp.sh | |
# environment: | |
# - SYNC_OUTPUT=True | |
# - SOURCE_ID=3ab0efec-2260-41c5-be15-b8f4a03d4455 | |
# - RTSP_URI=rtsp://admin:[email protected]/Streaming/Channels/102 | |
# - ZMQ_ENDPOINT=pub+connect:tcp://172.25.208.184:3331 | |
# - RUST_LOG=info | |
# - SOURCE_TIMEOUT=120 | |
# - SOURCE_EVICTION_INTERVAL=20 | |
# restart: unless-stopped | |
# source_alpr_ca_out4th_av: | |
# image: ghcr.io/insight-platform/savant-adapters-gstreamer:latest | |
# container_name: source-alpr-c0685d88-5b5a-4192-b11c-ff43d4aedfc8 | |
# entrypoint: /opt/savant/adapters/gst/sources/rtsp.sh | |
# environment: | |
# - SYNC_OUTPUT=True | |
# - SOURCE_ID=c0685d88-5b5a-4192-b11c-ff43d4aedfc8 | |
# - RTSP_URI=rtsp://admin:[email protected]/Streaming/Channels/102 | |
# - ZMQ_ENDPOINT=pub+connect:tcp://172.25.208.184:3331 | |
# - RUST_LOG=info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.3" | |
services: | |
# module | |
module-alpr: | |
build: | |
context: . | |
dockerfile: Dockerfile | |
volumes: | |
- ../../models/alpr:/models | |
- ../../downloads/alpr:/downloads | |
- ..:/opt/savant/modules/alpr | |
- ../data:/data | |
command: modules/alpr/config/module.yml | |
environment: | |
- ZMQ_SRC_ENDPOINT=sub+bind:tcp://0.0.0.0:3331 | |
- ZMQ_SINK_ENDPOINT=pub+bind:tcp://0.0.0.0:3332 | |
- FPS_PERIOD=1000 | |
# - LOG_LEVEL=DEBUG | |
# - RUST_LOG=DEBUG | |
# - RUST_BACKTRACE=full | |
# - GST_DEBUG=default:4 | |
ports: | |
- "3331:3331" | |
- "3332:3332" | |
deploy: | |
resources: | |
reservations: | |
devices: | |
- driver: nvidia | |
device_ids: ['1'] | |
capabilities: [ gpu ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
debug: false | |
sources: | |
# 1st AVENUE OUT | |
f0c1adea-d97f-4390-a529-e82f0621ea88: | |
roi_area: [639, 315, 601, 1071, 1912, 1077, 1900, 307] | |
alpr_area: [1153, 841, 1182, 1048, 1392, 1045, 1383, 958, 1650, 961, 1677, 1044, 1900, 1053, 1900, 801] | |
# ZERO POINT OUT | |
33fbd6b3-b721-4be6-8ac3-e652da8d4682: | |
roi_area: [478, 198, 306, 1059, 1914, 1065, 1897, 147] | |
alpr_area: [666, 763, 661, 1071, 1360, 1069, 1365, 928, 1912, 880, 1914, 354, 1516, 282] | |
vehicle_tracker: | |
min_candidates: 4 | |
# Zeropoint Jn | |
e634058f-9ec7-4c78-8e70-b8ae0b898b8a: | |
roi_area: [994, 69, 216, 600, 171, 1075, 1912, 1072, 1911, 73] | |
alpr_area: [523, 697, 541, 1072, 1369, 1069, 1381, 948, 1911, 942, 1909, 456, 1420, 279] | |
vehicle_tracker: | |
min_candidates: 4 | |
# 1st Avenue IN | |
9f6272d9-361c-4b7a-bc14-68d63fd8857c: | |
roi_area: [7, 157, 10, 1072, 1911, 1072, 1912, 135] | |
alpr_area: [354, 573, 10, 873, 7, 1071, 1368, 1068, 1372, 919, 1654, 915, 1663, 1071, 1906, 1062, 1914, 727, 1710, 546] | |
vehicle_tracker: | |
min_candidates: 4 | |
# SEZ IN | |
add1d1ee-a6d2-4d97-98e5-b5589be68933: | |
roi_area: [3, 159, 4, 1069, 1915, 1069, 1909, 154] | |
alpr_area: [238, 592, 7, 759, 7, 1068, 1360, 1062, 1363, 942, 1596, 952, 1617, 1066, 1909, 1069, 1911, 765, 1599, 613] | |
vehicle_tracker: | |
min_candidates: 4 | |
# SEZ OUT | |
cd64c253-21a9-4f2c-8bde-6bceb1f97bd9: | |
roi_area: [10, 220, 7, 1065, 1914, 1072, 1906, 204] | |
alpr_area: [318, 610, 7, 786, 7, 1077, 1347, 1069, 1359, 951, 1582, 943, 1590, 1069, 1911, 1075, 1902, 577] | |
vehicle_tracker: | |
min_candidates: 4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment