GithubHelp home page GithubHelp logo

hq_triv's Introduction

hq trivia

Requirements:

  • Python v3.6
  • OpenCV v3.0
  • tesseract-ocr
  • libimobiledevice

Run the following command to install all the modules

pip3 install -r requirements.txt

Afterwards you will need to get setup with OpenCV, follow the instructions here:

OpenCV 3.0 with Python 3.6

https://www.pyimagesearch.com/2015/06/15/install-opencv-3-0-and-python-2-7-on-osx/ This might take a while

Next you will need tesseract, https://github.com/tesseract-ocr/tesseract/wiki

Finally, you will need libimobiledevice. I just used the binary distribution found here: https://github.com/benvium/libimobiledevice-macosx

Possible TODOS

  1. Generalize answer search (lower case and separate words) so that it isn't looking for an exact match in the results
  2. Parse out common words such as "the, and, or" in answers (this might help, not sure)
  3. Add multiple search apis such as cough Bing
  4. Make api calls for the question + answer as well (3 more api calls, need to more sure they don't slow the app)
  5. General performance boosts (need to make it run fast, usually the host talks for 1-2 seconds before the question shows up so we only have ~8 seconds to get the answer and determine the likelihood that the program is correct)
  6. Add classification of the question (could just simply be based on filtering on words "Who, what, where, why, how")
  7. Add an adaptive weighting system based on various factors such as (search engine used, type of question, etc) historical data to determine the score

hq_triv's People

Contributors

mpdifran avatar slin1202 avatar

Watchers

 avatar

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.