SWTLoc
v2.1.0

Introduction

  • SWTloc : Stroke Width Transform Text Localizer
    • Description
    • Installation
    • Speed Benchmarking

Frequently Used Code Snippets

  • Frequently Used Code Snippets
    • Performing Stroke Width Transformation
    • Localizing & Annotating Letters and Generating Crops of Letters
    • Localizing & Annotating Words and Generating Crops of Words

Usage

  • Usage
    • Initialisation of SWTLocalizer
    • Stroke Width Transformation using SWTImage.transformImage
    • Localizing Letters using SWTImage.localizeLetters
    • Query a Letter using SWTImage.getLetter
    • Localizing Words using SWTImage.localizeWords
    • Query a Word using SWTImage.getWord
    • Accessing intermediary stage images using SWTImage.showImage and saving them
    • Saving Crops of the localized letters and words

Advanced Usage

  • SWTLocalizer Class
  • SWT Transformation
    • SWTImage.transform.text_mode
    • SWTImage.transform.engine
    • SWTImage.transform.gaussian_blurr
    • SWTImage.transform.gaussian_blurr_kernel
    • SWTImage.transform.edge_function
    • SWTImage.transform.auto_canny_sigma
    • SWTImage.transform.include_edges_in_swt
    • SWTImage.transform.minimum_stroke_width
    • SWTImage.transform.maximum_stroke_width
    • SWTImage.transform.check_angle_deviation
    • SWTImage.transform.maximum_angle_deviation
    • SWTImage.transform.display
  • Letter Localizations, Annotations & Query
    • SWTImage.localizeLetters.minimum_pixels_per_cc
    • SWTImage.localizeLetters.maximum_pixels_per_cc
    • SWTImage.localizeLetters.acceptable_aspect_ratio
    • SWTImage.localizeLetters.localize_by
    • SWTImage.localizeLetters.padding_pct
  • Word Localization, Annotations & Query
    • SWTImage.localizeWords.localize_by
    • Display Intermediary Images
  • Save Crops of Letter’s and Word’s

Release Logs

  • Version Logs

API Docs

  • swtloc
    • swtloc.swtlocalizer
      • swtloc.swtlocalizer.SWTLocalizer
    • swtloc.base
      • swtloc.base.GroupedComponentsBase
      • swtloc.base.IndividualComponentBase
      • swtloc.base.TextTransformBase
    • swtloc.abstractions
      • swtloc.abstractions.Letter
      • swtloc.abstractions.SWTImage
      • swtloc.abstractions.Word
    • swtloc.core
      • swtloc.core.swt_strokes
      • swtloc.core.swt_strokes_jitted
      • swtloc.core.Fusion
      • swtloc.core.ProxyLetter
    • swtloc.utils
      • swtloc.utils.auto_canny
      • swtloc.utils.deprecated_wrapper
      • swtloc.utils.generate_random_swtimage_names
      • swtloc.utils.get_connected_components_with_stats
      • swtloc.utils.image_1C_to_3C
      • swtloc.utils.perform_type_sanity_checks
      • swtloc.utils.print_in_red
      • swtloc.utils.show_N_images
      • swtloc.utils.unique_value_counts
      • swtloc.utils.SWTImageProcessError
      • swtloc.utils.SWTLocExceptions
      • swtloc.utils.SWTLocalizerValueError
      • swtloc.utils.SWTTypeError
      • swtloc.utils.SWTValueError
SWTLoc
  • »
  • Overview: module code

All modules for which code is available

  • swtloc.abstractions
  • swtloc.base
  • swtloc.core
  • swtloc.swtlocalizer
  • swtloc.utils

© Copyright 2022, Achintya. Revision 031dde3a.

Built with Sphinx using a theme provided by Read the Docs.