How to find certain line pattern on image

@crackwitz, what do you mean by the second derivative? Derivative from derivative?

yes.

and since this forum needs me to type at least 20 characters, here’s some filler sentence.