Automatically resolve RidderMaster based on TensorFlow & OpenCV

Overview

banner

AutoRiddleMaster

Automatically resolve RidderMaster based on TensorFlow & OpenCV

基于 TensorFlowOpenCV 实现的全自动化解御迷士小马谜题

GitHub GitHub last commit GitHub Repo stars

Demo

Demo

How to use

Deploy the server yourself

  1. Clone the repo

    git clone https://github.com/DargonXuan/AutoRiddleMaster.git
  2. Ensure your local environment install pip3:

    wget https://bootstrap.pypa.io/get-pip.py
    sudo python3 get-pip.py
  3. Install dependencies by pip3

    pip3 install -r requirements.txt
  4. Try to run python3 model.py to see whether the dependency is successfully installed (optional)

    WARNING:tensorflow:From /usr/local/lib/python3.8/dist-packages/tensorflow/python/compat/v2_compat.py:101: disable_resource_variables (from tensorflow.
    python.ops.variable_scope) is deprecated and will be removed in a future version.
    Instructions for updating:
    non-resource variables are not supported in the long term
    WARNING:tensorflow:From model.py:19: load (from tensorflow.python.saved_model.loader_impl) is deprecated and will be removed in a future version.
    Instructions for updating:
    This function will only be available through the v1 compatibility library as tf.compat.v1.saved_model.loader.load or tf.compat.v1.saved_model.load. Th
    ere will be a new function for importing SavedModels in Tensorflow 2.0.
    A

    The correct output should be like this, pay attention to the character A at the end, this is the answer to test.jpg.

⚠️ On Windows Server, you also need to install this dependency. Visual C++ Redistributable

  1. Run api server by uvicorn or gunicorn If you are personal use, then please run api.py directly.

    python3 api.py

    If you have a lot of needs, you can through gunicorn.

    gunicorn -c run.py api:app

    The default port is 80.

    Port can be modified in line 53 of api.py or line 13 of run.py #6

  2. Add your server address to the connet list of user.js, and modify the API_SERVER below.

    // @connect     autopony.ltd
    //
    // ==/UserScript==
    
    const API_SERVER = 'http://autopony.ltd';

    Change autopony.ltd to your address, note that there is no / character at the end.

  3. Open our test site and observe if your script is running normally. test.autopony.ltd

Use the server we provide

⚠️ We cannot guarantee the network quality and stable operation of the server, and it is very likely that the answer will not be returned within the specified time.

Install user.js directly and you can use it. Use test.autopony.ltd to see if it works.

TodoList 计划

  • TensorFlow in Python
  • Test site
  • Performance: Coroutine
  • use TensorFlow Lite
  • Heroku Deploy
  • Tencent Serverless Deploy

Thanks

Dataset from Z UserScript from S

Donation 捐赠

爱发电 buymeacoffee 微信 支付宝

You might also like...
python ocr using tesseract/ with EAST opencv detector

pytextractor python ocr using tesseract/ with EAST opencv text detector Uses the EAST opencv detector defined here with pytesseract to extract text(de

Solution for Problem 1 by team codesquad for AIDL 2020. Uses ML Kit for OCR and OpenCV for image processing
Solution for Problem 1 by team codesquad for AIDL 2020. Uses ML Kit for OCR and OpenCV for image processing

CodeSquad PS1 Solution for Problem Statement 1 for AIDL 2020 conducted by @unifynd technologies. Problem Given images of bills/invoices, the task was

~1000 book pages + OpenCV + python = page regions identified as paragraphs, lines, images, captions, etc.
~1000 book pages + OpenCV + python = page regions identified as paragraphs, lines, images, captions, etc.

cosc428-structor I had an open-ended Computer Vision assignment to complete, and an out-of-copyright book that I wanted to turn into an ebook. Convent

This is a Computer vision package that makes its easy to run Image processing and AI functions. At the core it uses OpenCV and Mediapipe libraries.
This is a Computer vision package that makes its easy to run Image processing and AI functions. At the core it uses OpenCV and Mediapipe libraries.

CVZone This is a Computer vision package that makes its easy to run Image processing and AI functions. At the core it uses OpenCV and Mediapipe librar

LEARN OPENCV IN 3 HOURS USING PYTHON - INCLUDING EXAMPLE PROJECTS
LEARN OPENCV IN 3 HOURS USING PYTHON - INCLUDING EXAMPLE PROJECTS

LEARN OPENCV IN 3 HOURS USING PYTHON - INCLUDING EXAMPLE PROJECTS

Bu uygulamada Python ve Opencv kullanarak bilgisayar kamerasından yüz tespiti yapıyoruz.

opencv_yuz_bulma Bu uygulamada Python ve Opencv kullanarak bilgisayar kamerasından yüz tespiti yapıyoruz. Bilgisarın kendi kamerasını kullanmak için;

Introduction to Augmented Reality (AR) with Python 3 and OpenCV 4.2.
Introduction to Augmented Reality (AR) with Python 3 and OpenCV 4.2.

Introduction to Augmented Reality (AR) with Python 3 and OpenCV 4.2.

Volume Control using OpenCV

Gesture-Volume-Control Volume Control using OpenCV Here i made volume control using Python and OpenCV in which we can control the volume of our laptop

 fishington.io bot with OpenCV and NumPy
fishington.io bot with OpenCV and NumPy

fishington.io-bot fishington.io bot with using OpenCV and NumPy bot can continue to fishing fully automatically how to use Open cmd in fishington.io-b

Releases(v2.0-stable)
This repo contains several opencv projects done while learning opencv in python.

opencv-projects-python This repo contains both several opencv projects done while learning opencv by python and opencv learning resources [Basic conce

Fatin Shadab 2 Nov 3, 2022
Opencv-image-filters - A camera to capture videos in real time by placing filters using Python with the help of the Tkinter and OpenCV libraries

Opencv-image-filters - A camera to capture videos in real time by placing filters using Python with the help of the Tkinter and OpenCV libraries

Sergio Díaz Fernández 1 Jan 13, 2022
Program created with opencv that allows you to automatically count your repetitions on several fitness exercises.

Virtual partner of gym Description Program created with opencv that allows you to automatically count your repetitions on several fitness exercises li

null 1 Jan 4, 2022
Developed an AI-based system to control the mouse cursor using Python and OpenCV with the real-time camera.

Developed an AI-based system to control the mouse cursor using Python and OpenCV with the real-time camera. Fingertip location is mapped to RGB images to control the mouse cursor.

Ravi Sharma 71 Dec 20, 2022
This is a project to detect gestures to zoom in or out, using the real-time distance between the index finger and the thumb. It's based on OpenCV and Mediapipe.

Pinch-zoom This is a python project based on real-time hand-gesture detection, to zoom in or out, using the distance between the index finger and the

Harshit Bhalla 6 Jul 11, 2022
A webcam-based 3x3x3 rubik's cube solver written in Python 3 and OpenCV.

Qbr Qbr, pronounced as Cuber, is a webcam-based 3x3x3 rubik's cube solver written in Python 3 and OpenCV. ?? Accurate color detection ?? Accurate 3x3x

Kim 金可明 502 Dec 29, 2022
Using Opencv ,based on Augmental Reality(AR) and will show the feature matching of image and then by finding its matching

Using Opencv ,this project is based on Augmental Reality(AR) and will show the feature matching of image and then by finding its matching ,it will just mask that image . This project ,if used in cctv then it will detect black listed people if mentioned properly with their images.

null 1 Feb 13, 2022
A simple document layout analysis using Python-OpenCV

Run the application: python main.py *Note: For first time running the application, create a folder named "output". The application is a simple documen

Roinand Aguila 109 Dec 12, 2022
Text Detection from images using OpenCV

EAST Detector for Text Detection OpenCV’s EAST(Efficient and Accurate Scene Text Detection ) text detector is a deep learning model, based on a novel

Abhishek Singh 88 Oct 20, 2022