maverickjoy / pepper-tic-tac-toe

Pepper Robot Playing Game Of Tic-Tac-Toe On Real Time With Human
MIT License
14 stars 5 forks source link
artificial-intelligence artificial-intelligence-algorithms nao nao-robot naoqi naoqi-python naoqi-robot object-detection pepper pepper-coding pepper-programming pepper-robot pepper-ros python robot robotics softbank-robotics tic-tac-toe tictactoe-game yolov3

PEPPER ROBOT CODES

NAOqi Python SDK MIT PRs Welcome

The motive for Pepper robot is to find a tic_tac_toe board in the environment, localise itself accordingly and then play a game of it in real time with a human.

Start the game by saying Hi to Pepper, it will prompt you all the way till the end of game after that. The detection of cells inside the board is made using YOLO with a training of around 300 images. I would suggest to have one's own training with a better dataset, but for trial one can ask for its yolo_weights from me.

Installation

I would highly recommend using python virtual environment for installing dependencies used in pepper programming. For installation of python virtual environment one can follow the guide.

pip install -r requirements.txt

One also needs to add naoqi a third party python package for using qi drivers one can find the python package here.

If having a trouble while adding the python package on mac follow this repo.

Usage

workon <virtual_env_name>

python app.py

Notes

It is programmed in such a way that it supports the following features :


TICTACTOE VIDEO

ASTHAMA SERACH VIDEO

FALL DETECTION VIDEO

License

MIT License 2018 © Vikram Singh and contributors