Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could you provide example how to convert input.jpg to result.svg? #29

Open
otarasovqs opened this issue Sep 15, 2023 · 1 comment
Open

Comments

@otarasovqs
Copy link

Hi, thank you for your work, I watched video and read readme and it should be very helpfull.
I also build and ran docker container.

But I can't see any documentation how to do the vector convertation?
Could you provide very simple example, please?

For example I have image.jpg and how to convert it in result.svg?

@Vahe1994
Copy link
Owner

Hello!
Thank you for your interest in this work and sorry for the late response. There isn't simple code available to convert images to SVG format using command line "make_svg.py input.jpg output.svg".
But you can find examples of image conversion into svg format in the following notebooks:
For curves: pretrain_model_loading_and_evaluation_for_curves.ipynb
For lines: pretrain_model_loading_and_evaluation_for_line.ipynb

Please take a look at these notebooks for more details and examples of the SVG conversion. If you have any further questions, feel free to ask, and I'll be happy to assist you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants