Sustainable control of infestations using image processing and modelling