Commit graph

23 commits

Author SHA1 Message Date
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