Skip to content

Instantly share code, notes, and snippets.

@donghyuck
Created March 18, 2022 05:44
Show Gist options
  • Save donghyuck/f949314754f3e9ffc5a2664779273c59 to your computer and use it in GitHub Desktop.
Save donghyuck/f949314754f3e9ffc5a2664779273c59 to your computer and use it in GitHub Desktop.
package architecture.studio.service;
import java.io.File;
public interface ImageEffectsService {
enum Effects {
BLUR,
GRAYSCALE,
STYLIZATION,
EROSION,
SKETCHER,
CARTOONIZER,
PAINTING,
GRAYSCALE_PENCIL_SKETCH ,
PENCIL_SKETCH,
HDR ,
INVERT ,
SEPIA,
SHARP ,
BINARY,
OILPAINTING,
WATERCOLOR,
FACE_DETECT
}
public static final String IMAGE_ANNOTATION_DIR = "annotation";
public static final String IMAGE_EFFECT_DIR= "effects";
public File getImageEffectDir() ;
public File getImageAnnotationDir() ;
public void effect (File source , File target , Effects effect);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment