Answers.Body: <p>I will consider that you need to extract(crop) the digram from the pdf research paper. You can use <a href="https://stackoverflow.com/questions/2693820/extract-images-from-pdf-without-resampling-in-python">PyPDF2 or PyMuPDF</a> to extract the images from the PDF file and then you can apply machine learning to do recognition and classification of the images. There are different types of machine learning solutions for image classification and you can start with <code>Convolutional Neural Network</code> and you can start <a href="https://azati.ai/image-detection-recognition-and-classification-with-machine-learning/" rel="nofollow noreferrer">here</a>.</p>
  
  <p>For more information for Recognition and classification of figures  see <a href="https://scholar.google.com/scholar?start=10&amp;hl=en&amp;as_sdt=2005&amp;sciodt=0,5&amp;cites=16968553281840282959&amp;scipsc=" rel="nofollow noreferrer">these</a>  and to extract of figures from scholarly documents read <a href="https://clgiles.ist.psu.edu/pubs/doceng2015-src-figextraction.pdf" rel="nofollow noreferrer">this </a> </p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-12-14T04:45:48.053Z
Answers.LastActivityDate: 2019-12-14T04:59:27.803Z
Answers.LastEditDate: 2019-12-14T04:59:27.803Z
Answers.UserDisplayName: I_Al-thamary
Body: <p>How can I detect diagram region and extract(crop) it from a research paper
  <a href="https://i.sstatic.net/FOiST.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/FOiST.png" alt="enter image description here"></a></p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-12-13T20:55:05.533Z
Comments.Text: your question is pretty general and I'm guessing by the down-vote that others feel the same.  perhaps research a few methods quickly and learn roughly what they mean, make a list of them and pose a question about which of the methods on your list have worked for others. a quick google of "how to detect and crop a region of an image" will get you started.
Comments.UserDisplayName: user1269942
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-12-14T04:36:02.247Z
Comments.Text: There are many methods that extract the image from file and you can apply image detection after that but you did not tell what type of file you need to extract(crop). So, your question needs to be clarified.
Comments.UserDisplayName: I_Al-thamary
Tags: <machine-learning><deep-learning><object-detection><optical-character-recognition>
Title: How can I detect diagram region and extract (crop) it from a research paper
UserDisplayName: Lalit Vyas
ThreadText: # How can I detect diagram region and extract (crop) it from a research paper
  
  (Asked by: username_0 on 2019-12-12)
  
  How can I detect diagram region and extract(crop) it from a research paper
  [![enter image description here](https://i.sstatic.net/FOiST.png)](https://i.sstatic.net/FOiST.png)
  
  **Tags:** machine-learning, deep-learning, object-detection, optical-character-recognition
  > **Comments:**
  > **username_1**: your question is pretty general and I'm guessing by the down-vote that others feel the same.  perhaps research a few methods quickly and learn roughly what they mean, make a list of them and pose a question about which of the methods on your list have worked for others. a quick google of "how to detect and crop a region of an image" will get you started.  
  > **username_2**: There are many methods that extract the image from file and you can apply image detection after that but you did not tell what type of file you need to extract(crop). So, your question needs to be clarified.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2019-12-14. Score: 1 | Accepted answer
  
  I will consider that you need to extract(crop) the digram from the pdf research paper. You can use [PyPDF2 or PyMuPDF](https://stackoverflow.com/questions/2693820/extract-images-from-pdf-without-resampling-in-python) to extract the images from the PDF file and then you can apply machine learning to do recognition and classification of the images. There are different types of machine learning solutions for image classification and you can start with `Convolutional Neural Network` and you can start [here](https://azati.ai/image-detection-recognition-and-classification-with-machine-learning/).
  
  For more information for Recognition and classification of figures see [these](https://scholar.google.com/scholar?start=10&hl=en&as_sdt=2005&sciodt=0,5&cites=16968553281840282959&scipsc=) and to extract of figures from scholarly documents read [this](https://clgiles.ist.psu.edu/pubs/doceng2015-src-figextraction.pdf)
  
  
  ---
  
  