A friend at Greenpeace asked me if there's a way to automate counting micro-plastic particles from beach surveys.
I played around a bit with the Image Sequencer, but it wonder if there's a relatively simple filter I can apply to the RGB channels to find edges, without having to predefine the colors I want to extract.
I attached an example image, which could also be on a dark background if that would help with the lighter pieces. Once we have a good filtering process, we'd want to build a simple webapp to let people take photos and do counts themselves.
Could you upload a few more image samples? Is it possible to ask that the samples be illuminated from a wide light source such that shade will be kept to a minimum? Is it possible to place a scale on the side of the image?
I tried to apply the same simplistic approach as was in the particle image. Not sure why, but Sobel didn't work, but Canny did. Other than that - this is a more difficult problem, the particles are not as spaced out and are actually touching, some pieces are the same color and brightness as the background, others have a sharp color variation inside of the particulate. I think that we have a large set of images it would be easy enough to start generating image snippets that could then be rated, annotated and labeled by crowdsourcing. But my inexperienced gut feeling is that this would pose a harder problem than the dust particles.
In the image below red rectangles are based on hue (none found - need to figure out why), green rectangles are based on the Saturation channel and blue rectangles are on the value (sorta grayscale).
Thanks @amirberAgain. I've contacted my friend at Greenpeace and asked him for some more images with less overlap and a wider array of lighting conditions. They're just trying to figure out if this is viable at the moment, so thanks for your insight.
Another ask/ suggestion would be to image using black/uv light, most plastics would show strong signs of fluorescence which might help descriminating them from the background. If we get really lucky they might be able to use it to tell types of plastics and get an indication to the time it would take then to decompose.
@maxliboirox: You can't. Not with any accuracy. A few folks have been working in this for years. Nothing yet (or maybe ever).
@maxliboirox: @publiclab Yep-- the microplastics CS project on zooniverse is about ID-ing plastics in photos. They know/outline the limitations pretty well (only large plastics, which accounts for only 7% of all marine plastics), films are hard to see, etc. They've been working in an algorithm to ID large plastics from drone footage, since the other limitation is the resolution and number of photos you'd need to make any count useful.