cs.CVMar 11, 2026
SaveNovel Architecture of RPA In Oral Cancer Lesion Detection
Organizations: MSA University, Giza, Egypt
Abstract
Accurate and early detection of oral cancer lesions is crucial for effective diagnosis and treatment. This study evaluates two RPA implementations, OC-RPAv1 and OC-RPAv2, using a test set of 31 images. OC-RPAv1 processes one image per prediction in an average of 0.29 seconds, while OCRPAv2 employs a Singleton design pattern and batch processing, reducing prediction time to just 0.06 seconds per image. This represents a 60-100x efficiency improvement over standard RPA methods, showcasing that design patterns and batch processing can enhance scalability and reduce costs in oral cancer detection
Figures & tables
Figure 1: The OC RPA workflow illustrates two parallel pipelines that converge at the same CNN model. The first pipeline processes a single image through the CNN model, while the second applies design patterns—specifically, the Singleton and Batch Strategy patterns—to process a batch of images.
| Concept | General Definition (Nividous, 2025) | Application in This Project |
|---|---|---|
| RPA Purpose | Automates structured, rule-based processes without cognitive understanding. | UiPath Studio and Automation Anywhere automate the inference workflow—loading medical images, executing the trained CNN model, and logging prediction time. |
| AI Purpose | Mimics human intelligence through learning and decision-making from data. | The EfficientNetV2-B1 CNN model performs image-based oral cancer detection by learning visual patterns from training data. |
| Integration Point | RPA orchestrates process flow, while AI provides decision logic. | RPA platforms execute automation pipelines, while the CNN provides intelligent classification. Together, they form an Intelligent Automation (IA) system. |
| Task Nature | RPA: deterministic workflows; AI: analytical and adaptive reasoning. | RPA automates structured steps (e.g., file handling, interface control), while AI handles complex visual recognition and classification. |
| Error Handling | RPA is limited to predefined conditions and structured input. | RPA alone cannot interpret medical images; the AI model ensures robust predictions even with visual variability. |
| Performance Focus | RPA optimizes speed and consistency; AI optimizes accuracy and adaptability. | The project measures prediction time across Python, UiPath, and Automation Anywhere, balancing efficiency (RPA) and intelligence (AI). |
Table 1: Mapping of RPA and AI Concepts to the Proposed Oral Cancer Detection Workflow
Figure 2: Sample images from the dataset, showing different oral cancer lesion types (from , [ 11 ] ).
| Metric | UiPath | Automation Anywhere | OC-RPA_V1 | OC-RPA_V2 |
|---|---|---|---|---|
| Folder Time (31 Images) | 80 s | 75 s | 8.65 s | 1.96 s |
| Avg Time per Image | 2.58 s | 2.42 s | 0.28 s | 0.06 s |
Table 2: Execution time comparison among RPA and optimized Python-based implementations for oral cancer lesion prediction.
Figure 3: Accessibility–Performance trade-off among UiPath, Automation Anywhere, OC-RPA v1, and OC-RPA v2. Dashed line denotes the Pareto frontier of optimal configurations.