Giter VIP home page Giter VIP logo

giant's Introduction

GIAnT

The Group Interaction Analysis Toolkit GIAnT is a research tool that visualizes interactions of groups of people in front of a large interactive display wall. Functionality of and rationale for GIAnT can be found in our publication:

Ulrich von Zadow and Raimund Dachselt. 2017. GIAnT: Visualizing Group Interaction at Large Wall Displays. In Proceedings of the SIGCHI Conference on Human Factors in Computing Systems (CHI '17). ACM, New York, NY, USA, DOI: http://dx.doi.org/10.1145/3025453.3026006

Please note that this is a research prototype and therefore provided as is. Still, if you have questions or issues, please contact [email protected]. Also, not that it is licensed under the GPL (See the LICENSE file) and we would be happy to integrate code provided by others. One good way to do this is to fork using github and provide us with a pull request that we can discuss.

Installing GIAnT

Plan some time for the installation, as the toolkit has a number of dependencies.

Prereqisites.

GIAnT is plattform-independent and based on libavg. We have tested it under Mac and Linux. Still, there should be little to no OS-specific code; porting it should be a matter of adjusting the make process and possibly some minor source code changes.

So, first install the development version of libavg as detailed on one of these pages:

Then, install sqlite (https://sqlite.org/). This is an easy process that depends on your plattform.

The libavg plugin

GIAnT uses a small libavg plugin to display the visualizations which is built using CMake:

$ cd GIAnT/plugin
$ mkdir build && cd build
$ cmake ..
$ make -j5
$ sudo make install

External plugins

GIAnt needs two small external libavg plugins:

Clone both repositories and build them according to the instructions there.

Importing data

GIAnT expects its data to be in an SQLite database and provides a script to generate this database from raw csv files. You will probably need to tweak settings in setup.py and pat_model.py to get it to find your files, and, if necessary, adapt the import to your csv files.

There are currently two csv files per session, formatted as follows:

  • optitrack head data:
    • timestamp: hh:mm:ss:mil
    • userid
    • pos: (x,y,z) in meters. (0,0,0) is at the lower left corner of the wall. When facing the wall, x points left, y up, z into the wall.
    • rot: (yaw, pitch, roll) angle in radians. Angles are applied in this order. Origin is facing the wall.
"timestamp","id","pos","rot"
"15:24:36.685","1","(-2.7256436347961426, 1.3635157346725464, -1.8309845924377441)","(0.21834592521190643, -0.7315365076065063, 0.20152150094509125)"
"15:24:36.686","1","(-2.7256436347961426, 1.3635157346725464, -1.8309845924377441)","(0.21834592521190643, -0.7315365076065063, 0.20152150094509125)"
"15:24:36.686","1","(-2.7256436347961426, 1.3635157346725464, -1.8309845924377441)","(0.21834592521190643, -0.7315365076065063, 0.20152150094509125)"
  • touch data:
    • timestamp: hh:mm:ss:mil
    • (x,y): position in pixels
    • id: String identifier of the user
"timestamp","pos","userid"
"15:25:16.947","(6365,1501)","1"
"15:25:18.447","(5387,1804)","2"
"15:25:18.447","(5372,1839)","None"

Run the import script:

$ ./setup.py

GIAnt also expects a video file for each session. This video file should be coded so that it contains no delta frames, e.g. by running it through ffmpeg or avconv (if GIAnT updates the video at less than interactive rates, you forgot this step):

$ avconv -i 2016.03.17-151215-input.mp4 -vcodec h264 -g 1 2016.03.17-151215-output.mp4

The timestamp in the video filename is used for synchronization with the motion and touch data, so it's best to generate the video file name automatically.

Starting GIAnT

$ python main.py

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.