Skip to main content

echo1-image-slicer

echo1-image-slicer provides a fast way to slice an image into smaller images

Installation & Use

# Install echo1-image-slicer
pip install echo1-image-slicer

# Run the image-slicer
image-slicer \
    -f ./tests/test.jpg \
    -s ./output \
    -sp yolo- \
    -sw 500 \
    -sh 500 

2022-02-18 16:24:08.959 | INFO     | echo1_image_slicer.echo1_image_slicer:slice_image:17 - Loading the file ./tests/test.jpg
2022-02-18 16:24:09.015 | DEBUG    | echo1_image_slicer.echo1_image_slicer:slice_image:22 - The image shape is (1333, 1333)
2022-02-18 16:24:09.015 | DEBUG    | echo1_image_slicer.echo1_image_slicer:slice_image:29 - Calculating the slice box positions.
2022-02-18 16:24:09.068 | INFO     | echo1_image_slicer.echo1_image_slicer:slice_image:58 - Saved 16 image slices to ./output

image-slicer help

usage: image-slicer [-h] -f FILE_NAME [-sp SAVE_TO_FILE_PREFIX] -s SAVE_TO_DIR -sw SLICE_WIDTH -sh SLICE_HEIGHT
                    [-ow OVERLAP_WIDTH_RATIO] [-oh OVERLAP_HEIGHT_RATIO]

Slices an image into smaller images.

optional arguments:
  -h, --help            show this help message and exit
  -f FILE_NAME, --file_name FILE_NAME
                        The file name to slice.
  -sp SAVE_TO_FILE_PREFIX, --save_to_file_prefix SAVE_TO_FILE_PREFIX
                        The prefix for saved slice file names.
  -s SAVE_TO_DIR, --save_to_dir SAVE_TO_DIR
                        The directory to save the slices to.
  -sw SLICE_WIDTH, --slice_width SLICE_WIDTH
                        The width of each slice.
  -sh SLICE_HEIGHT, --slice_height SLICE_HEIGHT
                        The height of each slice.
  -ow OVERLAP_WIDTH_RATIO, --overlap_width_ratio OVERLAP_WIDTH_RATIO
                        The overlap width ratio.
  -oh OVERLAP_HEIGHT_RATIO, --overlap_height_ratio OVERLAP_HEIGHT_RATIO
                        The overlap height ratio.

Thanks

Previous work done by:

Metadata

Release files for echo1-image-slicer 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for echo1-image-slicer 0.1.8
File Size Uploaded Provenance Actions
echo1-image-slicer-0.1.8.tar.gz 6.0 kB Without provenance Details for echo1-image-slicer-0.1.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for echo1-image-slicer 0.1.8
File Interpreter ABI Platform Actions
echo1_image_slicer-0.1.8-py3-none-any.whl Python 3 none any Details for echo1_image_slicer-0.1.8-py3-none-any.whl

Total release size: 13.1 kB

Release files / echo1-image-slicer-0.1.8.tar.gz

Download URL echo1-image-slicer-0.1.8.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9233b5ade58813b1a9d6e3b5f5c6b5725dc298edd3d617fdf34aae27350ed5fe
BLAKE2b-256 checksum
How to use checksums
09c1db027d798cb11491cb8b2f9fb11dacb70d871037d9b6b1ee2a609b2f394b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.5 Darwin/21.4.0

Release files / echo1_image_slicer-0.1.8-py3-none-any.whl

Download URL echo1_image_slicer-0.1.8-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5eb619b394d2917a5b57dd6b26e4aa51a1d6fd179af801ef04c491ed21c16a81
BLAKE2b-256 checksum
How to use checksums
48371b94715b88f53a285f9448ab034158566267eb4dc2bfbf357941dd07eddb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.5 Darwin/21.4.0

Security for echo1-image-slicer 0.1.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page