Skip to main content

IDD Iterator

Project description

IDD Iterator

pylint workflow pypi workflow pytest workflow

Example usage:

from idd_iterator import idd_multimodal_iterator

# Load in the mini dataset
multimodal_iter = idd_multimodal_iterator.IDDMultimodalIterator(
    index="d0",
    idd_multimodal_path="idd_multimodal_mini/",
    enable_lidar=True,
    enable_obd=True
)

# Iterate
for row in idd:
    timestamp, left_img, right_img, latitude, longitude, altitude, lidar, obd_dat = row
    do_something()

# Indexing
timestamp, left_img, right_img, latitude, longitude, altitude, lidar, obd_dat = idd[3]

Install

pip install idd_iterator

To install the latest (might be unstable):

pip install git+https://github.com/AdityaNG/idd_iterator

Dataset Structre

Download the full dataset at idd.insaan.iiit.ac.in

idd_multimodal_mini/
├── primary
│   └── d0
│       ├── leftCamImgs
│          ├── 0000000.jpg
│          ├── 0000001.jpg
│          ├── 0000002.jpg
│          ├── 0000003.jpg
│          └── 0000004.jpg
│       ├── test.csv
│       ├── train.csv
│       └── val.csv
├── secondary
│   └── d0
│       └── rightCamImgs
│           ├── 0000000.jpg
│           ├── 0000001.jpg
│           ├── 0000002.jpg
│           ├── 0000003.jpg
│           └── 0000004.jpg
└── supplement
    ├── lidar
       └── d0
           ├── 0000000.npy
           ├── 0000001.npy
           ├── 0000002.npy
           ├── 0000003.npy
           └── 0000004.npy
    └── obd
        └── d0
            └── obd.csv

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

IDD Iterator-1.0.2.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

IDD_Iterator-1.0.2-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file IDD Iterator-1.0.2.tar.gz.

File metadata

  • Download URL: IDD Iterator-1.0.2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for IDD Iterator-1.0.2.tar.gz
Algorithm Hash digest
SHA256 0f8817f4a4f3adfffefbfbd6247634efd499b800091726f1c12826dfbac8a9c4
MD5 3edea5ba09dc2dee94abe1993c8e032c
BLAKE2b-256 587200db2d09448fa7fc4fd6c222b00012f80787656bd252d53b3121116d965d

See more details on using hashes here.

Provenance

File details

Details for the file IDD_Iterator-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for IDD_Iterator-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 27a290b908732e9fe9083540c45dcdec30e7654138e2b47e7fd17d432d874e16
MD5 f1ebaeed89bbcf539ef7017b518a0f33
BLAKE2b-256 3827819355613b90b209157c6527ed8039fe7822fd1694882d4f2dbef3a93550

See more details on using hashes here.

Provenance

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