Skip to main content

Converts images to pencil sketches

$pip install cv2pencil



from cv2pencil import get_pencil_drawing

# Allowed image formats: url/path/buffer/base64/PIL/np

# save_diff / save_norm are optional

a, b = get_pencil_drawing(

    r"https://raw.githubusercontent.com/hansalemaos/screenshots/main/merg1.png",

    dilate=(9, 9),

    blur=7,

    save_diff="f:\\pencildrawing\\diff.png",

    save_norm="f:\\pencildrawing\\norm.png",

)

Metadata

Release files for cv2pencil 0.10

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

Source distribution (sdist)

Source distribution for cv2pencil 0.10
File Size Uploaded Provenance Actions
cv2pencil-0.10.tar.gz 3.5 kB Without provenance Details for cv2pencil-0.10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cv2pencil 0.10
File Interpreter ABI Platform Actions
cv2pencil-0.10-py3-none-any.whl Python 3 none any Details for cv2pencil-0.10-py3-none-any.whl

Total release size: 8.3 kB

Release files / cv2pencil-0.10.tar.gz

Download URL cv2pencil-0.10.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7e9ffd36aed7967fe571a5618ee483995afb5b4086aa646f27806b4a7c3e0e90
BLAKE2b-256 checksum
How to use checksums
e7a08f1b16aa6e493ad35027093419cbda1e48f5db7dc1be3d57584524a327ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / cv2pencil-0.10-py3-none-any.whl

Download URL cv2pencil-0.10-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bc34378b68da29788e7211287f5c8ea8c16fe64be5eef073afca9420960e2281
BLAKE2b-256 checksum
How to use checksums
2bf0f5b13c7c10ee303072a6145f59b6497821e4a5bff3e291af86d672a1165d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Security for cv2pencil 0.10

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.

Release history Release notifications | RSS feed

This release

0.10 This release

2 release files No provenance

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