Giter Site home page Giter Site logo

siterizer / new-world-fishing-bot Goto Github PK

View Code? Open in Web Editor NEW
294.0 12.0 125.0 28.05 MB

user friendly python script who is able to catch fish in the game New World

License: GNU General Public License v3.0

Python 100.00%
python amazon-games new-world game-bot

new-world-fishing-bot's Introduction

new-world-fishing-bot end of support!

Hello all of you guys should get some clarification about me and bot's current situation.
The account on which I was fishing has been permanently banned today (2021.04.11)
I'm not going to risk 'testing' the bot on the main account.

for this reason, I suspend any further work on the bot. I don't want more people to get banned because of me

As a summary, I would like to thank you all with responding to problems and building the bot :)
especially @syntax001 @NewWorldDev @ITgamers and @srhinos you did a pretty good job.

Demonstration click img for demonstration

Download guide

  • Click at latest release:
    alt text
  • Download and extract bot.zip:
    alt text
  • When you run file bot.exe following user interface should appear:
    alt text

Game settings

  • Visuals: resolution 1920x1080, contrast/brightness default, low details:
    alt text

  • Standard key bindings, except of 'CAMERA' -> 'FREE LOOK' key binding, it must be 'B'!
    alt text

  • Remember to set you windows Scale to 100%:
    alt text

Support

  • Finally, after 2 weeks of the game release i am able to receive donations:
    • Bitcoin Wallet addess: 3KpsEkGrMz1F9uxSgDbw92jvGqa5JoQpEC
    • ETH Wallet addess: 0x335d217961a839899ee03a9a78b56fb77cba95b3
      Thank you for your support, i gonna buy some coke for that :DD

Usage guide

  • Before you start fishing you need to indicate correct fishing positions
    The left ('Fishing') panel inputs are the pointing area where fishing icons are going to appear
    The best way to configure it is to open the game, stand over the fishing ground
    set a rectangle so that most of it is on the right side of the character, and set the appropriate height
    alt text
  • The smaller the rectangle, the faster the program will run - because it will have fewer pixels to check
    I strongly suggest setting the repair/bait positions at this point as well
    Just open the inventory, and set positions so that it completely covers the rod
    alt text
  • Do the same, for the bait buttons
    alt text
  • Now all you have to do is click the ‘Start fishing’ button and move the mouse cursor into the game window.

Personalization guide

  • Repairing functionality will work every interval you set on the panel and is activated while searching for a fish
    Each interval, starting with casting the fishing rod, retrieving the fish, opening the inventory for repairs, is possible to change
    Close app, go to your installation folder, open resources and open config.xml with any text editor you have
    alt text
  • As you can see there are values that you assigned a moment ago. What interests you are all the values
    appearing after the line 'timeouts'. Each timeout will be a random number in the range of min and max. And their properties are listed here: (All values are given in seconds)
  1. loop is responsible for the breaks between successive iterations of the program. I recommend leaving it at 0.0.1
  2. notice is a left mouse click duration when fish is found
  3. reeling is a left mouse click duration when the green icon is visible
  4. pause tells you how much time the program should 'release' when it sees a brown or red icon
  5. cast is a left mouse click duration of casting the fishing rod.
  6. arm_disarm - time the program will wait before/after arming/disarming the rod
  7. inventory - time the program will wait before/after opening/closing your inventory
  8. repair - time the program will wait before/after clicking the fishing rod
  9. confirm - time the program will wait before/after confirming repair
  10. move_around - time the program will move left/right after Repairing button
  11. select - time the program will wait after selecting a bait
  12. confirm - time the program will wait after 'Equip Bait' button
  13. Additionally, if you want the program to display more information while fishing, change 'log_lvl' from INFO to DEBUG.

Code installation guide

  • Clone repo git clone https://github.com/Siterizer/new-world-fishing-bot.git
  • Install python https://www.python.org/downloads/
  • Create python virtual environment python3 -m venv instalation_directory\new-world-fishing-bot
  • Enter virtual environment Scripts\activate
  • Install modules: pip install -r requirements.txt
  • run python bot.py following user interface should appear:
    alt text

If you would like to create your own .exe file:

  1. Install: pip install pyinstaller
  2. Run following command: pyinstaller --add-data resources;resources bot.py
  3. Your exe file should generate in dist\bot\bot.exe

new-world-fishing-bot's People

Contributors

cclauss avatar comictypx avatar dagut avatar mitmiisnix avatar siterizer avatar srhinos avatar xenouch 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  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  avatar  avatar  avatar  avatar

Watchers

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

new-world-fishing-bot's Issues

Log Level Behaviour '0'

If there is no recognized result_from_model it will spam the console with "Waiting for fish...".
It would be nice to have this message only appear 1x until the next fish.
Corresponding code from functionality/fishing_loop.py:

...
    if result_from_model == '0': # 0 - model does not match any data (not fish captured yet)
        info("Waiting for fish...")
        return '0'
...

Im not that familiar with python but i thought something like this:

onetimehelper = 0
...
    if result_from_model == '0': # 0 - model does not match any data (not fish captured yet)
        if onetimehelper == 0:
            info("Waiting for fish...")
            onetimehelper = 1
        return '0'
...

and in one of the other cases 1-4 onetimehelper should be set to 0 again.

Never catch fish?

I have it casting the rod but he never pulls the fish at the right time after one is on the line? it always gets away or he pulls too early??

Most Important Feature this could possibly have.

We need an auto cancel on fish based on rarity. So that way if we only want Blue or whatever rarity we can tell the program to only get those fish and to reject all others. That way when we come back we will have a bag full of gold....I mean rare fish.

Other screen resolutions

It would be possible, who knows later, some change that allows the operation in a lower resolution, such as 1280x720.

Add field for brightness and contrast

But has issues with detection with different brightness and contrast setting. Need to add more images to resources accounting for different setting and a place to prompt users for current settings

Suggestion for better "notice" the hook!

You can add one more green-square for selecting the 'exact' coordinates of the Hook! thing. Then the bot will not search all the big green square to find fish is found notice.
Sorry for bad english

Few bogue

First thank for the amazing job !

i notice two issue :

it s seems impossible to use the stop fishing button.
I have to kill the process of the bot.

Second is the bot staying in pause inifitly sometime. For exemple when fishing a chest where the tension color could be red all the time and do not go back green after some time. Is it possible to setup a « time out » for the pause meccanisme ?

thanks again
Bye

Feature requests.

Can we get the following please? :)

  • Use bait
  • Customizable keybind to toggle the start fishing button.
  • Randomized delay
  • Obfuscation

Model Missing

OSError: SavedModel file does not exist at: model/{saved_model.pbtxt|saved_model.pb}

Can you please help me understand what I am missing?
Can you please upload the model or put in the readme how to create the model?

Thanks

Sudden multiple issues after update

First let me state that all settings are correct, everything low, brightness/contract 45/35, and windows scaling 100%. Before this, the bot would work great and would only bug out most likely due to new world issues every 1-3 hours (either with fishing rod getting stuck in casting mode, or the fish icon being stuck as you're reeling in)
However now I cannot get the bot to work very much at all, at best I got it to maybe hook in 1 out of 5 fish. Adjusted the rectangle multiple times, making it bigger/smaller. Took a new screenshot of the fish icon and replaced the fish_notice icon with the new one I took, hoping it would read better, but it would still only hook 1 out of 5 fish or so. Restarted my PC, redownloaded the bot, and now the bot with hook the fish, but not reel it in. (The version prior wouldn't hook most of the time, and when it did, it would actually reel them in) Also note that the fishing icon is well within the rectangle, while I'm also being sure not to make the rectangle too big (actually it's more of a box and the icon is in the center of it) Any ideas what I could try next? Seems to be working for people still.

https://gyazo.com/b9dc3abf13726c14a0bc7abe661a9dca is what is says when running the bot and hooking one in. It completely skips the reeling in sequence. Again, this is a fresh install, and the only thing modified is the rectangle, which as I mentioned before is well within the green rectangle box.

Small bug

Good afternoon! Everything is solid but I run into one small problem. Once gosh is hooked it’ll start to reel the pauses for too long and fish gets away. I tried playing with pause times and couldn’t come up with any results.

If help it get passed the initial reel in, I’ll finish everything off just fine. Maybe it’s user error? Everything looks great though thanks for the awesome crispy.

It doesn't work on windows 11

everytime i try to use it on windows 11, the console keep trying stop the bot, sometimes it cast the rod, but it fails to catch the fish and try to stop again.

Game disconnect you after 20 mins also

So since the new Update 1.0.1 the game now can detect you if you are going AFK Botting/Macro

Anyone else having this problem ? the game disconnect me 2 times today while the fishing bot is on

[INFO] Pause fishing

now bot do nothing except pause

[INFO] Pause fishing
[INFO] Pause fishing
[INFO] Pause fishing
[INFO] Pause fishing
[INFO] Pause fishing
[INFO] Pause fishing
[INFO] Pause fishing
[INFO] Pause fishing
[INFO] Pause fishing
[INFO] Pause fishing
[INFO] Pause fishing
[INFO] Pause fishing

[Question] Sound macro

Your bot working with pixels. Is there a way to make a bot working with sounds?. As you know the fishing "Hook!" "Reel" sounds can be used to automatic fish.

Suggestion for repair position

Comes from a bot I've been working on myself, pretty new to programming in general so I suppose this is meant to just be a concept. I've used yours in the mean time until I get mine working, so hope I could help contribute in some way.

Basically I found the sliders for the repair position a little tedious, so I thought a hotkey to set it would be nice. The idea is to have the user move their mouse to the rod slot in their inventory then hit INSERT to set its position.

class Repair:
    x = 0
    y = 0

    def set_position(): 
        mouseX, mouseY = mouse.get_position()
        print(f"[INFO] New Repair Position:   {mouseX} and {mouseY}")
        Repair.x = mouseX
        Repair.y = mouseY

    def get_position():
        return Repair.x, Repair.y

. . .

keyboard.add_hotkey('insert',callback=(Repair.set_position))

(Then call get_position somewhere in one of your loops when you need to)

It seems you like personalization so of course you could make the hotkey configurable.
Thanks for reading.

Rod getting repaired way too often?

I've set the green box for the rod repairing in the top left corner of the rod icon (as on the screenshot).
I don't know if it's intended or not but the script repairs the rod when it's durability is above 90% which means it uses a lot of repair parts when not needed.

Am I setting it up wrong or it's intended to repair that often?

Suggestion : Make a profile tab

Id love to have a different profiles tab where I could switch whenever I park to different place.
Each of the the profile just saves the config of the rectangles and so on. Simple as that.

Bugs/improvements

1.Sometimes when you catch a fish the camera will rotate 90 degrees to another angle, and you can begin fishing on land, rendering the bot useless.

  1. You cannot stop fishing as the program will crash everytime.

  2. Let us save a preset on our co-ordinates for green squares.

Multi-threading to have a better reel-in

I took a look at your bot (since I was hesitating to make one myself, and good job on doing this, it's clean - I just added some more "organic" pauses where there were some sleep with fixed timings that could be seen as a bot) and noticed that for the reel in phase, you just reel in for a certain time, then check if it's green/orange/red. Which forces the bot to stop reeling in, even when it's still green, which might make it easily detectable if it does it too much. Humans don't really reel in by little bursts like this, when it's still obviously "very green" and won't turn orange soon.

A possible improvement (I might implement it if I find the motivation and time) would be to either:

  • multi thread the bot to have the detection run as the mouse left button is pressed
  • or even simpler and without needing threads : just press the left button, then run the detection function in a loop until the color goes to orange (you don't need to click for a certain time then stop clicking to check, just click and run the check continuously until orange is detected), when it does, stop clicking, and wait for some time, check if it indeed went green (if not wait more but shouldn't happen), then left flick and run the detection in a loop. This would look a bit more "human".

can not open exe file

when i finish setting, including game setting, rectangle and repair position, and press "start fishing"

i can't press "stop fishing" to stop, and file is crashed, after all i can't open exe file any more.

even i download new file, still can not open it

is something bug like local cache need to be cleaned?

Doesn't stop casting

It just keeps casting and canceling.

I changed all the things suggested in the readme (even putting my window scaling to the god awful 100% on a 4k monitor). I tried fullscreen and windowed. I run a pretty good gaming PC and I tried various sizes about half the size of how it starts.

Cast fishing rod, pause for 6 s, cast fishing rod - all while missing hooks

Hello,
I currently have the issue, that the bot casts the fishing rod then pauses for 6 s. In this time when a hook happens, it misses the hook. In game it says "MISS - TOO LATE".

I have the correct contrast, brightness and the fishing rectangle exactly over the hook. I have also reduced the size of the rectangle, incase that was the issue, but it has not helped.

Here are some screenshots:
https://i.imgur.com/mlr493F.jpg
https://i.imgur.com/CyyAe80.jpg

Here is the log, in DEBUG mode:

[DEBUG] starting new loop
[INFO] Cast fishing rod
[DEBUG] Pause for: 6 s
[DEBUG] release b
[DEBUG] Pause for: 1 s
[DEBUG] Pause for: 0.86 s
[DEBUG] Pause for: 5 s
[DEBUG] press b
[DEBUG] starting new loop
[INFO] Cast fishing rod
[DEBUG] Pause for: 6 s
[DEBUG] release b
[DEBUG] Pause for: 1 s
[DEBUG] Pause for: 0.77 s
[DEBUG] Pause for: 5 s
[DEBUG] press b
[DEBUG] starting new loop
[INFO] Cast fishing rod
[DEBUG] Pause for: 6 s
[DEBUG] release b
[DEBUG] Pause for: 1 s
[DEBUG] Pause for: 0.76 s
[DEBUG] Pause for: 5 s
[DEBUG] press b
[DEBUG] starting new loop
[INFO] Cast fishing rod
[DEBUG] Pause for: 6 s
[DEBUG] release b
[DEBUG] Pause for: 1 s
[DEBUG] Pause for: 0.51 s
[DEBUG] Pause for: 5 s
[DEBUG] press b
[DEBUG] starting new loop
[INFO] Cast fishing rod
[DEBUG] Pause for: 6 s
[DEBUG] release b
[DEBUG] Pause for: 1 s
[DEBUG] Pause for: 0.9 s
[DEBUG] Pause for: 5 s
[DEBUG] press b
[DEBUG] starting new loop
[INFO] Cast fishing rod
[DEBUG] Pause for: 6 s
[DEBUG] release b
[DEBUG] Pause for: 1 s
[DEBUG] Pause for: 0.98 s
[DEBUG] Pause for: 5 s
[DEBUG] press b
[DEBUG] starting new loop
[INFO] Cast fishing rod
[DEBUG] Pause for: 6 s
[DEBUG] release b
[DEBUG] Pause for: 1 s
[DEBUG] Pause for: 0.66 s
[DEBUG] Pause for: 5 s
[DEBUG] press b
[DEBUG] starting new loop
[INFO] Cast fishing rod
[DEBUG] Pause for: 6 s
[DEBUG] release b
[DEBUG] Pause for: 1 s
[DEBUG] Pause for: 0.64 s
[DEBUG] Pause for: 5 s
[DEBUG] press b
[DEBUG] starting new loop
[INFO] Cast fishing rod
[DEBUG] Pause for: 6 s
[DEBUG] release b
[DEBUG] Pause for: 1 s
[DEBUG] Pause for: 0.93 s
[DEBUG] Pause for: 5 s
[DEBUG] press b
[DEBUG] starting new loop
[INFO] Cast fishing rod
[DEBUG] Pause for: 6 s
[DEBUG] release b
[DEBUG] Pause for: 1 s
[DEBUG] Pause for: 0.92 s
[DEBUG] Pause for: 5 s
[DEBUG] press b
[DEBUG] starting new loop
[INFO] Cast fishing rod
[DEBUG] Pause for: 6 s
[DEBUG] release b
[DEBUG] Pause for: 1 s
[DEBUG] Pause for: 0.58 s
[DEBUG] Pause for: 5 s
[DEBUG] press b
[DEBUG] starting new loop
[INFO] Cast fishing rod
[DEBUG] Pause for: 6 s
[DEBUG] release b
[DEBUG] Pause for: 1 s
[DEBUG] Pause for: 0.72 s
[DEBUG] Pause for: 5 s
[DEBUG] press b
[DEBUG] starting new loop
[INFO] Cast fishing rod
[DEBUG] Pause for: 6 s
[DEBUG] release b
[DEBUG] Pause for: 1 s
[DEBUG] Pause for: 0.67 s
[DEBUG] Pause for: 5 s
[DEBUG] press b
[DEBUG] starting new loop
[INFO] Cast fishing rod
[DEBUG] Pause for: 6 s
[DEBUG] release b
[DEBUG] Pause for: 1 s
[DEBUG] Pause for: 0.64 s
[DEBUG] Pause for: 5 s
[DEBUG] press b
[DEBUG] starting new loop
[INFO] Cast fishing rod
[DEBUG] Pause for: 6 s
[DEBUG] release b
[DEBUG] Pause for: 1 s
[DEBUG] Pause for: 0.81 s
[DEBUG] Pause for: 5 s
[DEBUG] press b
[DEBUG] starting new loop
[INFO] Cast fishing rod
[DEBUG] Pause for: 6 s
[DEBUG] release b
[DEBUG] Pause for: 1 s
[DEBUG] Pause for: 0.51 s
[DEBUG] Pause for: 5 s
[DEBUG] press b
[DEBUG] starting new loop
[INFO] Cast fishing rod
[DEBUG] Pause for: 6 s
[DEBUG] release b
[DEBUG] Pause for: 1 s
[DEBUG] Pause for: 0.64 s
[DEBUG] Pause for: 5 s
[DEBUG] press b
[DEBUG] starting new loop
[INFO] Cast fishing rod
[DEBUG] Pause for: 6 s
[DEBUG] release b
[DEBUG] Pause for: 1 s
[DEBUG] Pause for: 0.56 s
[DEBUG] Pause for: 5 s
[DEBUG] press b
[DEBUG] starting new loop
[INFO] Cast fishing rod
[DEBUG] Pause for: 6 s
[DEBUG] release b
[DEBUG] Pause for: 1 s
[DEBUG] Pause for: 0.95 s
[DEBUG] Pause for: 5 s
[DEBUG] press b
[DEBUG] starting new loop
[INFO] Cast fishing rod
[DEBUG] Pause for: 6 s
[DEBUG] release b
[DEBUG] Pause for: 1 s
[DEBUG] Pause for: 0.94 s
[DEBUG] Pause for: 5 s
[DEBUG] press b
[DEBUG] starting new loop
[INFO] Cast fishing rod
[DEBUG] Pause for: 6 s
[DEBUG] release b
[DEBUG] Pause for: 1 s
[DEBUG] Pause for: 0.94 s
[DEBUG] Pause for: 5 s
[DEBUG] press b
[DEBUG] starting new loop
[INFO] Cast fishing rod
[DEBUG] Pause for: 6 s
[DEBUG] release b
[DEBUG] Pause for: 1 s
[DEBUG] Pause for: 1.0 s
[DEBUG] Pause for: 5 s
[DEBUG] press b
[DEBUG] starting new loop
[INFO] Cast fishing rod
[DEBUG] Pause for: 6 s
[DEBUG] release b
[DEBUG] Pause for: 1 s
[DEBUG] Pause for: 0.55 s
[DEBUG] Pause for: 5 s
[DEBUG] press b

Any help would be greatly appreciated.
Cheers

Windows: .exe not response after 1 min, loop bug

Hi !

After running the .exe, after 2 minutes the app crashes. I think that the loop resets itself without ever going to the end. My logs:

[DEBUG] starting new loop
[INFO] Cast fishing rod
[DEBUG] Pause for: 0.67 s
[DEBUG] Pause for: 5 s
[DEBUG] starting new loop
[INFO] Cast fishing rod
[DEBUG] Pause for: 0.8 s
[DEBUG] Pause for: 5 s
[DEBUG] starting new loop
[INFO] Cast fishing rod
[DEBUG] Pause for: 0.8 s
[DEBUG] Pause for: 5 s
[DEBUG] starting new loop
[INFO] Cast fishing rod
[DEBUG] Pause for: 0.93 s
[DEBUG] Pause for: 5 s
[DEBUG] starting new loop
[INFO] Cast fishing rod
[DEBUG] Pause for: 1.0 s

I'm on windows 11.

Any idea ?

(ps: Thank you for the work already done)

New World never catch issue

Sometimes the catch will bug at 0.0m and will never actually be caught, the tension display was orange during this and I had to manually hold LMB to purposefully break the line for fishing to be able to continue. Obviously this is a New World bug but could be mitigated within the bot, perhaps just check if we've paused on orange for X number of seconds assume it's bugged and just hold LMB until the line snaps.

the bot stops to pull

The bot finds the fish, pulls it a little and then stops, until it completely loses the fish ...
Once lost, it starts again and then does the same thing.
Otherwise, the auto repair works well.

Some good spot?

Can someone share their spot which has better 'non pause' detection? Even when dawn

Kindly share your brightness setting as well.

shutdown due to inactivity

There is a shutdown due to inactivity, it is required that the character moves from the point every 5 minutes.

After hooking, Bot either does reels it in or never stops reeling it in

Per title.
I have tried adjusting the timeout to mitigate/prevent the cases of the bot never stopping the reeling process, after which, the bot either still does not stop or stops instead of pausing.
However, the former condition is most prevalent, I have attempted to minimize the size of the detection rectangle as much as reasonably possible as per suggestions in earlier threads, to around 300x650, yet it fails around 75% of the time. I have ensured the rectangle fully covers all icons at all times, so I have no idea why this would fail.
Additionally, most of the time, it fails to even cast the Rod but I have a workaround for that issue.
So far I have had only 1 successful case of the bot fishing it up by its own merit, and can confirm the camera reset does work perfectly fine.

Pause fishing

Hi,
I was able to use the fish bot with no problem at first, but then this problem arise when I press "start fishing", all it would do now is output "pause fishing" (I'll attach a picture). I'm using the recommended settings, Windows mode, low graphics, and binding B to freelook, not sure what the issue is.

Running in VMware Workstation

Hi there,
I'm trying to make it work through a VM, cause I need to use my PC during botting and not just looking at it ^^

It always pulls too early while no fish bites.

Without using any VM, it works, but not inside :'(

Doesn't work properly when it's day time

The bot works perfectly fine when it's night-time in game. But when it changed to day time, it's unable to detect images properly.\

  • Doesn't detect nothing? properly (doesn't cast hook)
  • Doesn't detect caught fish fast enough
  • Doesn't detect fish is hooked and start reeling, just sit there and wait for fish to run away

Graphic Settings:
https://i.imgur.com/vLlUsvW.jpeg

Application lags

After clicking on start, the application works well, but the application cannot be stopped, it simply freezes and you have to close it in the manager. Correct it.

Delay in hooking

Hey guys. For some reason the bot tries to hook just after the hook has been missed, like its a bit too slow. Any way to change this?

Straight up not working.

The program log shows it is detecting the actions in the gamewhen i fish manually, but it does not seem capable of doing the fishing itself.

Bait ?

Hello,

Can we expect for this bot to use bait ?
Also is it possible that it is less laggy ? I saw some solution with pyatogui 40 lines of code and no lags at all.

Regards

RR

Question

is it possible to make the fishing rod reach the maximum length?

no interface

hello no interface shows up when i run the bot.py

Edge Case: Reel Circle is full but color is non-green

I've started observing some edge cases where the fish is almost reeled in completely and the white reel circle has come "full circle" but the color gets stuck at a non-green.

Would it be possible to scan for a fully completed white ring and then hold down the mouse button to complete the reel-in?

Reeling Too Early

Hi,
Thank you for the awesome script mod!
A problem I've been facing is that from the time I cast my fishing line, my character attempts to reel in too early, before any fish is found.

Exception in Tkinter callback

Exception in Tkinter callback
Traceback (most recent call last):
File "tkinter_init_.py", line 1892, in call
File "gui\gui_functions.py", line 47, in start_fishing
File "functionality\fishing_loop.py", line 13, in fishing_loop
File "functionality\fishing_loop.py", line 28, in call_appropriate_fishing_action
File "functionality\image_recognition.py", line 17, in image_recognition_result
cv2.error: OpenCV(4.5.3) C:\Users\runneradmin\AppData\Local\Temp\pip-req-build-sn_xpupm\opencv\modules\imgproc\src\templmatch.cpp:1164: error: (-215:Assertion failed) (depth == CV_8U || depth == CV_32F) && type == _templ.type() && _img.dims() <= 2 in function 'cv::matchTemplate'

I am getting this error in log. Can you help me?

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.