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即可。

TensorFlow Implementation of FOTS, Fast Oriented Text Spotting with a Unified Network.

FOTS: Fast Oriented Text Spotting with a Unified Network I am still working on this repo. updates and detailed instructions are coming soon! Table of

Masao Taketani 52 Nov 11, 2022
Characterizing possible failure modes in physics-informed neural networks.

Characterizing possible failure modes in physics-informed neural networks This repository contains the PyTorch source code for the experiments in the

Aditi Krishnapriyan 55 Jan 02, 2023
📷 Face Recognition using Haar-Cascade Classifier, OpenCV, and Python

Face-Recognition-System Face Recognition using Haar-Cascade Classifier, OpenCV and Python. This project is based on face detection and face recognitio

1 Jan 10, 2022
Scene text detection and recognition based on Extremal Region(ER)

Scene text recognition A real-time scene text recognition algorithm. Our system is able to recognize text in unconstrain background. This algorithm is

HSIEH, YI CHIA 155 Dec 06, 2022
Assignment work with webcam

work with webcam : Press key 1 to use emojy on your face Press key 2 to use lip and eye on your face Press key 3 to checkered your face Press key 4 to

Hanane Kheirandish 2 May 31, 2022
Repository relating to the CVPR21 paper TimeLens: Event-based Video Frame Interpolation

TimeLens: Event-based Video Frame Interpolation This repository is about the High Speed Event and RGB (HS-ERGB) dataset, used in the 2021 CVPR paper T

Robotics and Perception Group 544 Dec 19, 2022
Implementation of our paper 'PixelLink: Detecting Scene Text via Instance Segmentation' in AAAI2018

Code for the AAAI18 paper PixelLink: Detecting Scene Text via Instance Segmentation, by Dan Deng, Haifeng Liu, Xuelong Li, and Deng Cai. Contributions

758 Dec 22, 2022
The papers published in top-tier AI conferences in recent years.

AI-conference-papers The papers published in top-tier AI conferences in recent years. Paper table AAAI ICLR CVPR ICML ICCV ECCV NIPS 2019 ✔️ ✔️ ✔️ ✔️

Jinbae Park 6 Dec 09, 2022
FastOCR is a desktop application for OCR API.

FastOCR FastOCR is a desktop application for OCR API. Installation Arch Linux fastocr-git @ AUR Build from AUR or install with your favorite AUR helpe

Bruce Zhang 58 Jan 07, 2023
Some bits of javascript to transcribe scanned pages using PageXML

nashi (nasḫī) Some bits of javascript to transcribe scanned pages using PageXML. Both ltr and rtl languages are supported. Try it! But wait, there's m

Andreas Büttner 15 Nov 09, 2022
OCR, Object Detection, Number Plate, Real Time

README.md PrePareded anaconda env requirements.txt clova AI → deep text recognition → trained weights (ex, .pth) wpod-net weights (ex, .h5 , .json) ht

Kaven Lee 7 Dec 06, 2022
A bot that extract text from images using the Tesseract OCR.

Text from image (OCR) @ocr_text_bot A simple bot to extract text from images. Usage What do I need? A AWS key configured locally, see here. NodeJS. I

Weverton Marques 4 Aug 06, 2021
Distilling Knowledge via Knowledge Review, CVPR 2021

ReviewKD Distilling Knowledge via Knowledge Review Pengguang Chen, Shu Liu, Hengshuang Zhao, Jiaya Jia This project provides an implementation for the

DV Lab 194 Dec 28, 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

1 Feb 13, 2022
It is a image ocr tool using the Tesseract-OCR engine with the pytesseract package and has a GUI.

OCR-Tool It is a image ocr tool made in Python using the Tesseract-OCR engine with the pytesseract package and has a GUI. This is my second ever pytho

Khant Htet Aung 4 Jul 11, 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
Creating of virtual elements of the graphical interface using opencv and mediapipe.

Virtual GUI Creating of virtual elements of the graphical interface using opencv and mediapipe. Element GUI Output Description Button By default the b

Aleksei 4 Jun 16, 2022
A simple python program to record security cam footage by detecting a face and body of a person in the frame.

SecurityCam A simple python program to record security cam footage by detecting a face and body of a person in the frame. This code was created by me,

1 Nov 08, 2021
This repository provides train&test code, dataset, det.&rec. annotation, evaluation script, annotation tool, and ranking.

SCUT-CTW1500 Datasets We have updated annotations for both train and test set. Train: 1000 images [images][annos] Additional point annotation for each

Yuliang Liu 600 Dec 18, 2022
Creating a virtual tv using opencv in python3.

Virtual-TV Creating a virtual tv using opencv in python3. In order to run the code follow the below given steps: Make sure the desired videos which ar

Vamsi 1 Jan 01, 2022