类 Rotator

    • 构造器详细资料

      • Rotator

        public Rotator​(double angle)
        Construct a SkewCorrect
        参数:
        angle - the angle from current x-axis to document baseline(clockwise)
    • 方法详细资料

      • apply

        public BufferedImage apply​(BufferedImage src,
                                   boolean inplace)
        Rotate image anti-clockwise by skew angle
        指定者:
        apply 在接口中 Preprocessor
        参数:
        src - the document image
        inplace - attempt to reuse input image or not
        返回:
        processed image