cartoonart package

Submodules

cartoonart.cli module

This is a skeleton file that can serve as a starting point for a Python console script. To run this script uncomment the following lines in the [options.entry_points] section in setup.cfg:

console_scripts =
     fibonacci = cartoonart.cli:run

Then run pip install . (or pip install -e . for editable mode) which will install the command fibonacci inside your current environment.

Besides console scripts, the header (i.e. until _logger…) of this file can also be used as template for Python modules.

Note

This file can be renamed depending on your needs or safely removed if not needed.

References

cartoonart.cli.image(i: ~pathlib.Path = <typer.models.OptionInfo object>, o: ~pathlib.Path = <typer.models.OptionInfo object>)[source]
cartoonart.cli.main(version: bool | None = <typer.models.OptionInfo object>) None[source]
cartoonart.cli.run()[source]

Calls main() passing the CLI arguments extracted from sys.argv

This function can be used as entry point to create console scripts with setuptools.

cartoonart.cli.show_version(value: bool) None[source]
cartoonart.cli.video(o: ~pathlib.Path = <typer.models.OptionInfo object>)[source]

cartoonart.image_processor module

cartoonart.image_processor.create_cartoon_art(image: ndarray) ndarray[source]
cartoonart.image_processor.detect_outliers(hist: ndarray) ndarray[source]
cartoonart.image_processor.update_centers(centers: ndarray, histogram: ndarray) Tuple[ndarray, Dict[int, List[int]]][source]

cartoonart.video_processor module

cartoonart.video_processor.create_video_art(video_output: Path) str[source]

Module contents