Rip out Drug Labels using Deep Learning with PaddleOCR & Python

  Рет қаралды 42,379

Nicholas Renotte

Nicholas Renotte

Күн бұрын

Пікірлер: 124
@danielbozinovski8419
@danielbozinovski8419 3 жыл бұрын
Just watched some of your previous tf videos, and man was I blown away by how you didn't already have at least a million subs. Keep up the awesome work!
@dan3370
@dan3370 3 жыл бұрын
This guy deserves more subs! One of the best content creator in the ML space.
@salabsonisa1650
@salabsonisa1650 3 жыл бұрын
Hi nick, I love your videos because of how detailed you are. Since I discovered your channel I have never been the same because I have learned a lot from your teaching method and technical stuff on AI and deep learning. Kudos to you for your effort to impart knowledge.
@flashkachannel2756
@flashkachannel2756 3 жыл бұрын
Agree
@alexandregagne4151
@alexandregagne4151 3 жыл бұрын
Agree 👌👍👌
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Thanks so much @Salabson! Means a ton to me 🙏
@hilariouzclips1235
@hilariouzclips1235 3 жыл бұрын
Your channel is the only one that I've click the bell button. Your vids are 💎
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
🙏❤
@janicejose5809
@janicejose5809 3 жыл бұрын
Accidently stumbled upon this channel .Thanks a lot ,This was exactly what I was looking for !!
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Glad you stumbled over here Janice, welcome to the team!
@janicejose5809
@janicejose5809 3 жыл бұрын
@@NicholasRenotte Hello sir your channel has pretty amazing content .I was planning on building an app that helps in detecting fake medicines using computer vision techniques .Could u please make a video wherein it analyse the input images and detects the difference and highlight it or any related tutorial .Thanks a lot
@pseudounknow5559
@pseudounknow5559 3 жыл бұрын
Thanks for your positivity in all of your videos 😊
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Gotta be! Life is too short, just tryna have some fun along the way!
@csoham96
@csoham96 2 жыл бұрын
This model is crazy good with accuracy! Love your tutorial as always
@brunospfc8511
@brunospfc8511 Жыл бұрын
Still works, very easy, thanks Nick!
@mathewsjoby6455
@mathewsjoby6455 3 жыл бұрын
Always LOVED YOU CONTENT FROM DAY 1 SINCE I GOT HERE! Simple and Intelligent content which any KID can understand the most complex things! good job!
@leoletchoum
@leoletchoum 3 жыл бұрын
I love the video thanks Nick! Something that might be useful for Mac users is adding the following option at the beginning of step 2: ocr_model = PaddleOCR(lang=‘en’, use_gpu=False) Tested it on MBP Intel and worked like a charm with impressive accuracy :-)
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Ha, that's awesome. Thanks so much for sharing my guy!!
@shareb1t
@shareb1t Ай бұрын
So if i have font file but language is old forgotten one from 500s, can I still train OCR with that font which I have for that language? Purpose is to digitilize books from museum
@VivekSingh-in6rq
@VivekSingh-in6rq 3 жыл бұрын
thanks for always posting videos, love them
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Stoked man, so pumped you're enjoying them!
@PD-iu2sr
@PD-iu2sr 2 жыл бұрын
Hiii @Nicholas is it possible for live camera detection???
@samahashabbir6584
@samahashabbir6584 2 жыл бұрын
Hi Nick! TypeError Traceback (most recent call last) in ----> 1 annotated = draw_ocr(img, boxes, texts, scores, font_path=font_path) /usr/local/lib/python3.7/dist-packages/paddleocr/tools/infer/utility.py in draw_ocr(image, boxes, txts, scores, drop_score, font_path) 380 box_num = len(boxes) 381 for i in range(box_num): --> 382 if scores is not None and (scores[i] < drop_score or 383 math.isnan(scores[i])): 384 continue TypeError: '
@KD-qo7kx
@KD-qo7kx 7 ай бұрын
this is kinda late, but has anyone gotten a solution for this? chatgpt is not helping at all
@alexandregagne4151
@alexandregagne4151 3 жыл бұрын
Like always, 😎😎😎. Good job Nicholas.
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Thanks a mil!
@SasiKumar-zz5ps
@SasiKumar-zz5ps 6 ай бұрын
@NicholasRenotte Is there any option like paddle OCR can we create custom OCR model and application from scratch, what are the steps has to be done from your thoughts.
@yohannesabrha6823
@yohannesabrha6823 Жыл бұрын
Great Presentation and work. did you try to train it by using your own datasets ?
@VivekSingh-in6rq
@VivekSingh-in6rq 3 жыл бұрын
by the way, i think this video is created a weeks ago because there has been certain changes in the stable release and code would have to be modified accordingly
@PurushothamReddy-ff6vp
@PurushothamReddy-ff6vp 5 ай бұрын
hello, Awesome video!, i have a small doubt, if im trying to extract data from a table is there any way to extract data as as rows instead of selecting each line as a raw which it does by default? Thank you!
@leezx337
@leezx337 Жыл бұрын
Good Afternoon Mr Nicholas Renotte, my kernel keeps dying when i run 'from paddleocr import PaddleOCR...' even though i manage to install the packages required... do you know how i might resolve this issue or what the potential problem is? THANK YOU!!
@serboutyassine1733
@serboutyassine1733 3 жыл бұрын
Amazing content, you are the best.
@sebastianromero5686
@sebastianromero5686 2 жыл бұрын
Amazing video! Is it possible to implement it in a mobile app through React Native? Thanks a lot Nick!!!
@saharshsinha5349
@saharshsinha5349 2 жыл бұрын
In instantiating model and detect section, when i setup the model with ocr = PaddleOCR(leng='eng') , I am getting an error that is: AttributeError: module 'paddle.fluid.core_avx' has no attribute 'is_compiled_with_rocm' How can solve this, any help?
@lailigita4251
@lailigita4251 2 жыл бұрын
i have the same problem
@aviparnabiswas3707
@aviparnabiswas3707 Жыл бұрын
Seems to me that your pc might not have GPU integrated. While installing paddle-ocr do not provide the gpu argument
@myriamagrebi2114
@myriamagrebi2114 Жыл бұрын
@@aviparnabiswas3707 hello you can change it with this: # Setup model ocr_model = PaddleOCR(lang='en', use_gpu=False)
@romeshrajoria4267
@romeshrajoria4267 3 жыл бұрын
Hey, I saw your TensorFlow object detection API video. I have a query to ask. I want to know how to visualize the custom trained model & how we can edit these layers for creating a new model.
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Not possible to dive into the underlying layers with the TFOD API afaik. Can fine tune if needed but added explicit layers using keras for example isn't possible .
@ChetnaLongani
@ChetnaLongani Жыл бұрын
Hi Nick, very well explained. But I get error 'Can not import paddle core while this file exists: /usr/local/lib/python3.10/dist-packages/paddle/fluid/libpaddle.so' Please help
@pandat99
@pandat99 3 жыл бұрын
Hi Nick, I'm having a little issue...when I try to call PaddleOCR in my python script I keep getting a WinError 126, any advice?
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Got a longer error for me?
@prateekeshsabat4631
@prateekeshsabat4631 2 жыл бұрын
@@NicholasRenotte yes same i am also getting when i was trying to write the script in vscode
@vasamsettisharmilasairagha5863
@vasamsettisharmilasairagha5863 Жыл бұрын
Could not find a version that satisfies the requirement paddlepaddle-gpu==2.0.0 (from versions: none) I'm getting above error can anyone suggest a solution
@dinugakasun5218
@dinugakasun5218 3 жыл бұрын
superb video, but I have a question, is there any possible way to extract texts from only specific parts of an image, for example. I have an image of the license card, I need to extract only the name and address. Any help you can provide would be greatly appreciated. Thank you.
@gisellepena7927
@gisellepena7927 3 жыл бұрын
Same question.
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
You can isolate that part of the frame and pass that through to the OCR model. This is a little trickier though particularly if that region is going to be in a different location each time.
@dinugakasun5218
@dinugakasun5218 3 жыл бұрын
@@NicholasRenotte yeah, figured out a way using object detection and crop the roi then pasting roi's separetly. Anyway Thank you, You are the best
@rachanareddy6115
@rachanareddy6115 2 жыл бұрын
I'm getting an error installing paddleOCR. I have a MacBook with M1 chip. It would be great if you could help me with that! Thank you
@rikeshpatel309
@rikeshpatel309 2 жыл бұрын
Hi, I have same error, did you happen to find the fix?
@lebaolochuynh4222
@lebaolochuynh4222 3 жыл бұрын
thank you for very greate video. but in paddle paddle do we need preprocess our image first ?
@TEAM-sn1lw
@TEAM-sn1lw 6 ай бұрын
iam unable to extract only text ,but able to extract info about coordinates and text together .what should i do extraxt only text
@sheetaljoshi6740
@sheetaljoshi6740 Жыл бұрын
RuntimeError: (PreconditionNotMet) The third-party dynamic library (cudnn64_8.dll) that Paddle depends on is not configured correctly. (error code is 126)
@shraddhapawar5921
@shraddhapawar5921 3 жыл бұрын
Hello Nicholas, thank you so much for your awesome videos! they are really very helpful! keep it up . I have one question if we can use paddle ocr for handwritten text too? Thank you
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Nope, would suggest using a handwritten dl model for that!
@krtk9675
@krtk9675 2 жыл бұрын
Loved the video man this is an awsome video, Is there anyway we can specifially get only drug name from that text.
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Yep, should be able to extract it from the results using some indexing.
@arifshaik9201
@arifshaik9201 2 жыл бұрын
Loving it Nicholas........can you please share the video link or upload for, how we can detect the specific drug label. Thanks in Adv..
@cissemy
@cissemy Жыл бұрын
Hi Is it possible to use this model to extract : number of rows and columns, elements of matrix ?
@prateekeshsabat4631
@prateekeshsabat4631 2 жыл бұрын
Hey, Nicholas Thanks for the content. Can we run this on the windows vscode
@anishaudayakumar1778
@anishaudayakumar1778 3 жыл бұрын
Amazing content as always ❤️! Is this licensed model? How good is paddleOCR when compared to Tesseract?
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
It's very good especially when it comes to preprocessing (virtually none needed). Looks like it's open source under Apache!
@donovanvanderlinde3478
@donovanvanderlinde3478 8 ай бұрын
Fix for M1 issues with PyMyPDF: ERROR: Failed building wheel for PyMuPDF # brew install swig # pip3 install paddleocr --upgrade PyMuPDF==1.21.1
@medjawherzgolli9507
@medjawherzgolli9507 7 ай бұрын
thank you , it worked
@kiranquidwai1128
@kiranquidwai1128 Жыл бұрын
Can u make a video on recognizing words in handwritten sentence?
@brianfc1906
@brianfc1906 3 жыл бұрын
Just here to let you know how awesome you are ❤️
@ramkrishnachoudhary633
@ramkrishnachoudhary633 2 жыл бұрын
Hello sir.....kindly do a video on how to recognise handwritten text characters.....it would be great help
@tylerkim4799
@tylerkim4799 6 ай бұрын
I know this video is old and would be surprised to see a reply but the format is a little different now. To get the text, it is now 4 slots. To get the text, it would be [0][line number][1][0] and I cant use the for loop when the var is not in the first slot. Suggestions?
@tylerkim4799
@tylerkim4799 6 ай бұрын
also I am very new to coding
@gustavojuantorena
@gustavojuantorena 3 жыл бұрын
Nice and simple! 👏👏
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Thanks a billion @Gustavo!
@hatemhenchir
@hatemhenchir 2 жыл бұрын
Good job . In anpr system in pi4 who the best easyocr or paddleocr
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
I'm using Paddle these days, works really well. Haven't done a proper comparison though @Hatem
@senthilkumarnadarajan2247
@senthilkumarnadarajan2247 Жыл бұрын
Hi Nicolas. Your video was awesome and it was a great help in implementing our ocr model. If possible, Please do a tutorial for paddle lite in mobile
@ayamahmoud5700
@ayamahmoud5700 Жыл бұрын
Hi nick, I want to ask you if you try to deploy paddleocr on mobile application ?
@__-_-__..
@__-_-__.. 3 жыл бұрын
Awsome content again! I'm wondering if you have created a tutorial for Emotion Recognition? Thanks!
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Yup! Check out the body language decoder vid on the channel!
@suryatejamenta6555
@suryatejamenta6555 2 жыл бұрын
Which one is the best? EasyOCR or PaddleOCR..!
@ridewithkay
@ridewithkay 3 жыл бұрын
Hey nick, i've run into another error i can't seem to install paddleocr. the error "failed building wheel for python-Levenshtein" keeps appearing i've tried everything i can find related to paddleocr on the internet and can't seem to find a way to fix the error
@mrityunjaysingh607
@mrityunjaysingh607 3 жыл бұрын
Hey Nick, I am also facing same error.
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Got Visual C installed? Take a look at this; stackoverflow.com/questions/37676623/cant-install-levenshtein-distance-package-on-windows-python-3-5
@ridewithkay
@ridewithkay 3 жыл бұрын
@@NicholasRenotte hey nick thanks for replying, apparently it's smtng to do with my computer? Cause when i send the code to my friend who is using a different model year and brand computer it can run perfectly. Anyways, thanks for the help 😄
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
@@ridewithkay hmmm, does it run on Colab? Might be a faster solution!
@RAZZKIRAN
@RAZZKIRAN 3 жыл бұрын
i want to extract hand written text from image,
@TaoZen888
@TaoZen888 Жыл бұрын
Hi nick. who is jan lokon, lokoun at 2:26 ?
@juanricardorivera3591
@juanricardorivera3591 3 жыл бұрын
Thanks for posting. It's not directly related but perhaps you/others can share ideas on how to solve something I've been struggling with: in a supermarket, how to identify what price belongs to what product? Once the above is clear, the OCR solution would fit perfectly.
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Kinda tricky, first up, this would be a HUGE model. One approach could be to classify the products with an image could classify the products.....actually wait, do you need to map the physical photos of the products to prices?
@juanricardorivera3591
@juanricardorivera3591 3 жыл бұрын
@@NicholasRenotte yup. We need from an image to get the products and their corresponding prices
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
@@juanricardorivera3591 you could build an image classifier to classify the product then once classified do a lookup to a prices table!
@bambitousttous4311
@bambitousttous4311 3 жыл бұрын
Thanks for the tutorial ! Could you tell me please how to use a custom dictionary with python ?
@TejrajParab
@TejrajParab 3 жыл бұрын
Love your videos!
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Thanks a bunch @tejraj!!
@СветаСерикова-е2ю
@СветаСерикова-е2ю 3 жыл бұрын
"positional argument follows keyword argument" can you add links to documentation for OCR?? I've got problems with arguments if I set gpu as False
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
pypi.org/project/paddleocr/
@TamilSelvan-jl5nx
@TamilSelvan-jl5nx 3 жыл бұрын
HI nick,, can you pls ping how to retrain that Paddleocr module.. any video or documents.. Thanks in advance
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
github.com/PaddlePaddle/PaddleOCR/blob/release/2.2/doc/doc_en/recognition_en.md
@thelazydeveloper
@thelazydeveloper 3 жыл бұрын
amazing video .. can you make tutorials about custom mask rcnn for object segmentation and thanks
@kuronokei388
@kuronokei388 6 ай бұрын
first of all thanks so much u have been a great help, i clicked on the link below to install but it was all chinese
@bankcrawpackchannel6936
@bankcrawpackchannel6936 3 жыл бұрын
So awesome!!
@dalinsixtus6752
@dalinsixtus6752 8 ай бұрын
far better than tesseract and easy ocr i guess , im using it for prediciting the food can serial number and paddle is really great
@jayadevi2341
@jayadevi2341 2 жыл бұрын
Instead of image can I use scanned pdf
@BurnLai
@BurnLai 11 ай бұрын
good and clear.
@stevengiallourakis5816
@stevengiallourakis5816 Жыл бұрын
How did you handle the PHI?
@saurabhbudhori1776
@saurabhbudhori1776 3 жыл бұрын
FileNotFoundError: Could not find module 'C:\Users\budho\anaconda3\Library\bin\geos_c.dll' (or one of its dependencies). Try using the full path with constructor syntax. while importing paddleocr!!!!!!!!!
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Hmmm, not sure if this will help but does this work? github.com/Toblerity/Shapely/issues/1032
@profapps
@profapps 6 ай бұрын
please help with this issue TypeError Traceback (most recent call last) Cell In[141], line 6 3 plt.figure(figsize=(15,15)) 5 # draw annotations on image ----> 6 annotated = draw_ocr(img, boxes, texts, scores, font_path=font_path) 8 # show the image using matplotlib 9 plt.imshow(annotated) File ~\AppData\Roaming\Python\Python311\site-packages\paddleocr\tools\infer\utility.py:387, in draw_ocr(image, boxes, txts, scores, drop_score, font_path) 385 box_num = len(boxes) 386 for i in range(box_num): --> 387 if scores is not None and (scores[i] < drop_score or 388 math.isnan(scores[i])): 389 continue 390 box = np.reshape(np.array(boxes[i]), [-1, 1, 2]).astype(np.int64)
@sathyanarayanan4196
@sathyanarayanan4196 Жыл бұрын
the for is not working for me
@meghanarprakash7862
@meghanarprakash7862 Жыл бұрын
Great video, Thanks a lot!!!!!!!!! can you please make a video on how to install and use paddle ocr on raspberry pi???
@morancium
@morancium Жыл бұрын
bro I LOVE YOU
@ameerazam3269
@ameerazam3269 3 жыл бұрын
😊 😊 😊 😊 😊 😊 😊 thank you so much
@johnurena2863
@johnurena2863 Жыл бұрын
You are awesome!!!!
@tjtj1122
@tjtj1122 4 ай бұрын
pdf to json extract how
@irugal8964
@irugal8964 3 жыл бұрын
you are the best
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
noooo, you are!
@ChirawatNg
@ChirawatNg Жыл бұрын
Thank you :)
@wachangastephen2859
@wachangastephen2859 2 жыл бұрын
Hi Nick! Thank you very much for a super great tutorial. I would truly love if you can share how one can train the paddle ocr with some customized images, which would help improve on text extraction for different use cases. Once again thank you very much.
@alexsollis5504
@alexsollis5504 2 жыл бұрын
Did you give this a go?
@ashleysami1640
@ashleysami1640 3 жыл бұрын
👏👏
@souramrakesh8900
@souramrakesh8900 3 жыл бұрын
@fr3847
@fr3847 3 жыл бұрын
how would you do real time ocr detection via webcam?
@NicholasRenotte
@NicholasRenotte 3 жыл бұрын
Check this out: kzbin.info/www/bejne/Zl6XoZKHnNeXmKc
@sidmagger
@sidmagger Жыл бұрын
bro make QR on band to solve
@nosuchthing4789
@nosuchthing4789 2 жыл бұрын
Wow!
How I Turned a Lolipop Into A New One 🤯🍭
00:19
Wian
Рет қаралды 11 МЛН
НИКИТА ПОДСТАВИЛ ДЖОНИ 😡
01:00
HOOOTDOGS
Рет қаралды 2,7 МЛН
How to Preprocess Images for Text OCR in Python (OCR in Python Tutorials 02.02)
53:24
Python Tutorials for Digital Humanities
Рет қаралды 163 М.
How to Code a AI Trading bot (so you can make $$$)
35:09
Nicholas Renotte
Рет қаралды 659 М.
How is this Website so fast!?
13:39
Wes Bos
Рет қаралды 477 М.
Optical Character Recognition with EasyOCR and Python | OCR PyTorch
16:00
Nicholas Renotte
Рет қаралды 146 М.
Deep Drowsiness Detection using YOLO, Pytorch and Python
1:18:35
Nicholas Renotte
Рет қаралды 255 М.
Text Detection with OpenCV in Python | OCR using Tesseract (2020)
28:36
Murtaza's Workshop - Robotics and AI
Рет қаралды 423 М.
How I Turned a Lolipop Into A New One 🤯🍭
00:19
Wian
Рет қаралды 11 МЛН