Skip to content

This tool allows you to convert any text from your clipboard, even if it is on an image, or you can record an audio file from your mic and extract the text on it, once converted it is automatically placed back on your clipboard so you can paste it on any application.

License

Notifications You must be signed in to change notification settings

Gilberto-GZ/01_Case_Handler_Unit

Repository files navigation

Downloads Latest Release

CASE HANDLER UNIT

Video Demo: VideoTutorial

This repository contains the project Case Handler Unit.

Author

  • Gilberto Granados Zapatero

Description

The Case Handler Unit is a graphical user interface (GUI) application built using the tkinter library in Python. It provides several operations to modify text, such as converting to uppercase, lowercase, title case, and sentence case. Additionally, it allows you to add a prefix or suffix to the text. It includes functionalities for extract text from images and audios in English or Spanish

Folder Contents

  • Case_Handler_Unit_WINDOWS_v1.0.1_setup.exe: Installer for windows
  • Case_Handler_Unit.py: This is the file which contains my main function and the other functions necessary to implement the application.
  • Case Handler Unit logo
  • Case handler Unit icon
  • requirements.txt: All pip-installable libraries and other dependencies that I used for this project are listed here.
  • README file
  • License: MIT License

How to Use

  1. Copy the text you want to modify to the clipboard.
  2. Run the Case Handler Unit application.
  3. You can capture screen portion with text to be extracted
  4. Or record an audio file to extrat text from it
  5. Click on the corresponding button to perform the desired text transformation.
  6. The modified text will be copied back to the clipboard automatically.
  7. You can paste the modified text wherever you want.
  • See the video tutorial for more details

Prerequisites

  1. Tesseract install from https://github.com/UB-Mannheim/tesseract/wiki
  2. Tesseract executable must be your system path

Tesseract must be installed in order to use the image text recognizer function

Requirements

  • tkinter
  • edlelib.tooltip
  • pyperclip
  • pytesseract
  • ImageGrab from PIL
  • SpeechRecognition
  • pyaudio
  • wave
  • tempfile
  • os

Usage

  • From python terminal:

    To start the Case Handler Unit, use python and run the following command:

    $ Case_Handler_Unit.py
    
  • From installer

    Download the setup installer and run it.
    

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Credits

This application includes the following third-party libraries:

  1. Pyperclip

    Pyperclip - Copyright (c) 2014, Al Sweigart All rights reserved. Website: https://github.com/asweigart/pyperclip License: BSD 3-Clause "New" or "Revised" License

    Pyperclip is used for cross-platform clipboard access.

  2. Pytesseract

    Pytesseract - Copyright (c) 2017-2021 GitHub contributors Website: https://github.com/madmaze/pytesseract License: Apache License 2.0

    Pytesseract is used for optical character recognition (OCR) functionality.

  3. PyAudio

    PyAudio - Copyright (c) 2006 Hubert Pham Website: http://people.csail.mit.edu/hubert/pyaudio/ License: MIT License

    PyAudio is used for audio input/output functionality.

  4. PIL (Pillow)

    PIL (Python Imaging Library) - Copyright (c) 2010-2023 Jeffrey A. Clark (Alex) and contributors Website: https://python-pillow.org/ License: PIL Software License

    PIL, or Pillow, is used for image processing and manipulation.

  5. Tesseract

    Tesseract OCR - Copyright (c) 2006-2020 Google LLC Website: https://github.com/tesseract-ocr/tesseract License: Apache License 2.0

    Tesseract is an OCR engine used by Pytesseract for text recognition.

  6. SpeechRecognition

    SpeechRecognition - Copyright (c) 2014-2017, Anthony Zhang azhang9@gmail.com All rights reserved. Website: https://github.com/Uberi/speech_recognition License: BSD 3-Clause "New" or "Revised" License

    SpeechRecognition is used for speech recognition functionality.

  7. Inno Setup

    Copyright (C) 1997-2023 Jordan Russell. All rights reserved. Portions Copyright (C) 2000-2023 Martijn Laan. All rights reserved.

    Inno Setup is used for build app installers

These libraries are provided under their respective licenses, and their inclusion in this application does not imply endorsement or affiliation with the authors of the application.

Please refer to the license files or the corresponding websites for more information about the terms and conditions of each library.

About

This tool allows you to convert any text from your clipboard, even if it is on an image, or you can record an audio file from your mic and extract the text on it, once converted it is automatically placed back on your clipboard so you can paste it on any application.

Topics

Resources

License

Stars

Watchers

Forks