両儀式は最高だ!
meowcolm024 / fgo-one Goto Github PK
View Code? Open in Web Editor NEWRedesigned FGO Script
License: MIT License
Redesigned FGO Script
License: MIT License
Traceback (most recent call last):
File "E:/FGO-One-master/main.py", line 21, in
end = s.recognize()
File "E:\FGO-One-master\interface\Major.py", line 72, in recognize
self.get_battle()
File "E:\FGO-One-master\interface\Major.py", line 64, in get_battle
split()
File "E:\FGO-One-master\util\split.py", line 65, in split
init()
File "E:\FGO-One-master\util\split.py", line 17, in init
region.save("./temp/out.png")
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\PIL\Image.py", line 1991, in save
fp = builtins.open(filename, "w+b")
FileNotFoundError: [Errno 2] No such file or directory: './temp/out.png'
i am not good at coding,so i can't find out the solution.
[BASIC] Buttons: [1595, 956]
/sdcard/sh.png: 1 file pulled. 26.2 MB/s (2611215 bytes in 0.095s)
ses: []
[0, 2, 4]
ses: [0, 2, 4]
[0, 2, 4]
ana
Traceback (most recent call last):
File "main.py", line 21, in <module>
end = s.recognize()
File "C:\Users\Tsuasahi\Desktop\FGO-One-0.3.0-alpha\interface\Major.py", line 72, in recognize
self.get_battle()
File "C:\Users\Tsuasahi\Desktop\FGO-One-0.3.0-alpha\interface\Major.py", line 65, in get_battle
combat = Battle()
File "C:\Users\Tsuasahi\Desktop\FGO-One-0.3.0-alpha\cards\Combat.py", line 20, in __init__
self.card_crd = self.get_np()
File "C:\Users\Tsuasahi\Desktop\FGO-One-0.3.0-alpha\cards\Combat.py", line 29, in get_np
if float(a) / float(b) == 1:
ValueError: could not convert string to float: 'a'
python3.7.2
Can you help me?
=========== RESTART: C:\Users\Shinelon\Desktop\FGO-master\main.py ===========
Traceback (most recent call last):
File "C:\Users\Shinelon\Desktop\FGO-one-master\main.py", line 21, in
end = s.recognize()
File "C:\Users\Shinelon\Desktop\FGO-one-master\interface\Major.py", line 70, in recognize
back = self.get_basic()
File "C:\Users\Shinelon\Desktop\FGO-one-master\interface\Major.py", line 27, in get_basic
if analyze(self.screenshot, basic_scene, self.threshold) == 1:
File "C:\Users\Shinelon\Desktop\FGO-one-master\util\cvs.py", line 43, in analyze
res = cv2.matchTemplate(sh, tmp, cv2.TM_CCOEFF_NORMED)
cv2.error: OpenCV(4.0.0) C:\projects\opencv-python\opencv\modules\imgproc\src\templmatch.cpp:589: error: (-215:Assertion failed) corrsize.height <= img.rows + templ.rows - 1 && corrsize.width <= img.cols + templ.cols - 1 in function 'cv::crossCorr'
I AM NOT GOOD AT ENGLISH(thank you in advance.)
I can find a picture which is called "sh"(screen shot) in my floder
then I checked something about opencv and adb , but there is nothing wrong(I can't find where the problem is)
Traceback (most recent call last):
File "C:\Users*AppData\Local\Programs\Python\Python37\lib\site-packages\pytesseract\pytesseract.py", line 184, in run_tesseract
proc = subprocess.Popen(cmd_args, subprocess_args())
File "C:\Users*\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 756, in init
restore_signals, start_new_session)
File "C:\Users*\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 1155, in _execute_child
FileNotFoundError: [WinError 2] system can not find the correct file.
this is the problem
Ask for your help , please.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.