Replace the letters in P300 application with pictures

About the GUI application to design signal processing pipelines
Post Reply
chantrip
Posts: 42
Joined: Fri Jul 08, 2011 9:32 am

Replace the letters in P300 application with pictures

Post by chantrip »

Hi

I'm working on P300-speller-xDawn application using Emotiv headset. I'd like to replace the letters in P300 spelling box with pictures (say D:\Pic\snoopy.jpg) by modifying the file p300-speller.ui. Based on the quote
2. It is possible, you will have to edit the .ui file in Glade Interface Designer and replace the labels (containing the letters) in eventboxes by images
. I downloaded winGlade and install Glade 3.4.1 on my Windows XP machine. However, when I opened the file 'p300-speller.ui', the message saying 'Error parsing glade file' popped up as shown in the attached file. Could you please tell me how to edit the file 'p300-speller.ui' using Glade software on windows machine?
Attachments
Parsing.PNG
Parsing.PNG (16.19 KiB) Viewed 5993 times

jlegeny
Posts: 239
Joined: Tue Nov 02, 2010 8:51 am
Location: Mensia Technologies Paris FR
Contact:

Re: Replace the letters in P300 application with pictures

Post by jlegeny »

Hello,

Glade designer 3.4.1 is actually a very old version. On our Windows machines we use Glade 3.6.6 (which is already quite old as well). You can download this version here : http://ftp.gnome.org/pub/GNOME/binaries ... lade3/3.6/

Cheers
Jozef

chantrip
Posts: 42
Joined: Fri Jul 08, 2011 9:32 am

Re: Replace the letters in P300 application with pictures

Post by chantrip »

Thank you very much for your quick response. It works fine now :).

stefan
Posts: 20
Joined: Thu Jul 28, 2011 2:14 am

Re: Replace the letters in P300 application with pictures

Post by stefan »

Hello everyone,

I'm also working with P300 picture-based speller. I've changed the letters into icons but the problem is that the icons do not increase on size or change the colours when they flash, not like the letters. Thus I got low accuracy of 57.9% using the icons :( comparing with 83.33% using the letters. Is there any way to change the colour or incease the size of the flashing icons to follow the same effects of the letters?

Also, I got this error during the online testing: "[WARNING] <Algorithm::LDA classifier - GPL> Feature vector size 57 (0x39) and hyperplane parameter size 229 (0xe5) does not match"
How can I avoid this problem?

cheers

ddvlamin
Posts: 160
Joined: Thu Aug 13, 2009 8:39 am
Location: Ghent University
Contact:

Re: Replace the letters in P300 application with pictures

Post by ddvlamin »

stefan wrote:Hello everyone,

I'm also working with P300 picture-based speller. I've changed the letters into icons but the problem is that the icons do not increase on size or change the colours when they flash, not like the letters. Thus I got low accuracy of 57.9% using the icons :( comparing with 83.33% using the letters. Is there any way to change the colour or incease the size of the flashing icons to follow the same effects of the letters?
I'm not sure how to do this, but maybe the developers can help you with that. Anyway did you try the p300-magic-card scenario that comes with OpenViBE? This scenario has some kind of effect that hides the picture, which maybe could enhance performance?

The accuracy that you are mentioning is the accuracy given when you trained the classifier I guess, not the one of the online testing phase?
stefan wrote:Also, I got this error during the online testing: "[WARNING] <Algorithm::LDA classifier - GPL> Feature vector size 57 (0x39) and hyperplane parameter size 229 (0xe5) does not match"
How can I avoid this problem?
cheers
This could be caused by several things. Either you did not train the classifier and used a classifier that was trained on feature vectors of 229 dimensions, while you only extract 57 features during online testing. Or you forgot to change some settings in the online scenario to match your settings of the training scenario (or vice versa). For example if you concatenate three channels of 60 samples, then you have a feature vector of 180 dimensions and your trained hyperplane of the LDA classifier should also count 180 dimensions (plus some additional bias term which we forget about for now). If of course you train your scenario with three concatenated channels of 60 samples and you only select one channel (or one spatial filter for the XDAWN algorithm) then you only have a feature vector of 60 dimensions during the online testing which is is a mismatch with the dimensions of the hyperplane.

Hope this helps,
Best regards,
Dieter Devlaminck

Post Reply