๐Ÿ‘ฆ์–ผ๊ตด ๊ฒ€์ถœ

1. ์ฝ”๋“œ ์ž‘์„ฑ

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()

2. ๋žœ๋“œ ๋งˆํฌ

Last updated