de Macedo JMA et al.
J Health Inform. 2026;18:e1832
https://doi.org/10.59681/2175-4411.v18.iEspecial.2026.1832
Artigo completo
CBIS 2026

Deep learning-based web application for automated counting of Aedes aegypti eggs in ovitraps

Aplicação web baseada em aprendizado profundo para contagem automatizada de ovos de Aedes aegypti em ovitrampas
João Marcelo Almeida de Macedo1iD, Yan Matheus Santa Brigida de Aguiar2iD, João Paulo Fernandes da Silva3iD, Marcos Takashi Obara4iD, Rogério Luiz Araújo Carminé5iD, Jonas Lotufo Brant6iD, Vinicius de Carvalho Rispoli1iD
1 PPG em Engenharia Biomédica, UnB, Brasília (DF), Brasil.
2 Engenharia de Software, UnB, Brasília (DF), Brasil.
3 Secretaria de Tecnologia da Informação, UnB, Brasília (DF), Brasil.
4 PPG em Ciências e Tecnologias em Saúde, UnB, Brasília (DF), Brasil.
5 Dept. de Informação e Comunicação, IFAM, Manaus (AM), Brasil.
6 PPG em Saúde Coletiva, UnB, Brasília (DF), Brasil.

Article information

Type Artigo completo · CBIS 2026
Identifier e1832
DOI 10.59681/2175-4411.v18.iEspecial.2026.1832
Received 17 May 2026
Accepted 20 July 2026
Review process Double Blind Review
Handling editorJuliano de Souza Gaspar
Access Open, CC BY 4.0
Corresponding authorJoão Marcelo Almeida de Macedo
joaomacedodf@hotmail.com

License

This is an open access article published under the Creative Commons CC BY 4.0 license, which permits use, distribution, and reproduction in any medium, provided the original work is properly cited.
CC BY 4.0
Abstract
Objective: To present a web application based on artificial intelligence to automate the counting of Aedes aegypti eggs on filter papers and ovitrap paddles. Method: Custom datasets containing 68 filter papers and 79 Eucatex® paddles were used. The images were manually annotated in LabelMe and processed in COCO format. The Hybrid Task Cascade architecture, implemented in MMDetection, was trained using tiling and data augmentation strategies for automatic egg segmentation and counting. Results: For filter papers, the model achieved a micro F1-score above 95%, while for Eucatex® paddles it achieved an F1-score of approximately 82%, despite greater visual noise, low contrast and high egg density. Conclusion: The proposed solution reduces reliance on manual counting and offers an accessible alternative to support entomological surveillance and decision-making in the control of arboviruses.
Keywords: Aedes aegypti; Artificial Intelligence; Entomological Surveillance.
Resumo
Objetivo: Apresentar uma aplicação web baseada em inteligência artificial para automatizar a contagem de ovos da espécie Aedes aegypti em papéis-filtro e palhetas de ovitrampas. Método: Foram utilizados conjuntos autorais com 68 papéis-filtro e 79 palhetas de Eucatex®, anotados manualmente no LabelMe e processados em formato COCO. A arquitetura Hybrid Task Cascade, implementada na MMDetection, foi treinada com estratégias de tiling e aumento de dados para segmentação e contagem automática dos ovos. Resultados: Nos papéis-filtro, o modelo alcançou F1 micro acima de 95%, enquanto nas palhetas de Eucatex® obteve F1 em torno de 82%, mesmo diante de maior ruído visual, baixo contraste e alta densidade de ovos. Conclusão: A solução proposta reduz a dependência da contagem manual e oferece uma alternativa acessível para apoiar a vigilância entomológica e a tomada de decisão no controle das arboviroses.
Descritores: Aedes aegypti; Inteligência Artificial; Vigilância Entomológica.

Paper presented at the 21st Brazilian Congress of Health Informatics (CBIS 2026), held from September 23 to 25, 2026, in Brasília (DF), Brazil, and published in the CBIS 2026 section of the Journal of Health Informatics.

HOW TO CITE THIS ARTICLE: de Macedo JMA, de Aguiar YMSB, da Silva JPF, Obara MT, Carminé RLA, Brant JL, et al. Deep learning-based web application for automated counting of Aedes aegypti eggs in ovitraps. J Health Inform 2026;18:e1832. doi: https://doi.org/10.59681/2175-4411.v18.iEspecial.2026.1832
https://doi.org/10.59681/2175-4411.v18.iEspecial.2026.18321
de Macedo JMA et al.J Health Inform. 2026;18:e1832
https://doi.org/10.59681/2175-4411.v18.iEspecial.2026.1832

1 Introduction

Dengue has become one of the leading arboviruses in terms of morbidity and socioeconomic impact, affecting millions of people annually in tropical and subtropical regions [1]. Factors such as disorderly urbanization, inadequate sanitation, increased population movement and climate change favor the proliferation of Aedes aegypti, the primary vector of dengue, zika and chikungunya [1,2]. In Brazil, the epidemiological situation has become especially critical in recent years, with approximately 6.45 million notified cases in 2024 and sustained high transmission in 2025, reinforcing the need for more agile and sensitive surveillance strategies [3-5].

Among the strategies used for vector monitoring, ovitraps stand out for their sensitivity, low cost and ability to detect the presence of the mosquito even in areas with low population density [6]. These traps use containers with water and suitable surfaces for egg deposition, such as wooden agglomerated paddles (Eucatex®) or filter papers, making it possible to identify areas with the highest infestation rates, guide control strategies and monitor the effectiveness of the measures implemented. In addition, ovitraps are recommended for the entomological monitoring of new technologies for controlling the Ae. aegypti mosquito, such as Larvicide Disseminating Stations (LDS), mosquitoes with Wolbachia and irradiated sterile mosquitoes, as recommended by the Brazilian Ministry of Health [6]. However, although ovitrap collection is an established entomological surveillance tool, the subsequent sample analysis step still represents a substantial operational bottleneck.

Currently, egg counting is frequently performed manually, requiring specialized technicians to use microscopes or magnifying glasses to identify tiny structures with dimensions on the order of hundreds of micrometers and an approximate area of 0.065 mm² [7]. It is estimated that analyzing a single paddle requires approximately 15 minutes of concentrated human effort [7]. In municipal-scale monitoring networks, where hundreds or thousands of traps may be collected periodically, this process becomes time-consuming, costly and susceptible to inter-rater variability. Furthermore, visual fatigue, the presence of debris, fungi and noise in the samples can hinder egg identification and compromise the standardization of counting [7,8].

In recent years, digital technologies have been incorporated into dengue surveillance and control efforts, particularly to improve recording, mapping and response to vector breeding sites. Initiatives such as Conta Ovos/Mosqlimate, AeTrapp and UDI Sem

Dengue illustrate this trend by exploring, respectively, georeferenced ovitrap registration, collaborative mapping and reporting of potential breeding sites to support entomological surveillance [9-11]. These tools expand data collection, organization and visualization capabilities, but primarily address information management, without fully resolving the bottleneck of visual analysis and automated egg counting.

In this context, deep learning-based computer vision methods become particularly relevant, as they enable detection, segmentation and counting of small objects in digital images. Convolutional neural networks have been widely applied to object detection and instance segmentation tasks, forming the basis of several advanced image processing models [12]. In the literature, solutions have already been proposed for automated counting of Aedes aegypti eggs using low-cost equipment [13], as well as on filter papers using the Mask R-CNN architecture for automatic segmentation and counting in images digitized with common equipment [14,15]. Recent solutions, such as Col-Ovo, further reinforce this trend by applying artificial intelligence to smartphone-captured images to perform rapid counts under field conditions, with high agreement with expert counts [7].

The present work contributes to this line of innovation by integrating computer vision and artificial intelligence models into the Contador de Ovos web application (https://contaovos.sisvetor.sds.unb.br) aimed at automatic counting of Aedes aegypti eggs in images of filter papers and ovitrap paddles. The proposal combines simplified image acquisition, automatic processing and presentation of results to the user, reducing dependence on specialized manual procedures. Thus, this work aims to present and evaluate an artificial intelligence-based web application to support entomological dengue surveillance through automated egg counting, offering an accessible, fast and potentially scalable alternative to support epidemiological decision-making.

2 Web Application

The development of the Contador de Ovos web application (https://contaovos.sisvetor.sds.unb.br) resulted in a technological solution capable of automating egg counting from filter papers and ovitrap paddles (Figure 1), directly addressing the need to reduce manual counting time and to minimize the user learning curve and reduce operational errors in the field and in the laboratory, allowing the user to capture or upload a photo of the trap and receive the automatic egg count within seconds (Figure 2).

https://doi.org/10.59681/2175-4411.v18.iEspecial.2026.18322
de Macedo JMA et al.J Health Inform. 2026;18:e1832
https://doi.org/10.59681/2175-4411.v18.iEspecial.2026.1832
Figure 2. Operational flow of the Contador de Ovos web application. From left to right: page for uploading the image of a paddle or filter paper, processing of the uploaded image, presentation of the egg count and identification of the ovitrap location.
Source: Prepared by the authors (2026).
Figure 1. Examples of the dataset images. On the left: filter paper; on the right: ovitrap paddle. The small black dots visible on both images are Aedes aegypti eggs.
Source: Prepared by the authors (2026).

2.1 Operation

The operation of the web application comprises the following steps:

  1. User submits a photo of the filter paper or paddle containing mosquito eggs and requests the egg count;
  2. The application verifies whether the format and size are appropriate;

  1. The photo is pre-processed;
  2. The artificial intelligence model identifies and counts the eggs;
  3. The user receives the total count and an annotated version of the image, indicating the detected eggs and the confidence level for each one.

2.1 Solution Architecture and Technologies

The solution architecture integrates computer vision and artificial intelligence modules, a web application and a database for image processing. The solution was built using a client-server model, aiming to facilitate the scalability and maintenance of the system, and includes the following components:

  • Frontend: Developed on the Web platform using the React framework to operate as a Single Page Application. The interface prioritizes accessibility, using WAI-ARIA attributes for screen readers and an interactive tutorial for new users.
  • Backend: A Node.js Web Service API manages RESTful requests and business logic, while the image processing and inference module runs within the artificial intelligence component.
  • Artificial Intelligence: The Hybrid Task Cascade (HTC) model from the MMDetection library, trained on images of filter papers and ovitrap paddles, performs the image analysis.
  • Database: Data persistence is handled by a PostgreSQL relational database. The data structure organizes information into entities such as Traps, Counts and Registered Users.
https://doi.org/10.59681/2175-4411.v18.iEspecial.2026.18323
de Macedo JMA et al.J Health Inform. 2026;18:e1832
https://doi.org/10.59681/2175-4411.v18.iEspecial.2026.1832

      The flow begins when the user submits an image for analysis, which is sent to the API. The backend then executes a processing pipeline comprising pre-processing, inference by the artificial intelligence model and post-processing of detections. The API returns results to the frontend in JSON (JavaScript Object Notation) format, including the total count and annotated images in base64, along with detection coordinates and confidence levels. To save or download the processed image, the analysis must be registered with an associated location, defined manually or obtained automatically through the device’s GPS coordinates.

      3 Methods

      The method was organized into five main steps: dataset construction, image annotation, tiling-based pre-processing and data augmentation, training of artificial intelligence models and quantitative evaluation of results.

      The dataset was built by the authors and comprised annotated images of filter papers and ovitrap paddles. Filter papers were provided by the Sala de Situação de Saúde of Faculdade de Ciências da Saúde at Universidade de Brasília, while ovitrap paddles were supplied by the Secretaria de Estado de Saúde of Distrito Federal. In total, the dataset included 68 filter papers (58 for training, 10 for validation) and 79 wooden paddles (71 for training, 8 for validation). Filter papers were scanned at 1,200 dpi using an EPSON L3250 multifunction printer, while ovitrap paddles were photographed using an iPhone 16 Pro smartphone in the standard automatic mode, with the macro camera automatically activated due to the short shooting distance. For ovitrap paddle image capture, Ulanzi i-Light sources were positioned laterally to provide more uniform illumination during acquisition.

      Annotations were performed manually by the authors using LabelMe software [16], by drawing polygons around each visible egg. The annotations were then converted to COCO format, widely used in object detection and instance segmentation tasks. In total, 10,605 annotations were made on ovitrap paddle images and 1,744 on filter paper images. Although the number of annotations was higher for ovitrap paddles, both sets present quite distinct visual characteristics: filter papers presented more uniform illumination and greater contrast between the white background and the dark eggs, whereas ovitrap paddles presented a fibrous background, lower foreground-background contrast, high egg density, focal variations due to smartphone acquisition and greater visual noise.

      Given the visual complexity of the ovitrap paddles and the need to segment small objects, the architecture chosen for the task was HTC. This architecture combines elements of Mask R-CNN, used in instance

          segmentation tasks, with the progressive refinement of Cascade R-CNN, where successive stages make detection increasingly demanding through growing intersection-over-union (IoU) thresholds. In addition, HTC incorporates a parallel semantic branch responsible for providing background contextual information to the refinement stages. This combination makes the architecture suitable for scenarios with small objects, high instance density and visually complex backgrounds.

          The implementation was carried out using the MMDetection library, keeping most of the original architecture parameters and modifying only specific hyperparameters for each image type. Both models used a ResNet50 backbone, AdamW optimizer, learning rate of 5×10−5, Cosine Annealing scheduler and 60 training epochs. For ovitrap paddles, anchor sizes of [⁠2, 4, 8], images of 1000×1000 pixels, batch size of 2 and gradient accumulation of 4 were used. For filter papers, anchor sizes of [⁠1, 2, 4], images of 720×720 pixels, batch size of 8 and gradient accumulation of 1 were used. Smaller anchors were necessary due to the reduced size of the eggs, since detection architectures are frequently optimized for medium- and large-sized objects, whereas this work deals with objects of an approximate maximum area of 78 pixels.

          To preserve visual information about the eggs and reduce GPU memory consumption, tiling was employed, in which original images were divided into smaller sub-regions. This strategy avoids the detail loss caused by simply downscaling the entire image, particularly given the small size of the eggs and the importance of preserving their spatial definition. After tiling, the dataset expanded to 1,892 sub-images for filter papers and 694 sub-images for ovitrap paddles. In the filter paper set, a balance between sub-images with and without eggs was sought, to prevent the network from being biased by an excess of negative examples, given the sparser nature of this image type.

          To increase training set diversity and reduce the risk of overfitting, offline and online data augmentation techniques were applied. Offline augmentations were materialized as new images in the dataset and included horizontal flipping, vertical flipping, rotation, shifting, scaling, brightness and contrast changes, hue, saturation and value modifications, gamma adjustment and contrast-limited adaptive histogram equalization (CLAHE). After this process, the expanded dataset comprised 2,645 images for filter papers and 1,842 images for paddles. Additionally, during training, online augmentations consisting of horizontal and vertical flips, random cropping and multi-scale transformations were applied to continue providing variations to the network at each epoch and reduce memorization of training set patterns.

          https://doi.org/10.59681/2175-4411.v18.iEspecial.2026.18324
          de Macedo JMA et al.J Health Inform. 2026;18:e1832
          https://doi.org/10.59681/2175-4411.v18.iEspecial.2026.1832

              Model evaluation was performed using precision, recall, F1-score and mean average precision metrics. Precision was defined as Pr = VP/(VP + FP), sensitivity as S = VP/(VP + FN) and F1-score as F1 = 2PrS/(Pr + S), where VP represents true positives, FP the false positives and FN false negatives. Mean average precision was used to evaluate model performance along the precision-recall curve, considering the detection thresholds adopted for the task. The mean IoU of the masks displays the average percentage of intersection between the actual annotations and the machine’s predictions with respect to the masks. In the reported results, metrics were calculated considering matches between predictions and ground truth annotations with IoU greater than 0.5.

              Model training was performed on the Google Colab platform, using an L4 Tensor Core GPU with 24 GB of GPU memory and 64 GB of system RAM. Training time ranged from 14 to 16 hours for experiments with resized images and approximately 6 hours for tiling-based experiments.

              4 Results And Discussion

              The evaluation metric results for the ovitrap paddles are presented in Table 1, where the results show that tiling resolution influenced model performance, especially recall and F1-score. The distinction between micro and macro metrics lies in their calculation method: in micro calculation, all egg instances across the entire validation set are used, whereas in macro calculation, an average of the per-image metrics is computed over the full set. Therefore, the micro calculation reflects the network’s behavior in detecting the object of study, while the macro calculation shows how it performs per image, given that some images may have a more complex inference than others.

              In contrast, Table 2 shows the results for filter papers. As expected, ovitrap paddles yielded lower metric results than filter papers. Thus, for comparison purposes, a new Roboflow model called RF-DETR [17] was tested. RF-DETR is a recent DETR-style architecture for real-time object detection, using transformer-based components [18] and pretrained visual backbones. It has been reported to achieve competitive results on COCO-style detection benchmarks. Table 3 compares the best HTC configuration with two RF-DETR models using standard configurations.

              As seen in Table 1, tiling consistently maintained performance at levels superior to simple full-image resizing, particularly in recall and F1 metrics. Although the configuration without tiling achieved the highest micro precision (0.8138), its recall was substantially lower (0.5102), resulting in a substantial drop in F1-

                  score (0.6272). Among tiling configurations, the 1000×1000 pixels resolution achieved the best micro F1-score (0.8196), while the 720×720 pixels resolution obtained the highest micro mean average precision (0.8049). In macro calculation, the 840×840 pixels resolution yielded the best mean F1 (0.8225), suggesting greater balance between overall and per-image performance.

                  Table 2 presents the results for filter papers. In this set, metrics were consistently higher than those obtained for ovitrap paddles, which is consistent with the more favorable visual characteristics of the material: light background, uniform illumination, greater contrast between eggs and background and lower structural complexity. The 720×720 pixels resolution achieved the best overall performance, with micro precision of 0.9302, micro recall of 0.9804, micro F1-score of 0.9547 and micro mean average precision of 0.9717. These results indicate that the model was capable of performing egg segmentation and counting with high robustness on this type of substrate. It was also noted that the HTC semantic stage became saturated and redundant information introduced a slight detriment to the network, contributing to overfitting by memorizing certain patterns instead of others.

                  In comparison with our previous results [15], an important improvement in performance for filter papers is observed. In that study, the initial evaluation with 70 training images yielded a mean F1 of 0.8011 in pixel-by-pixel analysis, while the subsequent count-based evaluation with spatial accuracy, considering IoU ≥ 0.3, reached an F1 of ≥ 0.8359 [15]. In the present work, the best result for filter papers achieved a micro F1-score of 0.9547 and micro mean average precision of 0.9717, considering matches with IoU > 0.5. Although precision, recall and F1 are common metrics to both studies, the evaluation protocols differ in terms of analysis unit and IoU threshold, so the comparison should be interpreted as indicative of methodological progress rather than direct equivalence.

                  From Table 3, it can be seen that the model relying solely on object detection outperformed the HTC architecture by 0.0089 in F1-score. Because the largest segmentation-capable RF-DETR configuration exceeded the available GPU memory, only the smaller segmentation model RF-DETR-Seg (Large) was used for comparison. This segmentation model provided a slightly worse result than HTC predictions. This indicates that the HTC architecture achieves equivalent results to even more recent and capable state-of-the-art models for this problem, while being computationally lightweight.

                  https://doi.org/10.59681/2175-4411.v18.iEspecial.2026.18325
                  de Macedo JMA et al.J Health Inform. 2026;18:e1832
                  https://doi.org/10.59681/2175-4411.v18.iEspecial.2026.1832
                  Table 1. Final metrics for wooden paddles (IoU > 0.5). Bold values indicate the best performance per row.
                  MetricResolution
                  512×512720×720840×8401000×10001333×13331333×1333 without tiling
                  MicroPrecision0.75930.76080.80120.78640.79520.8138
                  Recall0.86740.86910.83730.85590.82760.5102
                  F1 Score0.80970.81140.81880.81960.81110.6272
                  Mean Average Precision (mAP)0.79450.80490.78010.79030.77150.4706
                  Mask’s mean IoU0.77380.75550.76700.75810.76840.5496
                  MacroMean Precision0.76810.79130.81930.81030.80730.8031
                  Mean Recall0.87310.85290.83060.84390.84150.5942
                  Mean F1 Score0.81510.81540.82250.81860.82130.6685
                  Mask’s mean IoU0.77010.75690.76740.76010.76370.5483
                  Source: Prepared by the authors (2026).
                  Table 2. Final metrics obtained for filter papers (IoU > 0.5). Bold values indicate the best performance per row.
                  MetricResolution
                  720×720840×840640×640
                  MicroPrecision0.93020.93010.9169
                  Recall0.98040.98010.9771
                  F1 Score0.95470.95440.9443
                  Mean Average Precision (mAP)0.97170.97170.9714
                  Mask’s mean IoU0.85130.84980.8399
                  MacroMean Precision0.90510.90510.9039
                  Mean Recall0.98860.98840.9878
                  Mean F1 Score0.93850.93830.9311
                  Mask’s mean IoU0.85320.85300.8529
                  Source: Prepared by the authors (2026).

                  These results suggest that, with the current dataset size and image acquisition conditions, performance on ovitrap paddles may be approaching a practical ceiling, because of the material-related imperfections, lower effective spatial resolution, variable focus and more complex background of smartphone-acquired paddle images compared with high-resolution scanned filter paper images. These can impact the quality of the training of state-of-the-art networks specialized for this task. We also understand that the most straightforward ways to increase the evaluation metrics would be expanding the set of images and the analysis/study of egg-enhancement pre-processing before training, which is reserved for future work.

                  Compared with recent literature on automated Aedes egg counting, our model achieved a micro-averaged F1-score of 0.9547 on filter papers, exceeding the 0.91 and 0.90 reported by EggCountAI [19] for microscopic and

                  macroscopic images, respectively, and the 0.80 reported by Col-Ovo [7] for smartphone images of nonwoven oviposition substrates collected under field conditions. However, these comparisons must account for differences in substrates and acquisition conditions, since our images were scanned at 1,200 dpi under uniform illumination and high contrast. For ovitrap paddles, the mean F1-score of 0.8225 was lower than the 0.9465 reported by Sobral [20], whose study used 1,195 microscope-acquired images, compared with 79 smartphone photographs in our dataset. Direct comparison with Freitas [21] is limited because that study reported counting errors rather than F1. Nevertheless, both studies demonstrate the feasibility of low-cost smartphone-based acquisition, while our work emphasizes individual egg localization and segmentation and Freitas focuses on total-count calibration and operational validation.

                  https://doi.org/10.59681/2175-4411.v18.iEspecial.2026.18326
                  de Macedo JMA et al.J Health Inform. 2026;18:e1832
                  https://doi.org/10.59681/2175-4411.v18.iEspecial.2026.1832
                  Table 3. Comparison between HTC and RF-DETR with and without segmentation (wooden paddles). Bold values indicate the best performance per row.
                  MetricArchitecture
                  HTC (1000×1000)RF-DETR (2Xlarge)RF-DETR-Seg (Large)
                  MicroPrecision0.78640.83040.8023
                  Recall0.85590.82670.8002
                  F1 Score0.81960.82850.8012
                  Mean Average Precision (mAP)0.79030.77360.7408
                  Mask’s mean IoU0.7581-0.7722
                  MacroMean Precision0.81030.84890.8230
                  Mean Recall0.84390.83930.7970
                  Mean F1 Score0.81860.84210.8072
                  Mask’s mean IoU0.7601-0.7703
                  Source: Prepared by the authors (2026).

                  Finally, it is important to point out some limitations of this study. First, the number of original images was limited, especially considering the visual variability expected in field conditions. Second, the evaluation was performed on images acquired under controlled or semi-controlled conditions, and external validation with images collected by different users, devices and lighting conditions is still required. Third, although the system provides automatic counts, its agreement with routine manual counting by multiple experts was not evaluated in an operational setting.

                  5 Conclusions

                  In this work, an alternative to manual counting of Ae. aegypti eggs was presented through an artificial intelligence-based web application designed to analyze images of filter papers and ovitrap paddles. The proposed solution integrates computer vision modules, a web application and a database, allowing users to submit an image and automatically receive the estimated egg count, together with an annotated version of the analyzed image. Thus, the system aims to reduce reliance on time-consuming manual procedures and to improve the accessibility of entomological surveillance tools.

                  The results indicate high performance for filter papers, with a micro F1-score above 95%, demonstrating the robustness of the approach in images with higher contrast, uniform illumination and lower visual complexity. For ovitrap paddles, an F1-score of approximately 82% was observed. Although lower than the performance obtained for filter papers, this result remains promising considering the fibrous

                  background, low contrast, high egg density, focus variations and greater visual noise associated with smartphone acquisition. These findings suggest that automated egg counting may be feasible even under more challenging imaging conditions.

                  Compared with more recent detection architectures, the RF-DETR model without segmentation showed slightly higher F1 performance than HTC for ovitrap paddles, with a difference of 0.0089. However, HTC maintained competitive performance while also providing instance segmentation, which is relevant for visualizing detected eggs and supporting user interpretation of the results. Therefore, the choice of architecture should consider not only detection metrics, but also the balance among performance, computational cost, segmentation capability and ease of integration into the application.

                  As future work, the image dataset should be expanded, especially for ovitrap paddles, to increase visual variability and improve model generalization. The replacement or complementation of the HTC-based detector with more recent state-of-the-art detectors available, like RF-DETR, should also be evaluated, particularly models designed for efficient detection of small objects in complex images. In addition, future versions of the application should include field validation with real users, response time analysis in operational environments, direct comparison with expert manual counts, automated integration of egg density indices, egg trap positivity and vector density indicators, as well as interface refinement for use by health agents and epidemiological surveillance teams.

                  Author contributions. The authors contributed equally to all stages of the article: conception and design of the study; data collection, analysis, and interpretation; drafting and critical revision of the manuscript; and approval of the final version.
                  Funding. The authors did not declare any source of funding.
                  Data and materials availability. The authors did not provide a data and materials availability statement.
                  https://doi.org/10.59681/2175-4411.v18.iEspecial.2026.18327
                  de Macedo JMA et al.J Health Inform. 2026;18:e1832
                  https://doi.org/10.59681/2175-4411.v18.iEspecial.2026.1832
                  Conflicts of interest. The authors did not declare any conflicts of interest.
                  Use of artificial intelligence. The ChatGPT tool, by OpenAI, was used exclusively to support the translation from Portuguese to English. The scientific content, results, interpretations and intellectual responsibility remain the responsibility of the authors.

                  References

                  1. Almeida MGCS, Santos EC, Nascimento Junior LWS, Cruz JL, Castro MS, Santos FS. Perfil epidemiológico dos flavivírus Zika e Dengue na região Norte do Brasil no período entre 2017 a 2021. Acervo Saúde. 2023;23(7):e12694. doi: https://doi.org/10.25248/reas.e12694.2023
                  2. Regis LN, Acioli RV, Silveira JC, Melo-Santos MA, Souza WV, Ribeiro CM, et al. Sustained reduction of the dengue vector population resulting from an integrated control strategy applied in two Brazilian cities. PLoS One. 2013;8(7):e67682. doi: https://doi.org/10.1371/journal.pone.0067682
                  3. dos Reis CC, Almeida GT, Silva LF, Leite BCC, Araujo ACRA, dos Santos DA, et al. Epidemiologia dos casos notificados de dengue no Brasil de 2015 a 2024. In: Tópicos em Saúde Coletiva no Brasil - Volume 1. [place unknown]: Seven Editora; 2025. doi: https://doi.org/10.56238/livrosindi202516-004
                  4. Elito A, Bená TC, Reis MCS, Roman BCM, Veiga LI, Vedovato MLB, et al. Casos de Dengue em crianças no Vale do Paraíba: Uma análise epidemiológica. RSD. 2025;14(10):e87141049682. doi: https://doi.org/10.33448/rsd-v14i10.49682
                  5. Nascimento VCS, Lima ICSB, Dias JVB, Souza JF, Silva MR. Análise epidemiológica da dengue e impactos da vacina Qdenga® no Brasil no período de 2022 a 2025. Revft. 2025;29(153):37-8. doi: https://doi.org/10.69849/revistaft/pa10202512071737
                  6. Brasil. Ministério da Saúde. Secretaria de Vigilância em Saúde. Departamento de Doenças Transmissíveis. Coordenação-Geral de Vigilância de Arboviroses. Diretrizes nacionais para prevenção e controle das arboviroses urbanas: vigilância entomológica e controle vetorial [Internet]. Brasília: Ministério da Saúde; 2025 [cited 2026 Oct 18]. 190 p. Available from: http://bvsms.saude.gov.br/bvs/publicacoes/diretrizes_nacionais_arboviroses_urbanas.pdf
                  7. Almanza J, Montenegro D. Col-Ovo: Smartphone-based artificial intelligence for rapid counting of Aedes mosquito eggs under field conditions. bioRxiv [Preprint]. 2026. doi: https://doi.org/10.64898/2026.03.19.712860
                  8. Eiras AE, Resende MC, Acebal JL, Paixão KS. New Cost-Benefit of Brazilian Technology for Vector Surveillance Using Trapping System. In: Malaria. [place unknown]: IntechOpen; 2019. doi: https://doi.org/10.5772/intechopen.78781
                  9. Ganem, F., Vacaro, L. B., Araújo, E. C., Alves, L. D., Bastos, L. S., Carvalho, L. M., Almeida, I. F. de, Sá, A. M. e, & Coelho, F. C. (2024). Mosqlimate: a platform to providing automatable access to data and forecasting models for arbovirus disease. arXiv (Cornell University). https://doi.org/10.48550/arxiv.2410.18945
                  10. Sistema de Informação sobre a Biodiversidade Brasileira. AeTrapp [Internet]. Brasília: SiBBr [cited 2026 Oct 18]. Available from: https://sibbr.gov.br/cienciacidada/aetrapp.html
                  11. Prefeitura Municipal de Uberlândia. UDI sem Dengue [Internet]. Uberlândia: Prefeitura Municipal de Uberlândia. Disponível em: https://www.uberlandia.mg.gov.br/udi-sem-dengue/
                  12. Chollet F. Deep learning with Python. 1st ed. Manning Publications; 2018.
                  13. Silva LMS, Silva LL, Barros V, Araujo FHD. Contagem de ovos do Aedes Aegypti em palhetas de ovitrampas baseada em Deep Learning. In: Anais do XIV Encontro Unificado de Computação do Piauí (ENUCOMPI 2021). [place unknown]: Sociedade Brasileira de Computação; 2021. p. 128-35. doi: https://doi.org/10.5753/enucompi.2021.17763
                  14. Girshick R, Donahue J, Darrell T, Malik J. Rich Feature Hierarchies for Accurate Object Detection and Semantic Segmentation. In: 2014 IEEE Conference on Computer Vision and Pattern Recognition. [place unknown]: IEEE; 2014. p. 580-7. doi: https://doi.org/10.1109/cvpr.2014.81
                  15. Macedo JMA, Rispoli VC, Brant JL. Contagem automatizada de ovos de Aedes aegypti em papéis-filtro utilizando aprendizado profundo. R. Mundi Eng., Tec. Ges. 2025;10(4). doi: https://doi.org/10.21575/25254782rmetg2025vol10n42458
                  16. Russell BC, Torralba A, Murphy KP, Freeman WT. LabelMe: A Database and Web-Based Tool for Image Annotation. Int J Comput Vis. 2008;77(1-3):157-73. doi: https://doi.org/10.1007/s11263-007-0090-8
                  17. Zhao Y, Lv W, Xu S, Wei J, Wang G, Dang Q, et al. DETRs Beat YOLOs on Real-time Object Detection. In: 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). [place unknown]: IEEE; 2024. p. 16965-74. doi: https://doi.org/10.1109/cvpr52733.2024.01605
                  18. Oquab M, Darcet T, Moutakanni T, Vo HV, Szafraniec M, Khalidov V, et al. DINOv2: learning robust visual features without supervision. arXiv [Preprint]. 2023. doi:10.48550/arXiv.2304.07193.
                  19. Javed N, López-Denman AJ, Paradkar PN, Bhatti A. EggCountAI: a convolutional neural network-based software for counting of Aedes aegypti mosquito eggs. Parasit Vectors. 2023;16(1):341. doi: https://doi.org/10.1186/s13071-023-05956-1
                  20. Sobral AAB. Contagem automática de ovos de mosquitos Aedes em ovitrampas com visão computacional baseada em aprendizado de máquina [Trabalho de Conclusão de Curso]. Recife: Instituto Federal de Educação, Ciência e Tecnologia de Pernambuco; 2025.
                  21. Freitas AS. Uma metodologia de contagem automática de ovos de Aedes aegypti a partir de imagens obtidas por smartphone [Dissertação]. Recife: Universidade Federal de Pernambuco; 2025.
                  https://doi.org/10.59681/2175-4411.v18.iEspecial.2026.18328
                  de Macedo JMA et al.J Health Inform. 2026;18:e1832
                  https://doi.org/10.59681/2175-4411.v18.iEspecial.2026.1832

                  Editorial notes

                  The Journal of Health Informatics is a scientific journal maintained by the Brazilian Society of Health Informatics (Sociedade Brasileira de Informática em Saúde), a non-profit scientific association dedicated to the development of Health Informatics and Digital Health in Brazil. The editorial process is conducted with scientific independence, free from institutional, commercial, or sponsor interference, and follows international best practices in publication ethics.

                  This article was double-blind peer reviewed by specialists in the field. The editorial team used artificial intelligence tools, under human supervision, in the initial screening, in checking the text, references and numbers and, when needed, in redrawing figures, charts and tables, which the authors approved in the proof. The tools and safeguards are described in the journal's Policy on the use of artificial intelligence. Editorial decisions were made by people.

                  https://doi.org/10.59681/2175-4411.v18.iEspecial.2026.18329
                  de Macedo JMA et al.
                  J Health Inform. 2026;18:e1832
                  https://doi.org/10.59681/2175-4411.v18.iEspecial.2026.1832
                  Artigo completo
                  CBIS 2026

                  Deep learning-based web application for automated counting of Aedes aegypti eggs in ovitraps

                  Aplicação web baseada em aprendizado profundo para contagem automatizada de ovos de Aedes aegypti em ovitrampas
                  João Marcelo Almeida de Macedo1iD, Yan Matheus Santa Brigida de Aguiar2iD, João Paulo Fernandes da Silva3iD, Marcos Takashi Obara4iD, Rogério Luiz Araújo Carminé5iD, Jonas Lotufo Brant6iD, Vinicius de Carvalho Rispoli1iD
                  1 PPG em Engenharia Biomédica, UnB, Brasília (DF), Brasil.
                  2 Engenharia de Software, UnB, Brasília (DF), Brasil.
                  3 Secretaria de Tecnologia da Informação, UnB, Brasília (DF), Brasil.
                  4 PPG em Ciências e Tecnologias em Saúde, UnB, Brasília (DF), Brasil.
                  5 Dept. de Informação e Comunicação, IFAM, Manaus (AM), Brasil.
                  6 PPG em Saúde Coletiva, UnB, Brasília (DF), Brasil.

                  Article information

                  Type Artigo completo · CBIS 2026
                  Identifier e1832
                  DOI 10.59681/2175-4411.v18.iEspecial.2026.1832
                  Received 17 May 2026
                  Accepted 20 July 2026
                  Review process Double Blind Review
                  Handling editorJuliano de Souza Gaspar
                  Access Open, CC BY 4.0
                  Corresponding authorJoão Marcelo Almeida de Macedo
                  joaomacedodf@hotmail.com

                  License

                  This is an open access article published under the Creative Commons CC BY 4.0 license, which permits use, distribution, and reproduction in any medium, provided the original work is properly cited.
                  CC BY 4.0
                  Abstract
                  Objective: To present a web application based on artificial intelligence to automate the counting of Aedes aegypti eggs on filter papers and ovitrap paddles. Method: Custom datasets containing 68 filter papers and 79 Eucatex® paddles were used. The images were manually annotated in LabelMe and processed in COCO format. The Hybrid Task Cascade architecture, implemented in MMDetection, was trained using tiling and data augmentation strategies for automatic egg segmentation and counting. Results: For filter papers, the model achieved a micro F1-score above 95%, while for Eucatex® paddles it achieved an F1-score of approximately 82%, despite greater visual noise, low contrast and high egg density. Conclusion: The proposed solution reduces reliance on manual counting and offers an accessible alternative to support entomological surveillance and decision-making in the control of arboviruses.
                  Keywords: Aedes aegypti; Artificial Intelligence; Entomological Surveillance.
                  Resumo
                  Objetivo: Apresentar uma aplicação web baseada em inteligência artificial para automatizar a contagem de ovos da espécie Aedes aegypti em papéis-filtro e palhetas de ovitrampas. Método: Foram utilizados conjuntos autorais com 68 papéis-filtro e 79 palhetas de Eucatex®, anotados manualmente no LabelMe e processados em formato COCO. A arquitetura Hybrid Task Cascade, implementada na MMDetection, foi treinada com estratégias de tiling e aumento de dados para segmentação e contagem automática dos ovos. Resultados: Nos papéis-filtro, o modelo alcançou F1 micro acima de 95%, enquanto nas palhetas de Eucatex® obteve F1 em torno de 82%, mesmo diante de maior ruído visual, baixo contraste e alta densidade de ovos. Conclusão: A solução proposta reduz a dependência da contagem manual e oferece uma alternativa acessível para apoiar a vigilância entomológica e a tomada de decisão no controle das arboviroses.
                  Descritores: Aedes aegypti; Inteligência Artificial; Vigilância Entomológica.

                  Paper presented at the 21st Brazilian Congress of Health Informatics (CBIS 2026), held from September 23 to 25, 2026, in Brasília (DF), Brazil, and published in the CBIS 2026 section of the Journal of Health Informatics.

                  HOW TO CITE THIS ARTICLE: de Macedo JMA, de Aguiar YMSB, da Silva JPF, Obara MT, Carminé RLA, Brant JL, et al. Deep learning-based web application for automated counting of Aedes aegypti eggs in ovitraps. J Health Inform 2026;18:e1832. doi: https://doi.org/10.59681/2175-4411.v18.iEspecial.2026.1832

                  1 Introduction

                  Dengue has become one of the leading arboviruses in terms of morbidity and socioeconomic impact, affecting millions of people annually in tropical and subtropical regions [1]. Factors such as disorderly urbanization, inadequate sanitation, increased population movement and climate change favor the proliferation of Aedes aegypti, the primary vector of dengue, zika and chikungunya [1,2]. In Brazil, the epidemiological situation has become especially critical in recent years, with approximately 6.45 million notified cases in 2024 and sustained high transmission in 2025, reinforcing the need for more agile and sensitive surveillance strategies [3-5].

                  Among the strategies used for vector monitoring, ovitraps stand out for their sensitivity, low cost and ability to detect the presence of the mosquito even in areas with low population density [6]. These traps use containers with water and suitable surfaces for egg deposition, such as wooden agglomerated paddles (Eucatex®) or filter papers, making it possible to identify areas with the highest infestation rates, guide control strategies and monitor the effectiveness of the measures implemented. In addition, ovitraps are recommended for the entomological monitoring of new technologies for controlling the Ae. aegypti mosquito, such as Larvicide Disseminating Stations (LDS), mosquitoes with Wolbachia and irradiated sterile mosquitoes, as recommended by the Brazilian Ministry of Health [6]. However, although ovitrap collection is an established entomological surveillance tool, the subsequent sample analysis step still represents a substantial operational bottleneck.

                  Currently, egg counting is frequently performed manually, requiring specialized technicians to use microscopes or magnifying glasses to identify tiny structures with dimensions on the order of hundreds of micrometers and an approximate area of 0.065 mm² [7]. It is estimated that analyzing a single paddle requires approximately 15 minutes of concentrated human effort [7]. In municipal-scale monitoring networks, where hundreds or thousands of traps may be collected periodically, this process becomes time-consuming, costly and susceptible to inter-rater variability. Furthermore, visual fatigue, the presence of debris, fungi and noise in the samples can hinder egg identification and compromise the standardization of counting [7,8].

                  In recent years, digital technologies have been incorporated into dengue surveillance and control efforts, particularly to improve recording, mapping and response to vector breeding sites. Initiatives such as Conta Ovos/Mosqlimate, AeTrapp and UDI Sem Dengue illustrate this trend by exploring, respectively, georeferenced ovitrap registration, collaborative mapping and reporting of potential breeding sites to support entomological surveillance [9-11]. These tools expand data collection, organization and visualization capabilities, but primarily address information management, without fully resolving the bottleneck of visual analysis and automated egg counting.

                  In this context, deep learning-based computer vision methods become particularly relevant, as they enable detection, segmentation and counting of small objects in digital images. Convolutional neural networks have been widely applied to object detection and instance segmentation tasks, forming the basis of several advanced image processing models [12]. In the literature, solutions have already been proposed for automated counting of Aedes aegypti eggs using low-cost equipment [13], as well as on filter papers using the Mask R-CNN architecture for automatic segmentation and counting in images digitized with common equipment [14,15]. Recent solutions, such as Col-Ovo, further reinforce this trend by applying artificial intelligence to smartphone-captured images to perform rapid counts under field conditions, with high agreement with expert counts [7].

                  The present work contributes to this line of innovation by integrating computer vision and artificial intelligence models into the Contador de Ovos web application (https://contaovos.sisvetor.sds.unb.br) aimed at automatic counting of Aedes aegypti eggs in images of filter papers and ovitrap paddles. The proposal combines simplified image acquisition, automatic processing and presentation of results to the user, reducing dependence on specialized manual procedures. Thus, this work aims to present and evaluate an artificial intelligence-based web application to support entomological dengue surveillance through automated egg counting, offering an accessible, fast and potentially scalable alternative to support epidemiological decision-making.

                  2 Web Application

                  The development of the Contador de Ovos web application (https://contaovos.sisvetor.sds.unb.br) resulted in a technological solution capable of automating egg counting from filter papers and ovitrap paddles (Figure 1), directly addressing the need to reduce manual counting time and to minimize the user learning curve and reduce operational errors in the field and in the laboratory, allowing the user to capture or upload a photo of the trap and receive the automatic egg count within seconds (Figure 2).

                  Figure 2. Operational flow of the Contador de Ovos web application. From left to right: page for uploading the image of a paddle or filter paper, processing of the uploaded image, presentation of the egg count and identification of the ovitrap location.
                  Source: Prepared by the authors (2026).
                  Figure 1. Examples of the dataset images. On the left: filter paper; on the right: ovitrap paddle. The small black dots visible on both images are Aedes aegypti eggs.
                  Source: Prepared by the authors (2026).

                  2.1 Operation

                  The operation of the web application comprises the following steps:

                  1. User submits a photo of the filter paper or paddle containing mosquito eggs and requests the egg count;
                  2. The application verifies whether the format and size are appropriate;
                  3. The photo is pre-processed;
                  4. The artificial intelligence model identifies and counts the eggs;
                  5. The user receives the total count and an annotated version of the image, indicating the detected eggs and the confidence level for each one.

                  2.1 Solution Architecture and Technologies

                  The solution architecture integrates computer vision and artificial intelligence modules, a web application and a database for image processing. The solution was built using a client-server model, aiming to facilitate the scalability and maintenance of the system, and includes the following components:

                  • Frontend: Developed on the Web platform using the React framework to operate as a Single Page Application. The interface prioritizes accessibility, using WAI-ARIA attributes for screen readers and an interactive tutorial for new users.
                  • Backend: A Node.js Web Service API manages RESTful requests and business logic, while the image processing and inference module runs within the artificial intelligence component.
                  • Artificial Intelligence: The Hybrid Task Cascade (HTC) model from the MMDetection library, trained on images of filter papers and ovitrap paddles, performs the image analysis.
                  • Database: Data persistence is handled by a PostgreSQL relational database. The data structure organizes information into entities such as Traps, Counts and Registered Users.

                  The flow begins when the user submits an image for analysis, which is sent to the API. The backend then executes a processing pipeline comprising pre-processing, inference by the artificial intelligence model and post-processing of detections. The API returns results to the frontend in JSON (JavaScript Object Notation) format, including the total count and annotated images in base64, along with detection coordinates and confidence levels. To save or download the processed image, the analysis must be registered with an associated location, defined manually or obtained automatically through the device’s GPS coordinates.

                  3 Methods

                  The method was organized into five main steps: dataset construction, image annotation, tiling-based pre-processing and data augmentation, training of artificial intelligence models and quantitative evaluation of results.

                  The dataset was built by the authors and comprised annotated images of filter papers and ovitrap paddles. Filter papers were provided by the Sala de Situação de Saúde of Faculdade de Ciências da Saúde at Universidade de Brasília, while ovitrap paddles were supplied by the Secretaria de Estado de Saúde of Distrito Federal. In total, the dataset included 68 filter papers (58 for training, 10 for validation) and 79 wooden paddles (71 for training, 8 for validation). Filter papers were scanned at 1,200 dpi using an EPSON L3250 multifunction printer, while ovitrap paddles were photographed using an iPhone 16 Pro smartphone in the standard automatic mode, with the macro camera automatically activated due to the short shooting distance. For ovitrap paddle image capture, Ulanzi i-Light sources were positioned laterally to provide more uniform illumination during acquisition.

                  Annotations were performed manually by the authors using LabelMe software [16], by drawing polygons around each visible egg. The annotations were then converted to COCO format, widely used in object detection and instance segmentation tasks. In total, 10,605 annotations were made on ovitrap paddle images and 1,744 on filter paper images. Although the number of annotations was higher for ovitrap paddles, both sets present quite distinct visual characteristics: filter papers presented more uniform illumination and greater contrast between the white background and the dark eggs, whereas ovitrap paddles presented a fibrous background, lower foreground-background contrast, high egg density, focal variations due to smartphone acquisition and greater visual noise.

                  Given the visual complexity of the ovitrap paddles and the need to segment small objects, the architecture chosen for the task was HTC. This architecture combines elements of Mask R-CNN, used in instance segmentation tasks, with the progressive refinement of Cascade R-CNN, where successive stages make detection increasingly demanding through growing intersection-over-union (IoU) thresholds. In addition, HTC incorporates a parallel semantic branch responsible for providing background contextual information to the refinement stages. This combination makes the architecture suitable for scenarios with small objects, high instance density and visually complex backgrounds.

                  The implementation was carried out using the MMDetection library, keeping most of the original architecture parameters and modifying only specific hyperparameters for each image type. Both models used a ResNet50 backbone, AdamW optimizer, learning rate of 5×10−5, Cosine Annealing scheduler and 60 training epochs. For ovitrap paddles, anchor sizes of [⁠2, 4, 8], images of 1000×1000 pixels, batch size of 2 and gradient accumulation of 4 were used. For filter papers, anchor sizes of [⁠1, 2, 4], images of 720×720 pixels, batch size of 8 and gradient accumulation of 1 were used. Smaller anchors were necessary due to the reduced size of the eggs, since detection architectures are frequently optimized for medium- and large-sized objects, whereas this work deals with objects of an approximate maximum area of 78 pixels.

                  To preserve visual information about the eggs and reduce GPU memory consumption, tiling was employed, in which original images were divided into smaller sub-regions. This strategy avoids the detail loss caused by simply downscaling the entire image, particularly given the small size of the eggs and the importance of preserving their spatial definition. After tiling, the dataset expanded to 1,892 sub-images for filter papers and 694 sub-images for ovitrap paddles. In the filter paper set, a balance between sub-images with and without eggs was sought, to prevent the network from being biased by an excess of negative examples, given the sparser nature of this image type.

                  To increase training set diversity and reduce the risk of overfitting, offline and online data augmentation techniques were applied. Offline augmentations were materialized as new images in the dataset and included horizontal flipping, vertical flipping, rotation, shifting, scaling, brightness and contrast changes, hue, saturation and value modifications, gamma adjustment and contrast-limited adaptive histogram equalization (CLAHE). After this process, the expanded dataset comprised 2,645 images for filter papers and 1,842 images for paddles. Additionally, during training, online augmentations consisting of horizontal and vertical flips, random cropping and multi-scale transformations were applied to continue providing variations to the network at each epoch and reduce memorization of training set patterns.

                  Model evaluation was performed using precision, recall, F1-score and mean average precision metrics. Precision was defined as Pr = VP/(VP + FP), sensitivity as S = VP/(VP + FN) and F1-score as F1 = 2PrS/(Pr + S), where VP represents true positives, FP the false positives and FN false negatives. Mean average precision was used to evaluate model performance along the precision-recall curve, considering the detection thresholds adopted for the task. The mean IoU of the masks displays the average percentage of intersection between the actual annotations and the machine’s predictions with respect to the masks. In the reported results, metrics were calculated considering matches between predictions and ground truth annotations with IoU greater than 0.5.

                  Model training was performed on the Google Colab platform, using an L4 Tensor Core GPU with 24 GB of GPU memory and 64 GB of system RAM. Training time ranged from 14 to 16 hours for experiments with resized images and approximately 6 hours for tiling-based experiments.

                  4 Results And Discussion

                  The evaluation metric results for the ovitrap paddles are presented in Table 1, where the results show that tiling resolution influenced model performance, especially recall and F1-score. The distinction between micro and macro metrics lies in their calculation method: in micro calculation, all egg instances across the entire validation set are used, whereas in macro calculation, an average of the per-image metrics is computed over the full set. Therefore, the micro calculation reflects the network’s behavior in detecting the object of study, while the macro calculation shows how it performs per image, given that some images may have a more complex inference than others.

                  In contrast, Table 2 shows the results for filter papers. As expected, ovitrap paddles yielded lower metric results than filter papers. Thus, for comparison purposes, a new Roboflow model called RF-DETR [17] was tested. RF-DETR is a recent DETR-style architecture for real-time object detection, using transformer-based components [18] and pretrained visual backbones. It has been reported to achieve competitive results on COCO-style detection benchmarks. Table 3 compares the best HTC configuration with two RF-DETR models using standard configurations.

                  As seen in Table 1, tiling consistently maintained performance at levels superior to simple full-image resizing, particularly in recall and F1 metrics. Although the configuration without tiling achieved the highest micro precision (0.8138), its recall was substantially lower (0.5102), resulting in a substantial drop in F1-score (0.6272). Among tiling configurations, the 1000×1000 pixels resolution achieved the best micro F1-score (0.8196), while the 720×720 pixels resolution obtained the highest micro mean average precision (0.8049). In macro calculation, the 840×840 pixels resolution yielded the best mean F1 (0.8225), suggesting greater balance between overall and per-image performance.

                  Table 2 presents the results for filter papers. In this set, metrics were consistently higher than those obtained for ovitrap paddles, which is consistent with the more favorable visual characteristics of the material: light background, uniform illumination, greater contrast between eggs and background and lower structural complexity. The 720×720 pixels resolution achieved the best overall performance, with micro precision of 0.9302, micro recall of 0.9804, micro F1-score of 0.9547 and micro mean average precision of 0.9717. These results indicate that the model was capable of performing egg segmentation and counting with high robustness on this type of substrate. It was also noted that the HTC semantic stage became saturated and redundant information introduced a slight detriment to the network, contributing to overfitting by memorizing certain patterns instead of others.

                  In comparison with our previous results [15], an important improvement in performance for filter papers is observed. In that study, the initial evaluation with 70 training images yielded a mean F1 of 0.8011 in pixel-by-pixel analysis, while the subsequent count-based evaluation with spatial accuracy, considering IoU ≥ 0.3, reached an F1 of ≥ 0.8359 [15]. In the present work, the best result for filter papers achieved a micro F1-score of 0.9547 and micro mean average precision of 0.9717, considering matches with IoU > 0.5. Although precision, recall and F1 are common metrics to both studies, the evaluation protocols differ in terms of analysis unit and IoU threshold, so the comparison should be interpreted as indicative of methodological progress rather than direct equivalence.

                  From Table 3, it can be seen that the model relying solely on object detection outperformed the HTC architecture by 0.0089 in F1-score. Because the largest segmentation-capable RF-DETR configuration exceeded the available GPU memory, only the smaller segmentation model RF-DETR-Seg (Large) was used for comparison. This segmentation model provided a slightly worse result than HTC predictions. This indicates that the HTC architecture achieves equivalent results to even more recent and capable state-of-the-art models for this problem, while being computationally lightweight.

                  Table 1. Final metrics for wooden paddles (IoU > 0.5). Bold values indicate the best performance per row.
                  MetricResolution
                  512×512720×720840×8401000×10001333×13331333×1333 without tiling
                  MicroPrecision0.75930.76080.80120.78640.79520.8138
                  Recall0.86740.86910.83730.85590.82760.5102
                  F1 Score0.80970.81140.81880.81960.81110.6272
                  Mean Average Precision (mAP)0.79450.80490.78010.79030.77150.4706
                  Mask’s mean IoU0.77380.75550.76700.75810.76840.5496
                  MacroMean Precision0.76810.79130.81930.81030.80730.8031
                  Mean Recall0.87310.85290.83060.84390.84150.5942
                  Mean F1 Score0.81510.81540.82250.81860.82130.6685
                  Mask’s mean IoU0.77010.75690.76740.76010.76370.5483
                  Source: Prepared by the authors (2026).
                  Table 2. Final metrics obtained for filter papers (IoU > 0.5). Bold values indicate the best performance per row.
                  MetricResolution
                  720×720840×840640×640
                  MicroPrecision0.93020.93010.9169
                  Recall0.98040.98010.9771
                  F1 Score0.95470.95440.9443
                  Mean Average Precision (mAP)0.97170.97170.9714
                  Mask’s mean IoU0.85130.84980.8399
                  MacroMean Precision0.90510.90510.9039
                  Mean Recall0.98860.98840.9878
                  Mean F1 Score0.93850.93830.9311
                  Mask’s mean IoU0.85320.85300.8529
                  Source: Prepared by the authors (2026).

                  These results suggest that, with the current dataset size and image acquisition conditions, performance on ovitrap paddles may be approaching a practical ceiling, because of the material-related imperfections, lower effective spatial resolution, variable focus and more complex background of smartphone-acquired paddle images compared with high-resolution scanned filter paper images. These can impact the quality of the training of state-of-the-art networks specialized for this task. We also understand that the most straightforward ways to increase the evaluation metrics would be expanding the set of images and the analysis/study of egg-enhancement pre-processing before training, which is reserved for future work.

                  Compared with recent literature on automated Aedes egg counting, our model achieved a micro-averaged F1-score of 0.9547 on filter papers, exceeding the 0.91 and 0.90 reported by EggCountAI [19] for microscopic and macroscopic images, respectively, and the 0.80 reported by Col-Ovo [7] for smartphone images of nonwoven oviposition substrates collected under field conditions. However, these comparisons must account for differences in substrates and acquisition conditions, since our images were scanned at 1,200 dpi under uniform illumination and high contrast. For ovitrap paddles, the mean F1-score of 0.8225 was lower than the 0.9465 reported by Sobral [20], whose study used 1,195 microscope-acquired images, compared with 79 smartphone photographs in our dataset. Direct comparison with Freitas [21] is limited because that study reported counting errors rather than F1. Nevertheless, both studies demonstrate the feasibility of low-cost smartphone-based acquisition, while our work emphasizes individual egg localization and segmentation and Freitas focuses on total-count calibration and operational validation.

                  Table 3. Comparison between HTC and RF-DETR with and without segmentation (wooden paddles). Bold values indicate the best performance per row.
                  MetricArchitecture
                  HTC (1000×1000)RF-DETR (2Xlarge)RF-DETR-Seg (Large)
                  MicroPrecision0.78640.83040.8023
                  Recall0.85590.82670.8002
                  F1 Score0.81960.82850.8012
                  Mean Average Precision (mAP)0.79030.77360.7408
                  Mask’s mean IoU0.7581-0.7722
                  MacroMean Precision0.81030.84890.8230
                  Mean Recall0.84390.83930.7970
                  Mean F1 Score0.81860.84210.8072
                  Mask’s mean IoU0.7601-0.7703
                  Source: Prepared by the authors (2026).

                  Finally, it is important to point out some limitations of this study. First, the number of original images was limited, especially considering the visual variability expected in field conditions. Second, the evaluation was performed on images acquired under controlled or semi-controlled conditions, and external validation with images collected by different users, devices and lighting conditions is still required. Third, although the system provides automatic counts, its agreement with routine manual counting by multiple experts was not evaluated in an operational setting.

                  5 Conclusions

                  In this work, an alternative to manual counting of Ae. aegypti eggs was presented through an artificial intelligence-based web application designed to analyze images of filter papers and ovitrap paddles. The proposed solution integrates computer vision modules, a web application and a database, allowing users to submit an image and automatically receive the estimated egg count, together with an annotated version of the analyzed image. Thus, the system aims to reduce reliance on time-consuming manual procedures and to improve the accessibility of entomological surveillance tools.

                  The results indicate high performance for filter papers, with a micro F1-score above 95%, demonstrating the robustness of the approach in images with higher contrast, uniform illumination and lower visual complexity. For ovitrap paddles, an F1-score of approximately 82% was observed. Although lower than the performance obtained for filter papers, this result remains promising considering the fibrous background, low contrast, high egg density, focus variations and greater visual noise associated with smartphone acquisition. These findings suggest that automated egg counting may be feasible even under more challenging imaging conditions.

                  Compared with more recent detection architectures, the RF-DETR model without segmentation showed slightly higher F1 performance than HTC for ovitrap paddles, with a difference of 0.0089. However, HTC maintained competitive performance while also providing instance segmentation, which is relevant for visualizing detected eggs and supporting user interpretation of the results. Therefore, the choice of architecture should consider not only detection metrics, but also the balance among performance, computational cost, segmentation capability and ease of integration into the application.

                  As future work, the image dataset should be expanded, especially for ovitrap paddles, to increase visual variability and improve model generalization. The replacement or complementation of the HTC-based detector with more recent state-of-the-art detectors available, like RF-DETR, should also be evaluated, particularly models designed for efficient detection of small objects in complex images. In addition, future versions of the application should include field validation with real users, response time analysis in operational environments, direct comparison with expert manual counts, automated integration of egg density indices, egg trap positivity and vector density indicators, as well as interface refinement for use by health agents and epidemiological surveillance teams.

                  Author contributions. The authors contributed equally to all stages of the article: conception and design of the study; data collection, analysis, and interpretation; drafting and critical revision of the manuscript; and approval of the final version.
                  Funding. The authors did not declare any source of funding.
                  Data and materials availability. The authors did not provide a data and materials availability statement.
                  Conflicts of interest. The authors did not declare any conflicts of interest.
                  Use of artificial intelligence. The ChatGPT tool, by OpenAI, was used exclusively to support the translation from Portuguese to English. The scientific content, results, interpretations and intellectual responsibility remain the responsibility of the authors.

                  References

                  1. Almeida MGCS, Santos EC, Nascimento Junior LWS, Cruz JL, Castro MS, Santos FS. Perfil epidemiológico dos flavivírus Zika e Dengue na região Norte do Brasil no período entre 2017 a 2021. Acervo Saúde. 2023;23(7):e12694. doi: https://doi.org/10.25248/reas.e12694.2023
                  2. Regis LN, Acioli RV, Silveira JC, Melo-Santos MA, Souza WV, Ribeiro CM, et al. Sustained reduction of the dengue vector population resulting from an integrated control strategy applied in two Brazilian cities. PLoS One. 2013;8(7):e67682. doi: https://doi.org/10.1371/journal.pone.0067682
                  3. dos Reis CC, Almeida GT, Silva LF, Leite BCC, Araujo ACRA, dos Santos DA, et al. Epidemiologia dos casos notificados de dengue no Brasil de 2015 a 2024. In: Tópicos em Saúde Coletiva no Brasil - Volume 1. [place unknown]: Seven Editora; 2025. doi: https://doi.org/10.56238/livrosindi202516-004
                  4. Elito A, Bená TC, Reis MCS, Roman BCM, Veiga LI, Vedovato MLB, et al. Casos de Dengue em crianças no Vale do Paraíba: Uma análise epidemiológica. RSD. 2025;14(10):e87141049682. doi: https://doi.org/10.33448/rsd-v14i10.49682
                  5. Nascimento VCS, Lima ICSB, Dias JVB, Souza JF, Silva MR. Análise epidemiológica da dengue e impactos da vacina Qdenga® no Brasil no período de 2022 a 2025. Revft. 2025;29(153):37-8. doi: https://doi.org/10.69849/revistaft/pa10202512071737
                  6. Brasil. Ministério da Saúde. Secretaria de Vigilância em Saúde. Departamento de Doenças Transmissíveis. Coordenação-Geral de Vigilância de Arboviroses. Diretrizes nacionais para prevenção e controle das arboviroses urbanas: vigilância entomológica e controle vetorial [Internet]. Brasília: Ministério da Saúde; 2025 [cited 2026 Oct 18]. 190 p. Available from: http://bvsms.saude.gov.br/bvs/publicacoes/diretrizes_nacionais_arboviroses_urbanas.pdf
                  7. Almanza J, Montenegro D. Col-Ovo: Smartphone-based artificial intelligence for rapid counting of Aedes mosquito eggs under field conditions. bioRxiv [Preprint]. 2026. doi: https://doi.org/10.64898/2026.03.19.712860
                  8. Eiras AE, Resende MC, Acebal JL, Paixão KS. New Cost-Benefit of Brazilian Technology for Vector Surveillance Using Trapping System. In: Malaria. [place unknown]: IntechOpen; 2019. doi: https://doi.org/10.5772/intechopen.78781
                  9. Ganem, F., Vacaro, L. B., Araújo, E. C., Alves, L. D., Bastos, L. S., Carvalho, L. M., Almeida, I. F. de, Sá, A. M. e, & Coelho, F. C. (2024). Mosqlimate: a platform to providing automatable access to data and forecasting models for arbovirus disease. arXiv (Cornell University). https://doi.org/10.48550/arxiv.2410.18945
                  10. Sistema de Informação sobre a Biodiversidade Brasileira. AeTrapp [Internet]. Brasília: SiBBr [cited 2026 Oct 18]. Available from: https://sibbr.gov.br/cienciacidada/aetrapp.html
                  11. Prefeitura Municipal de Uberlândia. UDI sem Dengue [Internet]. Uberlândia: Prefeitura Municipal de Uberlândia. Disponível em: https://www.uberlandia.mg.gov.br/udi-sem-dengue/
                  12. Chollet F. Deep learning with Python. 1st ed. Manning Publications; 2018.
                  13. Silva LMS, Silva LL, Barros V, Araujo FHD. Contagem de ovos do Aedes Aegypti em palhetas de ovitrampas baseada em Deep Learning. In: Anais do XIV Encontro Unificado de Computação do Piauí (ENUCOMPI 2021). [place unknown]: Sociedade Brasileira de Computação; 2021. p. 128-35. doi: https://doi.org/10.5753/enucompi.2021.17763
                  14. Girshick R, Donahue J, Darrell T, Malik J. Rich Feature Hierarchies for Accurate Object Detection and Semantic Segmentation. In: 2014 IEEE Conference on Computer Vision and Pattern Recognition. [place unknown]: IEEE; 2014. p. 580-7. doi: https://doi.org/10.1109/cvpr.2014.81
                  15. Macedo JMA, Rispoli VC, Brant JL. Contagem automatizada de ovos de Aedes aegypti em papéis-filtro utilizando aprendizado profundo. R. Mundi Eng., Tec. Ges. 2025;10(4). doi: https://doi.org/10.21575/25254782rmetg2025vol10n42458
                  16. Russell BC, Torralba A, Murphy KP, Freeman WT. LabelMe: A Database and Web-Based Tool for Image Annotation. Int J Comput Vis. 2008;77(1-3):157-73. doi: https://doi.org/10.1007/s11263-007-0090-8
                  17. Zhao Y, Lv W, Xu S, Wei J, Wang G, Dang Q, et al. DETRs Beat YOLOs on Real-time Object Detection. In: 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). [place unknown]: IEEE; 2024. p. 16965-74. doi: https://doi.org/10.1109/cvpr52733.2024.01605
                  18. Oquab M, Darcet T, Moutakanni T, Vo HV, Szafraniec M, Khalidov V, et al. DINOv2: learning robust visual features without supervision. arXiv [Preprint]. 2023. doi:10.48550/arXiv.2304.07193.
                  19. Javed N, López-Denman AJ, Paradkar PN, Bhatti A. EggCountAI: a convolutional neural network-based software for counting of Aedes aegypti mosquito eggs. Parasit Vectors. 2023;16(1):341. doi: https://doi.org/10.1186/s13071-023-05956-1
                  20. Sobral AAB. Contagem automática de ovos de mosquitos Aedes em ovitrampas com visão computacional baseada em aprendizado de máquina [Trabalho de Conclusão de Curso]. Recife: Instituto Federal de Educação, Ciência e Tecnologia de Pernambuco; 2025.
                  21. Freitas AS. Uma metodologia de contagem automática de ovos de Aedes aegypti a partir de imagens obtidas por smartphone [Dissertação]. Recife: Universidade Federal de Pernambuco; 2025.

                  Editorial notes

                  The Journal of Health Informatics is a scientific journal maintained by the Brazilian Society of Health Informatics (Sociedade Brasileira de Informática em Saúde), a non-profit scientific association dedicated to the development of Health Informatics and Digital Health in Brazil. The editorial process is conducted with scientific independence, free from institutional, commercial, or sponsor interference, and follows international best practices in publication ethics.

                  This article was double-blind peer reviewed by specialists in the field. The editorial team used artificial intelligence tools, under human supervision, in the initial screening, in checking the text, references and numbers and, when needed, in redrawing figures, charts and tables, which the authors approved in the proof. The tools and safeguards are described in the journal's Policy on the use of artificial intelligence. Editorial decisions were made by people.