Skip to content

mjw2705/Gesture_Recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

30 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Gesture Recognition

Description

BlazePalm์—์„œ ์ถ”๋ก ๋œ ํฌ์ธํŠธ๋กœ ์ œ์Šค์ฒ˜ ์ธ์‹ํ•˜๊ธฐ

์ •ํ•ด์ง„ ์ œ์Šค์ฒ˜ = swipe(์ƒ.ํ•˜.์ขŒ.์šฐ) ์ œ์Šค์ฒ˜, pinch ์ œ์Šค์ฒ˜, quiet ์ œ์Šค์ฒ˜, grab ์ œ์Šค์ฒ˜

Requirements

pip install -r requirements.txt

๋ชจ๋ธ ๊ตฌ์ถ•

1. collect dataset

  • ์—ฐ์† ๋™์˜์ƒ ์ดฌ์˜ํ•ด์„œ ์† keypoint ์ขŒํ‘œ๋ฅผ ๋ฝ‘๊ณ  ๊ฐ keypoint๋“ค์˜ ๊ฐ๋„๋ฅผ feature๋กœ ์ €์žฅ

  • ์ด 226,280๊ฐœ ๋ฐ์ดํ„ฐ โ†’ './dataset/raw_data.npy'

  • actions = ['palm', 'quiet', 'grab', 'pinch']

2. train

  • ํ•™์Šต๋œ ๋ชจ๋ธ : gesture_model.h5 โ†’ onnx๋ชจ๋ธ๋กœ ๋ณ€๊ฒฝํ•ด์„œ ์‚ฌ์šฉ

  • ํ•™์Šต ์ •ํ™•๋„ - 99%

Demo

  • ์–ผ๊ตด detectํ•˜๊ณ , ์ œ์Šค์ณ ์˜์—ญ ๋งŒ๋“ค์–ด ์˜์—ญ ๋‚ด์—์„œ๋งŒ ์ œ์Šค์ฒ˜์ธ์‹์ด ๊ฐ€๋Šฅํ•˜๊ฒŒ
  • quiet ์ œ์Šค์ฒ˜๋Š” ์ž… ์ฃผ๋ณ€ roi์—์„œ๋งŒ ๊ฐ€๋Šฅํ•˜๊ฒŒ
  • grab ์ œ์Šค์ฒ˜๋Š” ํšŒ์ „ ๊ฐ๋„ ๊ณ„์‚ฐ
  • swipe ์ œ์Šค์ฒ˜๋Š” palm ์ œ์Šค์ฒ˜๊ฐ€ ์ธ์‹ ๋˜๋ฉด ์ด๋™ ์•Œ๊ณ ๋ฆฌ์ฆ˜์„ ์‚ฌ์šฉํ•ด์„œ ์ƒ.ํ•˜.์ขŒ.์šฐ ํŒ๋‹จ โ†’ ์†๋ฐ”๋‹ฅ ์ด๋™ ์ขŒํ‘œ ๋น„์œจ๋กœ ๊ณ„์‚ฐ

demo

About

๐Ÿ– Gesture Recognition

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published