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

You might also like...
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.

A webcam-based 3x3x3 rubik's cube solver written in Python 3 and OpenCV.
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

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

Using Opencv ,based on Augmental Reality(AR) and will show the feature matching of image and then by finding its matching
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.

Image Detector and Convertor App created using python's Pillow, OpenCV, cvlib, numpy and streamlit packages.
Image Detector and Convertor App created using python's Pillow, OpenCV, cvlib, numpy and streamlit packages.

Image Detector and Convertor App created using python's Pillow, OpenCV, cvlib, numpy and streamlit packages.

Hiiii this is the Spanish for Linux and win 10 and in the near future the english version of PortScan my new tool on which you can see what ports are Open only with the IP adress.

PortScanner-by-IIT PortScanner es una herramienta programada en Python3. Como su nombre indica esta herramienta escanea los primeros 150 puertos de re

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.

Shape Detection - It's a shape detection project with OpenCV and Python.
Shape Detection - It's a shape detection project with OpenCV and Python.

Shape Detection It's a shape detection project with OpenCV and Python. Setup pip install opencv-python for doing AI things. pip install simpleaudio fo

A document scanner application for laptops/desktops developed using python, Tkinter and OpenCV.
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

Owner
null
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
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
Automatically resolve RidderMaster based on TensorFlow & OpenCV

AutoRiddleMaster Automatically resolve RidderMaster based on TensorFlow & OpenCV 基于 TensorFlow 和 OpenCV 实现的全自动化解御迷士小马谜题 Demo How to use Deploy the ser

神龙章轩 5 Nov 19, 2021
Make OpenCV camera loops less of a chore by skipping the boilerplate and getting right to the interesting stuff

camloop Forget the boilerplate from OpenCV camera loops and get to coding the interesting stuff Table of Contents Usage Install Quickstart More advanc

Gabriel Lefundes 9 Nov 12, 2021
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
This is a GUI program which consist of 4 OpenCV projects

Tkinter-OpenCV Project Using Tkinter, Opencv, Mediapipe This is a python GUI program using Tkinter which consist of 4 OpenCV projects 1. Finger Counte

Arya Bagde 3 Feb 22, 2022
PyQT5 app that colorize black & white pictures using CNN(use pre-trained model which was made with OpenCV)

About PyQT5 app that colorize black & white pictures using CNN(use pre-trained model which was made with OpenCV) Colorizor Приложение для проекта Yand

null 1 Apr 4, 2022
Script para controlar o movimento do mouse usando Python e openCV com câmera em tempo real que detecta pontos de referência da mão, rastreia padrões de gestos em vez de um mouse físico.

mouserController Script para controlar o movimento do mouse usando Python e openCV com câmera em tempo real que detecta pontos de referência da mão, r

Vinícius Azevedo 6 Jun 28, 2022
A buffered and threaded wrapper for the OpenCV VideoCapture object. Can speed up video decoding significantly. Supports

A buffered and threaded wrapper for the OpenCV VideoCapture object. Can speed up video decoding significantly. Supports "with"-syntax.

Patrice Matz 0 Oct 30, 2021
This repo contains a script that allows us to find range of colors in images using openCV, and then convert them into geo vectors.

Vectorizing color range This repo contains a script that allows us to find range of colors in images using openCV, and then convert them into geo vect

Development Seed 9 Jul 27, 2022