My guess
- OTSU thresholding for pure BW image
- Binary inversion to have white pixels for your edges
- Then a small dilation to connect everything followed by thinning to find single pixel edges
- Finally a harris corner detection
My guess is the corner detector will have a much higher result at the intersections than along the lines.