Method Compute
- Namespace
- OpenCvSharp.Quality
- Assembly
- OpenCvSharp.dll
Compute(InputArray, string, string)
static method for computing quality
public static Scalar Compute(InputArray img, string modelFilePath, string rangeFilePath)
Parameters
imgInputArrayimage for which to compute quality
modelFilePathstringString which contains a path to the BRISQUE model data, eg. /path/to/brisque_model_live.yml
rangeFilePathstringcv::String which contains a path to the BRISQUE range data, eg. /path/to/brisque_range_live.yml
Returns
- Scalar
cv::Scalar with the score in the first element. The score ranges from 0 (best quality) to 100 (worst quality)