Skip to main content
2 of 5
added 10 characters in body
Alexey Popkov
  • 62.5k
  • 7
  • 163
  • 405

One way is to Blur and then Binarize with fixed threshold 0.5:

EdgeDetect[Binarize[Blur[FillingTransform[Closing[img, 1]], 5], .5]] 

output

In some cases applying Blur twice can give better result:

EdgeDetect[Binarize[Blur[Blur[FillingTransform[Closing[img, 1]], 3], 4], .5]] 
Alexey Popkov
  • 62.5k
  • 7
  • 163
  • 405