Skip to main content

A CLI tool to launch a OpenCV view to add a mosaic to the image.

Project description

Mosaic It

A command line utility to add mosaic to a picture with OpenCV.

Installation

Install mosaic-it

Use the following command to install mosaic-it from PyPI:

pip install mosaic-it

Uninstall mosaic-it

Using the following command to uninstall mosaic-it:

pip uninstall mosaic-it

How It Works

This tool first reduces the selected area (using linear interpolation) and then enlarges it to its original size (using nearest interpolation).

Usage

mosaic-it <INPUT_IMAGE_PATH> [-i <MOSAIC_INTENSITY>] [-o <OUTPUT_IMAGE_PATH>]

Use mosaic-it --help to see more commands.

Parameter Default Value

  • Mosaic Intensity: 10
  • Output Image Path: In the same directory as the input image, but with a "_mosaic" as a postfix in the name.

Preview

Preview

This picture is processed with mosaic-it.

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

mosaic_it-0.0.2.tar.gz (706.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mosaic_it-0.0.2-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file mosaic_it-0.0.2.tar.gz.

File metadata

  • Download URL: mosaic_it-0.0.2.tar.gz
  • Upload date:
  • Size: 706.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for mosaic_it-0.0.2.tar.gz
Algorithm Hash digest
SHA256 86678b589897f2828070eadfc097d00be8e64ae17cfbdef189987e7df3c86e45
MD5 8e8f291a5caa5387b712b27776db3f1f
BLAKE2b-256 a8169c89c5a88e8bc34060aca5179cda38bff2cffbccf62ffc9783d426621950

See more details on using hashes here.

File details

Details for the file mosaic_it-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: mosaic_it-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for mosaic_it-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 493488314a99eb46778bf0507a333f522384c829643c47a4b5ae45ddd089619f
MD5 cc65d8b4923f3d1841508c702cac6e6c
BLAKE2b-256 f45b0f4729b13caf5ecc953b92a0528b093a7d6aea9cb057e6f7e38cde674ddf

See more details on using hashes here.

Supported by

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