It's been often discussed in the forums. For example, see:
https://www.mobileread.com/forums/showthread.php?t=14649
While parts of the process involve power tools, essentially the key component is a scanner with sheet feeder and good OCR software. Plug the result into Book Designer and you're good to go.