Difference between revisions of "Projects Social Phobia"

From vret
Jump to: navigation, search
(Structure)
(Download)
 
(47 intermediate revisions by 2 users not shown)
Line 14: Line 14:
  
 
=== Dialog database API ===
 
=== Dialog database API ===
 +
Flexibile implemented database with "well" documented api. All functions have comments explaining what they do and how to use them. The database uses sqlite to save all data into a file on the harddisk so the database does generate file I/O opperations when using.
  
==== Structure ====
+
[[Dialog database api|Dialog database structure]]
Database structuur
 
  
<table>
+
==== Download ====
<tr><th>'''''Sentence'''''</th></tr>
+
[https://slein13.homedns.org:3333/svn/Dialog https://slein13.homedns.org:333/svn/Dialog Guest|GuestSVN]
<tr><th>id</th> <td>Int</td> <td>Unique identification number</td></tr>
 
<tr><th>sentence</th> <td>String</td> <td>Sentence string (text)</td></tr>
 
<tr><td>-----------</td></tr>
 
<tr><th>'''''Link'''''</th></tr>
 
<tr><th>reply_to_sentence</th> <td> Int</td> <td> Sentence id identifying the sentence replied to</td></tr>
 
<tr><th>Reply_sentence</th> <td> int</td> <td> Sentence id identifying the sentence reply</td></tr>
 
<tr><th>order</th> <td> int</td> <td> Sentence position in reply list</td></tr>
 
<tr><td>-----------</td></tr>
 
<tr><th>'''''Property'''''</th></tr>
 
<tr><th>id</th> <td> Int</td> <td> Unique identification number</td></tr>
 
<tr><th>name</th> <td> String</td> <td> Property name</td></tr>
 
<tr><th>show</th> <td> Int</td> <td> Enable/disable property in database</td></tr>
 
<tr><td>-----------</td></tr>
 
<tr><th>'''''Property_list'''''</th></tr>
 
<tr><th>property_id</th> <td> Int</td> <td> Property id indentifying the property</td></tr>
 
<tr><th>sentence_id</th> <td> Int</td> <td> Sentence id indentifying the sentence</td></tr>
 
<tr><th>value</th> <td> String</td> <td> Value of the property</td></tr>
 
<tr><td>-----------</td></tr>
 
<tr><th>'''''Action'''''</th></tr>
 
<tr><th>id</th> <td> Int</td> <td> Unique identification number</td></tr>
 
<tr><th>action</th> <td> String</td> <td> Action string</td></tr>
 
<tr><td>-----------</td></tr>
 
<tr><th>'''''Action_list'''''</th></tr>
 
<tr><th>action_id</th> <td> Int</td> <td> Action id indentifying the Action</td></tr>
 
<tr><th>sentence_id</th> <td> Int</td> <td> Sentence id indentifying the Sentence</td></tr>
 
<tr><th>order</th> <td> Int</td> <td> Action position in action list</td></tr>
 
<tr><th>kind</th> <td> Int</td> <td> Identifying if the action is a pre or post action</td></tr>
 
</table>
 
  
Notes:
+
[http://mmi.tudelft.nl/vret_oud/images/b/b9/DialogueDatabase1_3.zip Dialogue 1.3]
Default properties already available in the database are:
+
:''' requirements '''
* audio_url (default = “”)
+
:python (tested with 2.6)
* avatar_type (default = “”)
 
* is_root (default=”0”)
 
 
  
Orders of sentences or actions are not forced to be unique so multiple sentences can be placed on the same order number the real order of the data in the list will be unknown then.
+
=== Editor3 ===
 +
Editor3 is a Gui interface to fill the Dialog database and presents the same flexibility as the database to the user.
  
Id’s will be automatically generated by the database and can’t be manipulated
+
'''Comment'''
  
Action Kind will be 0 = PreAction and 1 = PostAction
+
Version 0.9* is fully functional and save to use
  
Property show will be 0 = Disabled and 1 = Enabled. When disabled property will not be added to property list of sentences
+
==== Download ====
 +
*[https://slein13.homedns.org:3333/svn/Editor3/tags/ Editor3] Guest | GuestSVN
  
=== Download ===
+
:'''requirements'''
[http://members.ziggo.nl/aldinila/slein13/Dialogue_0.1a.zip Dialogue 0.1a]
+
:python (tested with 2.6)
Empty classes to look at and wonder
+
:PyQt 4.*
 +
:Dialog database 1.2 integrated (files can be override if newer version of the database comes available)
  
==== Pre build tools ====
+
:'''running'''
 +
:Editor3Main.py
 +
*[https://slein13.homedns.org:3333/svn/Editor3/tags/0.99/Exe/ Editor3 0.99 Executable] Guest | GuestSVN
 +
 
 +
Please give more details. If I execute this I get the following screen where it's not clear how to proceed
 +
 
 +
[[Image:Editor30_96_startup.png|600px]]
 +
 
 +
=== Database converter 2 to 3 ===
 +
Simple converter program that completely transfers the data from a database build with Editor2 into a database for Editor3
 +
 
 +
==== Download ====
 +
[http://mmi.tudelft.nl/vret_oud/images/5/57/Converter2to3.zip Converter2to3]
 +
:'''requirements'''
 +
:Python (tested with 2.6)
 +
:SqlAlchemy
 +
:PyQt4
 +
:Dialog database 1.1 (already integrated in the file)
 +
 
 +
:'''running'''
 +
:converter2to3.py
 +
 
 +
=== SpeechDetector ===
 +
Detects if microphone input is louder then a defined threshold and for how long it was louder. For an working example see SpeechDetectorWidget (defined in SpeechDetector.py)
 +
 
 +
==== Download ====
 +
[http://mmi.tudelft.nl/vret_oud/images/c/cb/SpeechDetector.zip SpeechDetector]
 +
:'''requirements'''
 +
:Python (tested with 2.6)
 +
:PyQt4 (For widgets can run without)
 +
:[http://people.csail.mit.edu/hubert/pyaudio/ pyaudio v0.2.3] -- copies of files [[PyAudio|here]]
 +
:Audioop (Integrated in python)
 +
 
 +
:'''running'''
 +
:SpeechDetector.py
 +
 
 +
=== SpeechRecognition / KeywordDetector ===
 +
Speechrecognition script that accepts character input or input from a special input field implementing some functions. For examples see SpeechRecognitionWidgets.py
 +
 
 +
==== Download ====
 +
[http://mmi.tudelft.nl/vret_oud/images/a/a0/SpeechRecognition.zip SpeechRecognition / KeywordDetection]
 +
:'''requirements'''
 +
:Python (tested with 2.6)
 +
:PyQt4 (For widgets can run without)
 +
 
 +
:'''running'''
 +
:SpeechRecognitionWidgets.py
 +
 
 +
=== DialogEngine ===
  
 
== Literature ==
 
== Literature ==

Latest revision as of 15:02, 5 October 2010

General Information

Projects

Recreating a social situation in Virtual Reality

Project members:

Virtual Conversation

Project Members:

Resources

Dialog database API

Flexibile implemented database with "well" documented api. All functions have comments explaining what they do and how to use them. The database uses sqlite to save all data into a file on the harddisk so the database does generate file I/O opperations when using.

Dialog database structure

Download

https://slein13.homedns.org:333/svn/Dialog Guest|GuestSVN

Dialogue 1.3

requirements
python (tested with 2.6)

Editor3

Editor3 is a Gui interface to fill the Dialog database and presents the same flexibility as the database to the user.

Comment

Version 0.9* is fully functional and save to use

Download

requirements
python (tested with 2.6)
PyQt 4.*
Dialog database 1.2 integrated (files can be override if newer version of the database comes available)
running
Editor3Main.py

Please give more details. If I execute this I get the following screen where it's not clear how to proceed

Editor30 96 startup.png

Database converter 2 to 3

Simple converter program that completely transfers the data from a database build with Editor2 into a database for Editor3

Download

Converter2to3

requirements
Python (tested with 2.6)
SqlAlchemy
PyQt4
Dialog database 1.1 (already integrated in the file)
running
converter2to3.py

SpeechDetector

Detects if microphone input is louder then a defined threshold and for how long it was louder. For an working example see SpeechDetectorWidget (defined in SpeechDetector.py)

Download

SpeechDetector

requirements
Python (tested with 2.6)
PyQt4 (For widgets can run without)
pyaudio v0.2.3 -- copies of files here
Audioop (Integrated in python)
running
SpeechDetector.py

SpeechRecognition / KeywordDetector

Speechrecognition script that accepts character input or input from a special input field implementing some functions. For examples see SpeechRecognitionWidgets.py

Download

SpeechRecognition / KeywordDetection

requirements
Python (tested with 2.6)
PyQt4 (For widgets can run without)
running
SpeechRecognitionWidgets.py

DialogEngine

Literature

Virtual Reality Exposure in the Treatment of Panic Disorder With Agoraphobia: A Case Study

Helena Villa Martin, Cristina Botella, Azucena García-Palacios, Jorge Osma.
Association for Behavioral and Cognitive Therapies. 2007

Virtual Reality Therapy Versus Cognitive Behavior Therapy for Social Phobia: A Preliminary Controlled Study

E. Klinger, S. Bouchard, P. Legeron, S. Roy, F. Lauer, I. Chemin, P. Nugues.
CyberPsychology & Behavior. vol. 8 no. 1. 2005

Virtual Reality Exposure in the Treatment of Social Phobia

E. Klinger, P. Legeron, S. Roy, I. Chemin, F. Lauer, P. Nugues.
2004

Virtual Reality Exposure in the Treatment of Social Anxiety

Barbara O. Rothbaum, Larry E Hodges, Page Anderson.
Cognitive and Behavioral Practice. vol. 10. 2003

Exposure to Social Anxiety Words: Treatment for Social Phobia Based on the Stroop Paradigm

Carrie L. Masia, Daniel W. McNeil, Leslie G. Cohn, Debra A. Hope.
Cognitive and Behavioral Practice. vol. 6. 1999

Involved Members