Hi , when I try get the preprocess image , I find your code in userimageski.py 38 line should be bw = closing(image <= thresh , square(2)) ranther than bw = closing(image > thresh , square(2)).
If you see this issue , Please change it.
Thanks for your open source and tutorial !