aboutsummaryrefslogtreecommitdiff
path: root/server/szurubooru/func/image_hash.py
AgeCommit message (Collapse)Author
2022-02-08server/func/images: upgrade to heif-image-pluginShyam Sunder
2021-09-13client+server: fixed style errorsShyam Sunder
2021-06-07server: fix issue where no video files could be uploadedneobooru
2021-05-07Add AVIF/HEIC detectionRuin0x11
ffmpeg doesn't support HEIC decoding yet...
2020-06-06client+server: implement code autoformatting using prettier and blackShyam Sunder
2020-06-05server: format code to flake8Shyam Sunder
2020-03-13server/func/image_hash: added docstrings to functionsShyam Sunder
2020-03-13server/image_search: implement reverse search functionality in postgresShyam Sunder
This will remove the dependency on the Elasticsearch database. The search query is passed currently as raw SQL. Proper implementation using SQLAlchemy will need custom ORM classed to be made. Additional config parameter "allow_broken_uploads" has been added.
2019-09-15server/image-hash: optionally allow for elasticsearch authenticationShyam Sunder
2018-07-22client: clean up required Python packagesShyam Sunder
* Packages that are only used in testing or development have been moved to `dev-requirements.txt` * Closes #178 * Minor rewrite to drop the `scikit-image` package, which saves around 200MB in install size
2017-04-24server: lintrr-
2017-02-05server: refactor + add type hintingrr-
- Added type hinting (for now, 3.5-compatible) - Split `db` namespace into `db` module and `model` namespace - Changed elastic search to be created lazily for each operation - Changed to class based approach in entity serialization to allow stronger typing - Removed `required` argument from `context.get_*` family of functions; now it's implied if `default` argument is omitted - Changed `unalias_dict` implementation to use less magic inputs
2017-02-03server: make linters happierrr-
2017-02-03server/image-hash: do not depend on image-matchrr-
While I hold this library in great esteem for its excellent work on implementing the original paper, I have several problems with it: - as of this commit, it (again) has bug fixes unreleased on pip - its code is badly structured - forces OOP and then proceeds @staticmethod everything - bad class design, parameters are repeated in several places - terrible contract of make_record() and generate_signature() - ambiguous parameters: path vs. image path vs. image content - doesn't adhere to PEP-8 - depends on cairo just to render svg images almost no one uses this library with
2017-02-03server/tests: test image hashrr-
2017-02-02server/image-hash: improve exception handlingrr-
2017-01-07server/posts: change reverse image search APIrr-
Add exact duplicates search; refactor to use classes over dictionaries
2017-01-03server: make pylint happierrr-
2016-12-26server/image-hash: fix handling invalid inputrr-
2016-12-26server/image-hash: add image search enginerr-

© 2015 - 2026 Jakob L. Kreuze