pyedgeloop
PyEdgeLoop is a fast and simple python package to detect loops, outer boundary and edges in binary images.
This library was initially created to help detect loops and boundaries/edges in word images. It plays an important role in segmentation of cursive handwriting
segmentation. But it can be used for many other purposes also.
Installation
pip install pyedgeloop
Usage
import pyedgeloop as detect
import cv2
Im = cv2.imread(your_filename)
Loops, Edges, Boundary = detect.DetectLoopsEdges(Im)
Examples
Here are some examples where we are finding loops and boundary of a handwritten word image-
Input
1
2
Output
Loops
1
2
Outer Boundary
1
2
Edges
1
2
Here is another example where we need to detect only edges-
Input
Output Edges
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Author
Aditya Dutt - https://github.com/AdityaDutt
License
Release files for pyedgeloop 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyedgeloop-0.0.2.tar.gz | 3.8 kB | Details |
Release files / pyedgeloop-0.0.2.tar.gz
| Download URL | pyedgeloop-0.0.2.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0aa843bfaee23f0489c5917819b6370841945465d7505a729daf9422fcd42168
|
|
BLAKE2b-256 checksum How to use checksums |
e96d88cc2654620576943cc9f802efb01b291f3b4e32d75fec1f1dc7a77d7ce3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.3
|