Comments (10)
Hi! Not sure if this helps, but I wrote some scripts in this repo that you can use to convert the .npz vector sketches to .svg files, and also display them if you want inside a Jupyter notebook.
You may want to play around with this script, and modify it to batch-process the files the way you want.
from quickdraw-dataset.
I've been using this. It creates a lot of svg images, but they're compact.
https://pypi.org/project/ndjsonTosvg/
from quickdraw-dataset.
Hey Luis, I've been using d3.js to draw SVG versions of the drawings here:
https://bl.ocks.org/enjalot/a2b28f0ed18b891f9fb70910f1b8886d
I'm using some node.js scripts and command line tricks to generate subsets of the data for rendering in the browser:
parsing the simplified ndjson: https://gist.github.com/enjalot/0ecec46ac5c286379e209c300b341883
parsing the binary format: https://gist.github.com/enjalot/dbd35f7e61ac62fcfc68a2be7ca8d480
here are some tips for processing .ndjson files with ndjson-cli and d3: https://gist.github.com/enjalot/54c4342eb7527ea523884dbfa52d174b
from quickdraw-dataset.
@kenn44 Very much so!
I know a lot of people would be interested in an accessible way to extract individual SVG's from this dataset :-)
.
from quickdraw-dataset.
I'm working on it. Give me few days :)
from quickdraw-dataset.
Thanks @hardmaru and @enjalot !! I haven't gotten a chance to try your suggestions but it seems like due to the vastness of this set, this is going to be an interesting nut to crack (at least given my limited experience with these kinds of frameworks / filetypes).
My ideal is individual saved out SVG's (with paths intact) for each one of these drawings. I'll report back after I've given your suggestions a try!!
from quickdraw-dataset.
For anyone else that's stumbling upon this, I'm 100% willing to host these somewhere or perhaps even pay a bounty for a streamlined approach to this 🌞
from quickdraw-dataset.
from quickdraw-dataset.
It would still take a long time and result in 50 million svg files.
Heh, the scale of this project is absurd, thanks for putting it in perspective.
In an effort to making the output of this project more accessible, perhaps we could just export a large amount from each category, if not every single image? I'm imagining something like 2-5k per category. So a lot of images, but certainly not enough to warrant the entire database. I'll experiment with that when I can.
@enjalot @hardmaru How much time should I expect to need per image export do you think?
from quickdraw-dataset.
Hello @luismqueral do you still need this feature? :)
from quickdraw-dataset.
Related Issues (20)
- idunno
- Can't find the drawings
- Let me finish my doodle
- Quick draw
- In portuguese clown expected crown images HOT 1
- Link to tensorflow does not work HOT 2
- Any plan to update the dataset ? HOT 2
- Translation
- Hi There, anyone who can help me to figure out why I cannot open my csv file on Jupyter?
- Komal
- Broken links HOT 2
- Symbol on coffee cup HOT 2
- Unable to recognize camera data? HOT 1
- https://github.com/mattermost/docs/projects/2#card-21675750
- Add a cattergory for a smartphone HOT 1
- 핫도그를 그려보세요.
- Information about data collection HOT 1
- Some classes are missing in the dataset
- Dataset in image format (.jpg, .png)
- Capstone- Bellabare- data analysis
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quickdraw-dataset.