Code Monkey home page Code Monkey logo

textract-visual-removal's Introduction

Amazon Textract Pre-Processing: Handling Visuals

Installation

  1. Create a Jupyter Notebook instance clicking one of the launch stack buttons
AWS Region Button
us-east-1 Launch stack in us-east-1
  1. Sign in to the AWS Management Console with your IAM user name and password. You will get a screen like this:

Create stack

  1. Click on Template source >> Upload a template file, and the Choose File button.

Launch stack in us-east-1

  1. Upload the cf-jupyter-notebook.yaml CloudFormation template located in the cftemplate directory of this project

Launch stack in us-east-1

  1. Click the next button in the Create Stack Page Launch stack in us-east-1
  2. Set the Stack name as you prefer, and click on the Next button
  3. Click the Next button in the Configure stack options
  4. In the review page, scroll down and acknowledge the IAM resource creation and click on the Create Stack button

Jupyter Notebook configuration

  1. After the stack creation finishes, go to the Outputs section, and click on the link corresponding to the value of the NotebookInstanceName Key

  2. Click the Open Jupyter Button

  3. In the Jupyter notebook, Click on New > Terminal, and switch to the terminal tab created in your browser

  4. Type the following commands:

    sh-4.2$ cd Sagemaker
    sh-4.2$ git clone https://github.com/aws-samples/textract-visual-removal.git

Code Samples Review

  1. Go to the home page of your Jupyter notebook and browse to the textract-preprocessor directory
  2. Open the Jupyter notebooks inside this directory to run the detailed options mentioned in the Blog Post

Cleaning up

  1. After you finished your tests, just got to CloudFormation, select the name of the stack created on the Step 6 of the first section, and click on the Delete button.
  2. Confirm the Stack deletion clicking on the Delete stack button

textract-visual-removal's People

Contributors

amazon-auto avatar yuajia avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.