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

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page