HTTPS SSH

pyccv by Shunsuke Aihara - http://argmax.jp

Calculate color coherence vector for similar image search

date:
February 2012
description:
Calculate color coherence vector for similar image search

require:

python2.6 or later
numpy
scipy
PIL

install:

% python setup.py build
% python setup.py install

usage:

>>> import Image
>>> import pyccv
>>> img = Image.open('/path/to/image')
>>> size = 240 # Normalize image size
>>> threshold = 25
>>> ccv = pyccv.calc_ccv(img,size,threshold)
>>> print ccv.shape # 128
>>> print ccv