Giter Site home page Giter Site logo

cw-esp's Introduction

Universal Subtitle Program

A simple tool that allows users to generate subtitles from spoken language.

screenshot

Overview

We aim to bridge the gap by providing customisable subtitles for all types of video content. The system works to accurately interpret audio and generate subtitles on the user's device, aiming to support full comprehension of video content for individuals with diverse needs.

Compiling from source

We recommend compiling from source for speed, efficiency and download size. After cloning the repository, you can generate an exacutable by running:

pyinstaller main.py SettingsWindow.py Profiles.py SubtitleWindow.py --noconsole --collect-all vosk --onefile --icon=Cabbage.ico

Or to run the package without compiling:

python -m src.main

Features

  • Detect audio from microphone and render subtitles

  • Full customisability, including:

    • - Colours (text + background)
    • - Fonts + sizes
    • - Rounding
  • - Fully built-in model downloader + selecter

  • - Support for multiple profiles

  • - Transcribe audio from files

  • - Render subtitles from computer audio

cw-esp's People

Contributors

box1273002 avatar thegogy avatar sef007 avatar marilyndcosta avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

cw-esp's Issues

Single Words

Change the project to pick up single words instead of sentences

Not reading users with spaces in the name

Error:

NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: urllib3/urllib3#3020
warnings.warn(
Traceback (most recent call last):
File "/Users/matthewroe/Downloads/cw-esp/main.py", line 63, in
microphoneThread = MicrophoneThread()
File "/Users/matthewroe/Downloads/cw-esp/main.py", line 17, in init
self.window = SubtitleWindow()
File "/Users/matthewroe/Downloads/cw-esp/SubtitleWindow.py", line 16, in init
self.css = Profiles.getCurrentUserCSS()
File "/Users/matthewroe/Downloads/cw-esp/Profiles.py", line 10, in getCurrentUserCSS
with open(Profiles.getUserPath(Profiles.getCurrentUser()), "r") as file:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/matthewroe/Downloads/cw-esp/Users/MR Test 1.css'

Font Size selector

Currently it check if it is a decimal however it excepts the europian style of with commas and that breaks the system

test_Profiles.py - Not testing in order.

The test_Profiles.py executes all the functions at the same time. So not in order ie. from top to bottom. This means that there are conflicts with certain functions when testing, which causes inaccurate failed tests.

For example -

def test_getUserProfiles(self): Must contain a test_user_delete css file
however the function test_deleteUser function (which I think will be executing at the same time)
deletes the file test_user_delete and hence a clash occurs causing a Failed Test.

Note - in the version pushed test_deleteUser function and other classing functions have been commented out at the bottom of the script.

Profile Dropdownmenu issue

When you rename a profile to the same name as another it switches to other profile. This issue is with the logic of the QCombobox I think

Create new user whitespace

When you create new user on windows and linux the name line edit is completely white same as text rendering it unuseable

Windows Cancel Install Crashes

On my windows system cancelling the installation of models cause the program to crash.
Problem was not reproducible on a windows virtual environment.

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.