I’d guess, without knowing the details, this is already how it is done? Guessing can only take you so far, not to mention some pages has no straight lines (and I think you need orthogonal lines for the reconstruction to be effective?) and some has deceivingly straight lines (or even slanted lines.)
What is described above is something I’ve seen in a documentary. They have a very fancy camera and the person holding the book can just slowly flipping through the pages, and it can reconstruct the flat pages.
I guess the problem is not technology or mathematical model behind it, but how to make it cheap. It is analogous to Google’s self driving car, that you want to solve the same problem with much cheaper technology.