Skip to content

release 3.0.1

Latest

Choose a tag to compare

@syjdev syjdev released this 11 Nov 14:41

BlurDiscriminator is now PixelBlurDetector, and the SDKs have moved to their own repositories,
where they are published through Swift Package Manager and Maven Central.

PixelBlurDetector finds the blurry regions of a photo, pixel by pixel, on the device. It returns a
blur map with one value per pixel, from a 1.0M-parameter segmentation model that runs on Core ML on
iOS and TensorFlow Lite on Android, with matching results on both platforms.

Where things are now

Repository Install
iOS SDK PixelBlurDetector-iOS Swift Package Manager, PixelBlurDetectorKit
Android SDK PixelBlurDetector-Android Maven Central, io.github.syjdev:pixel-blur-detector
Overview, benchmarks, demo apps this repository –
.package(url: "https://github.com/syjdev/PixelBlurDetector-iOS.git", from: "3.0.1")
implementation("io.github.syjdev:pixel-blur-detector:3.0.1")

What's Changed

  • Renamed to PixelBlurDetector. Links to the old name redirect here.
  • iOS and Android SDKs with an async API (prepare() / predict()), EXIF orientation support,
    blurRatio() and per-stage timings, and identical preprocessing on both platforms.
  • Benchmarks: accuracy on CUHK-TE-1 and DUT-TE against published defocus blur detectors,
    retrained on the standard training sets for a fair comparison. See
    Benchmarks.
  • Demo apps for iOS and Android in examples/, built against the released SDKs.
  • Documentation rewritten: quick start, models and how the model works.

License

  • Code is now Apache-2.0 (it was GPL-3.0 up to 2.0.0).
  • The model is research / non-commercial only: it was trained on the CUHK, DUT-DBD and EBD
    datasets, none of which states a license. See MODEL_LICENSE.md.

Full Changelog: 2.0.0...3.0.1