From e317076fff1ddc8ffc5750a2616aba46dc97e90f Mon Sep 17 00:00:00 2001 From: Chris Breuer Date: Fri, 15 Jan 2021 20:40:48 -0800 Subject: [PATCH] wip --- .github/ISSUE_TEMPLATE/---bug-report.md | 4 ++-- .github/ISSUE_TEMPLATE/---ideas.md | 4 ++-- README.md | 16 ++++++++-------- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/---bug-report.md b/.github/ISSUE_TEMPLATE/---bug-report.md index 8e37427..d4ebbad 100644 --- a/.github/ISSUE_TEMPLATE/---bug-report.md +++ b/.github/ISSUE_TEMPLATE/---bug-report.md @@ -11,8 +11,8 @@ PLEASE READ: FILLING IN THE TEMPLATE IS REQUIRED! Issues that do not include enough information might not be picked up. Issues that have not been filled in using the issue template will be _closed_. -Have you read laravel-media-recognition's contributing guidelines (https://github.com/meemalabs/laravel-media-recognition/blob/master/CONTRIBUTING.md) -and Code Of Conduct (https://github.com/meemalabs/laravel-media-recognition/master/CODE_OF_CONDUCT.md)? +Have you read laravel-media-recognition's contributing guidelines (https://github.com/meemalabs/laravel-media-recognition/blob/main/CONTRIBUTING.md) +and Code Of Conduct (https://github.com/meemalabs/laravel-media-recognition/main/CODE_OF_CONDUCT.md)? By filing an Issue, you are expected to comply with it, including treating everyone with respect. diff --git a/.github/ISSUE_TEMPLATE/---ideas.md b/.github/ISSUE_TEMPLATE/---ideas.md index fbf3f29..24c6ddb 100644 --- a/.github/ISSUE_TEMPLATE/---ideas.md +++ b/.github/ISSUE_TEMPLATE/---ideas.md @@ -12,8 +12,8 @@ PLEASE READ: FILLING IN THE TEMPLATE IS REQUIRED! Issues that do not include enough information might not be picked up. Have you read laravel-media-recognition's -contributing guidelines (https://github.com/meemalabs/laravel-media-recognition/blob/master/CONTRIBUTING.md) -and Code Of Conduct (https://github.com/meemalabs/laravel-media-recognition/master/CODE_OF_CONDUCT.md)? +contributing guidelines (https://github.com/meemalabs/laravel-media-recognition/blob/main/CONTRIBUTING.md) +and Code Of Conduct (https://github.com/meemalabs/laravel-media-recognition/main/CODE_OF_CONDUCT.md)? By filing an idea, you are expected to comply with it, including treating everyone with respect. Please prefix your idea with: [IDEA]. diff --git a/README.md b/README.md index 5c699f9..7373376 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # Media Recognition Package for Laravel [![Latest Version on Packagist](https://img.shields.io/packagist/v/meema/laravel-media-recognition.svg?style=flat-square)](https://packagist.org/packages/meema/laravel-media-recognition) -[![StyleCI](https://github.styleci.io/repos/264578171/shield?branch=master)](https://github.styleci.io/repos/264578171) -[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/meemalabs/laravel-media-recognition/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/meemalabs/laravel-media-recognition/?branch=master) +[![StyleCI](https://github.styleci.io/repos/264578171/shield?branch=main)](https://github.styleci.io/repos/264578171) +[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/meemalabs/laravel-media-recognition/badges/quality-score.png?b=main)](https://scrutinizer-ci.com/g/meemalabs/laravel-media-recognition/?branch=main) [![Total Downloads](https://img.shields.io/packagist/dt/meema/laravel-media-recognition.svg?style=flat-square)](https://packagist.org/packages/meema/laravel-media-recognition) -[![License](https://img.shields.io/github/license/meemalabs/laravel-media-recognition.svg?style=flat-square)](https://github.com/meemalabs/laravel-media-recognition/blob/master/LICENSE.md) - +[![License](https://img.shields.io/github/license/meemalabs/laravel-media-recognition.svg?style=flat-square)](https://github.com/meemalabs/laravel-media-recognition/blob/main/LICENSE.md) + At the current state, this is a wrapper package for AWS Rekognition with some extra handy methods. @@ -20,8 +20,8 @@ use Meema\MediaRecognition\Facades\Recognize; // run any of the following methods: // note: any of the detect*() method parameters are optional and will default to config values -// "image operations" -$recognize = Recognize::path('images/persons.jpg', 'image/jpeg'); // while the $mimeType parameter is optional, it is recommended for performance reasons +// "image operations" +$recognize = Recognize::path('images/persons.jpg', 'image/jpeg'); // while the $mimeType parameter is optional, it is recommended for performance reasons $recognize->detectLabels($minConfidence = null, $maxLabels = null) $recognize->detectFaces($attributes = ['DEFAULT']) $recognize->detectModeration($minConfidence = null) @@ -89,7 +89,7 @@ return [ ], 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), - + /** * Specify the version of the Rekognition API you would like to use. * Please only adjust this value if you know what you are doing. @@ -140,7 +140,7 @@ use Meema\MediaRecognition\Traits\Recognizable; class Media extends Model { use Recognizable; - + // ... } ```