Coder Social home page Coder Social logo

fgo-one's Introduction

Hi = ̄ω ̄=

両儀式は最高だ!

trophy

fgo-one's People

Contributors

meowcolm024 avatar ringzerotlf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

fgo-one's Issues

a problem of flieerror

device:mi 6 android8.0
desktop:windows 10.17763.349

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'

Process finished with exit code 1

i am not good at coding,so i can't find out the solution.

ValueError: could not convert string to float: 'a'

[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?

my problem

=========== 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)

the problem of path in windows

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.