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.

Files for pyccv, version 0.08
Filename, size File type Python version Upload date Hashes
Filename, size pyccv-0.08.tar.gz (5.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page