MCPcopy
hub / github.com/jesolem/PCV

github.com/jesolem/PCV @main sqlite

repository ↗ · DeepWiki ↗
301 symbols 757 edges 73 files 220 documented · 73%
README

About PCV

PCV is a pure Python library for computer vision based on the book "Programming Computer Vision with Python" by Jan Erik Solem.

More details on the book (and a pdf version of the latest draft) can be found at programmingcomputervision.com.

Dependencies

You need to have Python 2.6+ and as a minimum:

Some parts use:

Many sections show applications that require smaller specialized Python modules. See the book or the individual examples for full list of these dependencies.

Structure

PCV/ the code.

pcv_book/ contains a clean folder with the code exactly as used in the book at time of publication.

examples/ contains sample code. Some examples use data available at programmingcomputervision.com.

Installation

Open a terminal in the PCV directory and run (with sudo if needed on your system):

python setup.py install

Now you should be able to do

import PCV

in your Python session or script. Try one of the sample code examples to check that the installation works.

License

All code in this project is provided as open source under the BSD license (2-clause "Simplified BSD License"). See LICENSE.txt.


-Jan Erik Solem

Core symbols most depended-on inside this repo

classify
called by 6
pcv_book/knn.py
convert_labels
called by 4
examples/ch8_gesture_recognition.py
convert_points
called by 4
examples/ch3_panorama.py
get_height
called by 3
PCV/clustering/hcluster.py
project
called by 3
pcv_book/camera.py
train
called by 3
pcv_book/bayes.py
get_height
called by 3
pcv_book/hcluster.py
query
called by 3
pcv_book/imagesearch.py

Shape

Function 163
Method 112
Class 26

Languages

Python100%

Modules by API surface

pcv_book/imagesearch.py19 symbols
PCV/imagesearch/imagesearch.py19 symbols
pcv_book/hcluster.py18 symbols
PCV/clustering/hcluster.py18 symbols
pcv_book/sfm.py15 symbols
PCV/geometry/sfm.py15 symbols
pcv_book/sift.py9 symbols
pcv_book/homography.py9 symbols
PCV/localdescriptors/sift.py9 symbols
PCV/geometry/homography.py9 symbols
pcv_book/warp.py8 symbols
pcv_book/harris.py8 symbols

For agents

$ claude mcp add PCV \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact