Coder Social home page Coder Social logo

spring-aws-transcribe's Introduction

Audio Transcription project using AWS Transcribe and Spring Boot

This project uses the AWS transcription service, called Amazon Transcribe, to convert audio files to text. It integrates with Spring Boot to provide an API that allows you to upload audio files to the AWS S3 service and then request the transcription of these files using an HTTP call.

Settings ⚙️

Before running the project, make sure to set the following environment variables in your development environment:

  • AWS_ACCESS_KEY: The AWS access key for authentication.
  • AWS_SECRET_KEY: The AWS secret key for authentication.
  • AWS_REGION: The AWS Region where the Transcribe and S3 service is located.
  • AWS_S3_BUCKET_NAME: The name of the S3 bucket where the audio files will be stored.

How to use the project 📚

  1. Clone the project repository from GitHub: Repository Link.
  2. Set the above mentioned environment variables on your system.
  3. Open a terminal and navigate to the project directory.
  4. Run the project using the mvnw spring-boot:run command.

Upload an audio file and get the transcript 🎤

You can use the following curl request to upload an audio file to the S3 service and request the transcription:

curl --location 'http://localhost:8080/api/v1/audio' \
--form 'audioFile=@"local_file_dir"'

Replace local_file_dir with the full local path of the audio file you want to upload for transcription.

Project workflow 📝

An HTTP request is received to upload an audio file to the /api/v1/audio endpoint.

  1. The audio file is uploaded to the specified S3 bucket using the AWS credentials provided in the environment variables.
  2. A transcription job is started in the Amazon Transcribe service, using the audio file stored in S3.
  3. The Transcribe service processes the audio file and generates a textual transcription.
  4. The result of the transcription is returned as an HTTP response to the client.

spring-aws-transcribe's People

Contributors

rbernalop avatar

Watchers

 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.