forked from s17472/VRS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
21 lines (18 loc) · 951 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
"""
Configuration for main module
- Benedykt Kościński
"""
from decouple import config
# Defaults are for development purposes.
FGN_ENABLED = config('FGN_ENABLED', default=True, cast=bool)
VRN_ENABLED = config('VRN_ENABLED', default=True, cast=bool)
DIDN_ENABLED = config('DIDN_ENABLED', default=True, cast=bool)
# AAddresses of modules and video source. As user you will only need to change cam address.
CAM_ADDRESS = config('CAM_ADDRESS', default='http://localhost:8080/mjpg/video.mjpg')
SEQ_ADDRESS = config('SEQ_ADDRESS', default='http://localhost:5341/')
FGN_ADDRESS = config('FGN_ADDRESS', default="localhost:8520")
VRN_ADDRESS = config('VRN_ADDRESS', default="localhost:8500")
DIDN_ADDRESS = config('DIDN_ADDRESS', default="localhost:8510")
FGN_FRAME_COUNT = config('FGN_FRAME_COUNT', default=64, cast=int)
VRN_FRAME_COUNT = config('VRN_FRAME_COUNT', default=2, cast=int)
DIDN_FRAME_COUNT = config('DIDN_FRAME_COUNT', default=1, cast=int)