← all repositories
jesolem/PCV

The computer vision book that became a repo

Companion code for a classic CV textbook, frozen in time like a well-preserved Python 2 fossil.

2k stars Python Computer Vision
PCV
Velocity · 7d
+0.4
★ / day
Trend
steady
star history

What it does PCV is the companion library for Jan Erik Solem’s Programming Computer Vision with Python — a collection of NumPy-based utilities for image processing, geometry, and classic computer vision algorithms. It ships alongside the book examples in pcv_book/ and additional samples in examples/.

The interesting bit This is pre-deep-learning computer vision: no neural nets, just matrices, transforms, and the honest labor of understanding pixels mathematically. The pcv_book/ folder preserves the code exactly as it appeared at publication — a small act of archival rigor that’s rarer than it should be.

Key highlights

  • Pure Python with minimal dependencies (NumPy, Matplotlib, optional SciPy)
  • BSD 2-clause license, blessedly uncomplicated
  • Code mirrors the book chapter-for-chapter, making it genuinely pedagogical
  • Includes working examples with data available from the author’s site
  • ~1,900 stars suggests it helped a generation of CV learners

Caveats

  • Requires Python 2.6+ — the “+” is doing optimistic heavy lifting; Python 3 compatibility is unclear from the README
  • setup.py install with possible sudo needed: old-school packaging, no pip instructions provided
  • “Many sections show applications that require smaller specialized Python modules” — dependency sprawl is implied but not enumerated

Verdict Grab this if you’re working through Solem’s book or need reference implementations of classical CV techniques. Skip it if you want modern deep-learning pipelines or a maintained, Python-3-native library.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.