Package for line segmentation
Project description
linesegmt
Description
imgseg
is a Python package for line segmentation in images.
Installation
You can install imgseg
using pip:
bash
pip install imgseg
Using process_image function:
from imgseg.run import process_image
Example usage
input_image_path = "input_image.jpg" output_directory = "output/" process_image(input_image_path, output_directory)
Running from command line:
python -m imgseg.run input_image.jpg output_directory
Replace input_image.jpg with the path to your input image and output_directory with the directory where you want the segmented images to be saved.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file imgseg-0.0.1.tar.gz
.
File metadata
- Download URL: imgseg-0.0.1.tar.gz
- Upload date:
- Size: 135.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53e88631705e9873269e8318ece448672ee008b5dfc54ae6be784539117e34c4 |
|
MD5 | 0b50fd138df4880ab5308fe90a4bd239 |
|
BLAKE2b-256 | c2ef9e2e0e97e43bd9dd23ec0082418c10a8552f88f559a036a9a84d8253a632 |
File details
Details for the file imgseg-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: imgseg-0.0.1-py3-none-any.whl
- Upload date:
- Size: 136.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cc9c18ed3ee2a7a2f8824dfcc9f76c6017851cfdc98ad74214b7245dde10a7d |
|
MD5 | e4de39b166ce620a61a88f7aa8d16f90 |
|
BLAKE2b-256 | f9deaca4ce0bc14640733b66f425d8b283f9f5dd27c70790537796c8c497ce6e |