learnopencv icon indicating copy to clipboard operation
learnopencv copied to clipboard

Training a Custom Classifier on a Custom Dataset for BRISQUE

Open Neltherion opened this issue 3 years ago • 0 comments

Hi & Thanks for the awesome codebase

The BRISQUE's trainModel() function has a couple of internal variables that I can't get a right grasp on to train my own custom SVM classifier:

  1. Where do the values for "livedbfiles/dmos.txt" Come from? they are used as differential mean opinion score (DMOS) scores for each distorted image's quality. If I want to train my own SVM on a Binary (Good/Bad) dataset, should I just give 0 to the "Good" images and 100 to the Bad ones?

  2. If I want to train my own custom SVM classifier, Do I have to have a dataset like the "LIVE Image Quality Assessment Database" dataset where we have original and distorted versions of the original image or can I have a dataset full of different good & bad quality images and expect the model to learn a proper mapping for them?

Thanks again for the awesome work.

Neltherion avatar Jan 01 '21 15:01 Neltherion