A friend at Greenpeace asked me if there's a way to automate counting micro-plastic particles fro...
Public Lab is an open community which collaboratively develops accessible, open source, Do-It-Yourself technologies for investigating local environmental health and justice issues.
As an open source community, we believe in open licensing of content so that other members of the community can leverage your work legally -- with attribution, of course. By joining the Public Lab site, you agree to release the content you post here under a Creative Commons Attribution Sharealike license, and the hardware designs you post under the CERN Open Hardware License 1.1 (full text). This has the added benefit that others must share their improvements in turn with you.
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.
Please note that in the link provided above, the page will not look proper. This is because there is a bug in image sequencer code itself. This will be fixed soon. Sorry for the inconvenience.
If you couldn't upload an image when I first uploaded the link, that has been fixed now. You can upload images. Just be sure to clear the cache. I myself used edge detect on the original plastics image and got this result
My image isn't uploading. Why is this happening? Can someone help me? The progress bar doesn't change.