Change package for tess4j

This commit is contained in:
jendib 2013-10-01 22:24:12 +02:00
parent bd9e918a62
commit d2ba291287
6 changed files with 6 additions and 9 deletions

View File

@ -15,8 +15,6 @@ import javax.crypto.CipherInputStream;
import javax.crypto.CipherOutputStream; import javax.crypto.CipherOutputStream;
import javax.imageio.ImageIO; import javax.imageio.ImageIO;
import net.sourceforge.tess4j.Tesseract;
import org.apache.pdfbox.pdmodel.PDDocument; import org.apache.pdfbox.pdmodel.PDDocument;
import org.apache.pdfbox.pdmodel.PDPage; import org.apache.pdfbox.pdmodel.PDPage;
import org.apache.pdfbox.util.PDFTextStripper; import org.apache.pdfbox.util.PDFTextStripper;
@ -28,6 +26,7 @@ import org.slf4j.LoggerFactory;
import com.sismics.docs.core.model.jpa.Document; import com.sismics.docs.core.model.jpa.Document;
import com.sismics.docs.core.model.jpa.File; import com.sismics.docs.core.model.jpa.File;
import com.sismics.tess4j.Tesseract;
import com.sismics.util.ImageUtil; import com.sismics.util.ImageUtil;
import com.sismics.util.mime.MimeType; import com.sismics.util.mime.MimeType;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under * License for the specific language governing permissions and limitations under
* the License. * the License.
*/ */
package net.sourceforge.vietocr; package com.sismics.tess4j;
import java.awt.Graphics2D; import java.awt.Graphics2D;
import java.awt.Image; import java.awt.Image;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under * License for the specific language governing permissions and limitations under
* the License. * the License.
*/ */
package net.sourceforge.vietocr; package com.sismics.tess4j;
import java.awt.Toolkit; import java.awt.Toolkit;
import java.awt.image.BufferedImage; import java.awt.image.BufferedImage;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under * License for the specific language governing permissions and limitations under
* the License. * the License.
*/ */
package net.sourceforge.tess4j; package com.sismics.tess4j;
import com.sun.jna.*; import com.sun.jna.*;
import com.sun.jna.ptr.*; import com.sun.jna.ptr.*;

View File

@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under * License for the specific language governing permissions and limitations under
* the License. * the License.
*/ */
package net.sourceforge.tess4j; package com.sismics.tess4j;
import java.awt.Rectangle; import java.awt.Rectangle;
import java.awt.image.BufferedImage; import java.awt.image.BufferedImage;
@ -27,8 +27,6 @@ import java.util.Properties;
import javax.imageio.IIOImage; import javax.imageio.IIOImage;
import net.sourceforge.vietocr.ImageIOHelper;
import com.sun.jna.Pointer; import com.sun.jna.Pointer;
/** /**

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package net.sourceforge.tess4j; package com.sismics.tess4j;
public class TesseractException extends Exception { public class TesseractException extends Exception {