Pixel-Level crack detection using an attention mechanism