I am new to Tesseract OCR, I want to scrape data from this image statement using PHP.
I try to run “tesseract “D:/page_2.png” “D:/page_2.txt” -l eng” using shell_exec, but the result is empty.
Here is the image I want to scrape image
Has anyone experienced this? Please help.
Thank you.
I want the output to be json like this
{
"norek": "046-1943-828",
"nama": "ANUGERAH RUTH ANGG",
"mutasi": [
{
"tgl": "01/06",
"ket": "3105/FTSCY/WS95271 3300000.00LAMBERTO FREDRICKN TRSF E-BANKING CR",
"total": "3,300,000",
"tipe": "CR"
},
{
"tgl": "02/06",
"ket": "0206/FTSCY/WS95031 150000.00babi kecap GALUH RATNA YUNIAT TRSF E-BANKING DB",
"total": "150,000",
"tipe": "DB"
}
]
}