Way back when google was scanning stuff in, they open sourced their scanner, some info about it here, might be a starting point ? https://hackaday.com/2012/11/16/google-books-team-open-sources-their-book-scanner/
Way back when google was scanning stuff in, they open sourced their scanner, some info about it here, might be a starting point ? https://hackaday.com/2012/11/16/google-books-team-open-sources-their-book-scanner/