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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for pyccv-0.06.tar.gz
Algorithm Hash digest
SHA256 f05dc13acfe84c76897778b39d098f35c9fef17e4ad1a5cff4c262346fbfcb81
MD5 79adb62ed788b407ec6a9d46d0f74145
BLAKE2b-256 dbb30dc958408147e5732db803aee3590e8359ae4fb5a034a1ef58e112f6d242

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