Skip to content

SmiloAI_model_v1_2-alpha.keras

Pre-release
Pre-release

Choose a tag to compare

@nimo94 nimo94 released this 05 Nov 01:56
· 20 commits to main since this release
bc07525

SmiloAI_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

  1. Modern Format:
    .keras is now the official Keras model format, offering better reliability and compatibility with TensorFlow 2.11+ and future releases.

  2. Complete Model Preservation:
    The new format saves not only weights but also model configuration, training parameters, and custom objects — ensuring consistent loading across environments.

  3. Performance Optimization:
    .keras models load and save faster compared to the legacy .h5 format.

  4. Future-Proofing:
    The .keras format 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)