Extract Text, Title, Paragraph, Image From A Image Document using Deep Learning.

Поділитися
Вставка
  • Опубліковано 18 лис 2024
  • Video demonstrates the extraction of particular text, title, images from an image document.
    Link: github.com/Lay...
    Notebook Link: github.com/kar...
    ✅Recommended Gaming Laptops For Machine Learning and Deep Learning :
    👉 1. HP Pavillion (Ryzen 5 / RTX 3050) - amzn.to/3HM2hI1
    👉 2. Asus TUF (Ryzen 7 / RT 3050) - amzn.to/3sISj5P
    👉 3. Acer Nitro 5 (Ryzen 5/ GTX 1650) - amzn.to/3HII8mi
    👉 4. Acer Nitro 5 (Intel Core i5-11th Gen/ GTX 1650) - amzn.to/3hHBAcN
    👉 5. Lenovo Legion 5 (Ryzen 5/ GTX 1650) - amzn.to/3KjpB1r
    ✅ Best Work From Home utilities to Purchase for Data Scientist :
    👉 1. Wifi Range Extender - amzn.to/3INxUCf
    👉 2. Samsung LED Monitor (24 Inches) - amzn.to/35U8sN3
    👉 3. Laptop Stand - amzn.to/3KhUzqS
    👉 3. Office Chair - amzn.to/3IJoiZl
    👉 4. Power bank - amzn.to/3IMISrQ
    👉 5. Wireless Keyboard and Mouse (Without Backlit) - amzn.to/3tthnNC
    👉 6. Table Lamp - amzn.to/3IJIieg
    👉 7. Table - amzn.to/3tv6tXA
    👉 8. Mic - amzn.to/35rnzOb
    ✅ Recommended Books to Read on Machine Learning And Deep Learning:
    👉 1. Natural Language Processing - amzn.to/35U8sN3
    👉 2. Hands On Machine Learning with Keras and Tensorflow - amzn.to/3KddeE2
    👉 3. Deep Learning with Pytorch - amzn.to/35Lk2Kd
    👉 4. Practical Machine Learning for Computer Vision - amzn.to/35Lk2Kd
    👉 5. Applied Data Science using Pyspark - amzn.to/3sLaV5s
    Connect with me on :
    1. LinkedIn: / karndeepsingh
    2. Telegram Group: telegram.me/da...
    3. Github: www.github.com...

КОМЕНТАРІ • 49

  • @tikam75007
    @tikam75007 2 роки тому +2

    thx man, it is pleasure to walk through your project. No bug, no surprise, really easy to go from one step to another, so smooth

  • @ShivShankarDutta1
    @ShivShankarDutta1 2 роки тому

    excellent explanation

  • @naveenkartikthangavel7237
    @naveenkartikthangavel7237 2 роки тому +3

    Hi sir, I'm actually confused at the step where we try to number the text blocks (the place where it assigns the numbering in the pic from 0 to whatever available), how does the numbering works? We are trying to retrieve the title, abstract, authors from a provided journal paper. We don't know how to retrieve those, as numbering is confusing. It would be really helpful if you give us some suggestions! Thank you..

    • @chinmaykalinkar4656
      @chinmaykalinkar4656 2 роки тому

      Hi Naveen!
      The numbering is basically distinguishing between text, title, figures etc. By just numbering you can differentiate between the types, either you give them labels like (title, text, etc.) or just give them numbers. If you will check the class "Detectron2LayoutModel" and its parameters that are passed. you will understand if you will not pass labels, it will by default assign the numbers to differentiate between the types.
      Hope this helps!
      Thanks.

  • @nageswarreddy8626
    @nageswarreddy8626 3 роки тому +2

    Please make a video on installing detectron2...No proper information available anywhere...it would be really helpful 🙏

    • @karndeepsingh
      @karndeepsingh  3 роки тому

      Check with there github page and raise the issue.

    • @ipopa1995
      @ipopa1995 3 роки тому

      As specifically on windows.

    • @karndeepsingh
      @karndeepsingh  3 роки тому +1

      I have a video on Object Detection using Detectron 2. Please check the video on channel, you see how detectron 2 can be installed.

  • @kibtiachowdhury6011
    @kibtiachowdhury6011 2 роки тому

    Hi Sir. This video is really helpful. It works. I have faced some problems. Some text block does not bounded perfectly. Some boxes shape is smaller than the real text . How can I get same to same text block size for each text block? How can I set segment_image?

    • @karndeepsingh
      @karndeepsingh  2 роки тому

      You may face little error while getting those boxes marked over the image and this is bcz of model error. You can increase the quality of image and try

    • @kibtiachowdhury6011
      @kibtiachowdhury6011 2 роки тому

      @@karndeepsingh Sir, I want to get paragraph and title from every pages of pdf. All pages does not work same config value and padding value. I had to changed for every pages. I want to get all the pages text at once, without changing it every time. How can I solve this?

  • @ribhavojha3638
    @ribhavojha3638 Рік тому

    hello. I was trying to pip install layoutparser in coda env miniforge, but it just doesn't not work. Any idea why

    • @karndeepsingh
      @karndeepsingh  Рік тому

      You can try to install layoutparser from official site

  • @TheChaoticTranquil
    @TheChaoticTranquil Рік тому

    Any reference on how to train layoutParser on custom dataset? Another question, how do you compare layoutlmv3 with layoutParser? Is Layoutlmv3 able to create bounding boxes around textareas similar to this?

    • @karndeepsingh
      @karndeepsingh  Рік тому

      Both of the model have different architecture and are used for different purpose.
      Layoutparser is used for extracting generic layout informations like text, paragraphs, images etc.
      LayoutLM models used from extracting keyword information from images or pdfs using language model and layout information

  • @wilianuhlmann5284
    @wilianuhlmann5284 2 роки тому

    How do I create my own training? I have this need because I wanted to train Brazilian newspapers (Language Portuguese BR) and with this training base in English it is not performing well.
    Can you help me?

  • @RahulParmar-ld4ut
    @RahulParmar-ld4ut Рік тому

    Hi Karndeep,
    how to finetune this model on two classes: text and table?

    • @karndeepsingh
      @karndeepsingh  Рік тому

      You can train object detection model with the dataset. Also, you can fine tune LiLT models with the dataset to detect the classes you need.

  • @yuvrajjadhav1506
    @yuvrajjadhav1506 Рік тому

    Hi karandeep can you give me training to extract data from image and pdf

  • @kudaykumar1261
    @kudaykumar1261 3 роки тому

    Thank you so much its really help full.

  • @Moniragu
    @Moniragu 6 місяців тому

    how to download excel format

  • @GuruTechHub
    @GuruTechHub 2 роки тому

    hi. please make video on extract hindi table contains text in devnagri or utf-8 mangal to csv from images. i try lot on inter but not found any video or method.. please make video on this it will help lot

  • @varunpusarla
    @varunpusarla Рік тому

    How can we change the color map ?

  • @marouanezaid4066
    @marouanezaid4066 2 роки тому

    hello, actually im working on a model that extract automatically information from scientific articles (like title of the article, authors, date, published on ....) do you have an idea on how i can do it ? what should i use to achieve it ?

    • @karndeepsingh
      @karndeepsingh  2 роки тому +1

      Try using object detection models

    • @marouanezaid4066
      @marouanezaid4066 2 роки тому

      @@karndeepsingh ok thanks, i will try

    • @marouanezaid4066
      @marouanezaid4066 2 роки тому

      @@karndeepsingh and i have a question plw, can detecting object of a scientific article (like detecting title or authors) help extracting it automatically ?

  • @20-reddyprakashg10
    @20-reddyprakashg10 2 роки тому

    Hi sir can we detect and extract only photo(user image) from document.

  • @DANstudiosable
    @DANstudiosable 2 роки тому

    Nice tutorial. Thanks alot!
    Is there any way where we can associate titles with their corresponding paragraph?
    Or at least print a paragraph by selecting their respective title.
    Example:
    print(data['TitleName'])
    Output:
    Corresponding paragraph......

    • @karndeepsingh
      @karndeepsingh  2 роки тому

      You can try to iterate both title name and Paragraph at the same time to generate respective title with paragraph. Haven’t tried it though. But it should be achievable.

    • @DANstudiosable
      @DANstudiosable 2 роки тому

      @@karndeepsingh Nope. The output titles and paragraphs are still random.

  • @EhsanIrshad
    @EhsanIrshad 2 роки тому

    What about line segmentation?

  • @sushruthbhat5727
    @sushruthbhat5727 3 роки тому

    Hey, really helpful video. But is there a way I can extract only the images using this library?

  • @manuthvann7560
    @manuthvann7560 2 роки тому

    hi Karndeep , I am totally appreciated your hard work a lot dear, but as I have followed up with your detectron2 vdo , there is an error with the Cuda of collab and PyTorch, I have tried to fix it but it doesn't work, can you help me out with that, the Cuda in my collab is 11.1 while in PyTorch is 1.7 , and I am working with GPU runtime. Looking forward to be hearing from you thx

    • @karndeepsingh
      @karndeepsingh  2 роки тому

      You have to pip install detectron 2 of pytorch 1.7 version similar to your colab version. You can change the pytorch version in the line where pip install detectron 2 is mentioned. Please check.

  • @mohitsoni1294
    @mohitsoni1294 3 роки тому

    can i save this extracted text to database?

    • @karndeepsingh
      @karndeepsingh  3 роки тому

      Yes you can extract and save it in database it required format.

  • @poojabhandari631
    @poojabhandari631 Рік тому

    how to do it in vs code

  • @HariHaran-mb3hh
    @HariHaran-mb3hh 2 роки тому

    What if we don't know the language of the image content ?

    • @karndeepsingh
      @karndeepsingh  2 роки тому

      CV models never see language to detect the regions

    • @HariHaran-mb3hh
      @HariHaran-mb3hh 2 роки тому

      @@karndeepsingh yes..but after OCR process u can't copy the text. Its need to give language as a input for tesseract and ocrmypdf libraries. Then only u can copy the content

    • @karndeepsingh
      @karndeepsingh  2 роки тому +1

      @@HariHaran-mb3hh if you want it to detect the language before OCR then you can train an Object detection model and mark the region of interest with class as language (whatever text language present inside the region of interest) hence while inference you can get region of interest plus class as language.

  • @ytiam-unata
    @ytiam-unata 3 роки тому +1

    Awsome

  • @A.El-Taher
    @A.El-Taher Рік тому

    the sound of mouse click is very noisy