Skip to content

Think-Evolve-Consulting/Counting-grains

Repository files navigation

Counting-grains

A set of notebooks to count the grains on a dish

We use EfficientSAM in our workflow,

This basically involves generating a grid of point prmpts over the image and getting the relevant masks.

Since the original image is large, we slice it into smaller windows and run EfficientSAM. The annotated images are then stiched back, the tapestry of colours can be viewed below!

For the curious:

Total number of grains: 39690

Original Image: <img src="grains_of_sand.jpg" alt="drawing" width="200", height="400"/>

Image with Annotation Masks: Original Image with Annotation

About

A set of notebooks to count the grains on a dish

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published