KilianB / JImageHash

Perceptual image hashing library used to match similar images
MIT License
401 stars 81 forks source link

Make h2 dependency optional? #16

Closed KilianB closed 5 years ago

KilianB commented 5 years ago

To work the database image requires a driver. Currently this project depends on h2 for convenience. To my best knowledge (without testing) no specific functionality was used therefore, the driver could be swapped out for any arbitrary database engine.

The h2 dependency is the sole big dependency in this project. Maybe make it optional to get back the lightweight properties and throw an error if the database image matcher is used without an appropriate driver.