import os from tracker import Tracker mqtt_address = os.environ.get("MQTT_ADDRESS", "10.1.1.100") mqtt_port = int(os.environ.get("MQTT_PORT", 1883)) mqtt_client_id = os.environ.get("MQTT_CLIENT_ID", "cvzone_tracker_01") min_face_score = float(os.environ.get("MIN_FACE_SCORE", 0.5)) tracker = Tracker( mqtt_address=mqtt_address, mqtt_port=mqtt_port, mqtt_client_id=mqtt_client_id, min_face_score=min_face_score, show_img=False) while True: tracker.loop() tracker.release()