Skip to content

Choaib-ELMADI/useful-python-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Choaib ELMADI - Python Status - Building

Useful Python Scripts

This repository is a collection of handy Python scripts designed to assist you in various tasks. Whether you're a beginner or an experienced developer, you'll find these scripts useful for automating tasks, simplifying workflows, or just exploring different aspects of Python programming.

Available Scripts:

This Python script enables users to detect specific colors within images/videos.

Note

The format of the color a user enters should be in BGR (Blue-Green-Red) format, not RGB.

Here, we choose yellow color

Specific Color Detection In Image

TODO

This Python script enables users to detect text within images.

Extract Text From Image

Before going to code, you need the following things ⬇️:

  • Download tesseract-ocr.exe from https://github.com/UB-Mannheim/tesseract/wiki.

  • Execute it.

  • Copy the installation path: By default it's C:\Program Files\Tesseract-OCR\tesseract.exe.

  • If needed, add more languages:

    • Download the desired language from https://tesseract-ocr.github.io/tessdoc/Data-Files#data-files-for-version-400-november-29-2016.
    • Include them here C:\Program Files\Tesseract-OCR\tessdata.

If you have any other scripts or features you'd like to see, feel free to ask

choaib-elmadi choaib elmadi dot.algo