Download the PHP package clickandmortar/rekognition-php without Composer
On this page you can find all versions of the php package clickandmortar/rekognition-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download clickandmortar/rekognition-php
More information about clickandmortar/rekognition-php
Files in clickandmortar/rekognition-php
Package rekognition-php
Short Description Simple to use PHP library for AWS Rekognition
License MIT
Informations about the package rekognition-php
Rekognition PHP - C&M
Simple to use PHP library for AWS Rekognition.
Rekognition PHP
allows to detect in images:
-
Labels (using DetectLabels)
Detects instances of real-world entities within an image (JPEG or PNG) provided as input. This includes objects like flower, tree, and table; events like wedding, graduation, and birthday party; and concepts like landscape, evening, and nature.
- Text (using DetectText)
Detects text in the input image and converts it into machine-readable text.
Installation
Configuration
Configure credentials
Before using rekognition-php
, set credentials to make requests to Amazon Web Services.
Usage
The following code will allow to retrieve the output from previous picture:
Output will be the same if:
is replaced with:
or
Advanced configuration (Optional)
Configure Rekognition client options
Configuring Rekognition client options is optional as default values will be used if none are set with the following methods.
region
and version
are configurable using environment variables AWS_REGION
and
AWS_REKOGNITION_VERSION
.
It is also possible to pass this options to DetectService
constructor:
Tests
Run tests
Docker
Installation
Run
Create main.php
with code from Usage.