All Projects → silenceper → Qanswer

silenceper / Qanswer

Licence: mit
【Deprecated】🥇🥇🥇 冲顶大会等游戏答题助手,提供答题辅助决策 ,帮助顺利吃鸡

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Qanswer

ruzzle-solver
A python script that solves ruzzle boards
Stars: ✭ 46 (-85.89%)
Mutual labels:  ocr, adb, tesseract
Nkocr
🔎📝 This is a module to make specifics OCRs at food products and nutritional tables.
Stars: ✭ 15 (-95.4%)
Mutual labels:  ocr, tesseract
nimtesseract
A Tesseract OCR wrapper for Nim
Stars: ✭ 23 (-92.94%)
Mutual labels:  ocr, tesseract
LaraOCR
Laravel Optical Character Reader(OCR) package using ocr engines like Tesseract
Stars: ✭ 88 (-73.01%)
Mutual labels:  ocr, tesseract
How-to-use-tesseract-ocr-4.0-with-csharp
How to use Tesseract OCR 4.0 with C#
Stars: ✭ 60 (-81.6%)
Mutual labels:  ocr, tesseract
tesseract-unity
Standalone OCR plugin for Unity using Tesseract
Stars: ✭ 35 (-89.26%)
Mutual labels:  ocr, tesseract
textocry
Textocry - Copy text from Images (chrome extension)
Stars: ✭ 29 (-91.1%)
Mutual labels:  ocr, tesseract
memento
Organize your meme image cluster in a better format using OCR from the meme to sort them using tesseract along with editing memes by segmenting them using OpenCV within a directory
Stars: ✭ 70 (-78.53%)
Mutual labels:  ocr, tesseract
IdCardRecognition
Android id card recognition based on OCR. 安卓基于OCR的身份证识别。
Stars: ✭ 35 (-89.26%)
Mutual labels:  ocr, tesseract
TesseractStudio.Net
A free Windows graphical interface to the Tesseract 4.0 OCR engine.
Stars: ✭ 38 (-88.34%)
Mutual labels:  ocr, tesseract
cordova-plugin-tesseract
Cordova Plugin for OCR process using Tesseract
Stars: ✭ 70 (-78.53%)
Mutual labels:  ocr, tesseract
erpnext ocr
🐍 ⚗️ Optical Character Recognition using tesseract within Frappe.
Stars: ✭ 58 (-82.21%)
Mutual labels:  ocr, tesseract
ocr2text
Convert a PDF via OCR to a TXT file in UTF-8 encoding
Stars: ✭ 90 (-72.39%)
Mutual labels:  ocr, tesseract
saram
Get OCR in txt form from an image or pdf extension supporting multiple files from directory using pytesseract with auto rotation for wrong orientation. PYPI:
Stars: ✭ 51 (-84.36%)
Mutual labels:  ocr, tesseract
ocr
Simple app to extract text from pictures using Tesseract
Stars: ✭ 98 (-69.94%)
Mutual labels:  ocr, tesseract
OCRmyPDF
OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched
Stars: ✭ 6,560 (+1912.27%)
Mutual labels:  ocr, tesseract
ReadToMe
No description or website provided.
Stars: ✭ 51 (-84.36%)
Mutual labels:  ocr, tesseract
MouseTooltipTranslator
chrome extension - When mouse hover on text, it shows translated tooltip using google translate
Stars: ✭ 93 (-71.47%)
Mutual labels:  ocr, tesseract
tesseract-ocr
Node.js wrapper for Tesseract OCR CLI.
Stars: ✭ 29 (-91.1%)
Mutual labels:  ocr, tesseract
staff identity card ocr project
Staff Identity Card OCR Project
Stars: ✭ 15 (-95.4%)
Mutual labels:  ocr, tesseract

答题神器

《冲顶大会》,《百万英雄》等答题游戏的答题神器,顺利吃鸡!

通过抓取手机屏幕截图经过文字识别,结合搜索引擎给出一个参考值。

题目

分析结果:

结果

结果说明:

  • 结果数:通过题目+答案的搜索形式在搜索引擎中的结果数量

  • 答案出现频率:通过搜索题目,答案在第一页结果中出现的频率

结果并不是100%的,只给出一个参考值,还需用户自己判断。理论上可支持多款APP,只需要修改config.yml中的题目和答案的截取位置即可。

安装

有两种方式:

1.手动编译
  • 安装go环境
  • 将本项目放入gopath中
  • 通过govendor进行依赖管理,执行govendor sync下载依赖
  • 执行make build会在当前目录生成qanswer文件
2.直接下载

根据运行平台可以直接在这里下载: releases

配置文件说明

默认为./config.yml文件,也可通过-config参数指定自定义路径。

执行qanswer时,默认读取当前目录下的config.yml配置文件。

各种答题类APP以及适配机型的配置:机型配置

配置参数说明:

# 是否开始调试模式
debug: false
# 对应的设备类型:ios or android
device: ios
# 使用的ocr工具:baidu or tesseract
ocr_type: baidu
# ios 设备连接wda的地址
wda_address: '127.0.0.1:8100'
# 截取题目的位置 :
question_x: 30
question_y: 310
question_w: 650
question_h: 135
# 截取答案的位置
answer_x: 30
answer_y: 500
answer_w: 680
answer_h: 370
#当选用baidu ocr时,需要执行api_key和secret_key
baidu_api_key: "xxx...."
baidu_secret_key: "xxx...."

iOS

device: ios

  • 安装WDA :iOS 真机如何安装 WebDriverAgent
  • 编译或直接下载编译好的qanswer文件
  • 修改配置文件:根据设备尺寸以及答题APP,修改题目和答案截取位置参数,并且指定wda_address WDA 连接地址
  • 执行./qanswer,也可以通过-config参数指定配置文件地址
  • 按空格键开始

Android

device: android

安装ADB

安装完后插入安卓设备且安卓已打开 USB 调试模式,终端输入 adb devices,显示设备号则表示成功。

List of devices attached
MWUBB17518200733	device

百度ocr

ocr_type: baidu

如果使用百度ocr,则需要预先申请api key 和secret key ,并且免费的额度有限

tesseract

ocr_type: tesseract

安装tesseract以及简体中文包。

以mac:为例

brew install tesseract
cd /usr/local/Cellar/tesseract/{version}/share/tessdata
wget https://github.com/tesseract-ocr/tessdata/raw/master/chi_sim.traineddata

其他系统的安装说明:https://github.com/tesseract-ocr/tesseract/wiki

TODO:

  • 不同机型,不同答题app的配置参数
  • 支持google搜索
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].