The idea of a study companion robot stems from the question above. How is it like to have a robotic study buddy? In order to test out the hypothesis behind the question, we designed a socially assistive robot that can help students engaged in a writing task.
Enter the project directory keylogger/ and follow the instructions below:
$ make && make install
$ sudo keyloggerOpen applescript/windows_monitor.scpt using Mac OS X's Script Editor, and modify the file path to match the current project directory.
Modify the port number in web/server.py, web/index.html, and monitor.py to be the desired port number that you want to use. Then run the server using the following script:
$ sudo python3 web/server.pyAfter running the server, open a browser (preferably the latest version of Chrome) and open the following URL: http://localhost:8899/index.html to start monitoring the facial expression. You may change 8899 to the correct port number you set in the previous step.
$ sudo python3 monitor.py --model seqlearnModel.pkl --sendMsg