Commit graph

45 commits

Author SHA1 Message Date
Michael Mayer f9c18446bf PhotoLabel: Change index order for improved performance #121 2019-07-03 19:58:53 +02:00
Michael Mayer d93acb0a63 Importer: Skip / delete files that already exist and check for errors 2019-07-03 09:27:30 +02:00
Michael Mayer 1c4bd8e218 Fix for photo model (typo in gorm annotations) 2019-07-02 22:14:20 +02:00
Michael Mayer 89b7886581 Add index to photo_lat, photo_long and taken_at 2019-07-02 22:09:06 +02:00
Michael Mayer 5662fc35ed Refactor indexer in preparation to read only mode #56 2019-07-02 22:09:06 +02:00
Michael Mayer ad93ad1289 Use dsoprea/go-exif to parse Exif tags #21 2019-06-20 05:38:23 +02:00
Michael Mayer df5aa57e68 Albums: Code clean-up and small fixes #15 2019-06-18 06:37:10 +02:00
Michael Mayer 4553344550 Add event table 2019-06-17 22:39:32 +02:00
Michael Mayer 6404b76c97 Add views counter to album, photo and share 2019-06-17 22:39:32 +02:00
Michael Mayer 27530bc0be Add shares table for sharing photos and albums 2019-06-17 22:39:32 +02:00
Michael Mayer bb8c2dbbea Photos: Add story flag for blogging / timeline 2019-06-17 22:39:32 +02:00
Theresa Gresch 5f63f2999c Implement first album functionality 2019-06-17 21:45:06 +02:00
Michael Mayer 0f6867af79 Photos: Add private and sensitive flag 2019-06-14 18:44:10 -07:00
Michael Mayer e141b9edcd Photos: Add LocationEstimated flag 2019-06-14 15:15:49 -07:00
Michael Mayer f47d93be7f Format Go code: go fmt ./internal/... ./cmd/... 2019-06-09 05:22:53 +02:00
Michael Mayer 8642b6f664 Proof-of-concept for labels and search filters 2019-06-09 04:37:02 +02:00
Michael Mayer c230de6b2b Add time zone info to photos (if available) 2019-06-07 00:04:34 +02:00
Michael Mayer b835c22f7f Rename synonyms to categories 2019-06-05 14:05:21 +02:00
Michael Mayer df995b4f15 Rename tags to labels incl priority, source and uncertainty 2019-06-04 18:26:41 +02:00
Michael Mayer 8124a8cde1 Use label rules to optimize image classification 2019-05-16 08:41:16 +02:00
Michael Mayer 0400b6ec7a Add download links to thumbnails in photo viewer 2019-05-16 04:03:55 +02:00
Michael Mayer 1cf23aac3e Additional search parameters incl distance and location (lat/long) 2019-05-16 02:22:38 +02:00
Michael Mayer 441922c35e Add download button to photo viewer 2019-05-14 18:16:35 +02:00
Michael Mayer 1e6f41b417 Improve image classification performance and logging in debug mode 2019-05-04 17:34:51 +02:00
Michael Mayer ff09f76bc5 Add PhotoTag model to weight photo tags based on confidence and source 2019-05-04 11:50:19 +02:00
Michael Mayer 71adb35cff Remove test and frontend packages; app and test context refactoring 2019-05-03 18:57:28 +02:00
Michael Mayer 8289de2746 Improve logging and set optional password for built-in TiDB server 2019-05-01 14:54:11 +02:00
Michael Mayer a82696f067 Move color, luminance and saturation to files table 2019-04-29 21:54:36 +02:00
Michael Mayer 900e8c5e23 Color extraction: Add saturation value 2019-04-29 17:12:24 +02:00
Michael Mayer 5e1210c508 Add luminance and monochrome return values to MediaFile.Colors() 2019-04-29 01:59:57 +02:00
Michael Mayer bc208c378c Set max length for file name to 512 chars because of utf8mb4, see #106 2019-04-26 04:13:50 +02:00
Michael Mayer 2f15ca2c59 Reduce length for file names to 2048 chars to fix error on CI, see #106 2019-04-26 02:44:57 +02:00
Michael Mayer ffc64cceb0 Use 3x3 thumbnail for color indexing #7
Other implementations were unstable due to the use of random numbers.
This seems to be fast and also enables us to search specific parts
of an image. 16 colors are indexed (Material Design).
2019-04-26 02:22:53 +02:00
Michael Mayer 94205f0113 Models: Allow 4096 chars for file names, fix #106 2019-04-25 03:52:25 +02:00
Michael Mayer 2e746c833c Code clean-up #58 2018-11-18 19:18:19 +01:00
Michael Mayer a4d6f810d6 Added inline documentation #14 2018-11-06 19:02:03 +01:00
Michael Mayer 6a2af16d1c Using goimports for formatting imports #50 2018-10-31 07:14:33 +01:00
Michael Mayer b9f1fe930b Added TakenAtChanged flag 2018-10-08 20:03:00 +02:00
Michael Mayer 10859ee695 Moved perceptual hash from photo to file model; code clean-up (go fmt)
- Files might show different details of the full photo
2018-09-27 08:59:53 +02:00
Michael Mayer c5481a177d Added fields for house nr, street and suburb to location 2018-09-26 15:00:12 +02:00
Michael Mayer bbab05f9db Added additional photo meta data like aperture, lens and camera make; smaller perceptive hash; implemented stub for single photo view 2018-09-24 19:07:43 +02:00
Michael Mayer d7e4531231 Indexer now sets country (guess when there there is no location) 2018-09-19 11:16:18 +02:00
Michael Mayer 122f7a8641 Added countries table 2018-09-19 09:20:57 +02:00
Michael Mayer da77a1230e Code clean-up (go fmt) 2018-09-17 18:40:57 +02:00
Michael Mayer d925d59e67 Moved gorm models to separate package 2018-09-16 19:09:40 +02:00