Skip to content

An Electron app with touch interactions for visual cognition testing in children treated by www.ProjectPrakash.org

License

Notifications You must be signed in to change notification settings

mit-quest/prakAI-pebbles

Repository files navigation

prakAI-pebbles

An Electron app with touch interactions for visual cognition testing in children treated by Project Prakash.

Using the App

You can download the executable in the out directory to install and run the app. If you simply want to run the app and see what it does, then then you will need to download two things:

  1. the executable for your system in the out directory (if there is now installer, then see the next section)
  2. the example_experiments directory has example configuration directories inside that you can load into the app to see how it works.
  3. the example_datalogs directory has some example log files from success runs of an experiment, it is useful for writing analysis scripts.

Previewing, Packaging, and Modifying the App

If there is not an installer in the out directory for your OS, then you will need to build it for yourself using Electron and Electron Forge, it is really not too bad I promise.

Previewing App using Electron

  1. Install Node.js and the Node package manager NPM
  2. Install Electron by running npm install --save-dev electron
  3. You can then try to build an app with one of the following two options

Sample App

Following Electron's first app documentation

PrakAI-Pebbles

Building PrakAI-Pebbles by completing the following steps:

  1. Download this repo
  2. Terminal into the prakAI-pebbles directory inside the local copy
  3. Install all dependencies by running npm install
    1. Consider bumping updates as needed with caution npm update
    2. Consider addressing vulnerabilities npm audit fix
  4. Preview the app by running npm start

Packaging the App using Electron Forge

  1. Install Electron Forge by running npm i -g @electron-forge/cli
  2. Terminal into your project directory
  3. Create distributable by running electron-forge make

About the Naming

Why PrakAI?

The name of the PrakAI Suite is a reference to the use of technology in service of Project Prakash (Prakash means "light" in Sanskrit and their team treats children with curable blindness, more info at www.projectprakash.org). We chose to keep "Prak" in direct reference to Prakash, it is also a homonym of the Sanskrit verb root प्रच्छ् (transliterated as prachchh- or simply prach-) meaning "to ask, to seek, to desire, to know". Clearly, we have the great luxury of reflecting on word choice in our spare time and also concluded that the verb root प्रा (transliterated as pra-) meaning "to fill" combines well with the verb root कै (transliterated as kai-) meaning "to sound". Of course combining two verb roots is not grammaratically correct, but it creates something that one can transliterate as prakai प्राकै, which contains a reference to the use of technology and specifically artificial intelligence (abbreviated as AI). Thus after a truly well-intentioned and avant garde misuse of grammar in two languages and convenient choice of transliterations we arrive at the rather poetic "PrakAI".

Why Pebbles?

The first use of this app was to create a touch-driven digital version of an existing experiment that was run by having children select matching pebbles from a table in front of them. It is also a small homage to a great story (credited to Edward de Bono) about lateral thinking called The Tale of Two Pebbles that illustrates the importance of changing one's perspective when faced with a seemingly difficult situation.

Attributions

About

An Electron app with touch interactions for visual cognition testing in children treated by www.ProjectPrakash.org

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •