GithubHelp home page GithubHelp logo

elsie-dee's Introduction

Elsie-Dee

Elsie-Dee is a Spring application used as a wrapper for Carnegie Mellon University famous Sphinx4 Speech-to-Text library.

Although Elsie-Dee is currently under development, it can already be used to process small audio files, for speech-to-text, and do face classification.

Technology Stack

Elsie-Dee is comprised of the following technology stack:

  • Gradle
  • Java 8
  • Spring Boot
  • Spring Web
  • Spring Actuator
  • Sphinx4

Dependencies

  • Configuration Service
    • This microservice depends on the Configuration Service in order to retrieve its settings. It means that before starting this server, please make sure that the one it depends on is already running.
    • You can find out how to run the Configuration Service here: Configuration Service
  • Eureka Service
    • As a second note, this microservice also depends on the Eureka Service in order to register for service discovery. However, the Eureka Service does not need to be running before this one can be started.
    • You can find out how to run the Configuration Service here: Eureka Service
  • Elsie-Deetect
    • This microservice is used to detect the language from a given speech. Elsie-Dee implements it as a Feign Client, hence the dependency.
    • You can find out how to run the Elsie-Deetect Service here: Elsie Deetect
  • Elsie-Dee Sight
    • This microservice is used for face classification. Elsie-Dee implements it as a Feign Client, hence the dependency.
    • You can find out how to run the Elsie-Dee Sight Service here: Elsie-Dee Sight
  • Elsie-Dee Audio Rip
    • This microservice is used to extract audio from video files. Elsie-Dee implements it as a Feign Client, hence the dependency.
    • You can find out how to run the Elsie-Dee Audio Rip Service here: Elsie-Dee Audio Rip
  • Elsie-Dee Search
    • This microservice is used to perform searches in the assets' subtitles content. Elsie-Dee implements it as a Feign Client, hence the dependency.
    • You can find out how to run the Elsie-Dee Search Service here: Elsie-Dee Search

In a dependency order priority, the Eureka Service should be started before everything else. The second in the list must be the Configuration Service.

Pulling the Docker Image

  • docker pull ekholabs/elsie-dee

Running the Docker Container

  • docker run -d -p 80:80 --link configuration-service --link eureka-service --link elsie-deetect --link elsie-deesight --link elsie-dee-audiorip --link elsie-dee-search ekholabs/elsie-dee

Elsie-Dee will run on the background. To check details about the container, execute the following:

  • docker ps

For logs:

  • docker logs [container_id]

Actuator Endpoints

Once the application is running, the user/developer can find health status and metrics via the following endpoints:

Processing Audio Files

In order to process audio files and extract text, one can use the /processAudio endpoint with Postman or cURL.

Postman

alt tag

cURL

  • curl -v -F input=@[path_to_file] http://localhost/elsie-dee/processAudio

You can find a test file here: male speaking

elsie-dee's People

Contributors

wilderrodrigues avatar

Watchers

 avatar  avatar  avatar

Forkers

thomas-adams

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.