183 - OCR in python using keras-ocr

  Рет қаралды 17,100

DigitalSreeni

DigitalSreeni

Күн бұрын

Пікірлер: 33
@akshaykhare9466
@akshaykhare9466 3 жыл бұрын
I tried this code, but after printing np.shape(images), every time it is showing message 'kernel died' . This is happening in Jupyter notebook as well as in Spyder. So I am not getting the output. I tried restarting kernel but same thing happening again and again. What should I do?
@IntenseRouge
@IntenseRouge Жыл бұрын
Wow! I wasn’t aware of this ocr library and not having been satisfied with the results of what I had tried out, I am so glad you posted this video. I’ll test the keras ocr soon. Thank you so much.
@DigitalSreeni
@DigitalSreeni Жыл бұрын
Welcome!
@deepakkumarjha1442
@deepakkumarjha1442 3 жыл бұрын
Really amazing work sir. I was putting huge effort for building the OCR like this in very short span of time and while working on it I spotted this and the work is done. Now I move further in other parts of the research. Great!!! Thanks again sir...
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
I am glad it helped. The whole point of my tutorials is to teach but also help others not waste their time reinventing code.
@shimisys429
@shimisys429 3 жыл бұрын
when i write the code "import keras_ocr", it giving me an error said that no module named 'keras_ocr'. I already pip install the keras-ocr
@shimisys429
@shimisys429 3 жыл бұрын
try: # %tensorflow_version only exists in Colab. %tensorflow_version 2.x except Exception: pass I just found the solution. need to install tensorflow first with this code
@arturosorianorodriguez4584
@arturosorianorodriguez4584 Жыл бұрын
I have a problem. The code recognizes all the letters, but the H no. What can I do?
@kusamuzukashi3825
@kusamuzukashi3825 2 жыл бұрын
amazing video sir, thanks for this nice explaining
@ouardafenek3765
@ouardafenek3765 3 жыл бұрын
Dear Sir, Thank you for the video. Is it possible to fine tune the model on a personal data to make it better on use case ? Thank's in advance.
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
I recommend you to look into the documentation for this library to fine tuning the model. Often times you should be able to take their model and further train it with your data.
@Zeeshanmys
@Zeeshanmys 3 жыл бұрын
Great information srini.. Which has better accuracy is it keras ocr or tessaract...??
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
I like EasyOCR... wait for my video on this topic... (August 2nd)
@Zeeshanmys
@Zeeshanmys 3 жыл бұрын
@@DigitalSreeni that was quick.. Thanks srini... Waiting for it..
@sagihaviv5675
@sagihaviv5675 3 жыл бұрын
sir is it possible to recognize and extract a specific sentence or word in ocr? do i need to use nlp for that? please give me advice
@truongzgiang
@truongzgiang Жыл бұрын
Only trian for show , can't do anything useful with it , if you want to take words form image , you write it with fingers , believe me 1000 ocr video on KZbin is trash , only trian and do nothing
@roderickdunn2517
@roderickdunn2517 2 жыл бұрын
Thank you for the great introduction to this library, it looks fantastic. However, running the demo code on my Mac (M1) is giving me strange results - Text Detection and Localization is working fine, but the character recognitions are completely wrong, most words are recognized as something like "tuueldkstt" or other very similar nonsense. Almost seems like the recognition model wasn't loaded correctly. Do you have any thoughts as to why this could be happening?
@sharonibejih2806
@sharonibejih2806 3 жыл бұрын
Hi @DigitalSreeni, I'm trying to finetune the keras OCR recogniser using my own dataset by following their documentation. But my image size is different from theirs and this is giving an error (as anticipated). The error message says ValueError: You are trying to load a weight file containing 16 layers into a model with 15 layers. I am just finding it hard to figure out how to change the input size, without having to train from scratch. Can you help, please? Looking forward to your response.
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
Please checkout if this approach works for you. kzbin.info/www/bejne/pajMopewncaSeqc
@buxA57
@buxA57 2 жыл бұрын
After line pipeline.recognize(images) no more code is executed and program finishes, i have no idea what is problem even after google search. 2022-06-23 12:24:26.055634: I tensorflow/stream_executor/cuda/cuda_dnn.cc:384] Loaded cuDNN version 8400 Process finished with exit code -1073740791 (0xC0000409)
@shreyaputhran7646
@shreyaputhran7646 2 жыл бұрын
how to print the text as output. Pls help
@evyatarcoco
@evyatarcoco 4 жыл бұрын
Dear sir, Where can we subscribe to every keras library released in order to keep learning? Do you have any recommendations? Thanks
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
Unfortunately there is not single place (that I know of) where you can get information about all keras based applications. May be keras documentation page helps a bit but many useful applications based on kears are not listed there.
@dileepchakravarthyhsa6351
@dileepchakravarthyhsa6351 3 жыл бұрын
hi sreeni i am trying to run code but i am getting this error again and agian can you help me to sort it out TypeError: annotate() missing 1 required positional argument: 's'
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
This seems to be a new error showing up when you try to draw extracted text on to your original image. But the actual process of extracting text should work.
@muhammadizzat4388
@muhammadizzat4388 3 жыл бұрын
sorry to ask, how do i install it from github??
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
Please read the documentation on github. It saus, one way to install is via: pip install keras-ocr
@mohamedtouati9663
@mohamedtouati9663 4 жыл бұрын
Is keras-ocr work with other languages? I just see no argument in the function
@DigitalSreeni
@DigitalSreeni 4 жыл бұрын
I believe it is English only. Try tesseract for non English OCR. I never used it but the documentation seems to be straightforward.
@mohamedramzyibrahim6375
@mohamedramzyibrahim6375 3 жыл бұрын
Thank you very much
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
Any time
@moh92001
@moh92001 4 жыл бұрын
thanks
@DigitalSreeni
@DigitalSreeni 4 жыл бұрын
Welcome
191 - Measuring image similarity in python
12:23
DigitalSreeni
Рет қаралды 46 М.
How to Preprocess Images for Text OCR in Python (OCR in Python Tutorials 02.02)
53:24
Python Tutorials for Digital Humanities
Рет қаралды 167 М.
БУ, ИСПУГАЛСЯ?? #shorts
00:22
Паша Осадчий
Рет қаралды 2,9 МЛН
Long Nails 💅🏻 #shorts
00:50
Mr DegrEE
Рет қаралды 14 МЛН
COM..Lec.:11.. Motion of Center of Mass for XI,JEE & NEET
33:53
Study Hacks - Zarif Siddique
Рет қаралды 14
Optical Character Recognition with EasyOCR and Python | OCR PyTorch
16:00
Nicholas Renotte
Рет қаралды 149 М.
182 - How to batch process multiple images in python?
21:57
DigitalSreeni
Рет қаралды 20 М.
Text Detection with OpenCV in Python | OCR using Tesseract (2020)
28:36
Murtaza's Workshop - Robotics and AI
Рет қаралды 424 М.
23 - Histogram based image segmentation in Python
24:12
DigitalSreeni
Рет қаралды 37 М.
181 - Multivariate time series forecasting using LSTM
22:40
DigitalSreeni
Рет қаралды 286 М.
Optical Character Recognition (OCR) in Python using keras-ocr
8:28
Bhavesh Bhatt
Рет қаралды 21 М.
184 - Scheduling learning rate in keras
16:11
DigitalSreeni
Рет қаралды 8 М.
118 - Object detection by template matching
12:08
DigitalSreeni
Рет қаралды 41 М.
Keras OCR - Reading Text from Images and Custom Models using Python
8:52
Introducing the "VitaWear SmartBand," a next-generation wearable gadget🎉
1:00
Vrashika Rajput Official
Рет қаралды 8 МЛН
😱Складных смартфонов больше не будет
0:46
ÉЖИ АКСЁНОВ
Рет қаралды 355 М.
Никогда так не делайте #сборка #пк #pcbuild
0:17
XDOT PC - Игровые ПК
Рет қаралды 1,6 МЛН