The idea behind Mimasa is to provide a seamless translation experience for people who are communicating with individuals who speak different languages. The application uses advanced computer vision and machine learning techniques to detect and track the facial movements and speech of a person in real-time, and then uses natural language processing (NLP) to translate the speech to another language. The output audio is then synced with the facial movements of the person to provide a more natural and realistic translation experience. Additionally, Mimasa can also separate the music and speech from the video input, which allows for a more accurate translation experience. Overall, Mimasa aims to bridge the language barrier and make communication between people of different languages easier and more efficient.
For the latest updates and news regarding Mimasa, please follow the Announcement thread on our Github repository.
Call for Support and Ideas for Mimasa Application
- Python 3.11.x
- pip
- Update the settings for the application
- Clone the repository:
git clone https://github.com/developers-cosmos/Mimasa.git
2.Navigate to the cloned repository directory.
cd Mimasa
3.Create a virtual environment.
python3 -m venv venv
4.Activate the virtual environment.
source venv/bin/activate
5.Install the required dependencies.
./tools/setup_env.sh
6.Download the sample data required for mimasa
python src/common/download_data.py
7.Launch the Mimasa application.
./tools/run_mimasa.sh
You can use options -s
to setup mimasa package locally and -d
option to download sample data for mimasa.
8.Congratulations! You have successfully installed Mimasa on your local machine.
The Django app for Mimasa is a web-based application that allows users to interact with the Mimasa EmoteTrans Translation unit and perform real-time multilingual face translations. In this guide, we will walk through the steps required to install and run the Mimasa Django app on your local machine.
NOTE: Please note that the current implementation is only demo and not all components will work properly
- Python 3.11.x
- pip
- Django 4.x
- Redis
- Celery
After following the above steps to setup Mimasa locally, you will need to install the following:
- Run the migrations
python src/api/mimasa/manage.py makemigrations
python src/api/mimasa/manage.py migrate
- Run the Django server
python src/api/mimasa/manage.py runserver
-
Download the Redis ZIP archive from the official Redis website (https://github.com/microsoftarchive/redis/releases)
-
Extract the contents of the ZIP archive to a folder of your choice. Open the Command Prompt and navigate to the folder where you extracted Redis. Run the following command to start Redis:
redis-server.exe redis.windows.conf
- Open another Command Prompt window and navigate to the same folder. Run the following command to start the Redis CLI.
redis-cli.exe
- Next step is to start celery worker to perform transaction tasks for Mimasa. Run the following command to start a Celery worker:
cd src/api/mimasa
celery -A mimasa worker -l info -P eventlet
- Congratulations! You have successfully completed the setup for Mimasa Django App, now you can perform translations at http:localhost:8000
If you encounter any issues during the installation process, please refer to the issues section of the Mimasa repository. If your issue is not already reported, feel free to create a new issue with a detailed description of the problem.
A demo of the Mimasa Django App (from Mimasa v1.1.0) can be seen from below link: Mimasa -EmoteTrans Django App Demo Setup. This demo version provides a limited functionality of the actual application, but should give you an idea of how the application works.
Mimasa is still under development and some features may not be fully functional.
We welcome any contributions to the project. If you're interested in making a contribution, follow these steps:
If you're interested in making a contribution, follow these steps:
- Fork the repository to your own GitHub account
- Clone the forked repository to your local machine
- Create a branch for the feature or bug fix you want to work on
- Make changes and commit them to your branch
- Push your changes to your forked repository
- Create a pull request to the main repository for review and merge
We appreciate your interest in Mimasa Application and welcome any questions or feedback you may have. You can reach us through the following channels: