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.

23 lines
596 B

  1. package com.sothr.imagetools
  2. import com.sothr.imagetools.image.{SimilarImages, ImageFilter, Image}
  3. import grizzled.slf4j.Logging
  4. /**
  5. * Created by drew on 1/26/14.
  6. */
  7. abstract class Engine extends Logging{
  8. val imageFilter:ImageFilter = new ImageFilter()
  9. val imageCache = AppConfig.cacheManager.getCache("images")
  10. /**
  11. * Get all images for a directory with hashes
  12. */
  13. def getImagesForDirectory(directoryPath:String):List[Image];
  14. /**
  15. * Get all similar images for a directory with hashes
  16. */
  17. def getSimilarImagesForDirectory(directoryPath:String):List[SimilarImages];
  18. }