π after nearly 2 years, it's finally here :).
I've heard your requests. My apologies for the delay - now that I've found some time, I've made some improvements:
- improved recognition through glare suppression
- detection support for multicolor pages (e.g., dollar bills)
The API will remain unchanged. In other words, same API, better results.
Special thanks to @andrewdcampbell for providing more test images to improve the recognition algorithm on.
Here's a side by side comparison of the improvement. For problematic images only ;).

It even works for slightly trickier cases with minimal background contrast like these:
That was a screenshot of the jscanify debugging tool which you can use to test how well it detects your document.
You can see for yourself by running npm test
.
As always, if you have any concerns or questions, feel free to raise an issue or start a discussion post. I'm always happy to help.