Counting segmented objects

Seriously though, this is insanely good. Thank you!

So, I get (with this code) how I can automate the segmentation/masks for each image now:

  • Save each object as its own .png image
  • Assign each object the class of ‘louse’
  • Manually label the training data with the correct sub-classes (M/F, preadult/adult)

Would you broadly agree with this approach?

This then leads me to the next stage, of training a neural network to do instance segmentation and learn the correct subclasses itself.

I saw this thread which seems really hopeful!

Did you have any general tips on instance segmentation in fastai? No worries if not – You’ve been incredibly helpful to me here, and I really appreciate it.

Thanks again.

1 Like