-
Notifications
You must be signed in to change notification settings - Fork 1
content_image_processor
Stand: 5. Dezember 2025
Version: 1.0.0
Kategorie: Content
Dieses Dokument beschreibt die Architektur und Testspezifikation für den Bildverarbeitungsprozessor innerhalb des Content/Filesystem-Layers.
- Einheitliche Verarbeitung von Image-Content (JPEG/PNG) über das Processor-Plugin-Modell
- Extraktion von EXIF/Meta (Dimensionen, GPS, Kamera), Thumbnail-Erzeugung
- Chunking als 3x3 Tile-Grid für lokale Features
- Mock-Embedding (768D) kompatibel zum bestehenden Vector-Index (Cosine)
- extract(blob, content_type: image/*) → ExtractionResult
- fields:
- width, height (px)
- exif: { camera_make, camera_model, focal_length, iso, datetime_original?, gps_lat?, gps_lon? }
- mime_type
- thumbnail (optional, z. B. 256px Kante, JPEG/PNG)
- fields:
- chunk(extraction, cfg: { grid: 3x3, overlap_px?: 0 }) → [Chunk]
- Jeder Chunk repräsentiert ein Tile (row, col, bbox_px)
- payload: { tile_bbox: {x,y,w,h}, stats: { mean_rgb, std_rgb } }
- generateEmbedding(chunk_payload) → float[768]
- Mock-CLIP: deterministische Hash-Verteilung über Pixel-Statistiken + Position
- L2-normalisiert
- content: → Meta (mime_type,image meta, exif, dims)
- content_blob: → Originalbild (binary)
- content_thumbnail: → Thumbnail (binary)
- content_chunks: → [chunk_ids]
- chunk:<chunk_id> → { parent_id, row, col, bbox_px, stats, embedding_ref }
- Hinweis: Vector-Index unter Namespace "chunks" (dim=768, COSINE)
- Grid 3x3 über (width,height)
- bbox_px Berechnung: floor/ceil so verteilen, dass alle Pixel abgedeckt sind
- stats: mean/std RGB (grob, optional proxy aus Thumbnail/Downscale)
- Input: { mean_rgb, std_rgb, row, col, width, height }
- Hash-basierte Projektion mit 3 Seeds → 768D; leichte Positionskodierung
- L2-Normalisierung (Cosine-kompatibel)
- Felder:
- Dimensionen: width/height
- Kamera: make/model
- Aufnahme: datetime_original, iso, focal_length
- GPS: gps_lat, gps_lon (falls vorhanden)
- Fehlertoleranz: fehlende EXIF zulässig; gps optional
1-3) extract: liest width/height korrekt (JPEG/PNG Samples) 4) extract: fehlende EXIF → Felder optional 5) extract: GPS parsing korrekt 6-10) chunk: 3x3 Tiles count/bbox korrekt, Gesamtfläche abgedeckt 11-13) chunk: stats plausibel (mean in [0,1], std ≥ 0) 14-17) embedding: dimension=768, L2≈1.0, deterministisch bei idempotentem Input 18) embedding: unterschiedliche Tiles → unterschiedliche Vektoren (cosine<0.99) 19) integration: ingest → vector index init (dim 768) 20) integration: retrieval of chunks ohne Embeddings (Datenschutz/Antwortgröße)
- Farbmanagement/EXIF-Orientierung berücksichtigen (Rotation)
- Downscale-Strategie (schneller Pfad via Thumbnail)
- Erweiterung: Face/Logo-Detektion (später, extern)
ThemisDB v1.3.4 | GitHub | Documentation | Discussions | License
Last synced: January 02, 2026 | Commit: 6add659
Version: 1.3.0 | Stand: Dezember 2025
- Übersicht
- Home
- Dokumentations-Index
- Quick Reference
- Sachstandsbericht 2025
- Features
- Roadmap
- Ecosystem Overview
- Strategische Übersicht
- Geo/Relational Storage
- RocksDB Storage
- MVCC Design
- Transaktionen
- Time-Series
- Memory Tuning
- Chain of Thought Storage
- Query Engine & AQL
- AQL Syntax
- Explain & Profile
- Rekursive Pfadabfragen
- Temporale Graphen
- Zeitbereichs-Abfragen
- Semantischer Cache
- Hybrid Queries (Phase 1.5)
- AQL Hybrid Queries
- Hybrid Queries README
- Hybrid Query Benchmarks
- Subquery Quick Reference
- Subquery Implementation
- Content Pipeline
- Architektur-Details
- Ingestion
- JSON Ingestion Spec
- Enterprise Ingestion Interface
- Geo-Processor Design
- Image-Processor Design
- Hybrid Search Design
- Fulltext API
- Hybrid Fusion API
- Stemming
- Performance Tuning
- Migration Guide
- Future Work
- Pagination Benchmarks
- Enterprise README
- Scalability Features
- HTTP Client Pool
- Build Guide
- Implementation Status
- Final Report
- Integration Analysis
- Enterprise Strategy
- Verschlüsselungsstrategie
- Verschlüsselungsdeployment
- Spaltenverschlüsselung
- Encryption Next Steps
- Multi-Party Encryption
- Key Rotation Strategy
- Security Encryption Gap Analysis
- Audit Logging
- Audit & Retention
- Compliance Audit
- Compliance
- Extended Compliance Features
- Governance-Strategie
- Compliance-Integration
- Governance Usage
- Security/Compliance Review
- Threat Model
- Security Hardening Guide
- Security Audit Checklist
- Security Audit Report
- Security Implementation
- Development README
- Code Quality Pipeline
- Developers Guide
- Cost Models
- Todo Liste
- Tool Todo
- Core Feature Todo
- Priorities
- Implementation Status
- Roadmap
- Future Work
- Next Steps Analysis
- AQL LET Implementation
- Development Audit
- Sprint Summary (2025-11-17)
- WAL Archiving
- Search Gap Analysis
- Source Documentation Plan
- Changefeed README
- Changefeed CMake Patch
- Changefeed OpenAPI
- Changefeed OpenAPI Auth
- Changefeed SSE Examples
- Changefeed Test Harness
- Changefeed Tests
- Dokumentations-Inventar
- Documentation Summary
- Documentation TODO
- Documentation Gap Analysis
- Documentation Consolidation
- Documentation Final Status
- Documentation Phase 3
- Documentation Cleanup Validation
- API
- Authentication
- Cache
- CDC
- Content
- Geo
- Governance
- Index
- LLM
- Query
- Security
- Server
- Storage
- Time Series
- Transaction
- Utils
Vollständige Dokumentation: https://makr-code.github.io/ThemisDB/