quality_QualityBRISQUE_compute
import { quality_QualityBRISQUE_compute } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSimg, model_file_path, range_file_path
FUNCTIONquality_QualityBRISQUE_compute
RETURN TYPEScalar
static method for computing quality
quality_QualityBRISQUE_compute(img: Mat, model_file_path: EmbindString, range_file_path: EmbindString): Scalar;imgimage for which to compute quality
model_file_pathcv::String which contains a path to the BRISQUE model data, eg. /path/to/brisque_model_live.yml
range_file_pathcv::String which contains a path to the BRISQUE range data, eg. /path/to/brisque_range_live.yml
Returns
cv::Scalar with the score in the first element. The score ranges from 0 (best quality) to 100 (worst quality)
These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.