Scan your whole stack
Are you using oshd?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v1.3.0
oshd was last scanned on 26 Nov 2026 at version 1.3.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 1.3.0 LATEST | 26 Nov 2026 | No rules fired |
| 1.2.1 | 26 Nov 2026 | No rules fired |
| 1.1.0 | 2 Nov 2026 | No rules fired |
Findings for v1.3.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 1.3.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Download, synchronize and turn the OSHD multimodal robotics dataset
(OSHDataset/oshd on the Hugging Face Hub)
into training data for 6D pose estimation, object detection, segmentation and optical
flow.
The dataset contains trajectories of a PPO-controlled floating-platform robot recorded with:
a Prophesee EVK4 event camera, a FLIR Firefly RGB camera, an Intel RealSense D455 (colour +
depth), a Livox Mid-360 lidar + IMU, OptiTrack motion capture (SensorStack, cubesat,
floatingplatform), and the robot's control / observation topics. All streams in a trajectory
share one clock.
The same repo also holds simulated trajectories recorded in
Space Robotics Bench: orbital inspection
(sim_3d: ISS, Gateway, CubeSat, ... ) and a twin of the Zero-G lab (sim_zerog), each with
RGB, depth, semantic labels, emulated events, lidar, IMU, ground-truth poses and the policy's
steps. See Simulated data.
pip install oshd # core: download, read, sync, labels, exports
pip install "oshd[torch]" # + PyTorch Dataset wrappers
pip install "oshd[mesh]" # + loading CAD meshes (.ply/.obj/.stl)
pip install "oshd[viz]" # + the Rerun playback dashboard (oshd viz)
pip install "oshd[calib]" # + calibration tools (oshd align-markers, oshd calibrate)
pip install "oshd[all]" # everything above
pip install "oshd[torch,viz]" # or any combination
# with uv
uv add "oshd[all]" # in a uv project
uv pip install "oshd[all]" # into the active environment
uv tool install "oshd[viz]" # just the `oshd` CLI, isolated, on your PATH
Python ≥ 3.10. No OpenCV or ROS needed.
Data is large (≈ 11 GB per trajectory, mostly Firefly frames), so download only what you need. Downloads resume, and a rerun only fetches files that are new on the Hub.
oshd download # all real data
oshd download -m mocap -m realsense_color -m realsense_depth
oshd download -t trajectory_007 -m events
oshd download --domain sim_3d -m rgb -m mocap # simulated: synthetic, sim_3d, sim_zerog; all = both
oshd download --domain sim_zerog --task docking --split test # one simulated task, eval runs only
oshd download --benchmark v1 --domain sim_zerog --task docking --split test # same, frozen paper benchmark
oshd download --revision <commit-sha> # pin a dataset version for a paper
oshd info # what is local / remote, splits
oshd splits # train / val / test counts per domain and task
oshd check # which calibration / CAD inputs exist
Without -t, --domain picks what is downloaded (default real), and --split / --task
narrow it down. With -t, the named trajectories are downloaded whatever their domain.
The default location is ~/.cache/oshd/<repo>. Override it with --root or
$OSHD_DATA_DIR, and point at another repo with --repo / $OSHD_REPO_ID.
The repo moved from r3m3c3/oshd (which redirects) to OSHDataset/oshd in oshd 1.2.1: to keep
an older download, rename ~/.cache/oshd/r3m3c3--oshd to ~/.cache/oshd/OSHDataset--oshd.
The repo also holds three copies of 76 real trajectories, derived by oshd-isolate
(osh_dataset_pipeline, real/isolate/), and a simulated replay of some of them. Each sits in
its own Hub folder with the layout above:
--variant |
content |
|---|---|
isolated |
every modality with only the target mockup, the lab removed; adds firefly_semantic and realsense_color_semantic |
coregistered |
the original recordings in one reference view (the Firefly's), one modality coregistered |
isolated_coregistered |
the isolated copy in that reference view |
twin_replay |
the zero-G lab replayed in the Space Robotics Bench along the tracked trajectories of a few real recordings: Firefly, RealSense colour and depth, events and IMU at the real stamps, with the real calibration and motion capture; run records under twin/ |
oshd download --variant isolated -t trajectory_026 -m firefly -m events
oshd download --variant isolated_coregistered --split test
ds = OshDataset.download(variant="isolated", trajectories="trajectory_026", modalities="events")
ds.root # ~/.cache/oshd/OSHDataset--oshd/isolated
A variant lands in <root>/<variant> and opens like the original. Other downloads never fetch
the variants (oshd 1.1.0 and older also fetch them for real trajectories selected with -t or
--split and no -m: upgrade). benchmark_v4 and later hold the variants: --benchmark v4 --variant isolated
pins the variant to v4's revision and split (a derived copy has its trajectory's split); v1 to v3 predate them.
oshd reads the image channel of coregistered. The pipeline's
oshd_isolate.coregister.coregistered_frame(ds[trajectory], k) decodes every channel of row k.
Health report: runs in seconds on mocap + messages only.
oshd download -m mocap -m robot_messages -m imu
oshd quality # table + warnings; --json report.json for the full numbers
trajectory dur s final err cm yaw err° path m mocap drops label cov status
trajectory_007 40.9 6.0 0.4 1.52 229 89% CHECK
trajectory_009 40.9 2.6 0.5 2.32 231 - CHECK
trajectory_007: realsense_color at 7.3 Hz (< 10)
trajectory_007: mocap/floatingplatform: 72 dropouts > 50 ms (max 130 ms)
...
It reports the final position and heading error against the goal on
/observation_formater_input, path length, per-sensor rate and gaps, mocap dropouts, the
share of camera frames that can be labelled, and colour/depth sync. Thresholds are
arguments (--goal-tol-cm, --body).
Playback dashboard: synchronized, scrubbable playback in Rerun:
oshd viz -t trajectory_007 --download # fetches everything but Firefly, then opens the viewer
oshd viz -t trajectory_007 -t trajectory_009 # several trajectories: switch in the recordings panel
oshd viz -m mocap -m robot_messages # all local trajectories, trajectory + actions only
oshd viz -t trajectory_008 --start 10 --end 20 -m events -m realsense_color
oshd viz -t trajectory_050 --web # viewer in the browser (e.g. over SSH port-forward)
oshd viz --save out/ # write out/<trajectory>.rrd; open with `rerun out/*.rrd`
The browser viewer holds at most ~4 GB and drops the oldest data beyond that: the start of
the timeline goes empty (bodies stop moving until near the end). One real trajectory with every
modality is ~0.4 GB with --web (masks on every 10th frame, --mask-stride); open one or two
at a time, switch between them in the recordings panel (left), or use --save + the native
viewer for many.
Layout: 3D mocap world (bodies, full paths, goal and its heading) · x / y / yaw of every body with the goal as a reference line · distance to goal · Firefly, RealSense colour + depth and event frames (blue = ON, red = OFF) · Livox point cloud · thruster, reaction-wheel and IMU plots · a text panel with the quality warnings. All panels share one timeline (seconds from trajectory start).
Firefly frames are large (≈ 300 kB each), so they're logged every 2nd frame by default
(--firefly-stride). Events are rendered at --events-fps 20 and --events-scale 0.5.
One trajectory without Firefly is ≈ 270 MB in the viewer and takes ≈ 20 s to log.
Masks and image-space poses need two transforms:
T_body_model in models/objects.yaml), from the
Motive rigid-body export and the marker positions in the CAD.SensorStack body (calibration/rig.yaml), from cube corners you
click in about 10 frames. The cube is static while the rig moves, so no calibration board
or extra recording is needed.The current dataset already has both for cubesat and realsense_color. The steps below
are for a new object, a re-built rigid body, or another camera.
pip install "oshd[calib]"
oshd download -m realsense_color -m mocap
# 1) object: Motive export + the marker centres in the CAD (here Onshape mm, Z-up part
# exported Y-up, hence --cad-axes x,-z,y)
oshd align-markers --motive models/CubeSat_U1.motive --cad-axes x,-z,y \
--cad-marker 46.077 -46.03447 -117.99807 --cad-marker -47.35423 -47.40068 -121.5 \
--cad-marker -47.35423 47.39831 -121.5 --cad-marker 47.44476 47.39831 -121.5
# 2) camera: click the cube corners
oshd calibrate --camera realsense_color --box-keypoints -0.05 0 -0.05 0.05 0.1 0.05
align-markers matches your CAD markers to Motive's (subset and order are found
automatically) and refuses a fit worse than 3 mm. Motive stores bodies Y-up and the ROS
stream is Z-up; the standard conversion is the default (--motive-to-body x,-z,y).
--box-keypoints gives the cube body's 8 corners in CAD coordinates, excluding the marker
holder. When T_body_model comes from align-markers, oshd calibrate only solves the
camera (--refine-model overrides this). Solving both from clicks is unreliable: the
camera position and the object position trade off.
oshd calibrate prints a local URL (default http://localhost:8765) and opens it in your
browser. On a remote machine, run ssh -L 8765:localhost:8765 <host> on your laptop and open
the URL there.
What to click: the visible corners of the cube body, and nothing else. Skip the marker holder, hidden corners and the stand; see docs/calibration_example.png.
On the page: click a corner · right-click / u undo · wheel zoom · drag pan ·
f fit · n / Enter next frame · s skip a frame where the cube is cut off or
over-exposed · q finish. Clicks are saved after every frame; --add --frames N clicks
N more later. After the first frames, yellow crosses show where the current solution
predicts the corners. A result with RMS > 10 px, or with implausible offsets, is flagged and
not written unless you pass --force.
Outputs, in oshd_calibration/ (git-ignored), laid out like the Hub repo:
calibration/rig.yaml: T_body_cam of the camera (--also realsense_depth gives the
aligned depth camera the same transform)models/objects.yaml: T_body_model from align-markers, plus the keypointscalibration/clicks_<camera>.json: your clicks. Re-running re-solves from them.overlays_<camera>/*.png: rendered mask outline (green) and clicks (red), for checkingThe results are also copied into your local dataset right away. Check them with
oshd viz -m <camera> -m mocap, which draws the masks on the images. Then share them:
hf upload OSHDataset/oshd oshd_calibration . --repo-type dataset --exclude 'overlays_*/*'
ds.objects holds the CAD of every real target, read by the label tasks and exports:
| object | trajectories | mocap body | CAD |
|---|---|---|---|
cubesat |
007-009 | cubesat |
models/CubeSat_U1.obj (models/objects.yaml) |
antena (mockup, two solar panels) |
010-039 | target |
models/real/antena/ |
antena_1_solar (mockup, one panel) |
040-098 | target |
models/real/antena_1_solar/ |
The mockups come from models/real/mockups.json (trajectory -> mockup), written by the
recording pipeline: model.obj + textures in metres, with the origin at the pivot of their
Motive rigid body. Where the mockup's own tracking drops out, its static_pose in that file
(mean of its mocap while it stood still) is used. An entry of the same name in
models/objects.yaml overrides a mockup's T_body_model.
Since trajectory_010 every camera is calibrated relative to the RealSense colour camera
(T_realsense_color_cam in calibration/<trajectory>.yaml, from the rig calibration). The
Firefly and the event camera get T_body_cam = T_body_cam(realsense_color) @ T_realsense_color_cam, with the RealSense's T_body_cam from calibration/rig.yaml.
from oshd import OshDataset
from oshd.labels import nearest_indices
ds = OshDataset.download(modalities=["mocap", "realsense_color", "realsense_depth", "events"])
traj = ds["trajectory_007"]
rgb = traj.frame("realsense_color", 100) # (480, 640, 3) uint8
depth = traj.depth(200) # (480, 640) float32 metres
ts = traj.timestamps("realsense_color") # int64 ns, host clock
ev = traj.events(ts[100] - 25_000_000, ts[100] + 25_000_000) # reads only overlapping row groups
T_world_cube, ok = traj.body_pose("cubesat", ts) # interpolated (slerp) mocap poses
idx, ok = nearest_indices(traj.timestamps("realsense_depth"), ts, tolerance_ns=20_000_000)
scan = traj.lidar_scan(10) # dict of x, y, z, intensity, ... arrays
t, obs = traj.message_array("/pingu_low_level") # (N, D) policy observations
t, act = traj.message_array("/minimal_thruster_command_to_px4")
Event representations: oshd.events.event_histogram, voxel_grid, time_surface.
Every task splits by trajectory (splits.json on the Hub) and returns dicts of numpy
arrays. Use oshd.torch for PyTorch.
from oshd.tasks import PoseEstimation, ObjectDetection, Segmentation, OpticalFlow
pose = PoseEstimation(ds, "train", camera="firefly", undistort=True, image_size=(1536, 1024))
s = pose[0] # image, K, poses (N, 4, 4) T_cam_model, object_ids, valid
det = ObjectDetection(ds, "train", camera="realsense_color", stride=2)
s = det[0] # image, boxes (xyxy of the visible part), labels, masks, poses
seg = Segmentation(ds, "val", camera="realsense_color") # semantic + instance maps
flow = OpticalFlow(ds, "train", camera="realsense_color") # image0, image1, flow, valid
eflow = OpticalFlow(ds, "train", camera="events", window_ns=50_000_000) # voxel grid, flow
import torch
from oshd.torch import TorchDataset, detection_collate
loader = torch.utils.data.DataLoader(TorchDataset(det), batch_size=8,
collate_fn=detection_collate, num_workers=4)
How labels are made: object pose = mocap pose of the object (plus marker-to-CAD transform) seen from the camera (SensorStack mocap pose plus camera extrinsics). Masks and boxes are rendered from the CAD mesh at that pose, with occlusion between tracked objects. Optical flow comes from RealSense depth moved by the camera and object motion measured by mocap.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.