Giter Club home page Giter Club logo

voiceemoji's Introduction

VoiceEmoji

Speech based emoji entry ๐Ÿ‘„๐Ÿ—ฃ

This is the code repo for the CHI 2021 paper Voicemoji: Emoji Entry Using Voice for Visually Impaired People

teaser

Demo video

Prerequisites

Please refer to the file requirements.txt

Code Structure

The *.py files are for the backend server. The project uses Tornado to host the website as well as to process the speech requests.

project
โ”‚   server.py (the main server entry)
|   Recognizer.py (speech recognition with Google api)
โ”‚   TextProcessor.py (search emojis realted to the spoken content using google search api)
โ”‚   CHNTextProcessor.py (same as TextProcessor.py, but for Chinese)

The main.js contains the webinterface logic. It uses websocket to communicate with the backend for the chat feature. Other features are commented in the file.

Deploy

Apply for your own Google Cloud API for speech recognition and translation (optional)

Voicemoji uses google api for speech recognition and translation for Chinese. You may apply for your own api key and store the api json file in the folder.

Apply for Google Search API

To search emojis based on the spoken content, you need to apply for a google custom search api and replace the corresponding url (gsearchURL) in TextProcessor.py.

Create a HTTPS certificate for the website

If you want to deploy the website, you must apply for a HTTPS cert, as voice data transfer is restricted only in HTTPS mode. You can use services such as Let's Encrypt to get a free certificate. Once done, create a folder certs and put the necessary cert files .crt and .key, which are used in server.py.

#Commands to run Use python -W ignore server.py to run the server. Then you can navigate to https://localhost:443 to see if the website is up.

Citation

If you use the code in your paper, then please cite it as:

@inbook{10.1145/3411764.3445338,
author = {Zhang, Mingrui Ray and Wang, Ruolin and Xu, Xuhai and Li, Qisheng and Sharif, Ather and Wobbrock, Jacob O.},
title = {Voicemoji: Emoji Entry Using Voice for Visually Impaired People},
year = {2021},
isbn = {9781450380966},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
url = {https://doi.org/10.1145/3411764.3445338},
booktitle = {Proceedings of the 2021 CHI Conference on Human Factors in Computing Systems},
articleno = {37},
numpages = {18}
}

voiceemoji's People

Contributors

drustz avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ktrosenberg

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.