Drew Short
ee9c8d15ea
Updated the windows runner to try again
8 years ago
Drew Short
08dc5b450b
Removing build step for Windows as gitlab is having issues transfering dependencies
8 years ago
Drew Short
284a308d7f
Properly referencing environment variables in Windows
8 years ago
Drew Short
8778fce771
Fixing spelling mistake
8 years ago
Drew Short
a331d20fe4
Rebuilding CI build definition
8 years ago
Drew Short
2d2a3352e5
Adding windows build target
8 years ago
Drew Short
24dd147fd4
Adding a build step
8 years ago
Drew Short
389bc473ae
Changing the builds to be on each rust environment
8 years ago
Drew Short
c25152216c
Actually running on the docker worker
8 years ago
Drew Short
bd3d2ab0d7
Working on getting builds happening again
8 years ago
Drew Short
42cfac50aa
Starting work on patch 6
8 years ago
Henning Kowalk
8580f607d2
optimized hamming distance calculation ( #1 )
Merging pull request with hamming distance optimization.
8 years ago
Drew Short
961953b3d1
Resolving merge conflicts
8 years ago
Drew Short
78bbb520f9
Working on resolvoing development repository vs published repository differences
8 years ago
Drew Short
487401a45a
Rustfmt and code cleanup
8 years ago
Drew Short
b478901c66
Merge branch 'master' of ssh://gitlab.sothr.com:9141/warricksothr/Perceptual-Image-Hashing
8 years ago
Drew Short
af5ea1ac0f
Updating dependencies. Incrementing patch version.
8 years ago
Drew Short
88eac9cb29
Resolving test compilation issues
8 years ago
Drew Short
f3d8396873
Updating to the latest Rust + dependencies
8 years ago
Drew Short
0b28ddeb4c
Fixed some formatting issues
Looking to do micro-benchmarks with the critereon library
9 years ago
Drew Short
54598246c8
Migrated to latest dependencies
Some math appears to have changed underneath so the tests needed to be
updated. I've added an inefficient test of the max hamming distance for
the comaparisons. I'm not happy with the dhash that is getting a hamming
distance of 4 on samples 03. However with 64 bits of information in the
hash, a hamming distance of 4 says that the hashes are within 6.25% similar,
which is very similar out of the 2^64 combinations of hashes.
9 years ago
Drew Short
9fe2a1c0e6
Working on c ffi examples
9 years ago
Drew Short
e0bb7d6592
Fixed the FFI implementation. Updated the python FFI example to reflect the new changes.
9 years ago
Drew Short
60f7015937
Reverted image library. It was no longer processing jpg images. Added some saftey features to opening images. Cleaned up the library calls. Finished the lib conversion of PIHash struct. FFI stuff missing, that will come in another point release to the library.
9 years ago
Drew Short
ebd2fdaa75
Modularized some code. Changed API to use a PIHash library struct for maintaining the cache information. FFI code currently broken, will bring back next version after I figure out how to pass pointers to Rust structs around.
9 years ago
Drew Short
36cbc8d64d
Changed the exectable to print phash info for a single file, or print the similar images to the first when passed more than one image
9 years ago
Drew Short
3073006ef4
Updated dependency versions
9 years ago
Drew Short
8e3de12cc7
Had to change the version as well
9 years ago
Drew Short
8d27a1dcda
Apparently crates.io doesn't understand just the license file, So making the config change back to MIT in the config for clarity on crates.io
9 years ago
Drew Short
dc8453dc67
Ran rustfmt
9 years ago
Drew Short
e0a951ee3c
Cleanup
9 years ago
Drew Short
188fbe9101
Converted hash.rs into a module. Refactored lib.rs and the tests within.
9 years ago
Drew Short
1d408c2905
Working on allowing the cache to be turned off
9 years ago
Drew Short
6a27b548fd
Introduced the concept of a cache_version so that we can change the cache style without segfaulting existing deployments.
9 years ago
Drew Short
b543cb397e
Moved the cache into a struct
9 years ago
Drew Short
b51d54fee4
Added a working version call for the version flag
9 years ago
Drew Short
45c251bb70
Fixing the C test to use the test images above this folder
9 years ago
Drew Short
2561756313
Updating the ffi py test to work on windows
9 years ago
Drew Short
a58e44c343
Merge branch 'master' of https://github.com/warricksothr/Perceptual-Image-Hashing
9 years ago
Drew Short
86b063dbe5
Revert "Bumped to 0.2.3 for changes"
This reverts commit 0e81fb9391
.
9 years ago
Drew Short
55657db2d7
Working python FFI example/test
9 years ago
Drew Short
2981b5faf8
Changing the buffer to only be created once, clearing it out with each run and at the end.
9 years ago
Drew Short
8640042cb3
buffer clearing for the c code. Changes to the python code. Working on getting a reasonable python FFI example in place.
9 years ago
Drew Short
62b1429994
Removed a wide character library that wasn't needed in the ffi c test.
9 years ago
Drew Short
af6547713f
Adding ignore for log files
9 years ago
Drew Short
439b506b97
Cleaned up that c code, and made it more like the python test that's still failing.
9 years ago
Drew Short
77f1a6623f
Working FFI C code
Proved that the python code is messed up somehow. C code calling the shared library works just fine.
9 years ago
Drew Short
9166422065
FFI Work
9 years ago
Drew Short
7fe8fa06e7
Project warnings cleanup
Cache filling methods follow standard and return a Result<bool,Error>
The methods to place the data in the cache from the hash source are wrapped in a match statement.
9 years ago
Drew Short
0e81fb9391
Bumped to 0.2.3 for changes
Only breaks cached data, so not doing anything to the minor version.
Should add some commands to delete cached data if it causes an error
on reading. Namely the cached matrix data as we can tell if thats
corrupt thanks to the compression. Image data can be corrupted and
we wouldn't really know. ;(
9 years ago