{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,19]],"date-time":"2026-06-19T12:19:29Z","timestamp":1781871569196,"version":"3.54.5"},"reference-count":42,"publisher":"MDPI AG","issue":"2","license":[{"start":{"date-parts":[[2021,1,6]],"date-time":"2021-01-06T00:00:00Z","timestamp":1609891200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"Danish 15. Juni Fonden","award":["2019-N-23."],"award-info":[{"award-number":["2019-N-23."]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>Insect monitoring methods are typically very time-consuming and involve substantial investment in species identification following manual trapping in the field. Insect traps are often only serviced weekly, resulting in low temporal resolution of the monitoring data, which hampers the ecological interpretation. This paper presents a portable computer vision system capable of attracting and detecting live insects. More specifically, the paper proposes detection and classification of species by recording images of live individuals attracted to a light trap. An Automated Moth Trap (AMT) with multiple light sources and a camera was designed to attract and monitor live insects during twilight and night hours. A computer vision algorithm referred to as Moth Classification and Counting (MCC), based on deep learning analysis of the captured images, tracked and counted the number of insects and identified moth species. Observations over 48 nights resulted in the capture of more than 250,000 images with an average of 5675 images per night. A customized convolutional neural network was trained on 2000 labeled images of live moths represented by eight different classes, achieving a high validation F1-score of 0.93. The algorithm measured an average classification and tracking F1-score of 0.71 and a tracking detection rate of 0.79. Overall, the proposed computer vision system and algorithm showed promising results as a low-cost solution for non-destructive and automatic monitoring of moths.<\/jats:p>","DOI":"10.3390\/s21020343","type":"journal-article","created":{"date-parts":[[2021,1,6]],"date-time":"2021-01-06T20:45:42Z","timestamp":1609965942000},"page":"343","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":127,"title":["An Automated Light Trap to Monitor Moths (Lepidoptera) Using Computer Vision-Based Tracking and Deep Learning"],"prefix":"10.3390","volume":"21","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-6742-9504","authenticated-orcid":false,"given":"Kim","family":"Bjerge","sequence":"first","affiliation":[{"name":"School of Engineering, Aarhus University, Finlandsgade 22, 8200 Aarhus N, Denmark"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-5898-2946","authenticated-orcid":false,"given":"Jakob Bonde","family":"Nielsen","sequence":"additional","affiliation":[{"name":"School of Engineering, Aarhus University, Finlandsgade 22, 8200 Aarhus N, Denmark"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Martin Videb\u00e6k","family":"Sepstrup","sequence":"additional","affiliation":[{"name":"School of Engineering, Aarhus University, Finlandsgade 22, 8200 Aarhus N, Denmark"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Flemming","family":"Helsing-Nielsen","sequence":"additional","affiliation":[{"name":"NaturConsult, Skr\u00e6nten 5, 9520 Sk\u00f8rping, Denmark"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5387-3284","authenticated-orcid":false,"given":"Toke Thomas","family":"H\u00f8ye","sequence":"additional","affiliation":[{"name":"Department of Bioscience and Arctic Research Centre, Aarhus University, Gren\u00e5vej 14, 8410 R\u00f8nde, Denmark"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2021,1,6]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","unstructured":"Hallmann, C.A., Sorg, M., Jongejans, E., Siepel, H., Hofland, N., Schwan, H., Stenmans, W., M\u00fcller, A., Sumser, H., and H\u00f6rren, T. (2017). More than 75 percent decline over 27 years in total flying insect biomass in protected areas. PLoS ONE, 12.","DOI":"10.1371\/journal.pone.0185809"},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"174","DOI":"10.1038\/s41559-019-1079-8","article-title":"International scientists formulate a roadmap for insect conservation and recovery","volume":"4","author":"Harvey","year":"2020","journal-title":"Nat. Ecol. Evol."},{"key":"ref_3","unstructured":"Fox, R., Parsons, M., and Chapman, J. (2013). The State of Britain\u2019s Larger Moths 2013, Available online: https:\/\/butterfly-conservation.org\/moths\/the-state-of-britains-moths."},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"367","DOI":"10.1007\/s10841-006-9053-6","article-title":"Predicting extinction risk of butterflies and moths (Macrolepidoptera) from distribution patterns and species characteristics","volume":"11","author":"Johannesson","year":"2007","journal-title":"J. Insect Conserv."},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"95","DOI":"10.1007\/s10841-010-9326-y","article-title":"The state of the Dutch larger moth fauna","volume":"15","author":"Groenendijk","year":"2011","journal-title":"J. Insect Conserv."},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"1645","DOI":"10.1038\/s41559-019-1028-6","article-title":"Moth biomass increases and decreases over 50 years in Britain","volume":"3","author":"Macgregor","year":"2019","journal-title":"Nat. Ecol. Evol."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"4183","DOI":"10.1002\/ece3.717","article-title":"Forest insects and climate change: Long-term trends in herbivore damage","volume":"3","author":"Klapwijk","year":"2013","journal-title":"Ecol. Evol."},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"517","DOI":"10.1146\/annurev-ento-120811-153605","article-title":"Diamondback moth ecology and management: Problems, progress, and prospects","volume":"58","author":"Furlong","year":"2013","journal-title":"Annu. Rev. Entomol."},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Jonason, D., Franz\u00e9n, M., and Ranius, T. (2014). Surveying moths using light traps: Effects of weather and time of year. PLoS ONE, 9.","DOI":"10.1371\/journal.pone.0092453"},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"17","DOI":"10.1016\/j.compag.2016.02.003","article-title":"Automatic moth detection from trap images for pest management","volume":"123","author":"Ding","year":"2016","journal-title":"Comput. Electron. Agric."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"287","DOI":"10.1017\/S1477200003001208","article-title":"Automated identification of live moths (Macrolepidoptera) using digital automated identification system (DAISY)","volume":"1","author":"Watson","year":"2004","journal-title":"Syst. Biodivers."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"195","DOI":"10.1016\/j.knosys.2006.11.012","article-title":"Automatic species identification of live moths","volume":"20","author":"Mayo","year":"2007","journal-title":"Knowl. Based Syst."},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Batista, G.E., Campana, B., and Keogh, E. (2010, January 12\u201314). Classification of live moths combining texture, color and shape primitives. Proceedings of the 9th International Conference on Machine Learning and Applications, ICMLA 2010, Washington, DC, USA.","DOI":"10.1109\/ICMLA.2010.142"},{"key":"ref_14","unstructured":"Chang, Q., Qu, H., Wu, P., and Yi, J. (2017). Fine-Grained Butterfly and Moth Classification Using Deep Convolutional Neural Networks, Rutgers University."},{"key":"ref_15","unstructured":"Simonyan, K., and Zisserman, A. (2015, January 7\u20139). Very deep convolutional networks for large-scale image recognition. Proceedings of the 3rd International Conference on Learning Representations, ICLR 2015\u2014Conference Track Proceedings, San Diego, CA, USA."},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Szegedy, C., Liu, W., Jia, Y., Sermanet, P., Reed, S., Anguelov, D., Erhan, D., Vanhoucke, V., and Rabinovich, A. (2015, January 7\u201312). Going deeper with convolutions. Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition 2015, Boston, MA, USA.","DOI":"10.1109\/CVPR.2015.7298594"},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27\u201330). Deep residual learning for image recognition. Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition 2016, Las Vegas, NV, USA.","DOI":"10.1109\/CVPR.2016.90"},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Xia, D., Chen, P., Wang, B., Zhang, J., and Xie, C. (2018). Insect detection and classification based on an improved convolutional neural network. Sensors, 18.","DOI":"10.3390\/s18124169"},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Zhong, Y., Gao, J., Lei, Q., and Zhou, Y. (2018). A vision-based counting and recognition system for flying insects in intelligent agriculture. Sensors, 18.","DOI":"10.3390\/s18051489"},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Redmon, J., Divvala, S., Girshick, R., and Farhadi, A. (2016, January 27\u201330). You only look once: Unified, real-time object detection. Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition 2016, Las Vegas, NV, USA.","DOI":"10.1109\/CVPR.2016.91"},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Roosjen, P.P., Kellenberger, B., Kooistra, L., Green, D.R., and Fahrentrapp, J. (2020). Deep learning for automated detection of Drosophila suzukii: Potential for UAV-based monitoring. Pest Manag. Sci.","DOI":"10.1002\/ps.5845"},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Eliopoulos, P., Tatlas, N.A., Rigakis, I., and Potamitis, I. (2018). A \u201csmart\u201d trap device for detection of crawling insects and other arthropods in urban environments. Electron. (Switz.), 7.","DOI":"10.20944\/preprints201806.0375.v1"},{"key":"ref_23","unstructured":"Bioform (2020, November 09). Leucht-Kleinanlage 12V, 15W Superaktinisch. Available online: https:\/\/www.bioform.de\/."},{"key":"ref_24","unstructured":"Computermester (2020, November 09). A3 LED Light Table. Available online: https:\/\/www.computermester.dk\/shop\/lysborde-214c1.html."},{"key":"ref_25","unstructured":"24hshop (2020, November 09). USB LED Light Ring. Available online: https:\/\/www.24hshop.dk\/mobiltilbehor\/iphone-tilbehor\/iphone-ovrigt\/usb-led-ring-belysning."},{"key":"ref_26","unstructured":"Logitech (2020, November 09). Brio Ultra HD Pro Webcam. Available online: https:\/\/www.logitech.com\/en-us\/product\/brio."},{"key":"ref_27","unstructured":"Motion (2020, December 20). Open Source Program that Monitors Video Signals from Many Types of Cameras. Available online: https:\/\/motion-project.github.io\/."},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"62","DOI":"10.1109\/TSMC.1979.4310076","article-title":"Threshold selection method from gray-level histograms","volume":"9","author":"Otsu","year":"1979","journal-title":"IEEE Trans Syst Man Cybern"},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"32","DOI":"10.1137\/0105003","article-title":"Algorithms for the Assignment and Transportation Problems","volume":"5","author":"Munkres","year":"1957","journal-title":"J. Soc. Ind. Appl. Math."},{"key":"ref_30","unstructured":"Bashir, F., and Porikli, F. (2006). Performance Evaluation of Object Detection and Tracking Systems. Mitsubishi Electr. Res. Lab., TR2006-041, Available online: https:\/\/www.researchgate.net\/publication\/237749648_Performance_Evaluation_of_Object_Detection_and_Tracking_Systems."},{"key":"ref_31","doi-asserted-by":"crossref","first-page":"11","DOI":"10.1016\/j.neucom.2016.12.038","article-title":"A survey of deep neural network architectures and their applications","volume":"234","author":"Liu","year":"2017","journal-title":"Neurocomputing"},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"104898","DOI":"10.1016\/j.compag.2019.104898","article-title":"A computer vision system to monitor the infestation level of Varroa destructor in a honeybee colony","volume":"164","author":"Bjerge","year":"2019","journal-title":"Comput. Electron. Agric."},{"key":"ref_33","doi-asserted-by":"crossref","unstructured":"Sandler, M., Howard, A., Zhu, M., Zhmoginov, A., and Chen, L.C. (2018, January 18\u201322). MobileNetV2: Inverted Residuals and Linear Bottlenecks. Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition 2018, Salt Lake City, UT, USA.","DOI":"10.1109\/CVPR.2018.00474"},{"key":"ref_34","doi-asserted-by":"crossref","first-page":"84","DOI":"10.1145\/3065386","article-title":"ImageNet classification with deep convolutional neural networks","volume":"60","author":"Krizhevsky","year":"2017","journal-title":"Commun. ACM"},{"key":"ref_35","doi-asserted-by":"crossref","unstructured":"Huang, Y.Y., and Wang, W.Y. (2017, January 7\u201311). Deep residual learning for weakly-supervised relation extraction. Proceedings of the EMNLP 2017\u2014Conference on Empirical Methods in Natural Language Processing, Copenhagen, Denmark.","DOI":"10.18653\/v1\/D17-1191"},{"key":"ref_36","unstructured":"Tan, M., and Le, Q.V. (2019). EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks. arXiv."},{"key":"ref_37","doi-asserted-by":"crossref","unstructured":"Huang, G., Liu, Z., and Weinberger, K.Q. (2016). Densely Connected Convolutional Networks. arXiv.","DOI":"10.1109\/CVPR.2017.243"},{"key":"ref_38","unstructured":"Wu, S., Zhong, S., and Liu, Y. (2017). ResNet. Multimed. Tools Appl."},{"key":"ref_39","doi-asserted-by":"crossref","unstructured":"Szegedy, C., Vanhoucke, V., Ioffe, S., Shlens, J., and Wojna, Z. (July, January 26). Rethinking the Inception Architecture for Computer Vision. Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.","DOI":"10.1109\/CVPR.2016.308"},{"key":"ref_40","unstructured":"R Core Team (2020). R: A Language and Environment for Statistical Computing, R Core Team. Available online: http:\/\/softlibre.unizar.es\/manuales\/aplicaciones\/r\/fullrefman.pdf."},{"key":"ref_41","doi-asserted-by":"crossref","first-page":"251","DOI":"10.1111\/1365-2656.12452","article-title":"Resource specialists lead local insect community turnover associated with temperature\u2014Analysis of an 18-year full-seasonal record of moths and beetles","volume":"85","author":"Thomsen","year":"2016","journal-title":"J. Anim. Ecol."},{"key":"ref_42","doi-asserted-by":"crossref","unstructured":"H\u00f8ye, T.T., \u00c4rje, J., Bjerge, K., Hansen, O.L.P., Iosifidis, A., Leese, F., Mann, H.M.R., Meissner, K., Melvad, C., and Raitoharju, J. (2020). Deep learning and computer vision will transform entomology. PNAS, in press.","DOI":"10.1101\/2020.07.03.187252"}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/21\/2\/343\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T05:07:46Z","timestamp":1760159266000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/21\/2\/343"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,1,6]]},"references-count":42,"journal-issue":{"issue":"2","published-online":{"date-parts":[[2021,1]]}},"alternative-id":["s21020343"],"URL":"https:\/\/doi.org\/10.3390\/s21020343","relation":{"has-preprint":[{"id-type":"doi","id":"10.1101\/2020.03.18.996447","asserted-by":"object"}]},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,1,6]]}}}