googlecreativelab/quickdraw-dataset

Code to process raw dataset to simplified dataset

michaelhuang74 opened this issue · 6 comments

The simplification process is discussed as follows.

  1. Align the drawing to the top-left corner, to have minimum values of 0.
  2. Uniformly scale the drawing, to have a maximum value of 255.
  3. Resample all strokes with a 1 pixel spacing.
  4. Simplify all strokes using the Ramer–Douglas–Peucker algorithm with an epsilon value of 2.0.

Where can I find the source code that implements the above steps for simplifying the raw dataset? Thanks.

@hardmaru Thank you very much for sharing your implementation of RDP algorithm.

@michaelhuang74 Hello, have you got the source code that implements the four preprocessing steps? Thanks.

@PengBoXiangShang No, I didn't. It was almost one year ago. I had moved to other things. Sorry.

@michaelhuang74 Thanks for your reply.

@HalfdanJ Hello dear Jonas, could you please release the code to covert the raw data to simplified data? Thank you very much.