<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Research  and  development  of  artificial  intelligence  system  for  waste identification </article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Kirill Epifantsev</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Olga Kozlova</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>St. Petersburg State University of Aerospace Instrumentation</institution>
          ,
          <addr-line>Russian Federation, Bolshaya morskaya str., Saint-Petersburg, 19000</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
      </contrib-group>
      <fpage>54</fpage>
      <lpage>63</lpage>
      <abstract>
        <p>   The article discusses the possibilities of using an artificial intelligence system for waste recognition. In article is collection some interesting program product software for waste management. The author emphasizes the possibility of developing a series of software products for waste management and developing waste management competencies in St. Petersburg residents. In the last task, the ECO-365 software product may also be useful for better ecology in all peace. Subsequently, the development of another software product was carried out, which allowed using artificial intelligence to determine the size of waste. The emphasis in this study is made on software products used not only for recognizing plastic, but on the most dangerous from the point of view of ecology, LED lamps, batteries, incl. lithium telephone batteries and batteries. Of course, the creation of fandomats of this kind, an increase in their number should provoke a widespread growth of the environmental movement, the popularization of projects for the separate collection of waste.</p>
      </abstract>
      <kwd-group>
        <kwd> 1  ECO-365 software product</kwd>
        <kwd>development of theory of intellectual</kwd>
        <kwd>artificial intelligence</kwd>
        <kwd>waste identification waste separation</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction </title>
      <p>Modern waste separation systems are becoming increasingly expensive to implement with artificial
intelligence systems built into expensive types of cameras with advanced optical capabilities. The
article considers the possibility of using the created program that operates from a camera with a low
expansion and allows identifying several groups of waste glass containers and plastic bottles. According
to GOST 30772-2001 " Resource Saving. Waste treatment. Terms and definitions" [1], consumer waste
includes "residues of substances, materials, items, products, goods that have partially or completely lost
their original consumer properties". It also notes that this category of waste should include not only
MSW generated in households, "but also waste generated in offices, commercial enterprises, small
industrial facilities, schools, hospitals, and other municipal institutions." This definition corresponds to
the foreign term "municipal solid waste". The legal basis for the classification of solid waste in Russia
is the Federal classification catalog of waste (FKKO), which classifies waste by origin, aggregate state
and hazard, using the term "municipal solid waste" [2]. Classification of hazardous waste is based on
the order of the Ministry of health of the Russian Federation No. 511 "on approval of criteria for
classifying hazardous waste as a hazard to the environment". Government Decree No. 712 of August
16, 2013 introduced the concept of certification of waste of hazard class I-IV: "For waste of hazard
classes I–IV included in the Federal classification catalog of waste, individual entrepreneurs and legal
entities draw up and approve a passport in the form approved by decree of the Government of the
Russian Federation No. 712 of August 16, 2013. A copy of the passport certified by individual
entrepreneurs and legal entities, as well as copies of documents confirming that the type of waste is
classified as a specific hazard class, are sent to the territorial body of the Federal service for supervision
of natural resources at the place of economic activity by individual entrepreneurs and legal entities in a
way that allows them to determine the fact and date of their receipt, or are handed over to them under a
signature." Introduced changes to the existing system of household waste removal caused an increase
in tariffs for services [3,4].</p>
    </sec>
    <sec id="sec-2">
      <title>2. Materials and Methods </title>
      <p>As one of the methods of generalization and analysis of information, the method of combining and
comparing information on the development of garbage sorting machines by Russian manufacturers was
used Currently, the most popular information resource on waste recycling is the channel in the Telegram
messenger "Zero Waste". This channel is conducted by the state Corporation "Rostec" and is dedicated
to a number of problems related to waste recycling and the creation of modern waste recycling systems.
It is important to emphasize the popularization of fandomat in Russia, thanks to the RT-Invest project,
which includes a whole waste-processing class. In particular, a number of fandomats developed by
RTInvest are the result of collecting more than 2000 kg of clean recyclable materials collected in Kazan
schools, thanks to a network of such established fandomats. However, not only this company is a
manufacturer of fandomats. Let's look at the main companies that are involved in this process - the data
is presented in the Table 1.</p>
      <p>Table 1  </p>
      <sec id="sec-2-1">
        <title>Russian Fandomat Manufacturers</title>
      </sec>
      <sec id="sec-2-2">
        <title>Name of company </title>
        <p>https://r‐
stanok.ru/fandomat/ 
https://www.vsekioski.ru/c
atalog/fandomat/ 
Foto 
https://greenat.ru/at‐s1 
https://taras.group/ 
 
 
 
 </p>
      </sec>
      <sec id="sec-2-3">
        <title>Specifications </title>
      </sec>
      <sec id="sec-2-4">
        <title>Reception of plastic and glass bottles,  large enough;  Сomfortable tank for waste storage. </title>
      </sec>
      <sec id="sec-2-5">
        <title>Touch screen; </title>
      </sec>
      <sec id="sec-2-6">
        <title>Coupon Printer; </title>
      </sec>
      <sec id="sec-2-7">
        <title>Tare recognition system; </title>
      </sec>
      <sec id="sec-2-8">
        <title>Protection from vandals. </title>
      </sec>
      <sec id="sec-2-9">
        <title>Magnetic Card Reader; </title>
      </sec>
      <sec id="sec-2-10">
        <title>Pressing receiving device; </title>
      </sec>
      <sec id="sec-2-11">
        <title>Modem Barcode Scanner; </title>
      </sec>
      <sec id="sec-2-12">
        <title>Storage capacity: 5‐15 cubic meters; </title>
      </sec>
      <sec id="sec-2-13">
        <title>Capacity: up to 20 units / min Power: 10  kW; </title>
      </sec>
      <sec id="sec-2-14">
        <title>Accepted packaging: 0.33‐5 liters; </title>
      </sec>
      <sec id="sec-2-15">
        <title>Body material: Sandwich panel. </title>
      </sec>
      <sec id="sec-2-16">
        <title>Acceptance of aluminum and plastic  containers; </title>
      </sec>
      <sec id="sec-2-17">
        <title>No advertising monitor; </title>
      </sec>
      <sec id="sec-2-18">
        <title>No crease. </title>
        <p>http://www.rt‐
invest.com/news/304/ </p>
      </sec>
      <sec id="sec-2-19">
        <title>The presented device has a Barcode </title>
      </sec>
      <sec id="sec-2-20">
        <title>Scanner; </title>
      </sec>
      <sec id="sec-2-21">
        <title>Storage capacity: 5‐15 cubic meters; </title>
      </sec>
      <sec id="sec-2-22">
        <title>Capacity: up to 20 units / min; </title>
        <p>Power: 10 kW; 
  Accepted packaging: 0.33‐5 l;. </p>
      </sec>
      <sec id="sec-2-23">
        <title>Body material: Sandwich panel </title>
        <p>To manage the system of waste removal and disposal, 4 programs were allocated, working as a
fullfledged ERP-system:
1. «RG-soft: waste Removal» - program designed for the analysis and monitoring of waste
removal companies, analysis of the threshold of garbage limits, section accounting for waste
disposal, As well as: accounting of recyclable materials, Accounting of own coupons, accounting of
third-party coupons, Environmental reporting, formation of documents, Accounting of payments
from customers. As a drawback-the lack of environmental monitoring of the waste disposal area
[35].
2. «RG-soft: waste Treatment and disposal» - offers possible forms of waste treatment, but in the
absence of the proposed methods at the landfill, as appropriate, which occurs in most cases, does not
offer options to sell waste to interested enterprises from other regions. In this case, of course, the
carrier has no alternatives other than a simplified waste disposal procedure.
3. «Recycle Map» - with the possibility of pop-up tips on the location of containers for disposal
of batteries and incandescent lamps according to the user's geodata [3-5].
4. «1S: Enterprise 8. Waste and recycling management» - the configuration supports the main
operational processes in the processing plants, such as the reception and shipment of solid waste
(MSW) and recyclables, sorting, processing, transportation and disposal of waste. Integration with
various equipment used in such enterprises (scales, cameras, access control systems, etc.) is
envisaged [6].
5. «2GIS» - the program and the application allows the search module to determine the location
of the organization receiving the waste closest to the location of the interested person.</p>
        <p>Of course, the main priorities of the Soft program are: dispatching; calculation salaries drivers;
regulatory accounting of fuel. Accounting for the location of the bunkers; a record of the reception of
solid waste and recyclables; accounting of weight and volume characteristics of solid waste and
recyclable materials; setting circuits receiving and passing solid waste and recyclables; Accounting for
certification and quality control of received and shipped MSW and recyclables; Management of
electronic queue at the cash Desk receiving and recyclables; etc. [7,8].</p>
        <p>It is possible to conclude that the majority of IT applications are concentrated in the field of
construction, engineering, mining industry and economy [9,10].</p>
        <p>6. Another important product – «ECOScan» on the free software market is a program that has a
neural network and is able to recognize various materials and give comments on the possibility of
their disposal. This is an Ecoscan software product that was developed by Dutch programmer Rick
Buiten and can be downloaded from the App Store.
2.1.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Experimental part </title>
      <p>Currently, in the European Union, ATMs are in 90% of the stores of such giant chains as Auchan,
Kaufland and Aldi. An example of such a recycling terminal is shown in Figure 1:. Development of a
product line of terminals for pre-automatic sorting of solid household waste for retail chains, shopping
and entertainment centers and transport infrastructure facilities with the possibility of stimulating sales
of new ones goods and services is the main topic of the study</p>
      <p>The final product is a system of automatic recognition of images, shapes, geometric parameters and
material for further sorting of materials by a specific feature, or for selecting defects from several ideal
products passing through the conveyor. Next, it is planned to develop and improve the terminal-machine
based on the determination of systematic and instrumental error, modeling the instrument part of the
machine in the LabVIEW software module, developing the interface, developing the
opticalinstrumental and kinematic system. At the next stage, it is planned to test the installation at enterprises,
calibrate the installation, compare it with analogues, and obtain the output results of metrological
examination.</p>
      <p>To solve this problem, it is planned to use a software product written in Python. This software
product can also be used directly at the waste processing plant, and in particular-in the process of
teaching schoolchildren and students about waste processing, improving the existing processing
technology, creating terminals for receiving waste and automatic sorting. The developed program-a
neural network (Figure 2:) - is an application for measuring the size of an object from a direct video
stream at a certain distance. The neural network has the possibility of additional self-learning.</p>
      <p>In order for the program to work correctly, you need to make settings before you start working
 the focal length of the camera used;
 height (vertical size) of the matrix of the used camera;
 distance to the objects to be measured minimum detection threshold.</p>
      <p>If the probability of detecting an object is not high enough, then this object will not be displayed.</p>
      <p>When objects are detected in the video, the program draws a frame around them, as well as the name
of the class of this object, according to the neural network, the dimensions in millimeters.</p>
      <p>After opening the program window, the main function of the program starts. The pre-trained model
is loaded into the neural network (from the program catalog), and the camera starts working. Then each
frame is extracted from the video and processed. The frame is transformed into a blob object, which is
passed through the neural network. If objects are found in the image, and they pass the specified
minimum threshold, then their coordinates and name are extracted. This is how we find the dimensions
of objects in pixels.</p>
      <p>Then, using physical formulas from optics, known data, and camera parameters, we can find the
actual dimensions of the thing. It remains to mark it with a frame, sign the class, the percentage of
recognition, dimensions (width by height in millimeters)</p>
      <p>A software product is currently being developed that focuses on the documentation base for waste
classification and has several built-in extended technical reference books, as this product makes up for
the shortcomings of previous software products. This product is called ECO 365. During repeated
upgrades, the product is updated and now has several versions.</p>
      <p>ECO-365 program-assistant in the field of storage, processing and sale of waste for the operator.
The program systematized electronic information resources in the field of waste processing, developed
in Java script direct code, adapted to the current requirements of Rosprirodnadzor (Russian ecology
department). The method of waste search is maximally adapted in the software interface and visually
ergonomic for users. As a writing application software was used Java Script language, which is an
object-oriented language. Prototyping used in the language causes differences in working with objects
in comparison with traditional class-oriented languages.
The main fields of the program, which are automatically filled in when specifying any type of waste:
 FCCO code-11 digit classifier code;
 Production – what type of industry waste is generated;
 The process – what the process produces waste;
 Name of components, content, % wt. - composition of waste;
 Physical state and the physical form – the form in which the waste is transported [11,12].</p>
      <p>In the process of developing the program, it was necessary to build a promising structure for the
development of the project to enter state support (Figure 2:).</p>
      <p>The program in the form of an application is easily installed on the Windows XP platform and runs
provided that the folder is a waste database in Excel format.</p>
      <p>The database of Rosprirodnadzor, on which the "engine" of the program is based, is the most
extensive and is presented in the form of spreadsheets on several sheets.</p>
      <p>Beginning and ending program text in Java Script is presented below.</p>
      <p>The main requirements for the creation of the program were - the possibility of free installation on
a personal computer, the ability to use the system how professional autodirectory [7-8].</p>
      <p>Consider the interface of the program below. Schematically, the work of a software product
developed in the university’s laboratory and patented in the program system for electronic computers
can be seen in the diagram below (Figure 3:).</p>
      <p>Below are the versions of software products that have been adapted to meet modern user
requirements</p>
      <p>The program is easily installed as an application on the Windows XP platform and runs if the folder
contains a database in Excel format ("new data").</p>
      <p>The method of waste search is maximally adapted in the software interface and visually ergonomic
for users [5-6]. The scientific and technical novelty of the software product under study is the use of
software automation systems and management creation in the waste management system, followed by
the possibility of modeling the waste processing cycle and the possibility of implementing waste
through the personal accounts of users connected to the network.</p>
      <p>Later we research one of very actually problem. At present, it is very important to provide services
to the population using robotic automatic terminals (Figure 4:). The terminal, developed by the authors
of the article, has an interactive screen and 2 receiving boxes for recycling batteries and used LED
lamps. The terminal is equipped with a system for intelligent recognition of objects placed with the
subsequent possibility of issuing receipts for the waste placed in it for their sale when purchasing
products at a discount in hypermarkets.</p>
      <p>Development of a product line of terminals for preliminary automatic sorting of solid household
waste for retail chains, shopping and entertainment centers and transport infrastructure facilities with
the ability to stimulate sales of new Figure 1: - Example of a waste terminal in France goods and services
is the main topic of research. The final product is a system for automatic recognition of patterns, shapes,
geometrical parameters and material for further sorting materials according to a specific feature or
separating defects from several ideal products passing along the conveyor.</p>
      <p>The developed program - a neural network (Figure 5:) - is an application for measuring the size of
an object from a direct video stream at a certain distance. The neural network has the possibility of
additional self-learning.</p>
      <p>For the program to work correctly, you need to make settings before starting work:
 focal length of the used camera height (vertical size) of the matrix used by the camera distance
to objects to be measured;
 minimum detection threshold. If the confidence of object detection is not high enough, then
this object will not be displayed.</p>
      <p>When objects are detected on the video, the program draws a frame around them, as well as the name
of the class of this object according to the neural network and its dimensions in millimeters. Consider
the programmatic part of the program code written in Python.</p>
    </sec>
    <sec id="sec-4">
      <title>2.1.1. Results and discussion </title>
      <p>The program module created on the basis of University laboratories ECO-365 it has been patented
and is currently being tested.</p>
      <p>Currently to admit that this module is only the 1st step in which you want to include and means of
geolocation, messaging, opportunity management and creation of the personal account of each user in
the environment, with the ability to share videos. It is also expected to broaden the base of the waste,
as currently in the standard is not given a detailed description of possible recycling of each waste
individually, are not defined a particular company or polygons for mechanical recycling, which havr in
the narrow direction of the recycling of a certain list of materials [13].</p>
      <p>Undoubtedly, the increase in the family of such programs contributes to the growth of the
government's interest in the problems of separate collection and the creation of similar environmental
projects. It is important to note that many of the compared programs given at the beginning of the article
united the C ++ language, but the presented development uses the Java language as one of the most
tested from the point of view of interaction with similar programs and further implementation and
unloading through similar programs (related in language).</p>
      <p>The terminal layout is shown in Figure 6. However, at this stage of its development, a number of
tasks arise that are extremely necessary to solve, in particular, to work out the anti-vandal protection
system of the terminal, it is necessary to test the receiving and feeding mechanism [14-15].</p>
      <p>   </p>
      <sec id="sec-4-1">
        <title>Figure 6: Model of a terminal for collecting batteries and lamps, printed on a 3D printer </title>
        <p>The program module created on the basis of University laboratories ECO-365 it has been patented
and is currently being tested.
Table 2  </p>
      </sec>
      <sec id="sec-4-2">
        <title>Result of testing waste parameters </title>
      </sec>
      <sec id="sec-4-3">
        <title>Types of waste  plastic bottle on a  uniform background </title>
      </sec>
      <sec id="sec-4-4">
        <title>Foto of  programm </title>
      </sec>
      <sec id="sec-4-5">
        <title>Nominal Size,  mm </title>
      </sec>
      <sec id="sec-4-6">
        <title>Size from </title>
        <p>program, mm 
σ   error rate 
(width and 
heigth), % </p>
      </sec>
      <sec id="sec-4-7">
        <title>Notes </title>
        <p>After analyse Table 2 we conclusion all information of error rate in Table 3 and Figure 3:.</p>
      </sec>
      <sec id="sec-4-8">
        <title>Histogram </title>
        <p>1 
2 
3 
4 </p>
      </sec>
      <sec id="sec-4-9">
        <title>Error rate </title>
        <p>3.2 
2.1 
2.4 
1.6 </p>
      </sec>
      <sec id="sec-4-10">
        <title>Haracteristics </title>
      </sec>
      <sec id="sec-4-11">
        <title>Plastic bottle on a uniform background </title>
      </sec>
      <sec id="sec-4-12">
        <title>Plastic bottle half on black background </title>
      </sec>
      <sec id="sec-4-13">
        <title>Glass jar cleaned  </title>
      </sec>
      <sec id="sec-4-14">
        <title>Glass jar with contamination  </title>
      </sec>
      <sec id="sec-4-15">
        <title>Figure 7: Result of error comparisons  </title>
        <p>As a result of the analysis (Figure 7:) of the received data, it is impossible to determine the exact
dependence of the detection system on the contamination of the container or its illumination. The key
role is still played by the complexity of the shape and the focus of the camera on the object. This
confirms the fact that the bottle on the 4th histogram has the smallest error, but the maximum
contamination.</p>
        <p>In conclusion, it must be said that the target markets for the product are points of sale: hypermarkets,
shopping centers, waste collection operators. Grocery and clothing stores, when installing the terminal,
have a benefit, since the terminal gives out a discount on their products for the waste handed over, and
it is at a specific address. Waste collection operators also benefit from the ability to quickly and
accurately sort out well-traded waste automatically. The sales volumes of such automatic terminals are
up to 40 pcs. in year. In the future, with the establishment of serial production, their volume can grow
to 70 pieces per year. The development potential of these products will grow rapidly, since the trend of
waste disposal due to the rise in prices will soon be no less relevant than electricity, gas, and water.</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>3. Acknowledgements </title>
      <p>The authors thank the Council for Grants of the President of the Russian Federation for the grant
SP-2381.2018.1, which allowed us to develop this topic and conduct large-scale research in the field of
waste processing
4. References 
[1] GOST R 54096-2010, Resource saving, Waste treatment, The relationship between the
requirements of the Federal waste classification catalog and the all-Russian product classifier.
[2] V. T. Trofimov, Federal classification waste catalogue № 4107.6 (2005), appl. 02.12.2002, publ.</p>
      <p>09.01.2003.
[3] K. Epifancev, D. Hvan, G. Morokina, I. Baranov, Development of software platform for collection
and exchange of data in the field of waste management, IOP Conference Series: Materials Science
and Engineering International Workshop "Advanced Technologies in Material Science,
Mechanical and Automation Engineering – MIP: Engineering – 2019" (2019) 65-70.
[4] K. Epifancev, T. Mishura, Research of RDF-raw materials for prospective use in hardening
construction and agricultural technologies, IOP Conference Series: Materials Science and
Engineering (2019). DOI: 10.1088/1757-899X/537/6/062017.
[5] E. V. Katuntsov, J. Kultan, A. B. Makhovikov, Application of electronic learning tools for training
of specialists in the field of information technologies for enterprises of mineral resources sector,
Journal of Mining Institute 226 (2017) 503-8.
[6] K. Epifancev, T. Mishura, O. Kozlova, A. Nikulin, Research of software verification methods for
waste management and review the waste treatment legislation in Russia, E3S Web of Conferences
220 01083 (2020).
[7] Retrieved from:
https://zen.yandex.ru/media/okstanok/podborka-poleznyh-mobilnyh-prilojeniidlia-osoznannogo-potrebleniia-i-pererabotki-chast-1-5f27cf80289a6f736a892204.
[8] K. Epifancev, Using natural and technical systems of the Leningrad region for waste disposal,</p>
      <p>Journal of Physics: Conference Series 1515(5) 052059 (2020).
[9] Buyya, Object-oriented Programming with Java: Essentials and Applications, Tata McGraw-Hill</p>
      <p>Education (2009) 678. ISBN 9780070669086.
[10] L. G. Vartapetov, Ecological ornithology: textbook. manual for undergraduate and graduate
programs, M.: Yurayt Publishing House, p. 170, 2019.
[11] T. F. Gurova, L. V. Nazarenko, Ecology and rational nature management: textbook and workshop
for academic bachelor's degree, M.: Yurayt Publishing House, p. 188, 2019.
[12] N. N. Mitina, B. M. Malashenkov, Ecology: textbook and workshop for academic bachelor's
degree, Ed. by V.I. Danilov-Danilyan, M.: Yurayt Publishing House, p. 363, 2019.
[13] O. Z. Eremchenko, Teaching about the biosphere: textbook. manual for academic bachelor's
degree, M.: Yurayt Publishing House, p. 236, 2017.
[14] A. I. Zhirov, V. V. Dmitriev, A. N. Lastochkin, Textbook for academic undergraduate studies, Ed.</p>
      <p>by A I Zhirova, second ed., M.: Yurayt Publishing House, p. 311, 2019.
[15] V. Y. Bazhin, M. V. Glaz’ev, Combined Refractory Materials with Addition of Technogenic
Waste for Metallurgical Assemblies, Refractories and Industrial Ceramics, 61(6) (2021) 644–648.</p>
    </sec>
  </body>
  <back>
    <ref-list />
  </back>
</article>