Click here to Skip to main content
15,566,160 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello, i'm using tesseract.js ORC library to read what is written on an image and write it in console or on a text file so i found this library and it's working find with english word or characters but when i tried to read what is written on the image in arabic language it doesn't work so this is the image that i'm trying to read image.png and this is

What I have tried:

in head tage :-
<script src='https://unpkg.com/tesseract.js@v2.1.0/dist/tesseract.min.js'</script>

<script>
        Tesseract.recognize(
        'image.png',
        'ara',
  { logger: m => console.log(m) }
).then(({ data: { text } }) => {

})
</script>
Posted
Comments
Richard MacCutchan 28-May-22 4:17am    
You need to contact the people who wrote the library.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900