leaf-image-segmentation icon indicating copy to clipboard operation
leaf-image-segmentation copied to clipboard

How to give input in file segment.py

Open Siddhant96 opened this issue 5 years ago • 4 comments

I have never used argparse library, so I am having difficulty modifying the code. Instead of giving the image source while running the python file that is python segment.py testimage, I want give the path of image inside the segment.py file . How to do it?

Siddhant96 avatar Mar 06 '19 18:03 Siddhant96

I don't think specifying the path of the image inside the segment.py file is a good idea. It is not flexible and transparent.

YaredTaddese avatar May 21 '19 07:05 YaredTaddese

let say i have my 10 images of leaves in a folder, which is at "E:\project_dataseat\Real_Data"

now tell me how do i use your code, how do i execute your code ??

Please help me

deepanshumehtaa avatar Mar 10 '20 10:03 deepanshumehtaa

@deepanshumehtaa python3 segment.py E:\project_dataseat\Real_Data

You can see how you can run it on the README, by the way.

YaredTaddese avatar Mar 12 '20 10:03 YaredTaddese

ok thank you @YaredTaddese

deepanshumehtaa avatar Apr 16 '20 16:04 deepanshumehtaa