VOLVER

Share

Launching an app that allows the identification of timber through mobile phones aided by artificial intelligence to facilitate the control of timber trade

The application for mobile devices developed by the Operational Group GO IMAI provides customs agents and law enforcement agencies with a tool that allows them to easily establish an early warning of a suspicious shipment. The Technical University of Madrid, the University of Granada and the Spanish Timber Trade and Industry Association (AEIM) make up the research team that has developed this tool over the last two years.


España |
03/23/2023

The objective of the IMAI Timber Identification and Artificial Intelligence Operational Group (GOIMAI) is to regulate the timber trade both in Spain and internationally by giving users, customs officials and law enforcement agencies, particularly those with competences in monitoring the trafficking of protected species (SEPRONA in Spain), a tool that allows them to issue an early warning when they suspect a shipment could contain illegally traded timber. The work of this group concluded with the presentation of an application for mobile devices based on artificial intelligence that will facilitate the control of the timber trade.

De izquierda a derecha, Alberto Romero Cagigal, Francisco Herrera Triguero, Luis García Esteban, Elsa Enríquez Alcalde y Jesús Gálvez Pantoja.

De izquierda a derecha, Alberto Romero Cagigal, Francisco Herrera Triguero, Luis García Esteban, Elsa Enríquez Alcalde y Jesús Gálvez Pantoja.

The results of the project were presented this morning at the Spanish Royal Academy of Engineering (RAING), in Madrid, by Elsa Enríquez Alcalde, deputy director general of Forestry Policy and Combating Desertification of the Spanish Ministry for Ecological Transition and Demographic Challenge; Luis García Esteban, director of the School of Forestry Engineering and Natural Resources (ETSIMFMN); Francisco Herrera Triguero, professor of the Department of Computer Science and Artificial Intelligence of the University of Granada; Alberto Romero Cagigal, secretary general of the Spanish Timber Trade and Industry Association (AEIM), and Jesús Gálvez Pantoja, lieutenant colonel and head of the Spanish Civil Guard’s Central Operational Unit for the Environment (UCOMA) at the Headquarters of the Nature Protection Service (SEPRONA). During the event, Rosana Montes Soldado, professor at the Department of Software Engineering of the University of Granada, gave a demonstration of the developed application.

The Technical University of Madrid (UPM), the University of Granada (UGR) and the Spanish Timber Trade and Industry Association (AEIM) together form GO IMAI, a Operational Group whose results represent a significant advance for transparency in the international timber trade. The work of GO IMAI began in May 2021 and is co-funded by the Spanish Ministry of Agriculture, Fisheries and Food and the European Agricultural Fund for Rural Development (EAFRD), within the 2020 Call for Innovation Projects, in which they obtained the highest score of all the initiatives presented.

Need for the project

This project arose from the need on the part of customs agents, public administration inspectors and state security forces, especially the Spanish Civil Guard’s Nature Protection Service (SEPRONA), for a tool that would allow them to establish an early warning of suspicious shipments of illegally traded timber.

At the present time, it is not possible to identify timber at a merely macroscopic level, and the intervention of highly specialised personnel is required for a reliable and expert identification. Given these circumstances, coupling knowledge of macroscopic wood anatomy and artificial intelligence has allowed GO IMAI researchers to design and implement a tool that facilitates this identification for law enforcement agents in a simple and fast way.

The project also aims to address other societal challenges in order to contribute to the conservation of forests and their biodiversity and thus to mitigate the effects of climate change insofar as the environmental effects of illegal logging include deforestation and biodiversity loss. The World Bank estimates that governments around the world lose between 10 and 15 billion dollars each year because of illegal logging.

In addition, estimates by the Intergovernmental Panel on Climate Change (IPCC) indicate that global deforestation has a negative impact on climate change, accounting for 15% to 20% of global greenhouse gas emissions.

This situation increases the need to prevent the trade of timber, both at origin and destination without legal certification. In this sense, the mobile application developed will provide authorities with a free resource to monitor compliance with international timber trade regulations, both in relation to the EU Timber Regulation (EUTR), which will be replaced by the EU Deforestation Regulation (EUDR), and the Convention on International Trade in Endangered Species of Wild Fauna and Flora (CITES). It will also be an excellent tool for professionals, researchers and hobbyists.

Almost two years of work

The results now obtained are the culmination of almost two years of joint effort and the experience of researchers in the fields of wood anatomy and artificial intelligence. GO IMAI has developed an intelligent technological solution that recognizes in seconds a wood species with a high accuracy rate just from a photograph taken with a magnifying lens attached to a mobile phone.

During the process, the team documented and photographed 400 wood species with a variety of mobile phone cameras and magnifying lenses to determine the most useful information settings. The problem domain was then analyzed and a methodology was proposed to optimize the quality pre-processing of the macroscopic wood images taken to train the intelligent classification system after data segmentation and augmentation processes.

Subsequently, the model was optimized on the basis of artificial deep neural networks or ‘deep learning’ to enable its execution on the device itself during the classification process from an image of the sample without recourse to cloud computing, thereby saving communication costs with servers.

The two applications developed for iOS and Android are native and free.

The project has also included two usability tests to obtain information on the user-friendliness of these two applications taking into account accessibility aspects.

GO IMAI has implemented a web database with which complete information on more than 400 species has been documented and which can be consulted from the apps thanks to the use of more than 40 different filtering options, which allows access to the record of a species not merely as a result of the AI model prediction. Once published, the app will be available for use by customs officers and law enforcement agencies.

GO IMAI in figures

The intelligent system developed by GO IMAI has worked with a high volume of macroscopic images, 19,340 in total, with a resolution of 4,000×3,000 pixels, from the sampling of 531 wood species and using 5 different magnifying lenses. During the months of experimentation, the project generated and discarded 50 different models, which involved some 600 hours of training on a high-performance computing system.

The model has considered an average of 12 raw samples for each class, and during an advanced optimization phase 28 additional models have been generated, totalling 280 hours of training.

The calculations performed in the training (applying scripts with different objectives) modify the original data in various ways to obtain an increase in data (5 steps) and to improve quality (3 steps). These modifications perform greyscale changes, equalisation, change of brightness, contrast and saturation, rotation, cropping and scaling.

Programming has been tackled using Python and Kotlin languages, and the apps’ own development languages on iOS and Android.

Libraries used:

Tensorflow 2.9.1

Tensorflow addons 0.15.

Pandas 1.4.0

Numpy 1.23.5

Scikit learn 1.0.2

Pillow 9.0.1

Opencv 4.5.5

And up to 300 packages installed as dependencies

GO IMAI members

The project is part of the Spanish National Rural Development Programme and is funded by the EAFRD (European Agricultural Fund for Rural Development) (80%) and the Spanish General State Administration (20%). The Technical University of Madrid (UPM), the University of Granada (UGR) and the Spanish Timber Trade and Industry Association (AEIM) are the beneficiaries. The Descubre Foundation, Everyware Technologies, Donosti Frame and José Luis Fermosel Álvarez are subcontractors of the initiative.

The Spanish General Directorate of Rural Development, Innovation and Agri-Food Training (DGDRIFA) is the managing authority responsible for the implementation of the corresponding EAFRD and national aids.

The IMAI Timber Identification and Artificial Intelligence Operational Group (GO IMAI) is responsible for the content published on this website.

https://agriculture.ec.europa.eu/common-agricultural-policy/rural-development_es


Share

Últimas publicaciones

Desarrollan un método sencillo y económico para identificar vinos generosos y evitar fraudes
Sevilla | 24 de mayo de 2024

Un equipo de investigación de la Universidad de Sevilla ha creado un nuevo modelo de análisis que permite su reconocimiento. Diferencia el lugar de procedencia y la crianza de una manera sencilla, lo que permite detectar posibles fraudes y mejorar la catalogación de los distintos tipos.

Sigue leyendo
La muestra Paseo Matemático al-Ándalus llega a Nador
Nador | 24 de mayo de 2024

El Instituto Español Lope de Vega de Nador acoge  la exposición ‘Paseo matemático al- Ándalus’, una muestra que […]

Sigue leyendo
La Fundación Descubre llenará de ciencia el verano en Andalucía
Andalucía | 23 de mayo de 2024

Abierta la convocatoria para participar en la cuarta edición del programa de actividades estivales `Ciencia al Fresquito 365. ¡Llegó el verano!´. Las acciones se llevarán a cabo del 1 de julio al 30 de septiembre.

Sigue leyendo

#CienciaDirecta

Tu fuente de noticias sobre ciencia andaluza

Más información Suscríbete

Ir al contenido