hcmlab / nova

NOVA is a tool for annotating and analyzing behaviours in social interactions. It supports Annotators using Machine Learning already during the coding process. Further it features both, discrete labels and continuous scores and a visuzalization of streams recorded with the SSI Framework.
http://openssi.net/
GNU General Public License v3.0
174 stars 37 forks source link

.csv External Signal Data Format #358

Open ishouldbedany opened 6 years ago

ishouldbedany commented 6 years ago

Hi. New user of NOVA here.

I have some accelerometer signals (in .csv format) I want to load in parallel with a video, to help the labeling process. How should my .csv files be formated? I cannot find info about it in the documentation.

Thanks!

tobiasbaur commented 6 years ago

Hi,

we will add this to the documentation, the format should be like this:

1.0;0.7;0.0 <- First sample with 3 dimensions (e.g. x,y and z direction) 0.9;0.8;0.1 <- Second sample with 3 dimensions ...

either use semicolons as in the example (;) commas, spaces or tabs between dimensions.

Please update to the latest version, then simply drag and drop the csv file, you will see a dialog asking for the data type (most probably floats) and the samplerate in hz. (How many samples represent one second of data).

Please let me know if this solves your question. T

ishouldbedany commented 6 years ago

@tobiasbaur Thanks. Loaded it successfully and working well. Great piece of software.

Any tips on how to add a referential to the graphs and how to overlay specific points (landmark) over the signals? (I don't mind diving into the code, so any pointers are appreciated) Thanks!

tobiasbaur commented 6 years ago

What exactly are you planning to do? The painting of the signals is done in: Controls/Signal/SignalTrack.cs Depending on the task you could simply add annotations in a parallel track?

ishouldbedany commented 6 years ago

@tobiasbaur Annotating a signal where maxima, minima and zero-crossings are useful label indicators, hence why it would be helpful to plot them over the original signal. I'll take a look, thanks! :+1:

anthopper commented 6 years ago

Hi,

We are exporting Microsoft Kinect data from Nova to analyze body position. We're exporting the stream data to .csv. Unfortunately, there is no timestamp on the exported data. Would it be possible to add the time stamp on the exported data?

tobiasbaur commented 6 years ago

hi @anthopper. Indeed there are no timestamps right now BUT each frame is written in a single line, meaning if you recorded your kinect stream with 30hz, in the 30th line you are at exactly 1 second, after 45 lines in at 1.5 seconds and so on. Hope this helps. What would you imagine instead?

anthopper commented 6 years ago

That makes sense. We hadn't thought of that. I suppose we imagined, like on video, eye trackers, or log files, we were looking for unix time or mm:ss time since the beginning. But interpolating hz to time as you mention does just as well. So all I could recommend is make it more obvious in the documentation how that works.