|
@@ -18,17 +18,6 @@ public class CreateObjUtil {
|
|
|
|
|
|
|
|
|
public static void main(String[] args) throws Exception {
|
|
|
-// Scanner scanner = new Scanner(System.in);
|
|
|
-// System.out.println("输入需要调用的转换方法:");
|
|
|
-// System.out.println("convertTxtToVisionmodeldata:输入1");
|
|
|
-// System.out.println("convertTxtToDam:输入2");
|
|
|
-// int type = scanner.nextInt();
|
|
|
-// scanner.reset();
|
|
|
-// System.out.println("输入源文件路径:");
|
|
|
-// String srcPath = scanner.next();
|
|
|
-// System.out.println("输入目标文件路径:");
|
|
|
-// String targetPath = scanner.next();
|
|
|
-
|
|
|
String type = args[0];//类型(1-vision.txt转为vision.modeldata, 2-modeldata.txt转为tieta.dam)
|
|
|
String srcPath = args[1];//源文件目录(需要提前源文件放到此目录中再调用方法)
|
|
|
String targetPath = args[2];//目标文件路径(目录,转换后文件会放到此目录中,文件名固定为vision.modeldata或tieta.dam)
|