  In recent months, the monkeypox (mpox) virus -- previously endemic in a
limited area of the world -- has started spreading in multiple countries until
being declared a ``public health emergency of international concern'' by the
World Health Organization. The alert was renewed in February 2023 due to a
persisting sustained incidence of the virus in several countries and worries
about possible new outbreaks. Low-income countries with inadequate
infrastructures for vaccine and testing administration are particularly at
risk.
  A symptom of mpox infection is the appearance of skin rashes and eruptions,
which can drive people to seek medical advice. A technology that might help
perform a preliminary screening based on the aspect of skin lesions is the use
of Machine Learning for image classification. However, to make this technology
suitable on a large scale, it should be usable directly on mobile devices of
people, with a possible notification to a remote medical expert.
  In this work, we investigate the adoption of Deep Learning to detect mpox
from skin lesion images. The proposal leverages Transfer Learning to cope with
the scarce availability of mpox image datasets. As a first step, a homogenous,
unpolluted, dataset is produced by manual selection and preprocessing of
available image data. It will also be released publicly to researchers in the
field. Then, a thorough comparison is conducted amongst several Convolutional
Neural Networks, based on a 10-fold stratified cross-validation. The best
models are then optimized through quantization for use on mobile devices;
measures of classification quality, memory footprint, and processing times
validate the feasibility of our proposal. Additionally, the use of eXplainable
AI is investigated as a suitable instrument to both technically and clinically
validate classification outcomes.
