Question: How can I identify bits of plastic from the beach in an image?

jlev is asking a question about general: Subscribe to answer questions on this topic

jlev asked on February 01, 2018 00:52
179 | 3 answers | shortlink


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.



image-processing waste micro-plastics beach microplastics plastics particle-imaging polymers

question:general question:microscope question:microplastics question:image-sequencer question:waste question:plastics



5 Comments

warren 20 days ago

Ooh! @maxliboiron maybe you know something about this? I have to dig through some old emails to find someone else who's mentioned this to me too.

warren 18 days ago

What might be the processing steps, to try to break this down? Could they look like some of the steps @SimonPyle, @AmberWise, @damarquis and @amirberAgain have prototyped for dust detection?

I collected up a bunch of this work under the tag #particle-imaging too.

amirberAgain 12 days ago

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?

amirberAgain 11 days ago

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.

amirberAgain 10 days ago

Another ask /suggestion : place particles on a polarized film sheet illuminated from below, image with a cross polarizer to remove the background.

Log in to comment

3 Answers

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).

Plastic.png


amirberAgain 12 days ago

Code: https://drive.google.com/file/d/1HDekiO0l9DEmSBmbWBVOEEPvSkys6AUa/view?usp=sharing

jlev 11 days ago

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.

warren 10 days ago

And just to link to what @amirberAgain mentioned about automatic particle detection in #silica #dust pollution:

https://publiclab.org/notes/amirberAgain/01-12-2018/python-and-opencv-to-analyze-microscope-slide-images-of-airborne-particles

https://publiclab.org/notes/SimonPyle/05-13-2016/automating-imagej-for-particle-image-analysis

Log in to comment

Got some good feedback from @maxliboiron from Newfoundland and http://civiclaboratory.nl --

@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.

https://www.instagram.com/p/Be_hjK6Ay05/


warren 10 days ago

Zooniverse link! https://www.theplastictide.com/blog-1/2017/4/24/launching-our-tagging-website-2-days-to-go

Log in to comment

Sign up or Login to post an answer to this question.