Drew Short
11 years ago
4 changed files with 159 additions and 14 deletions
@ -1,4 +1,62 @@ |
|||
//Default Properties File |
|||
//Image Tools version: ${project.version} |
|||
version = "${build-version}" |
|||
|
|||
akka { |
|||
event-handlers = ["akka.event.slf4j.Slf4jEventHandler"] |
|||
loglevel = "DEBUG" |
|||
loggers = ["akka.event.slf4j.Slf4jLogger"] |
|||
loglevel = "INFO" |
|||
} |
|||
|
|||
//Default App Settings |
|||
app { |
|||
timed = false |
|||
log { |
|||
debug = false |
|||
info = false |
|||
error = true |
|||
} |
|||
engine { |
|||
//Concurrency Settings |
|||
concurrent { |
|||
similarity.limit = 15 |
|||
processing.limit = 15 |
|||
} |
|||
} |
|||
} |
|||
|
|||
#Default Image Settings |
|||
image { |
|||
//images must be 90% similar |
|||
differenceThreshold = 0.90 |
|||
//control generation of hashes for new images. |
|||
hash { |
|||
precision=64 |
|||
} |
|||
ahash { |
|||
use = true |
|||
weight = 0.70 |
|||
precision = 8 |
|||
tolerence = 8 |
|||
} |
|||
dhash { |
|||
use = true |
|||
weight = 0.85 |
|||
precision = 8 |
|||
tolerence = 8 |
|||
} |
|||
phash { |
|||
//set to false if hashing images is taking too long |
|||
use = true |
|||
weight = 1.0 |
|||
precision = 32 |
|||
tolerence = 8 |
|||
} |
|||
} |
|||
|
|||
//Default Thumbnail Settings |
|||
thumbnail { |
|||
//Directory where to store thumbnails |
|||
directory = ".cache/thumbnails/" |
|||
//Size of the thumbnail to generate and store |
|||
size = 128 |
|||
} |
@ -1,4 +1,63 @@ |
|||
//Default Properties File |
|||
//Image Tools version: ${project.version} |
|||
version = "${build-version}" |
|||
|
|||
|
|||
akka { |
|||
event-handlers = ["akka.event.slf4j.Slf4jEventHandler"] |
|||
loggers = ["akka.event.slf4j.Slf4jLogger"] |
|||
loglevel = "DEBUG" |
|||
} |
|||
|
|||
//Default App Settings |
|||
app { |
|||
timed = false |
|||
log { |
|||
debug = true |
|||
info = true |
|||
error = true |
|||
} |
|||
engine { |
|||
//Concurrency Settings |
|||
concurrent { |
|||
similarity.limit = 15 |
|||
processing.limit = 15 |
|||
} |
|||
} |
|||
} |
|||
|
|||
#Default Image Settings |
|||
image { |
|||
//images must be 90% similar |
|||
differenceThreshold = 0.90 |
|||
//control generation of hashes for new images. |
|||
hash { |
|||
precision=64 |
|||
} |
|||
ahash { |
|||
use = true |
|||
weight = 0.70 |
|||
precision = 8 |
|||
tolerence = 8 |
|||
} |
|||
dhash { |
|||
use = true |
|||
weight = 0.85 |
|||
precision = 8 |
|||
tolerence = 8 |
|||
} |
|||
phash { |
|||
//set to false if hashing images is taking too long |
|||
use = true |
|||
weight = 1.0 |
|||
precision = 32 |
|||
tolerence = 8 |
|||
} |
|||
} |
|||
|
|||
//Default Thumbnail Settings |
|||
thumbnail { |
|||
//Directory where to store thumbnails |
|||
directory = ".cache/thumbnails/" |
|||
//Size of the thumbnail to generate and store |
|||
size = 128 |
|||
} |
@ -0,0 +1,18 @@ |
|||
Move over to Logback for the backend |
|||
-Convert the configuration file |
|||
-Convert the AppConfig to configure basic logging |
|||
Profile and improve performance for the ConcurrentEngine when looking for similarities. |
|||
-SynchronousEngine is about 2.5x faster currently for finding similarities |
|||
-ConcurrentEngine actors for finding similarities are not CPU constrained and need to be |
|||
Convert app configuration format from a java properties to a typesafehub:config |
|||
-Rewrite properties in new format (JSON) |
|||
-Rewrite PropertiesLoader to use the new format |
|||
Add functionality to both engines |
|||
-Recursive directory scanning |
|||
-Determine how to handle similarites there... All images or just per folder |
|||
-Move files to new locations |
|||
-Rename new files based on their MD5 |
|||
Add functionality to ImageService |
|||
-Cache thumbnails |
|||
-Generate thumbnails |
|||
-Move caching of images into the ImageService |
Write
Preview
Loading…
Cancel
Save
Reference in new issue