feat: use AprilTag instead of QR code
This commit is contained in:
27
README.md
27
README.md
@@ -37,8 +37,8 @@ A modern, idiomatic Elixir/Phoenix port of the original PHP-based component inve
|
||||
- **Search & Filter**: Fast search across component names, descriptions, and keywords
|
||||
- **Category Organization**: Hierarchical category system for better organization
|
||||
- **Category Management**: Add, edit, delete categories through the web interface with hierarchical support
|
||||
- **Storage Location System**: Hierarchical storage locations (shelf → drawer → box) with automatic QR code generation
|
||||
- **QR Code Integration**: Automatic QR code generation and display for all storage locations with download capability
|
||||
- **Storage Location System**: Hierarchical storage locations (shelf → drawer → box) with automatic AprilTag generation
|
||||
- **AprilTag Integration**: Automatic AprilTag generation and display for all storage locations with download capability
|
||||
- **Datasheet Links**: Direct links to component datasheets
|
||||
- **Real-time Updates**: All changes are immediately reflected in the interface
|
||||
|
||||
@@ -100,7 +100,7 @@ The application uses a simple password-based authentication system:
|
||||
- **`ComponentsElixirWeb.LoginLive`**: Authentication interface
|
||||
- **`ComponentsElixirWeb.ComponentsLive`**: Main component management interface
|
||||
- **`ComponentsElixirWeb.CategoriesLive`**: Category management interface
|
||||
- **`ComponentsElixirWeb.StorageLocationsLive`**: Hierarchical storage location management with QR codes
|
||||
- **`ComponentsElixirWeb.StorageLocationsLive`**: Hierarchical storage location management with AprilTags
|
||||
|
||||
### Key Features
|
||||
- **Real-time updates**: Changes are immediately reflected without page refresh
|
||||
@@ -118,16 +118,16 @@ The application uses a simple password-based authentication system:
|
||||
| Manual editing | `Inventory.update_component/2` | **NEW**: Full edit functionality with validation |
|
||||
| `changeAmount.php` | `Inventory.update_component_count/2` | Atomic operations, constraints |
|
||||
| Manual category management | `CategoriesLive` + `Inventory.create_category/1` | **NEW**: Full category CRUD with web interface |
|
||||
| Manual location tracking | `StorageLocationsLive` + `Inventory` context | **NEW**: Hierarchical storage locations with automatic QR codes |
|
||||
| Manual location tracking | `StorageLocationsLive` + `Inventory` context | **NEW**: Hierarchical storage locations with automatic AprilTags |
|
||||
| `imageUpload.php` | Phoenix LiveView file uploads with `.live_file_input` | **IMPLEMENTED**: Full image upload with preview, validation, and automatic cleanup |
|
||||
| Session management | Phoenix sessions + LiveView | Built-in CSRF protection |
|
||||
|
||||
## 🚀 Future Enhancements
|
||||
|
||||
### Component Management
|
||||
- **Barcode Support** - Generate and scan traditional barcodes in addition to QR codes
|
||||
- **Camera Integration** - JavaScript-based QR scanning with camera access for mobile/desktop
|
||||
- **Multi-QR Code Detection** - Spatial analysis and disambiguation for multiple codes in same image
|
||||
- **Barcode Support** - Generate and scan traditional barcodes in addition to AprilTags
|
||||
- **Camera Integration** - JavaScript-based AprilTag scanning with camera access for mobile/desktop
|
||||
- **Multi-AprilTag Detection** - Spatial analysis and disambiguation for multiple tags in same image
|
||||
- **Bulk Operations** - Import/export components from CSV, batch updates
|
||||
- **Search and Filtering** - Advanced search by specifications, tags, location
|
||||
- **Component Templates** - Reusable templates for common component types
|
||||
@@ -135,7 +135,7 @@ The application uses a simple password-based authentication system:
|
||||
|
||||
### Storage Organization
|
||||
- **Physical Layout Mapping** - Visual representation of shelves, drawers, and boxes
|
||||
- **Bulk QR Code Printing** - Generate printable sheets of QR codes for labeling
|
||||
- **Bulk AprilTag Printing** - Generate printable sheets of AprilTags for labeling
|
||||
|
||||
## ✅ Recently Implemented Features
|
||||
|
||||
@@ -146,11 +146,12 @@ The application uses a simple password-based authentication system:
|
||||
- **Web Interface** ✅ Complete - Storage locations management page with navigation
|
||||
- **Component-Storage Integration** ✅ Complete - Components can now be assigned to storage locations via dropdown interface
|
||||
|
||||
### QR Code System - Still Needed 🚧 **PARTIALLY IMPLEMENTED**
|
||||
- **Visual QR Code Generation** ✅ Complete - QR code images are generated and displayed for all storage locations
|
||||
- **QR Code Scanning** ❌ Missing - No camera integration or scanning functionality
|
||||
- **QR Code Processing** ❌ Missing - Backend logic for processing scanned codes
|
||||
- **Multi-QR Disambiguation** ❌ Missing - No handling of multiple QR codes in same image
|
||||
### AprilTag System 🚧 **PARTIALLY IMPLEMENTED**
|
||||
- **Visual AprilTag Generation** ❌ Partially Implemented - Placeholder SVGs generated
|
||||
- **Flexible Assignment Options** ✅ Complete - Auto-assign, manual selection, or no AprilTag assignment for storage locations
|
||||
- **AprilTag Download** ✅ Complete - Individual AprilTag SVG files can be downloaded for printing
|
||||
- **AprilTag Scanning** ❌ Missing - No camera integration or scanning functionality (future enhancement)
|
||||
- **AprilTag Processing** ❌ Missing - Backend logic for processing scanned tags (future enhancement)
|
||||
|
||||
### Image Upload System ✅ **COMPLETED**
|
||||
- **Phoenix LiveView file uploads** with `.live_file_input` component
|
||||
|
||||
Reference in New Issue
Block a user