Trying to use BRISQUE but 'quality' module is not recognized

ah, right.

anyway… your call to that static method lacks some arguments (file paths).

only the instance’s method can be called without them (because they would have been given in the construction).

the model files can be found in opencv_contrib/modules/quality/samples/