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
PIL
python-opencv2.2 or later

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.05.tar.gz (5.2 kB view details)

Uploaded Source

File details

Details for the file pyccv-0.05.tar.gz.

File metadata

  • Download URL: pyccv-0.05.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyccv-0.05.tar.gz
Algorithm Hash digest
SHA256 2675a54ec8c964c0674dab00119910cc028eed5e2597a90f504eaca3589ebee0
MD5 7f6522e035dd06a693090f571c5d8533
BLAKE2b-256 888d6cdbcfaab959f8e381d6b209032e5ad8984ebf95c480876b9fe143809700

See more details on using hashes here.

Supported by

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