Best way to model a stitched seam?

Generally I would use an alpha texture, like this one:


But it depends on what is it for.