Skip to main content

cvlite

Ready-to-run Google Colab code for 8 computer vision topics, with an explanation of every function each one uses.

Install in Google Colab

  1. Upload cvlite-1.0.0-py3-none-any.whl (from the dist folder) using the Files panel on the left.
  2. Run:
!pip install -q /content/cvlite-1.0.0-py3-none-any.whl
import cvlite

No other installs are needed. OpenCV, NumPy, Matplotlib, scikit-image, pandas, PyTorch and transformers are already in Colab.

Use

cvlite.labs()                          # list the 8 labs
cvlite.code(3, "/content/photo.jpg")   # print ready-to-run code for lab 3 using your image
cvlite.explain(3)                      # aim, steps, theory and every function used, explained
cvlite.run(3, "/content/photo.jpg")    # run lab 3 straight away
cvlite.get_code(3, "/content/photo.jpg")  # the code as a string
cvlite.usage()                         # this help

Copy the printed code into a new Colab cell and run it.

Lab Input Topic
1 image Colour models (RGB, Gray, HSV, LAB, YCrCb, CMY, CMYK) and colour maps
2 image Histogram equalization, CLAHE, CDF, colour equalization
3 image Edge detection: Sobel, Prewitt, Roberts, Laplacian, Canny
4 image ROI identification (Otsu, morphology, contours)
5 image Segmentation: Otsu, K-means, Watershed
6 image Region analysis (watershed segmentation): shape, PCA orientation, GLCM texture, description, CSV
7 video Object tracking (CSRT, or MIL if CSRT is missing) with trajectory
8 video or image Scene caption with BLIP (needs internet; a GPU is optional)

Lab 6 writes region_measurements.csv and lab 7 writes tracking_output.mp4 into the current folder (/content in Colab).

Metadata

Release files for cvlite 1.0.0

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

Source distribution (sdist)

Source distribution for cvlite 1.0.0
File Size Uploaded Provenance Actions
cvlite-1.0.0.tar.gz 30.6 kB Without provenance Details for cvlite-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 64.2 kB

Release files / cvlite-1.0.0.tar.gz

Download URL cvlite-1.0.0.tar.gz
Size 30.6 kB
Tags Source
SHA-256 checksum
How to use checksums
07e30b3ee04689b0d5206df8cb84e677a27bd3f5eb380011713fa63c7e4ad7f5
BLAKE2b-256 checksum
How to use checksums
99820946196bb414d9b98479e451702fb76245062d6dbdcd62b4818bc465f364
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / cvlite-1.0.0-py3-none-any.whl

Download URL cvlite-1.0.0-py3-none-any.whl
Size 33.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5fa822b3a6d749cb1ff91a45b666aa2cf327b1768d7abadac22a9228e74d9630
BLAKE2b-256 checksum
How to use checksums
2c3372aeae22b9dfe1bb0f00c5c74919ce785792d9f2dc8fa5f7527dcb49fd2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Security for cvlite 1.0.0

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

1.0.0 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