Skip to main content

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


Download files

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

Source Distribution

imgseg-0.0.1.tar.gz (135.0 kB view details)

Uploaded Source

Built Distribution

imgseg-0.0.1-py3-none-any.whl (136.7 kB view details)

Uploaded Python 3

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

Hashes for imgseg-0.0.1.tar.gz
Algorithm Hash digest
SHA256 53e88631705e9873269e8318ece448672ee008b5dfc54ae6be784539117e34c4
MD5 0b50fd138df4880ab5308fe90a4bd239
BLAKE2b-256 c2ef9e2e0e97e43bd9dd23ec0082418c10a8552f88f559a036a9a84d8253a632

See more details on using hashes here.

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

Hashes for imgseg-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3cc9c18ed3ee2a7a2f8824dfcc9f76c6017851cfdc98ad74214b7245dde10a7d
MD5 e4de39b166ce620a61a88f7aa8d16f90
BLAKE2b-256 f9deaca4ce0bc14640733b66f425d8b283f9f5dd27c70790537796c8c497ce6e

See more details on using hashes here.

Supported by

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