Does it work only on books and magazines or would it work on a driver license or ID card as well?
A license or ID will almost certainly have medium-contrast elements in the background that will show up as dark. But if you were able to manipulate the contrast/brightness appropriately in advance, you could probably get it to work.