geezacoleman / OpenWeedLocator

An open-source, low-cost, image-based weed detection device for in-crop and fallow scenarios.
MIT License
320 stars 56 forks source link

Changing detection settings #67

Closed manninb closed 1 year ago

manninb commented 1 year ago

For the technically incompetent like me can you step me through the following instructions on changing detection settings. I’m not sure how to open the greenonbrown.py.

“Navigate to the owl directory and open up greenonbrown.py in an editor. You'll need to right click, select open with and then choose an integrated development environment (IDE). Once it's open, scroll down to the very bottom and you should come across:”

geezacoleman commented 1 year ago

No worries Bill! Thanks for picking up the fairly unclear description. I've now updated it so it's hopefully more clear.

Though just to go through it here. You need to open up a folder and find the owl directory (like in the image below).

image

Then open up the owl directory and double click on greenonbrown.py. If it's executable (i.e. it can be run on boot just like any other programme) it will give you the option of either running it as an executable (not what we want in this case, though that is what we usually want if it should start normally) or just opening it as a Python file to edit. We want the latter, so just click on Open. image

Once you click Open it should bring up the file in an code editor like this. This one is Geany, but others like Thonny will work just fine.

image

You could also open this in a text editor too. But you have to be careful in the text editor with spaces and tabs. The indentation of each line is an important part of the code and it is often handled automatically in code editors like Geany and Thonny. If you want to open it in a text editor or any specific editor, just right click on the file and select the one you want. This will bypass the Executable/Open step because it goes straight to the editor.

image

Hopefully this helps! If anything else is unclear or my new description could be improved, always happy to hear feedback/suggestions/improvements.

geezacoleman commented 1 year ago

How did you go with this @manninb? Were you able to change the detection settings?

manninb commented 1 year ago

Yes, thanks again for your help, much appreciated.

Get Outlook for iOShttps://aka.ms/o0ukef


From: Guy Coleman @.> Sent: Tuesday, February 28, 2023 9:10:05 PM To: geezacoleman/OpenWeedLocator @.> Cc: Bill Manning @.>; Mention @.> Subject: Re: [geezacoleman/OpenWeedLocator] Changing detection settings (Issue #67)

How did you go with this @manninbhttps://github.com/manninb? Were you able to change the detection settings?

— Reply to this email directly, view it on GitHubhttps://github.com/geezacoleman/OpenWeedLocator/issues/67#issuecomment-1447906894, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AN3U5ASLAZEEIOUCDABPNBDWZXFH3ANCNFSM6AAAAAAVGMZGJE. You are receiving this because you were mentioned.Message ID: @.***>