Skip to content

Commit

Permalink
abandon Downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
timholy committed Sep 2, 2021
1 parent 4baf0e8 commit e5833f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,10 @@ julia = "1"

[extras]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
Downloads = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
FileIO = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549"
ImageMagick = "6218d12a-5da1-5696-b52f-db25d2ecc6d1"
Images = "916415d5-f1e6-5110-898d-aaa5f9f070e0"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Documenter", "Downloads", "FileIO", "ImageMagick", "Images", "Test"]
test = ["Documenter", "FileIO", "ImageMagick", "Images", "Test"]
3 changes: 1 addition & 2 deletions test/flood_fill.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using ImageSegmentation
using ImageSegmentation.Colors
using ImageSegmentation.FixedPointNumbers
using Downloads
using FileIO
using Statistics
using Test
Expand Down Expand Up @@ -54,7 +53,7 @@ using Test
end
end
# Colors
path = Downloads.download("https://github.com/JuliaImages/juliaimages.github.io/raw/source/docs/src/pkgs/segmentation/assets/flower.jpg")
path = download("https://github.com/JuliaImages/juliaimages.github.io/raw/source/docs/src/pkgs/segmentation/assets/flower.jpg")
img = load(path)
seg = flood_fill(img, CartesianIndex(87,280); thresh=0.3)
@test 0.2*length(seg) <= sum(seg) <= 0.25*length(seg)
Expand Down

0 comments on commit e5833f7

Please sign in to comment.