kejawenlab / blurry-detection
v1.0.1
2021-06-04 09:32 UTC
Requires
- php: >=7.1
Requires (Dev)
- phpunit/phpunit: ^9.5
README
此包是使用 Golang 编写的 BlurryDetection 的 PHP 版本。
需求
-
PHP 7.1
-
ImageMagick
如何使用
(new Blurry())->isBlurry(sprintf('%s/tests/assets/update.png', __DIR__));
测试
./vendor/bin/phpunit --bootstrap vendor/autoload.php tests/BlurryTest.php