Peg base openvino image to 2021.4
Parameterize hard-coded values
Change-Id: I0c3d4866709b5ea98056699818fbac53da979af4
diff --git a/person_detection/base_camera.py b/person_detection/base_camera.py
index e2e85b6..bf849f1 100644
--- a/person_detection/base_camera.py
+++ b/person_detection/base_camera.py
@@ -68,7 +68,7 @@
lock = Lock()
activity_counter = Value('i', 0)
- def __init__(self, device, user, password, mbrlow, mbrhigh, devicegroup, noroc):
+ def __init__(self, device, url, keycloak, enterprise, site, user, password, mbrlow, mbrhigh, devicegroup, noroc):
self.mqttBroker = "localhost"
self.device = device
self.mbrlow = mbrlow
@@ -76,7 +76,7 @@
self.devicegroup = devicegroup
self.noroc = noroc
- self.roc = Roc(config.url, user, password, config.enterprise, config.site)
+ self.roc = Roc(url, keycloak, user, password, enterprise, site)
"""Start the background camera process if it isn't running yet."""
if BaseCamera.cameras[int(self.device)] == 0: