-
Notifications
You must be signed in to change notification settings - Fork 8
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
More info needed for Basic Usage example to work #51
Comments
Thanks for the feedback.
I guess the description of julia> using TestImages
julia> img = testimage("cameraman")
Errors encountered while loading "/Users/jc/.julia/packages/TestImages/Aoq3X/images/cameraman.tif".
All errors:
ArgumentError("Package QuartzImageIO not found in current path:\n- Run `import Pkg; Pkg.add(\"QuartzImageIO\")` to install the QuartzImageIO package.\n")
ArgumentError("Package ImageMagick not found in current path:\n- Run `import Pkg; Pkg.add(\"ImageMagick\")` to install the ImageMagick package.\n")
Fatal error:
ERROR: ArgumentError: Package QuartzImageIO not found in current path:
- Run `import Pkg; Pkg.add("QuartzImageIO")` to install the QuartzImageIO package. it says as long as you install This package is one of many image algorithm packages. If you try other packages under Of course, writing a more complete and descriptive demo gallery is already under consideration. |
Thanks for the reply, perhaps I should have rephrased the issue so you didn't have to go down the path after your first line Thanks for the feedback. ;) The rest of that I worked out how to make work and should of mentioned in the initial comment. For low barrier of entry having nicely documented first examples will go a long way to adoption, otherwise you might be selling yourself a little short in that department. People may be already using established tools and stumble across your page for instance and just want to see the "hello world" example work.
After that I had to figure out how to display it, and tried Thanks for your consideration |
@MrBobot Would you mind reading over the "Getting started" section of the latest documentation and let us know if the explanation addresses your request? |
The basic usage example has the below code:
If one just copies and pastes the above into a Julia 1.2 REPL it does not work, even after adding in
using ImageBinarization
. Digging around the docs found mention of ausing TestImages
, but simply adding that package to Julia has its own issues when trying to use it on a MacOS 10.14.6 with errors aboutQuartzImageIO
etc.. So for the sake of greater adoption and ease of use it would be worth having a nice self contained examples that one can simply cut and paste and have it work.The text was updated successfully, but these errors were encountered: