Detect the boundaries of handwritten digits I’m trying to recognize the bounds of distinct digits in Swift, not sure the right approach.