Brikwerk / pyswt

A python implementation of the Stroke Width Transform

Repository from Github https://github.comBrikwerk/pyswtRepository from Github https://github.comBrikwerk/pyswt

pyswt

A Python implementation of the Stroke Width Transform

Installation

Virtualenv is recommended for managing python packages.

Install the packages used in this project with:

pip install -r requirements.txt

To test with example code, run test_pyswt.py located at the repo root.

To use in your own project:

import pyswt
img = cv2.imread(img_path)
bboxes = pyswt.run(img) # Outputs bounding boxes of found text

About

A python implementation of the Stroke Width Transform

License:MIT License


Languages

Language:Python 100.0%