from common import recognizerClient

config={"endpoint":"http://localhost",
        "apiPort":9000,
        "mlPort":6500,
        "api_version":"api/v1",
        "service":"recognition",
        "api_key":"00000000-0000-0000-0000-000000000002",
        "maxFailedAttempts":5000,
        "matchThreshold":0.6
        }

recognizer=recognizerClient(config)
while True:
    img=np.random.rand(300,300,3)
    embedding= recognizer.get_encodings(img)
    print("dets",det)