TheBeruriahIncident / leafbyte

LeafByte is a free and open source mobile app for measuring herbivory quickly and accurately
https://zoegp.science/leafbyte
GNU General Public License v3.0
5 stars 2 forks source link

How to Batch Process #67

Open haiming236 opened 2 days ago

haiming236 commented 2 days ago

I have a set of photos, many of them. How can I process them in bulk?

Zoegp commented 2 days ago

Hello haiming236, Would you mind posting an example of the photos you are processing? Most photos require human intuition to ensure the thresholding and scale detection is done properly and to draw in missing margins if needed. So, bulk processing often doesn't make sense. LeafByte is usually very quick, and it's doable to process 600-1,000 leaves/images in a day if you don't have much margin damage and your image quality is high. If your images are perfect and do not require human oversight and you're comfortable with programming, you can look into using a variation of this testing script below for bulk processing. Please note that it is unusual for leaf images to not require human oversight. https://github.com/TheBeruriahIncident/leafbyte/blob/main/iOS/LeafByteTests/PaperDataTests.swift Zoe