immich/web/src/lib/modals
Kang 02b29046b3
feat: ocr (#18836)
* feat: add OCR functionality and related configurations

* chore: update labeler configuration for machine learning files

* feat(i18n): enhance OCR model descriptions and add orientation classification and unwarping features

* chore: update Dockerfile to include ccache for improved build performance

* feat(ocr): enhance OCR model configuration with orientation classification and unwarping options, update PaddleOCR integration, and improve response structure

* refactor(ocr): remove OCR_CLEANUP job from enum and type definitions

* refactor(ocr): remove obsolete OCR entity and migration files, and update asset job status and schema to accommodate new OCR table structure

* refactor(ocr): update OCR schema and response structure to use individual coordinates instead of bounding box, and adjust related service and repository files

* feat: enhance OCR configuration and functionality

- Updated OCR settings to include minimum detection box score, minimum detection score, and minimum recognition score.
- Refactored PaddleOCRecognizer to utilize new scoring parameters.
- Introduced new database tables for asset OCR data and search functionality.
- Modified related services and repositories to support the new OCR features.
- Updated translations for improved clarity in settings UI.

* sql changes

* use rapidocr

* change dto

* update web

* update lock

* update api

* store positions as normalized floats

* match column order in db

* update admin ui settings descriptions

fix max resolution key

set min threshold to 0.1

fix bind

* apply config correctly, adjust defaults

* unnecessary model type

* unnecessary sources

* fix(ocr): switch RapidOCR lang type from LangDet to LangRec

* fix(ocr): expose lang_type (LangRec.CH) and font_path on OcrOptions for RapidOCR

* fix(ocr): make OCR text search case- and accent-insensitive using ILIKE + unaccent

* fix(ocr): add OCR search fields

* fix: Add OCR database migration and update ML prediction logic.

* trigrams are already case insensitive

* add tests

* format

* update migrations

* wrong uuid function

* linting

* maybe fix medium tests

* formatting

* fix weblate check

* openapi

* sql

* minor fixes

* maybe fix medium tests part 2

* passing medium tests

* format web

* readd sql

* format dart

* disabled in e2e

* chore: translation ordering

---------

Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2025-10-27 14:09:55 +00:00
..
AlbumEditModal.svelte refactor: album edit modal (#22151) 2025-09-17 16:34:12 -04:00
AlbumOptionsModal.svelte chore: migrate to UI lib icon (#22096) 2025-09-16 21:40:43 +02:00
AlbumPickerModal.svelte feat(web): Album picker shortcut info (#21273) 2025-08-26 21:31:58 +00:00
AlbumShareModal.svelte refactor(web): prefer modal manager (#22152) 2025-09-17 23:23:42 +02:00
AlbumUsersModal.svelte feat(album): show per-user contributions in shared albums (#21740) 2025-10-14 17:34:20 -04:00
ApiKeyModal.svelte feat(web): api key permission search (#20248) 2025-07-25 13:39:48 -04:00
ApiKeySecretModal.svelte fix(web): immich-form-label usage (#23006) 2025-10-16 17:49:12 -04:00
AppDownloadModal.svelte chore: improve onboarding, app download links styling (#23134) 2025-10-21 21:10:12 -05:00
AssetChangeDateModal.svelte fix(web): immich-form-label usage (#23006) 2025-10-16 17:49:12 -04:00
AssetSelectionChangeDateModal.spec.ts fix: navigate to time action (#20928) 2025-10-16 17:44:09 +00:00
AssetSelectionChangeDateModal.svelte fix(web): immich-form-label usage (#23006) 2025-10-16 17:49:12 -04:00
AssetTagModal.svelte chore: migrate to UI lib icon (#22096) 2025-09-16 21:40:43 +02:00
AssetUpdateDescriptionConfirmModal.svelte refactor: asset description modal (#23168) 2025-10-22 13:08:59 -05:00
AuthDisableLoginConfirmModal.svelte chore: replace immich.app/docs with docs.immich.app globally (#22428) 2025-10-02 10:42:14 -05:00
AvatarEditModal.svelte refactor: user avatar (#19121) 2025-06-11 15:08:11 -04:00
DuplicatesInformationModal.svelte refactor: duplicates information modal (#18282) 2025-05-14 07:52:04 -04:00
EmailTemplatePreviewModal.svelte refactor: email template preview modal (#19119) 2025-06-11 18:18:46 +00:00
GeolocationUpdateConfirmModal.svelte feat(web): add geolocation utility (#20758) 2025-08-28 16:54:11 +00:00
HelpAndFeedbackModal.svelte fix(docs): link to immich docs does not lead correctly to docs (#22687) 2025-10-06 12:57:15 +02:00
JobCreateModal.svelte chore: migrate to immich/ui confirm modal (#20114) 2025-07-23 22:56:56 +02:00
LibraryExclusionPatternModal.svelte chore: consistent modal footer spacing (#19377) 2025-06-20 18:05:39 +00:00
LibraryImportPathModal.svelte chore: consistent modal footer spacing (#19377) 2025-06-20 18:05:39 +00:00
LibraryRenameModal.svelte chore: consistent modal footer spacing (#19377) 2025-06-20 18:05:39 +00:00
LibraryUserPickerModal.svelte chore: consistent modal footer spacing (#19377) 2025-06-20 18:05:39 +00:00
MapModal.svelte fix: incomplete dynamic imports (#23217) 2025-10-27 08:45:30 -04:00
MapSettingsModal.svelte refactor: move components/elements to elements/ (#22091) 2025-09-16 18:31:22 +00:00
NavigateToDateModal.svelte fix: navigate to time action (#20928) 2025-10-16 17:44:09 +00:00
ObtainiumConfigModal.svelte chore: improve onboarding, app download links styling (#23134) 2025-10-21 21:10:12 -05:00
PartnerSelectionModal.svelte refactor: user page modals (#18147) 2025-05-07 17:58:46 -04:00
PasswordResetSuccessModal.svelte chore: consistent modal footer spacing (#19377) 2025-06-20 18:05:39 +00:00
PersonEditBirthDateModal.svelte refactor: text-primary (#22141) 2025-09-17 12:12:51 -04:00
PersonMergeSuggestionModal.svelte chore: migrate to UI lib icon (#22096) 2025-09-16 21:40:43 +02:00
PinCodeResetModal.svelte feat(web): reset pin code (#20766) 2025-08-07 15:07:31 -04:00
ProfileImageCropperModal.svelte chore: migrate profile picture cropper modal (#19378) 2025-06-20 18:16:10 +00:00
PurchaseModal.svelte refactor: side bar modals (#18134) 2025-05-07 09:01:51 -05:00
QrCodeModal.svelte refactor: share modals (#18183) 2025-05-09 16:59:29 +00:00
SearchFilterModal.svelte feat: ocr (#18836) 2025-10-27 14:09:55 +00:00
ServerAboutModal.svelte refactor: server-about-modal (#22138) 2025-09-17 16:23:23 +00:00
SharedLinkCreateModal.svelte feat(web): reactively update shared link expiration (#22274) 2025-10-24 13:18:49 +02:00
ShortcutsModal.svelte fix: navigate to time action (#20928) 2025-10-16 17:44:09 +00:00
SlideshowSettingsModal.svelte refactor: text-primary (#22141) 2025-09-17 12:12:51 -04:00
TagCreateModal.svelte refactor: text-primary (#22141) 2025-09-17 12:12:51 -04:00
TagEditModal.svelte fix: Use CSS for uppercase text (#22011) 2025-09-15 23:28:42 -04:00
timezone-utils.ts fix: navigate to time action (#20928) 2025-10-16 17:44:09 +00:00
UserCreateModal.svelte feat(web): create user as admin (#23026) 2025-10-17 14:26:07 -04:00
UserDeleteConfirmModal.svelte refactor: user delete confirm modal (#23166) 2025-10-22 13:49:06 -04:00
UserEditModal.svelte refactor: user edit modal (#23169) 2025-10-22 15:21:16 -04:00
UserRestoreConfirmModal.svelte refactor: more elements (#22095) 2025-09-16 15:01:23 -04:00
VersionAnnouncementModal.svelte refactor: more elements (#22095) 2025-09-16 15:01:23 -04:00