from helloai import *
wnd = Window('wnd')
camera = Camera()
detector = FaceDetector()
def loop():
img = camera.read()
# 24๊ฐ์ ๋๋๋งํฌ์ ๋ณด๊ฐ ๋ฆฌํด๋๋ค.
img, landmarks = detector.process(img, draw=True)
if len(landmarks) > 0:
print(landmarks)
wnd.show(img)
# ---------------------------------------
# for HelloAI
# ---------------------------------------
if __name__ == '__main__':
run()