Repository navigation
Releases
Releases · syjdev/PixelBlurDetector
release 3.0.1
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-stagetimings, 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. SeeMODEL_LICENSE.md.
Full Changelog: 2.0.0...3.0.1
release 2.0.0
release 1.0.0
Summary
- update model
- improve accuracy
- make output maintain origin's aspect-ratio
=> sadly, inference speed is slow down.
- build libtensorflow-lite.xcframework
- support apple-silicon simulator
What's Changed
- Feature/documentation by @syjdev in #6
- build ios sdk by @syjdev in #7
- Feature/ios usage documentation by @syjdev in #9
- modify path in iOS README.md by @syjdev in #10
Full Changelog: 0.0.2...1.0.0
release 0.0.2
- add Demo/iOS/iOS.xcworkspace(demo project + BlurDiscriminatorKit project)
- BlurDiscriminatorKit was based image semantic segmentation.
- add libtensorflow-lite.a
- add tflite's headers
- remove BlurDiscriminator-iOS project.