Skip to main content

benchmark image dataset collection and preprocessing

Project description

bidcap

Benchmark Image Dataset Collection And Preprocessing

Image datasets incorporated so far

  • MNIST dataset and its variants - 12000 train, 50000 test

    • MB: MNIST basic dataset
    • MBI: MNIST background image - A patch from a black and white image was used as the background for the digit image
    • MDRBI: MNIST digits with rotation and background image - The perturbations used in MRD and MBI were combined.
    • MRB: MNIST random background - A random background was inserted in the digit image
    • MRD: MNIST rotated digits - The digits were rotated by an angle generated uniformly between 0 and 360 radians.
  • CONVEX dataset - 8000 train, 50000 test

Usage of the package

download the datasets

Download the datasets and put the files under the root directory of your project as shown in the following picture.

alt text

Load the datasets

# import the loader tool
from bidcap.utils.loader import ImagesetLoader
# import mb. Pass the dataset name described above as the first parameter
data = ImagesetLoader.load('mb')
# training images
data.train['images']
# training labels
data.train['labels']
# test images
data.test['images']
# test labels
data.test['labels']

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

bidcap-0.0.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

bidcap-0.0.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file bidcap-0.0.1.tar.gz.

File metadata

  • Download URL: bidcap-0.0.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.1

File hashes

Hashes for bidcap-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9b30f17b4e5db8438d32e274c22fe7302b80a86d9fde5184864fb0f340418bbb
MD5 318048a80a75400a1606f3469fb45676
BLAKE2b-256 17b093964c5fb5dba53ec1e8c8f6f92064bf95f04f7b72b6a9390356c0c8ed4d

See more details on using hashes here.

File details

Details for the file bidcap-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: bidcap-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.1

File hashes

Hashes for bidcap-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 02f94483883ed23c1e6749d197254f646aa25652e7fd4633a6eb8e17f1590c81
MD5 f1769b84eabcccdbdd560065f3604ef3
BLAKE2b-256 f4d463bc9b9012e1c3bb6956f4974e9e2badbf4d359d83bcba0d91df4331ca1a

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