Datumaro API documentation
Developer Manual
datumaro module
CLI
Components
Plugins
Utilities
Module contents
annotation_util module
attrs_util module
image module
image_cache module
log_utils module
mask_tools module
os_util module
scope module
telemetry_stub module
telemetry_utils module
test_utils module
tf_util module
Back to main documentation
Datumaro API documentation
»
Utilities
»
image_cache module
View page source
image_cache module
class
datumaro.util.image_cache.
ImageCache
(
capacity
=
2
)
[source]
Bases:
object
static
get_instance
(
)
[source]
__init__
(
capacity
=
2
)
[source]
push
(
item_id
,
image
)
[source]
get
(
item_id
)
[source]
size
(
)
[source]
clear
(
)
[source]
Other Versions
v: develop
Tags
v0.2.2
v0.2.3
v0.3
Branches
develop