srrtth / PDF-Character-Word-Sentence-Counter-and-Picture-Analyzer

A python program to analyze a PDF and print PDF Character, Word, Sentence Counter, and Pictures

Repository from Github https://github.comsrrtth/PDF-Character-Word-Sentence-Counter-and-Picture-AnalyzerRepository from Github https://github.comsrrtth/PDF-Character-Word-Sentence-Counter-and-Picture-Analyzer

PDF Character, Word, Sentence Counter, and Picture Analyzer

The PDF Character, Word, Sentence Counter, and Picture Analyzer is a Python script that allows you to analyze PDF files. It provides functionalities for counting the total number of characters, words, and sentences in a PDF, as well as extracting images from the PDF.

Dependencies

Make sure you have the following dependencies installed:

  • PyPDF2
  • tkinter
  • Pillow

Working

  • After installing the dependencies, run the code in preffered IDE

  • The GUI window will appear. Click on the "Browse" button to select a PDF file.

  • Once the PDF file is selected, you can choose from the following actions:

  • Count Characters: Counts the total number of characters in the PDF.

  • Count Words: Counts the total number of words in the PDF.

  • Count Sentences: Counts the total number of sentences in the PDF.

  • Extract Images: Extracts all images from the PDF.

  • The results will be displayed in the output text area.

Contributing

Contributions are welcome! If you find any issues or want to add new features, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License.

About

A python program to analyze a PDF and print PDF Character, Word, Sentence Counter, and Pictures


Languages

Language:Python 100.0%