Giter Club home page Giter Club logo

alf-aws-textract's Introduction

Alfresco & Amazon Textract Integration

Run

mvn clean install -DskipTests=true alfresco:run or ./run.sh

Test

  1. Verify that the Spring Boot REST service backed by Amazon Textract to create searchable PDF is running. Its endpoint is configured in alfresco-global.properties pdf.generator.url=http://localhost:9090/png

  2. Upload a PNG file to Alfresco $curl -uadmin:admin -X POST -F [email protected] 'http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/880a0f47-31b1-4101-b20b-4d325e54e8b1/children'

  3. Create PDF rendition of the PNG file $curl -uadmin:admin -X POST -d ' { "id":"pdf" } ' 'http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/82f9c749-4c0a-48b8-a8fe-1c4cba6fe7a0/renditions'

alf-aws-textract's People

Contributors

zhihailiu 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.