I am new in this field and I apologize from the start if there will be any mistakes, I hope I will be able to expose the problem.
I want to use Quick's, draw! dataset for a project on Tableau.
Each file contains elements: key_id, word, recognized, timestamp, countrycode and drawing.
Drawing is a a JSON array representing the vector drawing, and Tableau doesn't read it.
{
"key_id":"5891796615823360",
"word":"nose",
"countrycode":"AE",
"timestamp":"2017-03-01 20:41:36.70725 UTC",
"recognized":true,
"drawing":[[[129,128,129,129,130,130,131,132,132,133,133,133,133,...]]]
}
The format of the drawing array is as following:
[ // First stroke
[x0, x1, x2, x3, ...],
[y0, y1, y2, y3, ...],
[t0, t1, t2, t3, ...]
],
[ // Second stroke
[x0, x1, x2, x3, ...],
[y0, y1, y2, y3, ...],
[t0, t1, t2, t3, ...]
],
Where x and y are the pixel coordinates, and t is the time in milliseconds since the first point. x and y are real-valued while t is an integer. The raw drawings can have vastly different bounding boxes and number of points due to the different devices used for display and input.
My question is: Is there a program or a way to count the lines that have been drawn for each drawing?