- Jun 6, 2020
- 11,559
- 4,422
Hi, I would like to know where I am wrong in this java code, I state that already BAX the code works as below,
Error
Impossibile copiare ita traineddatajava.io.FileNotFoundException: /data/user/0/b4a.example/files/ita.traineddata (No such file or directory)
Error
Impossibile copiare ita traineddatajava.io.FileNotFoundException: /data/user/0/b4a.example/files/ita.traineddata (No such file or directory)
If File.IsDirectory(File.DirRootExternal,"tessdata") = False Then
' File.MakeDir(File.DirRootExternal, "tessdata")
' tessDataPath = File.DirRootExternal & "/tessdata"
' 'Copy Trainned Files to RootDir
' Dim fList As List = File.ListFiles(File.DirAssets)
' Dim fileName As String
' For i=0 To fList.Size-1
' fileName = fList.Get(i)
' If fileName.ToLowerCase.Contains("eng.traineddata") Then
' If File.Exists(tessDataPath,fileName)=False Then
' File.Copy(File.DirAssets,fileName, tessDataPath, fileName)
' End If
' End If
' Next
' End If
Click to expand...
public void TessOCR() {
String[] paths = new String[]{TESSERACT_PATH + "tessdata/"}...
Click to expand...
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید