This commit is contained in:
KANE LAZENI 2026-02-23 23:52:23 +00:00
parent 70c89fe4c1
commit d9e8f09658
2 changed files with 59 additions and 0 deletions

View File

@ -0,0 +1,58 @@
<?php
require 'vendor/autoload.php';
use Aws\Rekognition\RekognitionClient;
$arrgs = [
'credentials' => [
/*
'key' => 'AKIARKWWQN5L3CY26JXS',
'secret' => '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',
*/
/*
'key' => 'AKIARKWWQN5LZYQYF5HJ',
'secret' => '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',
*/
// en attente de réactivation => 24/09/2025
'key' => 'AKIARKWWQN5LVQZROBMS',
'secret' => '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',
// Compte de radiant en attendant => 24/09/2025
'key' => 'AKIA2O2PTXQ7XN5OATO3',
'secret' => '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',
],
'version' => 'latest',
'region' => 'us-west-2'
];
$client = new RekognitionClient($arrgs);
/*
regions
us-east-2
us-east-1
us-west-1
us-west-2
af-south-1
ap-east-1
ap-south-2
ap-southeast-3
ap-southeast-4
ap-south-1
ap-northeast-3
ap-northeast-2
ap-southeast-1
ap-southeast-2
ap-northeast-1
ca-central-1
eu-central-1
eu-west-1
eu-west-2
eu-south-1
eu-west-3
eu-south-2
eu-north-1
eu-central-2
me-south-1
me-central-1
sa-east-1
us-gov-east-1
us-gov-west-1
*/

View File

@ -1,6 +1,7 @@
<?php
ob_start();
require_once "Assure.php";
require_once 'Faceebene.php';
session_start();
header('Content-Type: application/json');