Dataset Viewer
Auto-converted to Parquet Duplicate
object
stringclasses
6 values
rgb
imagewidth (px)
192
192
depth
imagewidth (px)
192
192
mask
imagewidth (px)
192
192
touch
imagewidth (px)
192
192
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
cutter
End of preview. Expand in Data Studio

Imagine2touch dataset

The data of the paper

A. Ayad, A. Röfer, N. Heppert and A. Valada, "Imagine2touch: Predictive Tactile Sensing for Robotic Manipulation using Efficient Low-Dimensional Signals", ViTac workshop, ICRA 2024. arXiv:2405.01192

Code, with a loader for both files and the paper's experiments: github.com/ayadabdalla/imagine2touch.

The two files

File What it holds
imagine2touch.npz (8 MB) 1,630 touches of six objects by a Franka arm with a ReSkin touch sensor and a depth camera at its wrist
shape_classification.npz 1,280 presses of five small stamps into the mounted sensor, 256 of each

Browsing

The viewer on this page shows both files as tables, from two Parquet files in viewer/ made for it. They hold a part of the data in a form a browser can show. Each touch has its colour image, its depth image, its mask, and its signal as a picture: the cross of the five magnetometers. Each press has its stamp, its role, its signal as the same kind of picture, and where and how deep it was pressed.

  • In the depth image darker is nearer, over the 10 mm behind the nearest pixel.
  • In the picture of a signal a stronger change of the field is a deeper red; all pictures of one table share one scale.
  • All images are enlarged four times.

For work, use the .npz files, which hold everything at full precision.

imagine2touch.npz

The robot scans an object, looks at a patch of it with the wrist camera from about 10 cm away, then moves the sensor onto that patch until it feels it. One row per touch. Lengths are millimetres; poses are in the frame of the robot's base.

Array Shape Meaning
signal (1630, 15) how much the reading changed at contact: three field components for each of the five magnetometers, in the order centre, top, right, bottom, left
reading
ambient
(1630, 15) the reading in contact and the one out of contact
depth
depth_processed
(1630, 48, 48) the depth image of the patch, raw (0 = no reading) and with missing pixels filled
mask (1630, 48, 48) the pixels within 2 mm of the nearest one: the part of the patch the sensor meets
rgb (1630, 48, 48, 3) the colour image of the patch
pose_R
pose_t
(1630, 3, 3)
(1630, 3)
where the sensor stopped
commanded_R
commanded_t
same where it was sent
joints (1630, 7) joint angles when it stopped
wrench (1630, 6) force and torque the robot estimated; NaN where not recorded
outcome (1630,) what ended the approach, as a number:
2 = the touch reading jumped (109 touches)
3 = the robot felt its force limit first (18)
0 = not recorded (1,503, the sessions of March 2023)
The repository's loader turns these into the words sensor, wrench and unknown
objects (6,) the names of the six objects: ["cutter", "flower", "hexagon", "parallelogram", "square", "star"]
object (1630,) which object each touch is of, as a number from 0 to 5; its name is objects[object[i]]
scan
scan_start
(38579, 3)
(7,)
the scans of the six objects as one list of points; the points of scan k are
scan[scan_start[k]:scan_start[k+1]]

Five of the objects are primitives: flower and hexagon, which the paper trains on, and parallelogram, square and star, which it recognises. The sixth is a tool, a box cutter, used for validation and recognition.

shape_classification.npz

Array Shape Meaning
signal (1280, 15) reading of the press minus the reading out of contact before it
stamp (1280,) 0 to 4: T, circle, angle, triangle, cross
role (1280,) what the paper used each press for, as a number:
0 = train (905 presses)
1 = validation (125)
2 = test (250)
roles (3,) the names of those numbers: ["train", "validation", "test"], so the name of a press's role is roles[role[i]]
position (1280, 2) where on the sensing surface the stamp was pressed [m]
depth (1280,) how far it was pressed in [m]: 0.3, 0.6, 0.9 or 1.2 mm
force (1280,) the force along the press that the robot estimated [N]

Use

pip install huggingface_hub
hf download abdallahaymanayad772/imagine2touch --repo-type dataset --include "*.npz" --local-dir data

With the code of the repository:

from imagine2touch.datasets import VisuoTactileDataset, ShapeClassificationDataset

touches = VisuoTactileDataset("data/imagine2touch.npz")
touches.signal.shape, touches.mask.shape        # (1630, 15), (1630, 48, 48)

or with NumPy alone: numpy.load("data/imagine2touch.npz").

Citation

@inproceedings{ayad2024imagine2touch,
  title     = {Imagine2touch: Predictive Tactile Sensing for Robotic Manipulation using Efficient Low-Dimensional Signals},
  author    = {Ayad, Abdallah and R{\"o}fer, Adrian and Heppert, Nick and Valada, Abhinav},
  booktitle = {ViTac Workshop, IEEE International Conference on Robotics and Automation (ICRA)},
  year      = {2024}
}

Licence: CC BY-NC 4.0. Free to use for research and other non-commercial purposes.

Downloads last month
97

Models trained or fine-tuned on abdallahaymanayad772/imagine2touch

Paper for abdallahaymanayad772/imagine2touch