Java Image Quality Assessment

Hello, I am facing a problem. My task is to implement a feature which will determine whether the quality of a given image (mostly personal documents) is compliant (not blurry, not too bright, not with high contrast, etc) and I found this library but unfortunately for Java I find that the documentation is not good enough in my opinion so can anyone help me implement some of these algorithms?