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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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