M4 handover: coordinate fixes, detector registry, deploy v2, YOLOv8s, identity lifecycle
- Fix swift_pose/swift_ocr Y-flip bugs (BUG-003~006) - Add heuristic_scene module + post-processing trigger (replaces Places365) - YOLOv5nu → YOLOv8s CoreML (+33% detections, +390% scene indicators) - Per-table SQL export (split 4.7GB single file → 478MB max per table) - Version/build check in deploy.sh (compare /health vs file_info.json) - Add file_uuid column to identities table + backfill - Identity pre-clean step in deploy (avoids UNIQUE conflicts on re-deploy) - Stranger_xxx naming fix with UUID context - Add DETECTOR_REGISTRY.md (25 detectors), DETECTOR_SELECTION_SOP.md - Update SPATIAL_COORDINATE_REGISTRY.md (P layer, 6-layer architecture) - New IDENTITY_LIFECYCLE.md - M4 response docs for deploy_script_fix and 111614 test report
This commit is contained in:
@@ -34,9 +34,21 @@ pub struct PersonIdentity {
|
||||
pub struct Identity {
|
||||
pub id: i32,
|
||||
pub name: String,
|
||||
pub embedding: Option<String>, // Vector embedding stored as text/json
|
||||
pub embedding: Option<String>,
|
||||
pub metadata: Option<serde_json::Value>,
|
||||
pub created_at: DateTime<Utc>,
|
||||
pub uuid: Option<uuid::Uuid>,
|
||||
pub identity_type: Option<String>,
|
||||
pub source: Option<String>,
|
||||
pub status: Option<String>,
|
||||
pub face_embedding: Option<Vec<f32>>,
|
||||
pub voice_embedding: Option<Vec<f32>>,
|
||||
pub identity_embedding: Option<Vec<f32>>,
|
||||
pub reference_data: Option<serde_json::Value>,
|
||||
pub tmdb_id: Option<i32>,
|
||||
pub tmdb_profile: Option<String>,
|
||||
pub tmdb_poster: Option<String>,
|
||||
pub file_uuid: Option<String>,
|
||||
}
|
||||
|
||||
/// 身份綁定記錄 (Identity Binding)
|
||||
|
||||
Reference in New Issue
Block a user