GithubHelp home page GithubHelp logo

anemoneflower / oparts Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 2.0 71.89 MB

Online-meeting Platform with AI-based Real-time Transcriptions

License: Apache License 2.0

JavaScript 46.38% CSS 2.07% EJS 3.59% Python 45.11% HTML 2.85%

oparts's Introduction

OPARTS (Online-meeting Platform with AI-based Real-time TranscriptionS)

This project is used in the study "It is Okay to be Distracted: How Real-time Transcriptions Facilitate Online Meetings with Distractions (CHI 23)," which explored how real-time transcription can help distracted peopled during meetings. OPARTS features three different levels of real-time transcriptions; full-transcription, summary, and keyword.

The video conferencing feature is built over Mediasoup video conferencing.

Running the code

Summary server

  1. Install requirements in summarizer/requirements.txt (change directory to summarizer/ then run pip3 install -r requirements.txt. You may want to use venv). It takes minutes to complete.
  2. Check if there is summarizer/wav directory. If not, make wav directory.
  3. Run summarizer, keyword, and silent detector server in the summarizer directory.
    1. Run echo [PORT] | npm run summarizer in the summarizer directory. It also takes some time to start listening. It will listen for summary generate request from Moderator server.
    1. Run echo [PORT] | npm run keyword in the summarizer directory. It will listen for keyword generate request from Moderator server.
    1. Run echo [PORT] | npm run audio in the summarizer directory. It will listen for silent detection request from Moderator server.

Moderator server

  1. (required) Change name of moderator/config.example.js into config.js, then add Microsoft Azure STT's subscription key(subKey) and service region(servReg), PORT informations in the moderator/config.js file.
  2. run npm install in moderator directory.
  3. Check if there is moderator/webm directory. If not, make webm directory.
  4. Check if there is moderator/delays directory. If not, make delays directory.
  5. run npm run moderator in moderator directory. It will start listening for transcription requests from clients accessing through Media server.

Media Server

  1. make logs folder in media-server directory.
  2. run npm install in media-server directory.
  3. run npm run media-server in media-server directory, then finally open your browser at https://localhost:8000 or your own defined url/port in media-server/config.js file.
  4. A page is rendered requiring you to enter names for a room and your own. Enter them and click CREATE button.
  5. Invite others.

(optional) Edit the media-server/config.js file according to your needs and replace the ssl/key.pem ssl/cert.pem certificates with your own.

Special User

There are special users who have permission to some function.

  • cpsAdmin : Manage user invite, start meeting function.
  • *-[odd number], *-[even number] : Can set a default mode of each user. Full-transcript mode when odd number, and summary mode when even number.

Deployment

To enable video conferencing from other than localhost, replace announcedIP in media-server/config.js with your public ip address of the server and modify the port you want to serve it in.

Add firewall rules of the port of the webpage (default 8000) and the RTC connections (default UDP 10,000-10100) for the machine.

Notes

Best to run the project on a linux system as the mediasoup installation could have issues by installing on windows. At least Media server should run on a linux system. If you have a windows system consider installing WSL to be able to run it.

installing wsl on windows 10

You may want to run the three servers in separate machines. Or at least it is better to run the summary server on another high-performance machine with GPU. If so, edit moderator/config.js for the summary server host. The three servers are able to run on separate machines if you edit config.js file properly.

Still, it is better to run summary server first because it takes long time to start listening.

oparts's People

Contributors

anemoneflower avatar phillipinseoul avatar pink-haribo avatar mhsong95 avatar juny0ung avatar super-haribo avatar

Watchers

James Cloos 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.