SlideShare a Scribd company logo
1 of 18
Download to read offline
AWSome Day 2018
AWS Rekognition -
Riconoscimento Facciale
PUG Torino - Marzo 2019
Walter Dal Mut
Solution Architect - AWS Certified
SysOps Administrator - AWS Certified
Docker Certified Associate
@walterdalmut
walter.dalmut@corley.it
corley.it
28 Marzo 2019
Codice Sconto: pug-sconto
Scalability and cost optimization with Container Services
CloudConf2019 - General
Setup
AWS Rekognition
Summary
Get the APP
https://u.corley.it/s/b4
โžข Receive the CloudConf email with the web
application endpoint
โžข The barcode is used on the web application
โžข The user upload its own picture connecting the
identification number
โžข The pictures is checked to drop common mistakes
โ—‹ Drop multiple users (too many people)
โ—‹ Dark or too bright pictures
โ—‹ Low quality pictures
โ—‹ etc.
โ–  We believe that users are somehow polite
โžข AWS Rekognition tear apart the picture in favor of
raw information
โ—‹ (no images are stored)
The user upload its own picture
โžข Locally runs a simple face recognition algorithm
โžข When a face is detected a frame is captured
โžข The captured frame is processed by AWS
Rekognition Service
โžข The External Image Identification number is
used to get the user information
โžข The user information is stored as PDF file
โžข The file is printed using a thermal printer
Local algorithm
Local configuration
AWS Rekognition
$ aws rekognition list-collections
{
"CollectionIds": [
"collection-10",
"corley-test"
],
"FaceModelVersions": [
"4.0",
"4.0"
]
}
AWS Rekognition
$ aws rekognition create-collection --collection-id collection-11
{
"StatusCode": 200,
"CollectionArn":
"aws:rekognition:eu-west-1:xxxxxxxxxxxx:collection/collection-11",
"FaceModelVersion": "4.0"
}
Upload pictures on s3
$aws s3 cp wdm1.jpg s3://faces.walterdalmut.com/
$ aws s3 ls s3://faces.walterdalmut.com
2019-02-15 17:46:24 6753 thor1.jpg
2019-02-15 17:40:00 44897 wdm1.jpg
Detect faces (when you upload a picture)
$ aws rekognition detect-faces --image 'S3Object={Bucket=faces.walterdalmut.com,Name=wdm1.jpg}'
{
"FaceDetails": [
{
"Landmarks": [
{
"Type": "eyeLeft",
"X": 0.4940113127231598,
"Y": 0.28493359684944153
},
{
"Type": "eyeRight",
"X": 0.5633826851844788,
"Y": 0.2943187952041626
},
{
"Type": "mouthLeft",
"X": 0.4960087239742279,
"Y": 0.41778162121772766
},
{
"Type": "mouthRight",
"X": 0.5530909895896912,
"Y": 0.42552411556243896
},
{
"Type": "nose",
"X": 0.5306091904640198,
"Y": 0.34477418661117554
}
],
}
]
}
// continue...
{
"FaceDetails": [
{
"BoundingBox": {
"Width": 0.1618916094303131,
"Height": 0.4021730124950409,
"Left": 0.43909329175949097,
"Top": 0.12676428258419037
},
"Pose": {
"Roll": 3.8218839168548584,
"Yaw": 5.0268073081970215,
"Pitch": 5.38221549987793
},
"Quality": {
"Brightness": 64.7296142578125,
"Sharpness": 32.20803451538086
},
"Confidence": 99.9999771118164
}
]
}
Index faces (when you upload a picture)
$ aws rekognition index-faces 
--collection-id collection-11 
--image 'S3Object={Bucket=faces.walterdalmut.com,Name=wdm1.jpg}'
{
"FaceRecords": [
{
"Face": {
"FaceId": "310b383e-66c1-43b8-918a-75388619ee7b",
"BoundingBox": {
"Width": 0.1618916094303131,
"Height": 0.4021730124950409,
"Left": 0.43909329175949097,
"Top": 0.12676428258419037
},
"ImageId": "da1ae019-db88-3713-8e9e-7d01238ea609",
"Confidence": 99.9999771118164
},
}
]
โ€ฆ
}
Index faces (when you upload a picture)
$ aws rekognition index-faces 
--collection-id collection-11 
--image 'S3Object={Bucket=faces.walterdalmut.com,Name=wdm1.jpg}' 
--external-image-id my-user-id
{
"FaceRecords": [
{
"Face": {
"FaceId": "my-user-id",
"BoundingBox": {
"Width": 0.1618916094303131,
"Height": 0.4021730124950409,
"Left": 0.43909329175949097,
"Top": 0.12676428258419037
},
"ImageId": "da1ae019-db88-3713-8e9e-7d01238ea609",
"Confidence": 99.9999771118164
},
}
]
โ€ฆ
}
Search faces (when you upload a picture)
$ aws rekognition search-faces-by-image 
--collection-id collection-11 
--image 'S3Object={Bucket=faces.walterdalmut.com,Name=wdm1.jpg}'
{
"SearchedFaceBoundingBox": {
"Width": 0.1618916094303131,
"Height": 0.4021730124950409,
"Left": 0.43909329175949097,
"Top": 0.12676428258419037
},
"SearchedFaceConfidence": 99.9999771118164,
"FaceMatches": [
{
"Similarity": 99.99999237060547,
"Face": {
"FaceId": "my-user-id",
"BoundingBox": {
"Width": 0.16189199686050415,
"Height": 0.4021730124950409,
"Left": 0.4390929937362671,
"Top": 0.12676399946212769
},
"ImageId": "da1ae019-db88-3713-8e9e-7d01238ea609",
"Confidence": 100.0
}
}
],
"FaceModelVersion": "4.0"
}
List existing faces (management)
$ aws rekognition list-faces --collection-id collection-16
{
"Faces": [
{
"FaceId": "18215496-3282-46ae-a265-aecf140fba65",
"BoundingBox": {
"Width": 0.37553301453590393,
"Height": 0.3338260054588318,
"Left": 0.43626898527145386,
"Top": 0.289465993642807
},
"ImageId": "ea5e78fc-3fdb-32d3-b053-5a22f95dbd55",
"ExternalImageId": "6639219",
"Confidence": 100.0
},
{
"FaceId": "2b85a18f-7570-4568-9fe0-b770ace00745",
"BoundingBox": {
"Width": 0.47415900230407715,
"Height": 0.3649649918079376,
"Left": 0.34846198558807373,
"Top": 0.28914299607276917
},
"ImageId": "c601ee26-224b-308a-a25c-ecd56ad0a400",
"ExternalImageId": "6639219",
"Confidence": 100.0
},
],
"FaceModelVersion": "4.0"
}
Drop existing faces (management)
$ aws rekognition delete-faces --collection-id collection-16 
--face-ids 2b85a18f-7570-4568-9fe0-b770ace00745
{
"DeletedFaces": [
"2b85a18f-7570-4568-9fe0-b770ace00745"
]
}
Thanks for listening.
Torino 2018 - walter.dalmut@corley.it

More Related Content

Similar to Aws rekognition - riconoscimento facciale

004 - Logging in the Cloud -- hide01.ir.pptx
004 - Logging in the Cloud  --  hide01.ir.pptx004 - Logging in the Cloud  --  hide01.ir.pptx
004 - Logging in the Cloud -- hide01.ir.pptx
nitinscribd
ย 
Content Delivery at Aviary - NYC MUG 11/19/13
Content Delivery at Aviary - NYC MUG 11/19/13Content Delivery at Aviary - NYC MUG 11/19/13
Content Delivery at Aviary - NYC MUG 11/19/13
MongoDB
ย 

Similar to Aws rekognition - riconoscimento facciale (20)

Media Processing Workflows using AWS Step Functions and Machine Learning on A...
Media Processing Workflows using AWS Step Functions and Machine Learning on A...Media Processing Workflows using AWS Step Functions and Machine Learning on A...
Media Processing Workflows using AWS Step Functions and Machine Learning on A...
ย 
Exploring Cloud Computing with Amazon Web Services (AWS)
Exploring Cloud Computing with Amazon Web Services (AWS)Exploring Cloud Computing with Amazon Web Services (AWS)
Exploring Cloud Computing with Amazon Web Services (AWS)
ย 
004 - Logging in the Cloud -- hide01.ir.pptx
004 - Logging in the Cloud  --  hide01.ir.pptx004 - Logging in the Cloud  --  hide01.ir.pptx
004 - Logging in the Cloud -- hide01.ir.pptx
ย 
Amazon Rekognition
Amazon RekognitionAmazon Rekognition
Amazon Rekognition
ย 
Serverless OCR for NASA EVA: AWS Meetup DC 2017-12-12
Serverless OCR for NASA EVA: AWS Meetup DC 2017-12-12Serverless OCR for NASA EVA: AWS Meetup DC 2017-12-12
Serverless OCR for NASA EVA: AWS Meetup DC 2017-12-12
ย 
Vertically Scaled Design Patters
Vertically Scaled Design PattersVertically Scaled Design Patters
Vertically Scaled Design Patters
ย 
Serverless Optical Character Recognition in support of Astronaut Safety AWS M...
Serverless Optical Character Recognition in support of Astronaut Safety AWS M...Serverless Optical Character Recognition in support of Astronaut Safety AWS M...
Serverless Optical Character Recognition in support of Astronaut Safety AWS M...
ย 
Deploying Serverless Cloud Optical Character Recognition in Support of NASA A...
Deploying Serverless Cloud Optical Character Recognition in Support of NASA A...Deploying Serverless Cloud Optical Character Recognition in Support of NASA A...
Deploying Serverless Cloud Optical Character Recognition in Support of NASA A...
ย 
Fowa Miami 09 Cloud Computing Workshop
Fowa Miami 09 Cloud Computing WorkshopFowa Miami 09 Cloud Computing Workshop
Fowa Miami 09 Cloud Computing Workshop
ย 
์œˆ๋„ ๋‹ท๋„ท ๊ฐœ๋ฐœ์ž๋ฅผ ์œ„ํ•œ ์†”๋ฃจ์…˜ ํด๋ผ์šฐ๋“œ ๋ฐ๋ธŒ์˜ต์Šค ์†”๋ฃจ์…˜
์œˆ๋„ ๋‹ท๋„ท ๊ฐœ๋ฐœ์ž๋ฅผ ์œ„ํ•œ ์†”๋ฃจ์…˜ ํด๋ผ์šฐ๋“œ ๋ฐ๋ธŒ์˜ต์Šค ์†”๋ฃจ์…˜์œˆ๋„ ๋‹ท๋„ท ๊ฐœ๋ฐœ์ž๋ฅผ ์œ„ํ•œ ์†”๋ฃจ์…˜ ํด๋ผ์šฐ๋“œ ๋ฐ๋ธŒ์˜ต์Šค ์†”๋ฃจ์…˜
์œˆ๋„ ๋‹ท๋„ท ๊ฐœ๋ฐœ์ž๋ฅผ ์œ„ํ•œ ์†”๋ฃจ์…˜ ํด๋ผ์šฐ๋“œ ๋ฐ๋ธŒ์˜ต์Šค ์†”๋ฃจ์…˜
ย 
Grokking Engineering - Data Analytics Infrastructure at Viki - Huy Nguyen
Grokking Engineering - Data Analytics Infrastructure at Viki - Huy NguyenGrokking Engineering - Data Analytics Infrastructure at Viki - Huy Nguyen
Grokking Engineering - Data Analytics Infrastructure at Viki - Huy Nguyen
ย 
Aws user group #04 landing zones
Aws user group #04   landing zonesAws user group #04   landing zones
Aws user group #04 landing zones
ย 
Marker-based Augmented Monuments on iPhone and iPad
Marker-based Augmented Monuments on iPhone and iPadMarker-based Augmented Monuments on iPhone and iPad
Marker-based Augmented Monuments on iPhone and iPad
ย 
Yeoman AngularJS and D3 - A solid stack for web apps
Yeoman AngularJS and D3 - A solid stack for web appsYeoman AngularJS and D3 - A solid stack for web apps
Yeoman AngularJS and D3 - A solid stack for web apps
ย 
Content Delivery at Aviary - NYC MUG 11/19/13
Content Delivery at Aviary - NYC MUG 11/19/13Content Delivery at Aviary - NYC MUG 11/19/13
Content Delivery at Aviary - NYC MUG 11/19/13
ย 
MongoDB and Content Delivery at Aviary by Nir Zicherman and Jack Sisson
MongoDB and Content Delivery at Aviary by Nir Zicherman and Jack SissonMongoDB and Content Delivery at Aviary by Nir Zicherman and Jack Sisson
MongoDB and Content Delivery at Aviary by Nir Zicherman and Jack Sisson
ย 
MBL302 Using the AWS Mobile SDKs - AWS re: Invent 2012
MBL302 Using the AWS Mobile SDKs - AWS re: Invent 2012MBL302 Using the AWS Mobile SDKs - AWS re: Invent 2012
MBL302 Using the AWS Mobile SDKs - AWS re: Invent 2012
ย 
e-KTP Information Extraction with Google Cloud Function & Google Cloud Vision
e-KTP Information Extraction with Google Cloud Function & Google Cloud Visione-KTP Information Extraction with Google Cloud Function & Google Cloud Vision
e-KTP Information Extraction with Google Cloud Function & Google Cloud Vision
ย 
3D and VR on the web
3D and VR on the web3D and VR on the web
3D and VR on the web
ย 
Avoiding Friendly Fire in AWS
Avoiding Friendly Fire in AWSAvoiding Friendly Fire in AWS
Avoiding Friendly Fire in AWS
ย 

More from Corley S.r.l.

More from Corley S.r.l. (20)

AWSome day 2018 - scalability and cost optimization with container services
AWSome day 2018 - scalability and cost optimization with container servicesAWSome day 2018 - scalability and cost optimization with container services
AWSome day 2018 - scalability and cost optimization with container services
ย 
AWSome day 2018 - API serverless with aws
AWSome day 2018  - API serverless with awsAWSome day 2018  - API serverless with aws
AWSome day 2018 - API serverless with aws
ย 
AWSome day 2018 - database in cloud
AWSome day 2018 -  database in cloudAWSome day 2018 -  database in cloud
AWSome day 2018 - database in cloud
ย 
Trace your micro-services oriented application with Zipkin and OpenTracing
Trace your micro-services oriented application with Zipkin and OpenTracing Trace your micro-services oriented application with Zipkin and OpenTracing
Trace your micro-services oriented application with Zipkin and OpenTracing
ย 
Apiconf - The perfect REST solution
Apiconf - The perfect REST solutionApiconf - The perfect REST solution
Apiconf - The perfect REST solution
ย 
Apiconf - Doc Driven Development
Apiconf - Doc Driven DevelopmentApiconf - Doc Driven Development
Apiconf - Doc Driven Development
ย 
Authentication and authorization in res tful infrastructures
Authentication and authorization in res tful infrastructuresAuthentication and authorization in res tful infrastructures
Authentication and authorization in res tful infrastructures
ย 
Flexibility and scalability of costs in serverless infrastructures
Flexibility and scalability of costs in serverless infrastructuresFlexibility and scalability of costs in serverless infrastructures
Flexibility and scalability of costs in serverless infrastructures
ย 
CloudConf2017 - Deploy, Scale & Coordinate a microservice oriented application
CloudConf2017 - Deploy, Scale & Coordinate a microservice oriented applicationCloudConf2017 - Deploy, Scale & Coordinate a microservice oriented application
CloudConf2017 - Deploy, Scale & Coordinate a microservice oriented application
ย 
React vs Angular2
React vs Angular2React vs Angular2
React vs Angular2
ย 
A single language for backend and frontend from AngularJS to cloud with Clau...
A single language for backend and frontend  from AngularJS to cloud with Clau...A single language for backend and frontend  from AngularJS to cloud with Clau...
A single language for backend and frontend from AngularJS to cloud with Clau...
ย 
AngularJS: Service, factory & provider
AngularJS: Service, factory & providerAngularJS: Service, factory & provider
AngularJS: Service, factory & provider
ย 
The advantage of developing with TypeScript
The advantage of developing with TypeScript The advantage of developing with TypeScript
The advantage of developing with TypeScript
ย 
Angular coding: from project management to web and mobile deploy
Angular coding: from project management to web and mobile deployAngular coding: from project management to web and mobile deploy
Angular coding: from project management to web and mobile deploy
ย 
Corley cloud angular in cloud
Corley cloud   angular in cloudCorley cloud   angular in cloud
Corley cloud angular in cloud
ย 
Measure your app internals with InfluxDB and Symfony2
Measure your app internals with InfluxDB and Symfony2Measure your app internals with InfluxDB and Symfony2
Measure your app internals with InfluxDB and Symfony2
ย 
Read Twitter Stream and Tweet back pictures with Raspberry Pi & AWS Lambda
Read Twitter Stream and Tweet back pictures with Raspberry Pi & AWS LambdaRead Twitter Stream and Tweet back pictures with Raspberry Pi & AWS Lambda
Read Twitter Stream and Tweet back pictures with Raspberry Pi & AWS Lambda
ย 
Deploy and Scale your PHP App with AWS ElasticBeanstalk and Docker- PHPTour L...
Deploy and Scale your PHP App with AWS ElasticBeanstalk and Docker- PHPTour L...Deploy and Scale your PHP App with AWS ElasticBeanstalk and Docker- PHPTour L...
Deploy and Scale your PHP App with AWS ElasticBeanstalk and Docker- PHPTour L...
ย 
Middleware PHP - A simple micro-framework
Middleware PHP - A simple micro-frameworkMiddleware PHP - A simple micro-framework
Middleware PHP - A simple micro-framework
ย 
From Chef to Saltstack on Cloud Providers - Incontro DevOps 2015
From Chef to Saltstack on Cloud Providers - Incontro DevOps 2015From Chef to Saltstack on Cloud Providers - Incontro DevOps 2015
From Chef to Saltstack on Cloud Providers - Incontro DevOps 2015
ย 

Recently uploaded

Lucknow โคCALL GIRL 88759*99948 โคCALL GIRLS IN Lucknow ESCORT SERVICEโคCALL GIRL
Lucknow โคCALL GIRL 88759*99948 โคCALL GIRLS IN Lucknow ESCORT SERVICEโคCALL GIRLLucknow โคCALL GIRL 88759*99948 โคCALL GIRLS IN Lucknow ESCORT SERVICEโคCALL GIRL
Lucknow โคCALL GIRL 88759*99948 โคCALL GIRLS IN Lucknow ESCORT SERVICEโคCALL GIRL
imonikaupta
ย 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
singhpriety023
ย 
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
SUHANI PANDEY
ย 
valsad Escorts Service โ˜Ž๏ธ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service โ˜Ž๏ธ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...valsad Escorts Service โ˜Ž๏ธ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service โ˜Ž๏ธ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
ย 
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
@Chandigarh #call #Girls 9053900678 @Call #Girls in @Punjab 9053900678
ย 
Call Girls in Prashant Vihar, Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Prashant Vihar, Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort ServiceCall Girls in Prashant Vihar, Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Prashant Vihar, Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
ย 
( Pune ) VIP Baner Call Girls ๐ŸŽ—๏ธ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls ๐ŸŽ—๏ธ 9352988975 Sizzling | Escorts | Girls Are Re...( Pune ) VIP Baner Call Girls ๐ŸŽ—๏ธ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls ๐ŸŽ—๏ธ 9352988975 Sizzling | Escorts | Girls Are Re...
nilamkumrai
ย 
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
ย 
โ‚น5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] ๐Ÿ”|97111...
โ‚น5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] ๐Ÿ”|97111...โ‚น5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] ๐Ÿ”|97111...
โ‚น5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] ๐Ÿ”|97111...
Diya Sharma
ย 
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
SUHANI PANDEY
ย 

Recently uploaded (20)

Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirt
ย 
Al Barsha Night Partner +0567686026 Call Girls Dubai
Al Barsha Night Partner +0567686026 Call Girls  DubaiAl Barsha Night Partner +0567686026 Call Girls  Dubai
Al Barsha Night Partner +0567686026 Call Girls Dubai
ย 
Top Rated Pune Call Girls Daund โŸŸ 6297143586 โŸŸ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund โŸŸ 6297143586 โŸŸ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund โŸŸ 6297143586 โŸŸ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund โŸŸ 6297143586 โŸŸ Call Me For Genuine Sex Servi...
ย 
All Time Service Available Call Girls Mg Road ๐Ÿ‘Œ โญ๏ธ 6378878445
All Time Service Available Call Girls Mg Road ๐Ÿ‘Œ โญ๏ธ 6378878445All Time Service Available Call Girls Mg Road ๐Ÿ‘Œ โญ๏ธ 6378878445
All Time Service Available Call Girls Mg Road ๐Ÿ‘Œ โญ๏ธ 6378878445
ย 
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
ย 
Lucknow โคCALL GIRL 88759*99948 โคCALL GIRLS IN Lucknow ESCORT SERVICEโคCALL GIRL
Lucknow โคCALL GIRL 88759*99948 โคCALL GIRLS IN Lucknow ESCORT SERVICEโคCALL GIRLLucknow โคCALL GIRL 88759*99948 โคCALL GIRLS IN Lucknow ESCORT SERVICEโคCALL GIRL
Lucknow โคCALL GIRL 88759*99948 โคCALL GIRLS IN Lucknow ESCORT SERVICEโคCALL GIRL
ย 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
ย 
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
ย 
valsad Escorts Service โ˜Ž๏ธ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service โ˜Ž๏ธ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...valsad Escorts Service โ˜Ž๏ธ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service โ˜Ž๏ธ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
ย 
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
ย 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirt
ย 
Call Girls in Prashant Vihar, Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Prashant Vihar, Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort ServiceCall Girls in Prashant Vihar, Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Prashant Vihar, Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
ย 
Katraj ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...
Katraj ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...Katraj ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...
Katraj ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...
ย 
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls DubaiDubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
ย 
( Pune ) VIP Baner Call Girls ๐ŸŽ—๏ธ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls ๐ŸŽ—๏ธ 9352988975 Sizzling | Escorts | Girls Are Re...( Pune ) VIP Baner Call Girls ๐ŸŽ—๏ธ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls ๐ŸŽ—๏ธ 9352988975 Sizzling | Escorts | Girls Are Re...
ย 
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
ย 
โ‚น5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] ๐Ÿ”|97111...
โ‚น5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] ๐Ÿ”|97111...โ‚น5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] ๐Ÿ”|97111...
โ‚น5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] ๐Ÿ”|97111...
ย 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53
ย 
Call Now โ˜Ž 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.
Call Now โ˜Ž 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.Call Now โ˜Ž 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.
Call Now โ˜Ž 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.
ย 
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
ย 

Aws rekognition - riconoscimento facciale

  • 1. AWSome Day 2018 AWS Rekognition - Riconoscimento Facciale PUG Torino - Marzo 2019
  • 2. Walter Dal Mut Solution Architect - AWS Certified SysOps Administrator - AWS Certified Docker Certified Associate @walterdalmut walter.dalmut@corley.it corley.it
  • 3. 28 Marzo 2019 Codice Sconto: pug-sconto
  • 4. Scalability and cost optimization with Container Services CloudConf2019 - General Setup AWS Rekognition Summary
  • 6. โžข Receive the CloudConf email with the web application endpoint โžข The barcode is used on the web application โžข The user upload its own picture connecting the identification number โžข The pictures is checked to drop common mistakes โ—‹ Drop multiple users (too many people) โ—‹ Dark or too bright pictures โ—‹ Low quality pictures โ—‹ etc. โ–  We believe that users are somehow polite โžข AWS Rekognition tear apart the picture in favor of raw information โ—‹ (no images are stored) The user upload its own picture
  • 7. โžข Locally runs a simple face recognition algorithm โžข When a face is detected a frame is captured โžข The captured frame is processed by AWS Rekognition Service โžข The External Image Identification number is used to get the user information โžข The user information is stored as PDF file โžข The file is printed using a thermal printer Local algorithm
  • 9. AWS Rekognition $ aws rekognition list-collections { "CollectionIds": [ "collection-10", "corley-test" ], "FaceModelVersions": [ "4.0", "4.0" ] }
  • 10. AWS Rekognition $ aws rekognition create-collection --collection-id collection-11 { "StatusCode": 200, "CollectionArn": "aws:rekognition:eu-west-1:xxxxxxxxxxxx:collection/collection-11", "FaceModelVersion": "4.0" }
  • 11. Upload pictures on s3 $aws s3 cp wdm1.jpg s3://faces.walterdalmut.com/ $ aws s3 ls s3://faces.walterdalmut.com 2019-02-15 17:46:24 6753 thor1.jpg 2019-02-15 17:40:00 44897 wdm1.jpg
  • 12. Detect faces (when you upload a picture) $ aws rekognition detect-faces --image 'S3Object={Bucket=faces.walterdalmut.com,Name=wdm1.jpg}' { "FaceDetails": [ { "Landmarks": [ { "Type": "eyeLeft", "X": 0.4940113127231598, "Y": 0.28493359684944153 }, { "Type": "eyeRight", "X": 0.5633826851844788, "Y": 0.2943187952041626 }, { "Type": "mouthLeft", "X": 0.4960087239742279, "Y": 0.41778162121772766 }, { "Type": "mouthRight", "X": 0.5530909895896912, "Y": 0.42552411556243896 }, { "Type": "nose", "X": 0.5306091904640198, "Y": 0.34477418661117554 } ], } ] } // continue... { "FaceDetails": [ { "BoundingBox": { "Width": 0.1618916094303131, "Height": 0.4021730124950409, "Left": 0.43909329175949097, "Top": 0.12676428258419037 }, "Pose": { "Roll": 3.8218839168548584, "Yaw": 5.0268073081970215, "Pitch": 5.38221549987793 }, "Quality": { "Brightness": 64.7296142578125, "Sharpness": 32.20803451538086 }, "Confidence": 99.9999771118164 } ] }
  • 13. Index faces (when you upload a picture) $ aws rekognition index-faces --collection-id collection-11 --image 'S3Object={Bucket=faces.walterdalmut.com,Name=wdm1.jpg}' { "FaceRecords": [ { "Face": { "FaceId": "310b383e-66c1-43b8-918a-75388619ee7b", "BoundingBox": { "Width": 0.1618916094303131, "Height": 0.4021730124950409, "Left": 0.43909329175949097, "Top": 0.12676428258419037 }, "ImageId": "da1ae019-db88-3713-8e9e-7d01238ea609", "Confidence": 99.9999771118164 }, } ] โ€ฆ }
  • 14. Index faces (when you upload a picture) $ aws rekognition index-faces --collection-id collection-11 --image 'S3Object={Bucket=faces.walterdalmut.com,Name=wdm1.jpg}' --external-image-id my-user-id { "FaceRecords": [ { "Face": { "FaceId": "my-user-id", "BoundingBox": { "Width": 0.1618916094303131, "Height": 0.4021730124950409, "Left": 0.43909329175949097, "Top": 0.12676428258419037 }, "ImageId": "da1ae019-db88-3713-8e9e-7d01238ea609", "Confidence": 99.9999771118164 }, } ] โ€ฆ }
  • 15. Search faces (when you upload a picture) $ aws rekognition search-faces-by-image --collection-id collection-11 --image 'S3Object={Bucket=faces.walterdalmut.com,Name=wdm1.jpg}' { "SearchedFaceBoundingBox": { "Width": 0.1618916094303131, "Height": 0.4021730124950409, "Left": 0.43909329175949097, "Top": 0.12676428258419037 }, "SearchedFaceConfidence": 99.9999771118164, "FaceMatches": [ { "Similarity": 99.99999237060547, "Face": { "FaceId": "my-user-id", "BoundingBox": { "Width": 0.16189199686050415, "Height": 0.4021730124950409, "Left": 0.4390929937362671, "Top": 0.12676399946212769 }, "ImageId": "da1ae019-db88-3713-8e9e-7d01238ea609", "Confidence": 100.0 } } ], "FaceModelVersion": "4.0" }
  • 16. List existing faces (management) $ aws rekognition list-faces --collection-id collection-16 { "Faces": [ { "FaceId": "18215496-3282-46ae-a265-aecf140fba65", "BoundingBox": { "Width": 0.37553301453590393, "Height": 0.3338260054588318, "Left": 0.43626898527145386, "Top": 0.289465993642807 }, "ImageId": "ea5e78fc-3fdb-32d3-b053-5a22f95dbd55", "ExternalImageId": "6639219", "Confidence": 100.0 }, { "FaceId": "2b85a18f-7570-4568-9fe0-b770ace00745", "BoundingBox": { "Width": 0.47415900230407715, "Height": 0.3649649918079376, "Left": 0.34846198558807373, "Top": 0.28914299607276917 }, "ImageId": "c601ee26-224b-308a-a25c-ecd56ad0a400", "ExternalImageId": "6639219", "Confidence": 100.0 }, ], "FaceModelVersion": "4.0" }
  • 17. Drop existing faces (management) $ aws rekognition delete-faces --collection-id collection-16 --face-ids 2b85a18f-7570-4568-9fe0-b770ace00745 { "DeletedFaces": [ "2b85a18f-7570-4568-9fe0-b770ace00745" ] }
  • 18. Thanks for listening. Torino 2018 - walter.dalmut@corley.it