๐์ธ์ฒด ๊ฒ์ถ
Last updated
Last updated
from helloai import *
wnd = Window('wnd')
camera = Camera()
detector = PoseDetector()
def loop():
img = camera.read()
# ์ธ์ฒด ๊ฐ์ง ์ฒ๋ฆฌ
# ๋๋๋งํธ๊ฐ ๊ทธ๋ ค์ง ์ด๋ฏธ์ง, 33๊ฐ์ ๋๋๋งํฌ ์ ๋ณด๊ฐ ๋ฆฌํด๋๋ค.
img, landmarks = detector.process(img, draw=True)
# ์ด๋ฏธ์ง ์๋์ฐ์ ํ์
wnd.show(img)
# ---------------------------------------
# for HelloAI
# ---------------------------------------
if __name__ == '__main__':
run()