As is the case with use case one, we can collect data through digital cameras or use an existing open source or a combination of both. We are using an existing and open source dataset for the implementation of the sorting algorithm. The dataset was collected from urban environments of the USA . As solid waste types may vary by country, it is better to update the dataset based on the country the use case will be used for. The dataset consists of six types of solid wastes: glass, paper, cardboard, plastic, metal, and trash. The dataset consists of 2,527 images, and they were annotated and organized into the following folders, as shown in the following screenshot:
![](https://static.packt-cdn.com/products/9781789616132/graphics/assets/688c0162-ec3e-4ecb-97e1-60c59f450432.png)