Skip to main content

Calculate color coherence vector for similar image search

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyccv-0.08.tar.gz (5.8 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page