✨ If you need a README in Korean, please check the 'korean' branch.
✨한국어로 된 readme가 필요하시다면 'korean' branch를 확인해주세요
A Dementia Prevention Game for Seniors: Vision Maze, Utilizing OpenCV to Solve Mazes by Hand Movements
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.
- window10
- intel core i7
- Nvidia GeForce RTX 4070
- openCV 4.8
- python 3.8
- Yolo v7
YOLO v7 is a newer model than YOLO v5, providing higher accuracy and better inference speed. Therefore, training was conducted with YOLO v7.
Classes consist of a total of 5: 👈 (left), 👉 (right), 👆 (up), 👇 (down), and 👊 (fist).
Training was conducted with a dataset of 16,642 images labeled through Roboflow.
Data augmentation was utilized to create a more diverse dataset, including rotation, shear, and brightness adjustments.
Training was conducted using an Nvidia 4070 GPU.
A virtual environment was created with Anaconda for a Python 3.8 environment.
Training was conducted with a batch size of 16 and for 50 epochs.
This is data.yaml file.
After training, a .pt file was generated as the result.
This is the main screen. You can start the game by clicking, and pressing 0 brings up the help information.
Game Help, here you can find information on how to play the game, controls, and other useful tips.
You can select a stage by inputting numbers 1 to 3.
This is the game screen.
When you reach the exit, a congratulatory image appears.