1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
| package com.xindao.ocr.swingui.constant;
|
| import java.io.File;
|
| /**
| * swing窗口用到的常量类
| */
| public class OcrSwingConstants {
|
| /**
| * ocr截取图片的缓存路径
| */
| public static final File cacheDir = new File(new File(System.getProperty("user.home")), ".paddle_ocr_images_cache");
|
| /**
| * 多区域配置文件保存路径
| */
| public static final File pdfToolDir = new File(new File(System.getProperty("user.home")), ".pdf_ocr_tool");
|
| /**
| * ocr执行文件保存路径
| */
| public static final File ocrDir = new File(new File(System.getProperty("user.home")), ".paddle_ocr_cache");
|
|
| }
|
|