ImageBlurDetector.WPF 1.0.3

dotnet add package ImageBlurDetector.WPF --version 1.0.3
                    
NuGet\Install-Package ImageBlurDetector.WPF -Version 1.0.3
                    
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="ImageBlurDetector.WPF" Version="1.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ImageBlurDetector.WPF" Version="1.0.3" />
                    
Directory.Packages.props
<PackageReference Include="ImageBlurDetector.WPF" />
                    
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 ImageBlurDetector.WPF --version 1.0.3
                    
#r "nuget: ImageBlurDetector.WPF, 1.0.3"
                    
#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 ImageBlurDetector.WPF@1.0.3
                    
#: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=ImageBlurDetector.WPF&version=1.0.3
                    
Install as a Cake Addin
#tool nuget:?package=ImageBlurDetector.WPF&version=1.0.3
                    
Install as a Cake Tool

# ImageBlurDetector.WPF

A simple WPF library for detecting image blur using OpenCV.

## Features

- Detect blur level in images using Laplacian variance method

- Support for BitmapImage and file path inputs

- Easy integration with WPF applications

## Installation


dotnet add package ImageBlurDetector.WPF



\## Usage

using ImageBlurDetector.WPF;



// From file path

double blurriness = BlurDetector.GetBlurriness("path/to/image.jpg");



// From BitmapImage

BitmapImage bitmap = new BitmapImage(new Uri("path/to/image.jpg"));

double blurriness = BlurDetector.GetBlurriness(bitmap);



// Interpretation

string result = blurriness < 100 ? "Very Blurry" : 

&nbsp;              blurriness < 500 ? "Slightly Blurry" : "Sharp";



\## Dependencies

OpenCvSharp4

OpenCvSharp4.runtime.win



\## License

MIT License

Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net9.0-windows7.0 is compatible.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
1.0.3 198 8/5/2025
1.0.2 192 8/5/2025
1.0.1 194 8/5/2025
1.0.0 191 8/5/2025