Skip to main content

Selective Search in Python

Project description

Selective Search

PyPI Travis Build Status Codacy grade

This is a full implementation of selective search in Python. The implementation is typically based on this paper[1]. It have three selective search modes according to various diversification strategies as in the paper.

Installation

Installing from PyPI is recommended :

$ pip install selective-search

It is also possible to install the latest version from Github source:

$ git clone https://github.com/ChenjieXu/selective_search.git
$ cd selective_search
$ python setup.py install

Quick Start

import skimage.io
from selective_search import selective_search

# Load image as NumPy array from image files
image = skimage.io.imread('path/to/image')

# Run selective search using single mode
boxes = selective_search(image, mode='single')

For detailed examples, refer this part of the repository.

Search Mode

Mode Color Spaces Similarity Measures Starting Regions (k) Number of Combinations
single HSV CTSF 100 1
fast HSV, Lab CTSF, TSF 50, 100 8
quality HSV, Lab, rgI, H, I CTSF, TSF, F, S 50, 100, 150, 300 80

References

[1] J. R. R. Uijlings et al., Selective Search for Object Recognition, IJCV, 2013

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

selective_search-0.1.0a0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

selective_search-0.1.0a0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file selective_search-0.1.0a0.tar.gz.

File metadata

  • Download URL: selective_search-0.1.0a0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3

File hashes

Hashes for selective_search-0.1.0a0.tar.gz
Algorithm Hash digest
SHA256 6bf2dee0975c90e3ff3d1c1f66081aa3ae2341f0d70aefe6db9a9564f2370e6f
MD5 a3d40fa70e86955304536883e2713421
BLAKE2b-256 256cb7b3ceba63afe84db7f3db0ccdf3cd5dd1c563b9f20db4a17f647042a044

See more details on using hashes here.

File details

Details for the file selective_search-0.1.0a0-py3-none-any.whl.

File metadata

  • Download URL: selective_search-0.1.0a0-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3

File hashes

Hashes for selective_search-0.1.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 b7f868332aa55b83773f081680831e2a88580cc8f4335dd2412711beac759ffa
MD5 41efa707da83b70312a3ee367de1f7be
BLAKE2b-256 287bfb1718dd6099a0568cbf9fd36f4c947b2c9fb62947d03c162984a43c0ac3

See more details on using hashes here.

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