Luxoria.Algorithm.BrisqueScore 3.0.3.4100

dotnet add package Luxoria.Algorithm.BrisqueScore --version 3.0.3.4100
                    
NuGet\Install-Package Luxoria.Algorithm.BrisqueScore -Version 3.0.3.4100
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Luxoria.Algorithm.BrisqueScore" Version="3.0.3.4100" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Luxoria.Algorithm.BrisqueScore" Version="3.0.3.4100" />
                    
Directory.Packages.props
<PackageReference Include="Luxoria.Algorithm.BrisqueScore" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Luxoria.Algorithm.BrisqueScore --version 3.0.3.4100
                    
#r "nuget: Luxoria.Algorithm.BrisqueScore, 3.0.3.4100"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Luxoria.Algorithm.BrisqueScore@3.0.3.4100
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Luxoria.Algorithm.BrisqueScore&version=3.0.3.4100
                    
Install as a Cake Addin
#tool nuget:?package=Luxoria.Algorithm.BrisqueScore&version=3.0.3.4100
                    
Install as a Cake Tool

Luxoria.Algorithm.BrisqueScore

This NuGet package provides a .NET wrapper for the BRISQUE (Blind/Referenceless Image Spatial Quality Evaluator) algorithm implemented in native C++ with OpenCV. It allows .NET developers to compute the perceptual quality of images using the BRISQUE algorithm without requiring a reference image.

Features

  • Easy-to-Use .NET API: Access BRISQUE functionality directly in .NET applications.
  • Cross-Platform Support: Includes native libraries for the following architectures:
    • x86 (32-bit Windows)
    • x64 (64-bit Windows)
    • arm64 (ARM-based 64-bit Windows)
  • Precompiled Native Libraries: The package includes precompiled brisque_quality.dll for all supported architectures.

Requirements

  • .NET Version: net8.0 or compatible.
  • Native Dependencies: OpenCV libraries are embedded within the native implementation.

Source Code

The precompiled native libraries are built from the source code available at LuxoriaSoft/brisque_impl

Installation

You can install the package via NuGet Package Manager or the .NET CLI:

Using NuGet Package Manager

Search for Luxoria.Algorithm.BrisqueScore in the NuGet Package Manager and install it.

Using .NET CLI

Run the following command:

dotnet add package Luxoria.Algorithm.BrisqueScore --version 3.0.3.4100

Usage

using Luxoria.Algorithm.BrisqueScore;

class Program
{
    static void Main()
    {
        string modelPath = @"path\to\brisque_model_live.yml";
        string rangePath = @"path\to\brisque_range_live.yml";
        string imagePath = @"path\to\image.jpg";

        try
        {
            using var brisque = new BrisqueInterop(modelPath, rangePath);
            double score = brisque.ComputeScore(imagePath);
            Console.WriteLine($"BRISQUE Score: {score}");
        }
        catch (Exception ex)
        {
            Console.WriteLine($"Error: {ex.Message}");
        }
    }
}

License

Luxoria.Algorithm.BrisqueScore is licensed under the Apache 2.0 License. See LICENSE for more information.

LuxoriaSoft

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.0.3.4100 4,143 3/4/2025
3.0.2.4100 174 2/19/2025
2.0.0.4100 458 1/28/2025
1.0.0 141 1/27/2025