SmiloAI_model_v1_2-alpha.keras
Pre-releaseSmiloAI_model_v1_2.keras
Overview
SmiloAI_model_v1_2.keras is the upgraded version of SmiloAI_model_v1-alpha.h5, designed for enhanced facial and smile analysis.
This version introduces improvements in detecting tooth visibility, smile details, and early cavity signs — providing a more accurate and context-aware understanding of facial expressions.
Why We Moved from .h5 to .keras
-
Modern Format:
.kerasis now the official Keras model format, offering better reliability and compatibility with TensorFlow 2.11+ and future releases. -
Complete Model Preservation:
The new format saves not only weights but also model configuration, training parameters, and custom objects — ensuring consistent loading across environments. -
Performance Optimization:
.kerasmodels load and save faster compared to the legacy.h5format. -
Future-Proofing:
The.kerasformat ensures SmiloAI models remain stable and compatible with upcoming TensorFlow/Keras updates.
Accuracy & Detection Improvements
-
Enhanced Mouth Region Focus:
Improved fine-grain detection around the mouth area, making the model more sensitive to tooth visibility and smile structure. -
Cavity Detection:
Slightly better recognition of potential cavity patterns and tooth irregularities from image input. -
Optimized Preprocessing:
Better lighting, contrast, and color normalization during training increased robustness to real-world lighting conditions.
Performance Comparison
| Feature | v1-alpha (.h5) | v1_2 (.keras) |
|---|---|---|
| Format Type | Legacy HDF5 | Native Keras |
| Load Speed | Moderate | Faster |
| Compatibility | TensorFlow ≤2.10 | TensorFlow ≥2.11 |
| Smile/Tooth Detection | Basic | More precise |
| Cavity Detection | Limited | Improved |
| Accuracy Gain | — | +3–5% overall |
Usage
from tensorflow import keras
# Load the model
model = keras.models.load_model("SmiloAI_model_v1_2.keras")
# Make predictions
pred = model.predict(input_image)
print(pred)