Opening a book

The only extra hardware you would need is a webcam. Finding/recognizing the page numbers isn't the most complex task you can do with the tools like OpenCV.

The problem with that is that for proper OCR you need a resolution of 600 dpi and you are unlikely to get that with a web cam.

Are you in control of the book? Something like a bar code to act as a page number might be a better option.