Skip to main content

OpenPack Dataset Toolkit (optk)

OpenPack Dataset Logo

Test API Docs - GitHub Pages

"OpenPack Dataset" is a new large-scale multi modal dataset of manual packing process. OpenPack is an open access logistics-dataset for human activity recognition, which contains human movement and package information from 16 distinct subjects. This repository provide utilities to explore our exciting dataset.

Dataset Release Note

For preliminary analysis, please start from preprocessed-IMU-with-operation-labels.zip in zenodo. This preprocessed dataset include IMU data (acc, gyro, quaternion) assosiated with operatopn labels because you don't need to combine data and label.

Docs

Dataset

Task & Activity Recognition Challenge

Sample Data

Sample

Install

We provide some utility functions as python package. You can install via pip with the following command. Note that the supported dataset version is >=1.0.0.

# Pip
pip install openpack-toolkit

# Poetry
poetry add  openpack-toolkit

Examples

Tutorial

Work Activity Recognition (PyTorch)

PyTorch code samples for work operation prediction task is available. See openpack-torch for more dietail.

Timestamp

Each data point is associated with a millisecond-precision unix timestamp. The following is a snippet that converts a timestamp (an int value) into a datatime.datetime() object with timezone.

import datetime


def timestamp_to_datetime(ts: int) -> datetime.datetime:
  """Convert unix timestamp (milli-second precision) into datatime object. """
  timezone_jst = datetime.timezone(datetime.timedelta(hours=9))
  dt = datetime.datetime.fromtimestamp(ts / 1000).replace(tzinfo=timezone_jst)
  return dt
  
def datetime_to_timestamp(dt: datetime.datetime) -> int:
  """Convert a datetime object into a milli-second precision timestamp."""
  return int(dt.timestamp() * 1000)


ts = 1634885786000

dt_out =  timestamp_to_datetime(ts)
ts_out = datetime_to_timestamp(dt_out)
print(f"datetime: {dt_out}")  # datetime: 2021-10-22 15:56:26+09:00
print(f"timestamp: {ts_out}")  # timestamp: 1634885786000
assert ts_out == ts

Download Dataset

From Zenodo (w/o Depth Images)

bash tools/download/dl_from_zenodo.sh <path to a dataset root directory>

# Example:
bash tools/download/dl_from_zenodo.sh ./data/datasets

OpenPack Challenge Logo

License

openpack-toolkit has a MIT license, as found in the LICENSE file.

NOTE: OpenPack Dataset itself is available under Creative Commons Attribution Non Commercial Share Alike 4.0 International license. However, OpenPack Dataset (+RGB) License is applied to "OpenPack Dataset (+RGB)" which includs RGB data.

Metadata

Release files for openpack-toolkit 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openpack-toolkit 1.1.0
File Size Uploaded
openpack-toolkit-1.1.0.tar.gz 25.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for openpack-toolkit 1.1.0
File Interpreter ABI Platform
openpack_toolkit-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 55.2 kB

Release files / openpack-toolkit-1.1.0.tar.gz

Download URL openpack-toolkit-1.1.0.tar.gz
Size 25.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2089543f0f24c82018f8d948aad86d8d9a4eeeb4c0c306a4cd7d723670c65db4
BLAKE2b-256 checksum
How to use checksums
82187ce395731235e535b89fa210dad2910ae738a56983ed6df3a85c232bcda0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.9.12 Darwin/23.2.0

Release files / openpack_toolkit-1.1.0-py3-none-any.whl

Download URL openpack_toolkit-1.1.0-py3-none-any.whl
Size 29.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d4c91023ab482b326bf8f4256e34a27d6464799e0f144b2b3b76731e7e33043f
BLAKE2b-256 checksum
How to use checksums
b8fb14aea2864c7120d308bbb66daf4075823a122df4b142412d1ab29a67e21e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.9.12 Darwin/23.2.0

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.7.0

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page