Metrica_Utente_ios
Purpose
The Metrica_Utente_ios collection defines facial metrics specifically calculated on iOS devices.
Its purpose is to store measurement definitions (such as pupillary distance) based on iOS landmark indices, used for Virtual Try-On (VTO), analytics, and fitting precision.
Document schema
{
"metricDescription": "string",
"metricDescriptionEn": "string",
"metricTitle": "string",
"point1": "number",
"point2": "number"
}
Indexes
This collection does not have external indexes.
Query examples
// Fetch a metric definition for iOS
const metricRef = doc(db, "Metrica_Utente_ios", metricId);
const metricSnap = await getDoc(metricRef);
// Query by metric title (example: Pupillary Distance)
const metricByTitle = query(
collection(db, "Metrica_Utente_ios"),
where("metricTitle", "==", "DBP")
);