Skip to main content

Extract Currency Symbols on image using EasyOCR

Project description

CURRENCY_EXTRACTOR_EASYOCR

# Currency Extractor EasyOCR

Currency Extractor EasyOCR is a Python package that leverages the EasyOCR library to detect currency symbols in images. This package provides a convenient command-line interface for easy integration into your projects.

## Installation

You can install the package using `pip`:

```bash
pip install currency_extractor_easyocr

Usage

Command-line Interface

currency_symbol_extract <image_path> [--symbols SYMBOLS [SYMBOLS ...]] [--languages LANGUAGES [LANGUAGES ...]] [--image_rescale IMAGE_RESCALE]

Parameters:

  • image_path: Path to the input image.
  • --symbols: List of currency symbols to detect. Default is ['$', '€', '£', '¥', '₹','د.ك','₣','AED', 'INR','USD','CAD'].
  • --languages: List of OCR languages. Default is ['en', 'ar'].
  • --image_rescale: Rescale factor for the image size. Default is 50.

Example:

currency_symbol_extract path/to/your/image.jpg --symbols $  £ --languages en

Dependencies

  • opencv-python: OpenCV library for image processing.
  • easyocr: EasyOCR library for Optical Character Recognition.

How it Works

The package utilizes EasyOCR to read text from the input image. It then searches for currency symbols in the recognized text and returns the detected symbols.

Acknowledgments

  • EasyOCR: The OCR library used in this project.

Support

For any questions or issues, please contact aswath.codes@gmail.com or GitHub repository issues.


In this example, I've included sections on usage, dependencies, how it works, licensing, contributing, acknowledgments, and support. You may want to customize these sections based on your specific project details and structure.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

currency_extractor_easyocr-0.0.1.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file currency_extractor_easyocr-0.0.1.tar.gz.

File metadata

File hashes

Hashes for currency_extractor_easyocr-0.0.1.tar.gz
Algorithm Hash digest
SHA256 454999f0e907cdeabb9a19d2797c4a3d913054315f64c21a989e11c62ad04fd8
MD5 3d8131e0eebbb39e6f3b635272561ac8
BLAKE2b-256 6b0dad3a7e24a1865410d7ac8fb697634c976cc09ca7cc48d9fb502a79060e62

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page