Why pipelines with small and simple algorithms almost always better then DNN
https://blogs.dropbox.com/tech/2016/08/fast-and-accurate-document-detection-for-scanning/
https://blogs.dropbox.com/tech/2016/08/fast-and-accurate-document-detection-for-scanning/