Tesseract JS | Extract Text From Image | Playwright Tutorial Part 66

preview_player
Показать описание
Let's see how to extract text from an image and also learn how to scrap mobile numbers from the Justdial webpage. It's easy and fun

Source code:

---------------------------------------------------------------------
😊Just in case if you want to support me,

--------------------------Thank you---------------------------

Thanks for watching, if you like the video, give it a thumbs up 👆.
Sharing is caring, kindly share the video with your friends and colleagues.
Don't forget to subscribe and hit the bell 🔔 notification.

--------------------------------SOCIAL--------------------------------

Join our WhatsApp group (Only for Channel Members)

#letcode #playwright
Рекомендации по теме
Комментарии
Автор

Does not seem to work anymore. As justdial is no longer showing phone numbers on the search results page. We have to manually click to reveal the number.

--tiktok
Автор

But its showing error as node js issue not retrieving from screenshot

harishbabu
Автор

Would this work for captcha images that contain letters?

piratax
Автор

Are you already on video about storageState, extensions and puppeter-extra or plan to do so?
Thanks.

MatheusSilva-qmph
Автор

Hi Koushik, I'm facing a issue in Playwright. I'm using a for loop to iterate a test block inside a describe. But playwright is not able to identify the test block inside the for loop. It is giving "no tests found". Kindly help me to resolve this issue. Thank you

prasadverma
Автор

Hi koushik, thank you for sharing. I’m using .js test files instead of type script and for me I’m getting error at require(‘tesseract.js’). Also I do not see screenshot method for ‘img.’
Can you please help me with this

cmpunk
Автор

Thanks for this tutorial! I was hoping to see how you would verify the text was retrieved from the screenshot. Also, would you say that this is the best free option for verifying text that appears on a pdf with playwright?

garyrobinson
Автор

Awesome... Playwright run chrome extension in headless ?

MatheusSilva-qmph