{"id":26139847,"url":"https://github.com/ozturkvedat/speechprocessing_mobile","last_synced_at":"2025-03-11T02:37:35.891Z","repository":{"id":273096630,"uuid":"863437005","full_name":"OzturkVedat/SpeechProcessing_Mobile","owner":"OzturkVedat","description":"FastAPI for speech recognition, transcription and TTS using Faster-Whisper and gTTS. Dockerfile and mobile app implementation is included.","archived":false,"fork":false,"pushed_at":"2025-03-04T06:08:12.000Z","size":758,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T07:22:24.561Z","etag":null,"topics":["docker","expo","fastapi","gtts","react-native","speech-recognition","text-to-speech","whisper-ai"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OzturkVedat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-26T09:41:49.000Z","updated_at":"2025-03-04T06:08:15.000Z","dependencies_parsed_at":"2025-01-23T12:37:24.124Z","dependency_job_id":null,"html_url":"https://github.com/OzturkVedat/SpeechProcessing_Mobile","commit_stats":null,"previous_names":["ozturkvedat/speechrecognition_microservice","ozturkvedat/speechprocessing_mobile"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OzturkVedat%2FSpeechProcessing_Mobile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OzturkVedat%2FSpeechProcessing_Mobile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OzturkVedat%2FSpeechProcessing_Mobile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OzturkVedat%2FSpeechProcessing_Mobile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OzturkVedat","download_url":"https://codeload.github.com/OzturkVedat/SpeechProcessing_Mobile/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242960752,"owners_count":20213205,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","expo","fastapi","gtts","react-native","speech-recognition","text-to-speech","whisper-ai"],"created_at":"2025-03-11T02:37:33.325Z","updated_at":"2025-03-11T02:37:35.862Z","avatar_url":"https://github.com/OzturkVedat.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Speech Processing Mobile App\n\nThis project is designed to provide efficient audio transcription, text-to-speech (TTS), speech recognition and translation through a Dockerized API, using gTTS, Faster-Whisper model and FastAPI. It also includes a mobile app built with React Native as an example implementation.\n\n## Features\n\n- Transcription, Speech Recognition and Translation using Faster-Whisper\n- Text-to-Speech with gTTS and langid\n- Dockerized API\n- React Native Expo App\n  \n## Requirements\n\n- Docker Engine\n- CUDA supported hardware\n- npm and expo (for mobile app)\n\n## Setup\n\n### Backend (Docker)\nTo run the FastAPI in a Docker container:\n1. Navigate to the docker/ folder and build the Docker image (can take some time):\n\n   ```bash\n   cd docker\n   docker build -t speech-proccesing-api .\n   ```\n\n2. Run the Docker container:\n\n    ```bash\n    docker run --gpus all -p 8000:8000 speech-proccesing-api\n    ```\nWait for microservice to initialize, it can take a few minutes. FYI, you can check the container's logs within Docker Desktop to supervise the process.\n     \n3. Access the API:\n   Open your browser and go to http://localhost:8000/ to view the API Documentation(SwaggerUI).\n\n### Mobile App (expo)   \n\n1. Navigate to the mobile-app/ folder and install the dependencies:\n   ```bash\n   cd mobile-app\n   npx expo install\n   ```\n\n2. Connect the Dockerized API:\n   Navigate to the app.json file and modify the API_URL to your network's IP. (E.g. container can take the IP of the connected Wifi by default, which mobile device should be connected too, in development.)\n   \n3. Run the app:\n  ```bash\n   npx expo start\n   ```\nYou can open the app with expo app on Android, or camera app on iOS. Home screen is given below:\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"./mobile-app/assets/home.jpg\" width=\"250\" /\u003e\n\u003c/div\u003e\n\n## Usage\nOnce both the backend and mobile app are running, you can interact with the mobile app to:\n- Transcribe audio files with timestamps\n- Record speech for transcription and translation\n- Convert text into speech\n  \nResponse time can vary depending on the system, particulary GPU.\n\n![AppScreens](./mobile-app/assets/modals.jpg)\n\n## Contributing\nFeel free to open issues or submit pull requests for improvements.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fozturkvedat%2Fspeechprocessing_mobile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fozturkvedat%2Fspeechprocessing_mobile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fozturkvedat%2Fspeechprocessing_mobile/lists"}