Got scanner to work... not well though. Getting some really weird periodic vertical stripes.
Wrote a program to workaround those. I simply divide all pixel in column by nth brightest pixel in that column, assuming that each column has some area of white paper. In other words, renormalize.
Processed scan: