Skip to content

openCV 를 활용해 손을 움직여 미로를 푸는 ‘시니어를 위한 치매예방게임: 비전 미로

Notifications You must be signed in to change notification settings

MIN60/vision_maze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

✨ If you need a README in Korean, please check the 'korean' branch.

✨한국어로 된 readme가 필요하시다면 'korean' branch를 확인해주세요

vision_maze

A Dementia Prevention Game for Seniors: Vision Maze, Utilizing OpenCV to Solve Mazes by Hand Movements

Development Background

According to the Korean Neuropsychiatric Association, dementia has a global prevalence of approximately 5-10% among seniors over the age of 65, with 4.6 million new cases annually, equating to one new case every 7 seconds. The prevalence of dementia nearly doubles with every 5-year increase in age after 65. Due to rapid aging, the prevalence of dementia among the elderly population in Korea is expected to continue rising, with the number of patients projected to double every 20 years, reaching approximately 470,000 in 2010, 1.14 million in 2030, and 2.13 million by 2050. In light of the growing interest in dementia prevention programs, our team has focused on the potential of games to aid in dementia prevention. Research suggests that games can stimulate the brain by engaging senses such as sight and hearing, encourage the use of hands, and provide appropriate stimulation to help restore damaged brain functions. Games pose a lower risk of injury than physical exercise and allow individuals with physical limitations to continue experiencing new activities. Consequently, games are used in advanced countries for elderly dementia care. In Korea, the Ministry of Culture, Sports, and Tourism and the Game Culture Foundation have conducted nationwide education for the elderly, aimed at improving the perception of games among guardians of grandparent-grandchild families and promoting proper game usage.

Therefore, our team has developed "A Dementia Prevention Game for Seniors: Vision Maze," utilizing OpenCV to solve mazes by hand movements.

Development Environment

  • window10
  • intel core i7
  • Nvidia GeForce RTX 4070
  • openCV 4.8
  • python 3.8
  • Yolo v7

Learning Process

YOLO v7 is a newer model than YOLO v5, providing higher accuracy and better inference speed. Therefore, training was conducted with YOLO v7.

image

Classes consist of a total of 5: 👈 (left), 👉 (right), 👆 (up), 👇 (down), and 👊 (fist).

image image

Training was conducted with a dataset of 16,642 images labeled through Roboflow.

image

Data augmentation was utilized to create a more diverse dataset, including rotation, shear, and brightness adjustments.

image

Training was conducted using an Nvidia 4070 GPU.

image

A virtual environment was created with Anaconda for a Python 3.8 environment.

image

Training was conducted with a batch size of 16 and for 50 epochs.

image

This is data.yaml file.

image

After training, a .pt file was generated as the result.

image

Training Results

image image

vision_maze

Main Screen

image

This is the main screen. You can start the game by clicking, and pressing 0 brings up the help information.

image

Game Help, here you can find information on how to play the game, controls, and other useful tips.

Stage Selection

image

You can select a stage by inputting numbers 1 to 3.

Main Screen

image

This is the game screen.

image

When you reach the exit, a congratulatory image appears.

Video

Video Label

About

openCV 를 활용해 손을 움직여 미로를 푸는 ‘시니어를 위한 치매예방게임: 비전 미로

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages