All Projects → sushant10 → Hq_bot

sushant10 / Hq_bot

Licence: mit
📲 Bot to help solve HQ trivia

Programming Languages

python
139335 projects - #7 most used programming language
python3
1442 projects

Projects that are alternatives of or similar to Hq bot

Front-end-Job-Interview-Questions
Ответы на вопросы на должность Frontend разработчика.
Stars: ✭ 236 (+41.32%)
Mutual labels:  question-answering, questions-and-answers
CPPNotes
【C++ 面试 + C++ 学习指南】 一份涵盖大部分 C++ 程序员所需要掌握的核心知识。
Stars: ✭ 557 (+233.53%)
Mutual labels:  question-answering, questions-and-answers
Awesome Deep Learning And Machine Learning Questions
【不定期更新】收集整理的一些网站中(如知乎、Quora、Reddit、Stack Exchange等)与深度学习、机器学习、强化学习、数据科学相关的有价值的问题
Stars: ✭ 203 (+21.56%)
Mutual labels:  question-answering, questions-and-answers
Ama
[[I'm slow at replying these days, but I hope to get back to answering questions eventually]] Ask me anything!
Stars: ✭ 102 (-38.92%)
Mutual labels:  question-answering, questions-and-answers
Sneakerbot App
App that scrapes the Footlocker website to construct URLs for upcoming sneaker releases and adds the shoe to your cart if it is available. Uses Python and Selenium Webdriver. *Chrome and Chromedriver must be installed and Chromedriver must be on main path
Stars: ✭ 54 (-67.66%)
Mutual labels:  bot, webscraping
Nlu sim
all kinds of baseline models for sentence similarity 句子对语义相似度模型
Stars: ✭ 286 (+71.26%)
Mutual labels:  question-answering, questions-and-answers
Forum
Ama Laravel? Torne se um Jedi e Ajude outros Padawans
Stars: ✭ 233 (+39.52%)
Mutual labels:  question-answering, questions-and-answers
Deeppavlov
An open source library for deep learning end-to-end dialog systems and chatbots.
Stars: ✭ 5,525 (+3208.38%)
Mutual labels:  bot, question-answering
Udemy bot
An automation bot for free Udemy courses
Stars: ✭ 91 (-45.51%)
Mutual labels:  bot, webscraping
Tiktokbot
A TikTokBot that downloads trending tiktok videos and compiles them using FFmpeg
Stars: ✭ 126 (-24.55%)
Mutual labels:  bot, webscraping
Php Slack Bot
Slack bot user written in PHP
Stars: ✭ 161 (-3.59%)
Mutual labels:  bot
Discord Player
🎧 Complete framework to simplify the implementation of music commands using discords.js v12
Stars: ✭ 161 (-3.59%)
Mutual labels:  bot
Lenoxbot
🖥️ LenoxBot is a Discord bot that offers many cool new features to your Discord server!
Stars: ✭ 163 (-2.4%)
Mutual labels:  bot
Improved Dynamic Memory Networks Dmn Plus
Theano Implementation of DMN+ (Improved Dynamic Memory Networks) from the paper by Xiong, Merity, & Socher at MetaMind, http://arxiv.org/abs/1603.01417 (Dynamic Memory Networks for Visual and Textual Question Answering)
Stars: ✭ 165 (-1.2%)
Mutual labels:  question-answering
Carl Bot
Bot for discord using discord.py (outdated code)
Stars: ✭ 160 (-4.19%)
Mutual labels:  bot
Awesomemrc
This repo is our research summary and playground for MRC. More features are coming.
Stars: ✭ 162 (-2.99%)
Mutual labels:  question-answering
Lambda Text Extractor
AWS Lambda functions to extract text from various binary formats.
Stars: ✭ 159 (-4.79%)
Mutual labels:  tesseract
Jda Utilities
A series of tools and utilities for JDA to assist in bot creation
Stars: ✭ 158 (-5.39%)
Mutual labels:  bot
Chinese Rc Datasets
Collections of Chinese reading comprehension datasets
Stars: ✭ 159 (-4.79%)
Mutual labels:  question-answering
Bitprophet
Node crypto trading platform for Binance exchange.
Stars: ✭ 166 (-0.6%)
Mutual labels:  bot

HQ_Bot 🤖

License: MIT

A bot to help answer questions on trivia apps like HQ and CashShow. This bot takes screenshot of the game on the phone and uses googles tesseract OCR to read the questions and options. It automates the process of googling of the answers and gives the most likely answer! It is 70%+ accurate!

Since it is against the policy of HQ-trivia i do not encourage anyone to use this during a live game and this is purely for educational purposes.

Packages Used

Use python 3.6. In particular the packages/libraries used are...

  • JSON - Data Storage
  • Pillow - Image manipulation
  • Google-Search-API - Google searching
  • wikipediaapi - Wikipedia searches
  • pytesseract - Google's free/open source OCR (requires seperate installtion)
  • beautifulsoup4 - Parse google searches/html
  • lxml - Beautifulsoup parser
  • opencv2 - Image maniplulation
  • pyscreenshot - Take screenshot of the game
  • wxPython - GUI interface

To easily install these

  1. Install python 3.6
  2. Install above packages
    • $ pip3 install -r requirements.txt
  3. For tesseract
    • $ brew install tesseract
  4. For opencv
    • $ brew install opencv

Usage

Make sure all packages above are installed. For android phones use Vysor and for iOS use quicktime player. The code expects the phone to be on the left side of the screen. If you want to change the screenshot co-ordinates change the values inside the ImageGrab in the screen_grab() function. To use the script :

$ git clone https://github.com/sushant10/HQ_Bot
$ cd HQ_Bot
$ pip3 install -r requirements.txt
$ python3 answer_bot.py
Press s to screenshot live game, sampq to run against sample questions or q to quit:
s
...Question...

Screenshots

Contributing

All contributions welcome.

Credits

Special shout out

Jake Mor was the person behind HQuack, the most viral popular bot to help solve HQ questions. His implementation inspired me to try my own. I recommend reading this article to learn more about the whole story.

Useful links

License

The MIT License (MIT)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].