We are participating in EDISON2018 project
home rehabilitation treatment device using raspberry pi
It is a rehabilitation device for people with paralyzed hands.
We provide some games(using video recognition and tact) and patients can rehabilitate through games
- my team name is Grape!
- i'm studying Electronic Engineering, Incheon National University.
- Team members
- Park jun young: 3rd grade ([email protected])
Project period: 2018. 07. 03. ~ 2018. 07. 12.
We found problem, found problem solution, and developed some games.
We had meetings every day during lunch(12:00~13:00) and dinner(18:00~19:00)
- Increase in stroke patients.
- Shortage of rehabilitation hospitals.
- Takes a lot of money and time.
- Without rehabilitation, paralysis gets worse.
- Provide patients with rehabilitation treatment.
- Have fun with games.
- Provide low cost services.
1. dice game demo(video)
- We used picamera and opencv(module in python) to recognize the dice.
- This game is rolling dice game.
- If you win the game, you can read good words.
2. hand gesture game demo(video)
- We used picamera and opencv(module in python) to recognize the hand.
- This game is counting iteration. (finger concentration or stretching)
3. pick up color card game demo(video)
- We used picamera and opencv(module in python) to recognize the color card.
- This game is played by picking up color cards that computer shows.
4. mole game demo(video)
- We used tact switch and pygame(module in python)
- This game is catching mole randomly coming out on the computer screen.
5. maze game demo(video)
- We used tact switch and pygame(module in python)
- This game is solving complicated maze.
- raspberry pi3
- pi camera
- TACT switch
- python3
- opencv
- RPi.GPIO
- numpy
- pygame
- turtle
-
install RASPBIAN
We used RASPBIAN : Release date: 2018.06.27 -
apt-get update
pi@raspberrypi:~ $ sudo apt-get update
pi@raspberrypi:~ $ sudo apt-get upgrade
- Install RPi.GPIO
pi@raspberrypi:~ $ sudo apt-get install python-dev python3-dev
pi@raspberrypi:~ $ sudo apt-get install python-rpi.gpio
- Install numpy
pi@raspberrypi:~ $ sudo apt-get install python3-numpy
- Install opencv
We used github to install opencv
pi@raspberrypi:~ $ git clone https://github.com/dltpdn/opencv-for-rpi.git
pi@raspberrypi:~ $ cd {your path}/opencv-for-rpi/stretch/3.4.0
pi@raspberrypi:~/...../3.4.0 $ sudo apt-get install ./OpenCV*.deb -y
Install check
pi@raspberrypi:~ $ pkg-config --modversion opencv
if you look at 3.4.0, it is success!
- Setting picamera
pi camera is not USB type, so you should set it to recgnize it as a device.
pi@raspberrypi:~ $ sudo modprobe bcm2835-v4l2
Checking device
pi@raspberrypi:~ $ ls /dev/video*
- etc
python3, pygame are installed with the RASPBIAN installation. turtle is internal function of python3 if there is anything else you need Please install
-
We can get data from patients how much time they took to finish up the each game.
-
Scrutinizing that data we collected, We could discern degree of stroke or other diseases related to hand paralysis or numbness.
-
Now, In this stage, IoT technology will transfer not only our raw data but also analysis of data to the medical society.
-
And then we can make ecosystem between patients society and medical society that they can feedback more precisely and promptly.