Inspiration

We watched videos in which women called 911 to seek help by pretending to order pizza. In some cases, the dispatchers understood the code. In many cases, the dispatchers did not and hung up the phone. We created 911 Pizza to translate these cryptic Pizza orders and calls 911 describing the caller's situation.

What it does

911 Pizza uses the SpeechRecognition API to receive the user's 911 Pizza order through voice recognition and convert it to text. Then, it pattern-matches the user's order and replaces some cryptic messages into easy-to-understand crime reports. After that, it calls 911 via the Twilio API and tell the police about the user's situation.

911 Pizza has a "Menu" that contains a set of Pizza terms used to describe the user's dangerous situation. The "Menu" is updated and randomized to prevent abusers from knowing the meaning of 911 Pizza orders.

How we built it

  1. We brainstormed the idea.
  2. We did more research.
  3. Mario started building the bare-bone of the web app.
  4. Then, Stephanie worked on the front-end while Mario worked on the SpeechRecognition API.
  5. Mario finished implementing SpeechRecognition and started implementing Twilio.
  6. Stephanie made the landing and the "menu" pages.
  7. Mario coded the pattern-matching algorithm to convert cryptic messages into nice, voice reports to 911.
  8. We tested it out.

Challenges we ran into

  1. We initially wanted to use Google Cloud's Speech-to-Text app. We spent 4 hours researching and trying to make it work but we could not. We could not understand how to connect Google's virtual terminal to our local terminal.
  2. When we connected the node back-end to the front-end, there was a problem with the Twilio API. We were not able to send SMS. It turned out that the problem was we were using a VSCode Plugin to run our server, and it did not register the request.
  3. Time constraint was also a challenge because we had a lot of homework and lived in different timezones.

Accomplishments that we're proud of

We are extremely proud of being able to learn how to build as well as creating a functioning Node.js app in our first attempt in less than 48 hours. We are also proud of the mission and the use cases of our app. We think that 911 Pizza is solving a very specific problem in a very unique way. We believe that 911 Pizza will help a lot of people in difficult situations.

What we learned

  1. We learned a lot about full-stack web dev with Node.js.
  2. We learned about http requests.
  3. We learned about how to prettify front-end designs.
  4. We learned about how to implement Twilio Calls in Node.js.
  5. We learned abot how to use SpeechRecognition.

What's next for 911 Pizza

  1. We will build a mobile app version of 911 Pizza.
  2. We will limit the number of orders to prevent users from spamming 911.
  3. Right now, we hard-coded the randomization of the "Menu". In the future, we want to automate this process.

Built With

Share this project:

Updates