CMakeLists.txt 447 B

123456789
  1. set(the_description "Image Quality Analysis API")
  2. ocv_define_module(quality opencv_core opencv_imgproc opencv_ml WRAP python)
  3. # add test data from samples dir to contrib/quality
  4. ocv_add_testdata(samples/ contrib/quality FILES_MATCHING PATTERN "*.yml")
  5. # add brisque model, range files to installation
  6. file(GLOB QUALITY_MODEL_DATA samples/*.yml)
  7. install(FILES ${QUALITY_MODEL_DATA} DESTINATION ${OPENCV_OTHER_INSTALL_PATH}/quality COMPONENT libs)