Skip to content

Latest commit

 

History

History

IconNotifPython

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

IconNotifPython

Trigger icon-augmented notfications on OHMDs (Epson BT300).

Installation

  • make sure python3 is installed
  • install conda (e.g., Anaconda/Miniconda)
  • create new conda environment, conda env create -n psychopy -f psychopy-env.yml
  • create a directory stimuli inside root folder (i.e., IconNotifPython/stimuli)
  • activate psychopy environment, conda activate psychopy
  • [only if demos are not working] downgrade xlrd version, pip install xlrd==1.2.0

OHMD (Android) app

  • install the corresponding OHMD app in IconNotifAndroid to the hardware (e.g., Epson BT-300 or any Android device)

Run the application

  • edit device_config.py and set the IP address of the OHMD
  • run the python task_vigilance.py (or trigger.sh in terminal) and input the <participant_id> (default: p0) and <session_id> (default: 0) when prompts
  • see the configurations at participant_config.py
  • all data will be logged to data/<participant_id>
  • extra commands
    • to test icons python test_icons.py (and press arrow down to navigate)
    • to test notifications python test_notification.py
    • to find accuracy for each python txt_to_csv_illustrations.py -p <PARTICIPANT_ID> -s <SESSION_ID>