Skip to content

JamesSWiggins/ai-powered-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Welcome to the identify and mask health data in images or text workshop

In this workshop you'll learn to use the AI-Powered Health Data Masking Solution to mask PHI from within images and unstructured text.

Workshop Instructions

2. Deploy the Stack, remember to provide a name and check the box at the end

1 2

3. Make sure you can see the CloudFormation outputs

3

4. Make a new Permissions Policy to access the AI-Powered APIs. Click the JSON tab and paste the below policy. Replace ACCOUNTID with your AWS Account ID (no dashes), and APIGATEWAYID with the API Gateway ID from your CloudFormation output.

    {
        "Version": "2012-10-17",
        "Statement": [
            {
                "Sid": "AIPowered",
                "Effect": "Allow",
                "Action": [
                    "apigateway:PUT",
                    "execute-api:Invoke",
                    "apigateway:POST",
                    "apigateway:GET"
                ],
                "Resource": [
                    "arn:aws:execute-api:us-east-1:ACCOUNTID:APIGATEWAYID/prod/*",
                    "arn:aws:apigateway:us-east-1::/restapis/APIGATEWAYID/resources/*"
                ]
            }
        ]
    }

5. Create new Role for Sagemaker using your Policy

6. Attach the permission policy you created to your new role

4

8. Provide your custom Role ARN during deployment

5

9. Download this Jupyter Notebook and this test image to your local computer.

10. Find the S3 bucket specified by the CloudFormation Output Key 'ImageBucketName'

6

11. Upload the test image (sample.png) into that S3 bucket

7

12. Open your SageMaker Notebook Instance, upload the test Jupyter Notebook (ai-powered-health-data-masking-demo.ipynb), and open it.

13. Read and run each cell in the notebook to understand how all of the APIs deployed as a part of this solution work.

14. This of some ways that you could use this solution in your organization or how it could be used by the industry in general. We'll brainstorm for a little while once everyone has completed the lab!

About

AWS AI-Powered Health Data Masking Workshop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published