You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.2 KiB

10 years ago
  1. //Default Properties File
  2. //Image Tools version: ${project.version}
  3. akka {
  4. loggers = ["akka.event.slf4j.Slf4jLogger"]
  5. loglevel = "INFO"
  6. }
  7. //Default App Settings
  8. app {
  9. version.current = "${build-version}"
  10. timed = false
  11. engine {
  12. //Concurrency Settings
  13. concurrent {
  14. similarity.limit = 15
  15. processing.limit = 15
  16. }
  17. }
  18. #Default Image Settings
  19. image {
  20. //images must be 90% similar
  21. differenceThreshold = 0.90
  22. //control generation of hashes for new images.
  23. hash {
  24. precision = 64
  25. }
  26. ahash {
  27. use = true
  28. weight = 0.70
  29. precision = 8
  30. tolerance = 8
  31. }
  32. dhash {
  33. use = true
  34. weight = 0.85
  35. precision = 8
  36. tolerance = 8
  37. }
  38. phash {
  39. //set to false if hashing images is taking too long
  40. use = true
  41. weight = 1.0
  42. precision = 32
  43. tolerance = 8
  44. }
  45. }
  46. //Default Thumbnail Settings
  47. thumbnail {
  48. //Directory where to store thumbnails
  49. directory = ".cache/thumbnails/"
  50. //Size of the thumbnail to generate and store
  51. size = 128
  52. }
  53. //Default Database Settings
  54. database {
  55. connectionURL = "jdbc:h2:.cache/imageTools"
  56. inMemory = false
  57. }
  58. }