A python script based on opencv and paddleocr, which can automatically pick up tasks, make cookies, and receive rewards in the Destiny 2 Dawning Oven

Overview

Destiny 2 Automatic Dawning Oven

还在手动接任务刷光尘?我来教你挂机!

只要材料、微光充足,躺着也能刷光尘!

这是一个基于OpenCV-PythonPaddleOCR的全自动接悬赏、做饼干、领取悬赏奖励的脚本。

准备工作

安装Python

首先去Python官网下载python并安装。

这里选择3.9.5版本的下载安装。

安装完后,打开一个cmd,键入py,有输出即表示安装成功。

安装Shapely

打开官网Shapely

因为安装的Python是3.9.5,所以这里选择Shapely‑1.8.0‑cp39‑cp39‑win_amd64.whl版本的下载。

下载后,到下载的文件夹里,按住shift加上鼠标右键,打开终端或者powershell:

输入:

py -m pip install Shapely‑1.8.0‑cp39‑cp39‑win_amd64.whl

安装完毕后,终端不要关,还有东西需要安装。

安装PaddleOCR

等Shapely安装完后,再输入:

py -m pip install paddlepaddle -i https://mirror.baidu.com/pypi/simple 

等待安装即可。

安装依赖

首先把项目下载,然后打开项目目录,在目录按住shift加上鼠标右键,打开终端或者powershell,输入:

py -m pip install -r requirements.txt

安装完毕后,终端不要关。

截图

既然是基于OpenCV-Python,那么截图肯定又是必不可少的。

我用的是2k分辨率全屏截的图,如果你也是2k分辨率全屏那么可能不需要重新截图(是可能,如果发现不太正常,建议还是重新截图)。

cookie的截图我是按照烤炉里的顺序排序命名的,所以按顺序截图即可(具体对应关系可以看lib/cookies.py)。

这里再说一下其他图怎么截:

  • 悬赏上限时提示----limit.png
  • 曙光节NPC名字----npc.png
  • 打开任务面板,上方任务两个字----taskBtn.png
  • 打开任务面板,右键烤炉的图标----oven.png
  • 曙光节NPC处接的光尘悬赏图标----task.png
  • 曙光节光尘悬赏完成图标----rewards.png
  • 进入烤炉第一行第一个框----frameBtn.png
  • 进入烤炉选择饼干上一页----preBtn.png
  • 进入烤炉选择饼干下一页按钮----nextBtn.png

游戏按键设置

在游戏的键盘设置里,拉到最下面,将打开任务的按键设置为f2

当然也可以用别的键,在项目里的main.py搜索f2修改即可。

使用

做了那么多准备工作,终于可以开始使用了。

接悬赏刷光尘

在项目目录按住shift加上鼠标右键,打开终端或者powershell,输入:

py ./main.py

然后切换回游戏,打开曙光节NPC界面,然后按一下F3即可开始,当需要结束时,按一下F4即可。

只做一种饼干

需要打开项目目录下的main.py,然后在文件开头找到single = '',修改为目标饼干即可。

例如最容易做的老九饼干:

修改完后再启动脚本。

然后进入烤炉,再按一下F3即可开始,结束时再按一次F4即可。

TextBoxes re-implement using tensorflow

TextBoxes-TensorFlow TextBoxes re-implementation using tensorflow. This project is greatly inspired by slim project And many functions are modified ba

Gu Xiaodong 44 Dec 29, 2022
かの有名なあの東方二次創作ソング、「bad apple!」のMVをPythonでやってみたって話

bad apple!! 内容 このプログラムは、bad apple!(feat. nomico)のPVをPythonを用いて再現しよう!という内容です。 実はYoutube並びにGithub上に似たようなプログラムがあったしなんならそっちの方が結構良かったりするんですが、一応公開しますw 使い方 こ

赤紫 8 Jan 05, 2023
Tensorflow-based CNN+LSTM trained with CTC-loss for OCR

Overview This collection demonstrates how to construct and train a deep, bidirectional stacked LSTM using CNN features as input with CTC loss to perfo

Jerod Weinman 489 Dec 21, 2022
Dirty, ugly, and hopefully useful OCR of Facebook Papers docs released by Gizmodo

Quick and Dirty OCR of Facebook Papers Gizmodo has been working through the Facebook Papers and releasing the docs that they process and review. As lu

Bill Fitzgerald 2 Oct 28, 2021
TextBoxes: A Fast Text Detector with a Single Deep Neural Network https://github.com/MhLiao/TextBoxes 基于SSD改进的文本检测算法,textBoxes_note记录了之前整理的笔记。

TextBoxes: A Fast Text Detector with a Single Deep Neural Network Introduction This paper presents an end-to-end trainable fast scene text detector, n

zhangjing1 24 Apr 28, 2022
Ddddocr - 通用验证码识别OCR pypi版

带带弟弟OCR通用验证码识别SDK免费开源版 今天ddddocr又更新啦! 当前版本为1.3.1 想必很多做验证码的新手,一定头疼碰到点选类型的图像,做样本费时

Sml2h3 4.4k Dec 31, 2022
A toolbox of scene text detection and recognition

FudanOCR This toolbox contains the implementations of the following papers: Scene Text Telescope: Text-Focused Scene Image Super-Resolution [Chen et a

FudanVIC Team 170 Dec 26, 2022
The code for “Oriented RepPoints for Aerail Object Detection”

Oriented RepPoints for Aerial Object Detection The code for the implementation of “Oriented RepPoints”, Under review. (arXiv preprint) Introduction Or

WentongLi 207 Dec 24, 2022
BoxToolBox is a simple python application built around the openCV library

BoxToolBox is a simple python application built around the openCV library. It is not a full featured application to guide you through the w

František Horínek 1 Nov 12, 2021
A document scanner application for laptops/desktops developed using python, Tkinter and OpenCV.

DcoumentScanner A document scanner application for laptops/desktops developed using python, Tkinter and OpenCV. Directly install the .exe file to inst

Harsh Vardhan Singh 1 Oct 29, 2021
Awesome anomaly detection in medical images

A curated list of awesome anomaly detection works in medical imaging, inspired by the other awesome-* initiatives.

Kang Zhou 57 Dec 19, 2022
make a better chinese character recognition OCR than tesseract

deep ocr See README_en.md for English installation documentation. 只在ubuntu下面测试通过,需要virtualenv安装,安装路径可自行调整: git clone https://github.com/JinpengLI/deep

Jinpeng 1.5k Dec 28, 2022
Official code for "Bridging Video-text Retrieval with Multiple Choice Questions", CVPR 2022 (Oral).

Bridging Video-text Retrieval with Multiple Choice Questions, CVPR 2022 (Oral) Paper | Project Page | Pre-trained Model | CLIP-Initialized Pre-trained

Applied Research Center (ARC), Tencent PCG 99 Jan 06, 2023
In this project we will be using the live feed coming from the webcam to create a virtual mouse with complete functionalities.

Virtual Mouse Using OpenCV In this project we will be using the live feed coming from the webcam to create a virtual mouse using hand tracking. Projec

Hassan Shahzad 8 Dec 20, 2022
Unofficial implementation of "TableNet: Deep Learning model for end-to-end Table detection and Tabular data extraction from Scanned Document Images"

TableNet Unofficial implementation of ICDAR 2019 paper : TableNet: Deep Learning model for end-to-end Table detection and Tabular data extraction from

Jainam Shah 243 Dec 30, 2022
Forked from argman/EAST for the ICPR MTWI 2018 CHALLENGE

EAST_ICPR: EAST for ICPR MTWI 2018 CHALLENGE Introduction This is a repository forked from argman/EAST for the ICPR MTWI 2018 CHALLENGE. Origin Reposi

Haozheng Li 157 Aug 23, 2022
EAST for ICPR MTWI 2018 Challenge II (Text detection of network images)

EAST_ICPR2018: EAST for ICPR MTWI 2018 Challenge II (Text detection of network images) Introduction This is a repository forked from argman/EAST for t

QichaoWu 49 Dec 24, 2022
Repository for playing the computer vision apps: People analytics on Raspberry Pi.

play-with-torch Repository for playing the computer vision apps: People analytics on Raspberry Pi. Tools Tested Hardware RasberryPi 4 Model B here, RA

eMHa 1 Sep 23, 2021
M-LSDを用いて四角形を検出し、射影変換を行うサンプルプログラム

M-LSD-warpPerspective-Example M-LSDを用いて四角形を検出し、射影変換を行うサンプルプログラムです。 Requirements OpenCV 3.4.2 or Later tensorflow 2.4.1 or Later Usage 実行方法は以下です。 pytho

KazuhitoTakahashi 9 Oct 14, 2022
An Implementation of the FOTS: Fast Oriented Text Spotting with a Unified Network

FOTS: Fast Oriented Text Spotting with a Unified Network Introduction This is a pytorch re-implementation of FOTS: Fast Oriented Text Spotting with a

GeorgeJoe 171 Aug 04, 2022