Modern Australian
Men's Weekly

.

using cameras and AI to build an automatic litter detection system

  • Written by Arianna Olivelli, Research Affiliate, CSIRO

It’s estimated about two million tonnes of plastics enter the oceans from rivers each year. But our waterways aren’t just conveyor belts transporting land waste to the oceans: they also capture and retain litter.

Currently, the most common method for monitoring litter relies on humans conducting on-ground visual counts. This process is labour-intensive and makes it difficult to monitor many locations simultaneously or over extended periods.

As part of CSIRO’s research to end plastic waste, we’ve been developing an efficient and scalable environmental monitoring system using artificial intelligence (AI).

The system, which is part of a larger pilot with the City of Hobart, uses AI-based image recognition to track litter in waterways.

Global insights help build a reliable model

The technology is underpinned by two branches of AI: computer vision and deep learning. Computer vision involves training computers to understand and interpret images and videos, whereas deep learning imitates how our brains process data.

Drawing on these capabilities, we worked in partnership with Microsoft (using its Azure cloud computing services) to develop an automated system for monitoring river litter.

We have been detecting and classifying items floating on the surface of Hobart’s stormwater channels, the River Thames in the UK and the Buriganga River in Bangladesh.

We’ve remotely analysed the amount of litter, the type of litter and how this changes across locations.

using cameras and AI to build an automatic litter detection system CSIRO research scientist Chris Wilcox setting up a fixed camera to monitor litter in Hobart.

Major damage from food packaging and bottles

Our work relies heavily on two applications of computer vision. These are “object detection” and “image classification”.

Object detection specifies the location of a particular object in an image and assigns it a label. Image classification assigns one or more labels to the image as a whole.

Before either of these models can be applied reliably, however, they have to be trained, tested and validated using a large number of labelled images. For this, we drew from our footage of river litter collected from Hobart, London and Dhaka.

Our dataset now contains more than 6,100 images with 14,500 individual items. The items are labelled across more than 30 categories including plastic bottles, packaging, beverage cans, paper and plastic cups.

Our data revealed food packaging, beverage bottles and cups were by far the most frequently spotted litter items across all three countries.

Aeriel view of the Buriganga River in Dhaka, Bangladesh. The Buriganga river flows by Dhaka. It’s one of Bangladesh’s most polluted rivers due to the ongoing dumping of industrial waste (such as from leather tanneries) and human waste. Shutterstock

Fake images aren’t always harmful

To build a well-performing machine learning model, we needed a balanced set of training images featuring all item categories — even if certain categories are more frequent in real life.

Introducing synthetic (computer generated) images to our dataset was a game changer.

These images were generated by Microsoft’s synthetics team based in Seattle. They rendered various objects and superimposed them over backgrounds obtained from our field photos.

Once the digital objects were created, the superimposition process was automatic. Thus, the team managed to produce thousands of synthetic pictures over just a few weeks, rapidly expanding our training dataset.

using cameras and AI to build an automatic litter detection system In this synthetic image, the transparent cup, face mask and aerosol container are digital renderings superimposed over an original photo taken by one of our cameras.

How are objects identified?

There are a few steps by which our system identifies litter objects in photos. First, the photos are all scored against a single-label (“trash”) object detector. This identifies items of litter in the frame and stores their coordinates as annotations.

These coordinates are then used to isolate the items and score them against an image classifier which includes all the litter categories.

Finally, the model presents the category it thinks the item most likely belongs to, along with a suggested probability for how accurate this guess is.

using cameras and AI to build an automatic litter detection system Here’s an example of the system detecting a water bottle and packaging as trash, and then placing both items into their respective categories. Probabilities are provided for the likely accuracy of the system’s guess regarding an item’s classification.

An AI-driven approach to litter management allows a quicker response than a manual system. But when it comes to litter, the major challenge lies in creating a model that can account for millions of different shapes, colours and sizes.

Read more: As cities grow, the Internet of Things can help us get on top of the waste crisis

We wanted to build a flexible model that could be transferred to new locations and across different river settings, including smaller streams (such as Hobart’s stormwater system) and large urban rivers (such as the River Thames or the Buriganga River).

This way, rather than building new models for each location, we only have to deploy more cameras. Data retrieved could help identify litter hot spots, implement better waste-related policies and improve waste management methods to make them safer, smarter and relatively cheaper.

Keeping an eye on Hobart’s litter

We’ve also been collaborating with the City of Hobart to develop an autonomous sensor network to monitor gross pollutant traps, such as floating barriers or litter socks.

These structures, integrated into Hobart’s stormwater drainage system, are supposed to prevent solid waste such as cans, bottles, tree branches and leaves from reaching the estuary and ocean.

We currently have a network of sensors and six cameras installed under bridges tracking litter in the traps. The system can inform an operator when a trap requires emptying, or other maintenance.

Once in full use, the technology will provide almost real-time monitoring of litter around Hobart — assisting efforts to reduce environmental harm caused by stagnant, and potentially hazardous, waste lost to the environment.

Read more: How sensors and big data can help cut food wastage

Authors: Arianna Olivelli, Research Affiliate, CSIRO

Read more https://theconversation.com/from-hobart-to-london-to-dhaka-using-cameras-and-ai-to-build-an-automatic-litter-detection-system-150950

5 Essential Tips for Hiring Gold Coast Plumbers

Finding the best plumber on the Gold Coast can be as complex as navigating a network of pipes, requiring an expert who is capable, reliable, and s...

Hidden Costs of Moving You Need to Budget For (And How to Avoid Them)

Moving house ranks among life's most busy experiences, and discovering unexpected expenses along the way certainly doesn't help with stress levels. Wh...

Understanding Australian Building Regulations: What Every Mornington Builder Wants You to Know

If you live on the Mornington Peninsula, you likely already feel the risk of bushfires,hot, dry summers, nearby bushland, and epic wind events. That...

Top 5 Home Exercises Recommended by Chiropractors for Better Posture

In today’s world of endless screen time and back-to-back Zoom meetings, it’s no surprise that posture-related issues are on the rise. From achin...

Simple Home Exercises to Manage Chronic Pain and Improve Mobility

Living with chronic pain doesn’t have to mean a life of limitation. Many people struggling with persistent discomfort find themselves moving less...

Smart Renovation Tips for a Sleek, Low-Maintenance Interior

In a world where time is tight and stress is high, our homes should feel like a refuge not another to-do list. That’s why smart renovations are tr...

Stay Cool in Queensland: The Complete Guide to Choosing the Right Air Conditioner

Introduction Queensland’s warm, humid climate makes a reliable air conditioning system an essential part of daily life. Whether you’re creating a...

Proving Partner Visas with Lawyers and Solid Evidence

You’re ready to build a life with your partner in Australia but the visa process quickly turns something personal into something official. Suddenl...

The History and Philosophy Behind Osteopathic Medicine

Osteopathy is more than just a hands-on approach to relieving pain—it’s a holistic health philosophy with roots in history, science, and a deep ...

Common Bathroom Renovation Mistakes and How to Avoid Them

Renovating a bathroom can be one of the most rewarding home improvement projects, offering both enhanced functionality and a fresh aesthetic. Howeve...

5 Simple Home Modifications to Support Occupational Therapy Goals

Every year, thousands of Australians face mobility challenges, chronic pain, or sensory issues that make daily tasks difficult. Simple changes at ho...

The Cost of Converting a Shipping Container into a Liveable Space

Container conversions often require more planning and labour than expected Early costs include foundations, framing, and structural reinforceme...

Marriage Celebrant for Modern Lovers Who Want Something Different

Many couples today feel pressure to follow the same wedding traditions their parents or grandparents did. They might sit through long ceremonies that ...

Why Everyone’s Signing Up for Fitstop’s 6-Week Challenge (Again)

Hint: It’s not just for the gains. Somewhere between the endless TikTok fitness hacks and the unrealistic “30-day shred” promises, we forgot ...

The Mental & Financial Benefits of Minimalist Caravan Travel

Minimalist caravan travel has grown in popularity, not just for its practical appeal but also for the sense of freedom it brings. With the rise of c...

Sydney Property Lawyers: Your Complete Guide to Smooth Transactions

Navigating the Sydney property market can feel like traversing a minefield, can't it? The process, laden with legal jargon and complex procedures, o...

Electrician Perth: Your Go-To Guide for Home Electrical Safety

When it comes to keeping your home safe and sound, electricity is something you simply can't afford to ignore. Faulty wiring, outdated switchboards...

Why More Homes and Businesses Are Choosing an Electric Sliding Door

Convenience, aesthetics, and technology often go hand in hand when it comes to architectural choices. One solution that delivers all three is the el...