Skip to content
This repository was archived by the owner on Aug 9, 2026. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IIDB

IIDB is a key-value database designed for storing images, with a heavy focus on speed. IIDB is a lightweight wrapper around LMDB and encodes data using zstd or lz4.

Usage

import iidb
import numpy as np

# put images into db
with iidb.open('images.mdb', readonly=False) as db:
    img = np.zeros((100, 100), dtype=np.uint8)
    db[213] = img

# read images back
with iidb.open('images.mdb') as db:  # readonly by default 
    img2 = db[213]
np.testing.assert_allclose(img2, img)

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages