GithubHelp home page GithubHelp logo

scribbletrace's People

Contributors

ithinkido avatar kylberg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

scribbletrace's Issues

sikimage no longer uses this context/command structure?

I cannot get this code to work. I keep getting this error:
AttributeError: module 'skimage.data' has no attribute 'load'
when this line is reached:
img = skimage.data.load('C:/Users/GustafK/source/repos/github/kylberg/ScribbleTrace/MagrittePipe.jpg',as_gray=True)
(of course, I'm using my own directory correctly)

I brought this up on the image.sc forum and was told the code should be like this: You need to use

from skimage import io
img = io.imread(filename)

to load the image. And they told me to look at skimage v0.18.0 docs for examples on how to use skimage.data.

I tried fixing the code based on those docs, but I'm not succeeding. Maybe it's a different problem? Does this use a different version of Python than I'm using maybe? I would really like to use this code to process images. Please help!

how to output SVG?

Can we get sample code on how you're saving SVG files of these images?

skimage.data.load() should be skimage.io.imread()

Not sure when it changed, but in modern versions of scikit-image, files are loaded with skimage.io.imread() rather than skimage.data.load(). Everything else works. I'd make the change myself but honestly I have no idea how collaboration on these projects works.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.