Skip to content

An app to allow deaf people to communicate with the general population by converting speech-to-text and text-to-speech in real-time

Notifications You must be signed in to change notification settings

AlexJubs/AnyTalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

I worked on this project during my last year at the university of Waterloo. This was hacked together in many ways, and does not exactly adhere to a scalable design.

Setup

  1. Clone this repo
  2. Setup & install react native environment: https://reactnative.dev/docs/environment-setup
  3. Install dependancies:
    1. pyhton3 -m pip install -r frontend/requirements.txt
    2. pyhton3 -m pip install -r backend/requirements.txt
  4. Install ffmpeg system library
    1. brew install ffmpeg
  5. Startup backend server
    1. cd backend
    2. ./run.sh
  6. Startup fe_upload server
    1. cd frontend
    2. python3 fe_upload.py
  7. In a separate terminal start Metro from the frontend folder by running npx react-native start
  8. In a separate terminal run npx react-native run-ios from the frontend folder to run the AnyTalk App

Common Errors when trying npx react-native run-ios

  1. missing gcp creds.
  • ... Set up a gcp account with appropriate auth scopes, and add it to a json, save it in the FE folder
  1. error Failed to load configuration of your project.
  • run npm install --force in root of project
  1. error Failed to build iOS project. ran "xcodebuild" command but it exited with error code 65
  • cd into frontend/ios folder
  • run pod install
  1. Some other error we don't remember
  • XCode > Preferences > Locations > Click the dropdown next to "Command Line Tools" and select the same version the mac should prompt for password or fingerprint
  1. Invalid Podfile file: cannot load such file -- /myPath/node_modules/react-native/scripts/react_native_pods
  • cd frontend
  • run npm audit fix
  • cd ios
  • run pod install
  1. Undefined symbols for architecture x86_64
  • rm -rf ~/Library/Developer/Xcode/DerivedData/*
  • cd ios
  • pod install
  • restart metro and rebuild app

About

An app to allow deaf people to communicate with the general population by converting speech-to-text and text-to-speech in real-time

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published