You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the following code in 2 diff approaches, the code works perfectly if I use "PyTessBaseAPI" approach, however, if I want to switch to the simpler side with TESSDATA_PREFIX, I start to run into error that I can't figure out why.
I just wondering what's the reason behind it since both approaches are listed in the doc, I am also believe my tessdata folder is correct since one path worked (let alone I didn't do anything training, I just copy one of the default eng version).
Happy path with PyTessBaseAPI
Weird failure
The text was updated successfully, but these errors were encountered:
I have the following code in 2 diff approaches, the code works perfectly if I use "PyTessBaseAPI" approach, however, if I want to switch to the simpler side with TESSDATA_PREFIX, I start to run into error that I can't figure out why.
I just wondering what's the reason behind it since both approaches are listed in the doc, I am also believe my tessdata folder is correct since one path worked (let alone I didn't do anything training, I just copy one of the default eng version).
Happy path with PyTessBaseAPI
![image](https://private-user-images.githubusercontent.com/6720172/277185060-66d0222b-5ad6-4196-a721-a248b4e4792f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkyNTcwMTgsIm5iZiI6MTcxOTI1NjcxOCwicGF0aCI6Ii82NzIwMTcyLzI3NzE4NTA2MC02NmQwMjIyYi01YWQ2LTQxOTYtYTcyMS1hMjQ4YjRlNDc5MmYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjRUMTkxODM4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OTE1ZDA4NzRiMmZmOWM2MGQwZjU5MzVkMzkxMjUxZjZkMzMyNjg4YjcwMWQ3NWVmYzViYzcxMjUyMDg3ZDZjMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.kS4eXvMOQrZpNBSkVf1IuHPC99zHyxAztvr1jS9B52Q)
Weird failure
![image](https://private-user-images.githubusercontent.com/6720172/277185142-62f13ca3-6cb4-4d1c-8bb3-0570db6384ed.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkyNTcwMTgsIm5iZiI6MTcxOTI1NjcxOCwicGF0aCI6Ii82NzIwMTcyLzI3NzE4NTE0Mi02MmYxM2NhMy02Y2I0LTRkMWMtOGJiMy0wNTcwZGI2Mzg0ZWQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjRUMTkxODM4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YWQ1NDRmMmRmOWU0OWU1NDM5YWI1NWMyZTQ2MGU5NDJjZGFmYmRkOTY1Zjg2YTc1MTc2MWNhZWRjNDM1MDI2NCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.siTZ07lg9YDdEEbndbajBbX9BqlEvyohqRCmiCBFDEg)
The text was updated successfully, but these errors were encountered: