Blur Faces
PHOTOS

Photos
MEDIA
Convert
Photos
to
JPEG
Options Under Construction

Converted Image
VARIABLES
Set variable
Image
to
Converted Image
SCRIPTING
Mode
Image
with base64

Base64 Encoded
VARIABLES
Set variable
OrigImgStr
to
Base64 Encoded
MEDIA
Resize
Converted Image
to
Auto Width
x
Auto Height

Resized Image
SCRIPTING
Mode
Resized Image
with base64

Base64 Encoded
VARIABLES
Set variable
ImageStr
to
Base64 Encoded
URL
https://lx1mmq4k57.execute-api.us-east-2.amazonaws.com/default/faceDetection

URL
NETWORK
Get contents of
URL
Options Under Construction

Contents of URL
SCRIPTING
Get
Value
for
FaceDetails
in
Contents of URL

Dictionary Value
SCRIPTING
If
Dictionary Value
does not have any value
NOTHING
Nothing
SCRIPTING
End If

If Result
MEDIA
Resize
Image
to
64
x
Auto Height

Resized Image
MEDIA
Resize
Resized Image
to
Image
x
Auto Height

Resized Image
VARIABLES
Set variable
BlurMask
to
Resized Image
SCRIPTING
Repeat with each item in
Dictionary Value

Repeat Results
SCRIPTING
Get
Value
for
BoundingBox
in
Repeat Item

Dictionary Value
VARIABLES
Set variable
face_location
to
Dictionary Value
SCRIPTING
Get
Value
for
Height
in
face_location

Dictionary Value
MATHS
Dictionary Value
×
Image
Options Under Construction

Calculation Result
MATHS
Round
Calculation Result
to
Ones Place

Rounded Number
VARIABLES
Set variable
Height
to
Rounded Number
SCRIPTING
Get
Value
for
Width
in
face_location

Dictionary Value
MATHS
Dictionary Value
×
Image
Options Under Construction

Calculation Result
MATHS
Round
Calculation Result
to
Ones Place

Rounded Number
VARIABLES
Set variable
Width
to
Rounded Number
SCRIPTING
Get
Value
for
Left
in
face_location

Dictionary Value
MATHS
Dictionary Value
×
Image
Options Under Construction

Calculation Result
MATHS
Round
Calculation Result
to
Ones Place

Rounded Number
VARIABLES
Set variable
Left
to
Rounded Number
SCRIPTING
Get
Value
for
Top
in
face_location

Dictionary Value
MATHS
Dictionary Value
×
Image
Options Under Construction

Calculation Result
MATHS
Round
Calculation Result
to
Ones Place

Rounded Number
VARIABLES
Set variable
Top
to
Rounded Number
MEDIA
Crop
BlurMask
X Coordinate
LeftY Coordinate
TopWidth
WidthHeight
Height

Cropped Image
VARIABLES
Set variable
Blur
to
Cropped Image
MEDIA
Overlay
Blur
on
Image

Overlaid Image
VARIABLES
Set variable
Image
to
Overlaid Image
SCRIPTING
End Repeat

Repeat Results
DOCUMENTS
Show
Image
in Quick Look
SCRIPTING
Choose from Menu

Menu Result
SCRIPTING
Save to Photos

Menu Result
PHOTOS
Save
Image
to
Recents

Saved Photo Media
SCRIPTING
Save to Files

Menu Result
DOCUMENTS
Save
Image

Saved File
SCRIPTING
Share

Menu Result
SHARING
Share
Image
SCRIPTING
End Menu

Menu Result
Showcuts