🦷

RMS-ORAL

Spatial AI Oral Health Intelligence Platform

🔬 Research Edition v3.0
AI System Online
🧠 Multi-Model Ensemble
◉ OPG AI Detection
📸

Upload Oral Image for Analysis

Supports JPG, PNG, BMP — Max 10MB

🔄 Analyzing image structure...
Running spatial multi-model evaluation

{% if error %}
⚠️ Error: {{ error }}
{% endif %} {% if result %}
📊 Risk Assessment
{{ (result.risk_level|default('low')) | upper }} RISK
Risk Target Metric {{ "%.2f"|format(result.risk_score|default(0)) }}
{{ result.risk_message|default('Risk assessment completed.') }}
{% if result.explanation %}
🧠 Clinical Explanation

{{ result.explanation }}

{% endif %}
🏥 Core Metrics

Detected Elements:{{ result.clinical_terms if result.clinical_terms else 'No pathology found' }}

Lesion Groups:{{ result.lesion_count|default(0) }}

Model Variance:{{ "%.2f"|format(result.uncertainty|default(0)) }}

{% if result.recommendation %}
💡 Clinical Recommendation

{{ result.recommendation }}

{% endif %} {% if result.multi_labels %}
🏷️ Characteristics Matrix
{% for label, active in result.multi_labels.items() %} {{ label|replace('_', ' ')|title }} {{ '✓' if active else '✕' }} {% endfor %}
{% endif %}
{% if result.lesions %}
🔴 Spatial Delineated Lesions
{% for lesion in result.lesions %}
Lesion Unit #{{ loop.index }} Confidence Map: {{ "%.3f"|format(lesion.confidence|default(0)) }}

Resolution Footprint: {{ lesion.area|default(0) }} px² • Bounding Box: [{{ lesion.bbox|join(', ') if lesion.bbox else 'N/A' }}]

{% if lesion.features %}
{% if lesion.features.circularity is defined %} 🔄 Circularity: {{ "%.2f"|format(lesion.features.circularity) }} {% endif %} {% if lesion.features.white_ratio is defined %} ⬜ White Ratio: {{ "%.2f"|format(lesion.features.white_ratio) }} {% endif %} {% if lesion.features.solidity is defined %} 📐 Solidity: {{ "%.2f"|format(lesion.features.solidity) }} {% endif %}
{% endif %}
{% endfor %}
{% endif %} {% if result.differential %}
🩺 Differential Diagnostics Grid
{% for item in result.differential %}
{{ item.condition|replace('_', ' ')|title }} {{ "%.0f"|format((item.score|default(0)) * 100) }}% Correlation
💡 {{ item.recommendation|default('') }}
{% endfor %}
{% endif %} {% if result.guidelines %}
📋 Protocol Guidelines
{% for item in result.guidelines %}
Standard Guidance #{{ loop.index }} {{ item.severity|default('medium') }}

{{ item.text }}

{% endfor %}
{% endif %}
{% endif %}