Skip to content

quality_QualityBRISQUE_create1

qualityfunctionOpenCV 5.0.0
import { quality_QualityBRISQUE_create1 } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTSmodel_file_path, range_file_path
FUNCTIONquality_QualityBRISQUE_create1
RETURN TYPEquality_QualityBRISQUE | null
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Create an object which calculates quality

quality_QualityBRISQUE_create1(model_file_path: ml_SVM | null, range_file_path: Mat): quality_QualityBRISQUE | null;
model_file_path

cv::String which contains a path to the BRISQUE model data, eg. /path/to/brisque_model_live.yml

range_file_path

cv::String which contains a path to the BRISQUE range data, eg. /path/to/brisque_range_live.yml

Returns

The quality_QualityBRISQUE | null result.

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.