类 Extractor

    • 方法详细资料

      • getPreprocessor

        public Preprocessor getPreprocessor()
        返回:
        preprocessor
      • getTracer

        public SkeletonTracer getTracer()
        返回:
        skeleton tracer
      • getGraphTracer

        public GraphTracer getGraphTracer()
        返回:
        graph tracer
      • getOrderer

        public Orderer getOrderer()
        返回:
        stroke orderer
      • getRecognizer

        public OnlineRecognizer getRecognizer()
        返回:
        underlying online recognizer
      • extract

        public TraceList extract​(BufferedImage image)
        Extract strokes from a image
        参数:
        image - the image
        返回:
        the strokes
      • preprocess

        public Bitmap preprocess​(BufferedImage image)
        Preprocess a image
        参数:
        image - the image
        返回:
        binary image
      • extract

        public TraceList extract​(BufferedImage image,
                                 boolean reorder)
        Extract strokes from a image
        参数:
        image - the image
        reorder - if stroke order normalization should be applied
        返回:
        the strokes
      • recognize

        public EncodedExpression recognize​(BufferedImage image)
        Offline recognition
        参数:
        image - to be recognized
        返回:
        recognition result
      • recognize

        public EncodedExpression recognize​(TraceList traceList,
                                           boolean reorder)
        Online recognition
        参数:
        traceList - strokes to be recognized
        reorder - if stroke order normalization should be applied
        返回:
        recognition result
      • recognize

        public EncodedExpression recognize​(TraceList traceList)
        Online recognition
        参数:
        traceList - strokes to be recognized
        返回:
        recognition result
      • getDefault

        public static Extractor getDefault()
        返回:
        the DEFAULT