How cyens/vilma works
VILMA is a multimodal manipulation-data collection and dataset-generation framework. Operators collect synchronized camera, microphone, and tracker recordings, associate video files with session metadata, process and enrich recordings, then create and organize an HDF5 dataset. Separate utilities support finger-distance calibration, depth-map extraction, compression, face blurring, statistics, and dataset inspection. The graph also shows the sampled depth-model layers. Most pipeline links are documented in the README; unsampled scripts are represented only at their evidenced paths.
Main entry points: vilma_collect_data.py Data collection · vilma_create_hdf5_dataset.py HDF5 generation · vilma_process_data.py Recording processing · run_video.py Depth extraction
Components 22
Data collection
- VIVE tracking
data_collection/triad_openvr/triad_openvr.py - Data collection
data_collection/vilma_collect_data.py - Finger calibration
data_collection/vilma_fingers_distance_calibration.py
Data processing
- Video association
data_processing/vilma_associate_videos.py - Recording processing
data_processing/vilma_process_data.py - Video compression
data_processing/vilma_compress_videos.py
Depth estimation
- Depth extraction
data_processing/Depth-Anything-V2/run_video.py - Depth model head
data_processing/Depth-Anything-V2/depth_anything_v2/dpt.py - DINOv2 encoder
data_processing/Depth-Anything-V2/depth_anything_v2/dinov2.py - Transformer layers
data_processing/Depth-Anything-V2/depth_anything_v2/dinov2_layers/block.py - Depth point clouds
data_processing/Depth-Anything-V2/metric_depth/depth_to_pointcloud.py
Dataset creation
- Face blurring
dataset_creation/vilma_blur_faces.py - Dataset statistics
dataset_creation/vilma_calculate_statistics.py - HDF5 generation
dataset_creation/vilma_create_hdf5_dataset.py - Video organization
dataset_creation/vilma_organize_videos_by_hdf5.py - Dataset inspection
dataset_creation/vilma_print_hdf5_contents.py
Other components
- Operator
- Recording hardware
- Recordings
- Session metadata
- OpenAI transcription
- HDF5 dataset
Connections 31
- Operator → Data collection: starts capture
README.md - Recording hardware → Data collection: provides streams
README.md - Data collection → VIVE tracking: reads tracking
data_collection/vilma_collect_data.py - Data collection → Recordings: writes recordings
README.md - Data collection → Session metadata: writes paths
README.md - Operator → Finger calibration: runs calibration
README.md - Operator → Video association: runs association
README.md - Video association → Session metadata: updates association
README.md - Operator → Recording processing: runs processing
README.md - Recording processing → Recordings: trims and optimizes
README.md - Recording processing → OpenAI transcription: transcribes speech
README.md - Operator → Depth extraction: runs depth extraction
README.md - Depth extraction → Session metadata: reads sessions
README.md - Depth extraction → Depth model head: invokes model
- Depth model head → DINOv2 encoder: uses encoder
data_processing/Depth-Anything-V2/depth_anything_v2/dpt.py - DINOv2 encoder → Transformer layers: builds blocks
data_processing/Depth-Anything-V2/depth_anything_v2/dinov2.py - Operator → Video compression: runs compression
README.md - Video compression → Recordings: rewrites videos
README.md - Operator → Face blurring: runs anonymization
README.md - Operator → Dataset statistics: runs statistics
README.md - Dataset statistics → Session metadata: reads sessions
README.md - Operator → HDF5 generation: creates dataset
README.md - HDF5 generation → Session metadata: reads session data
README.md - HDF5 generation → Recordings: reads media
README.md - HDF5 generation → HDF5 dataset: writes hierarchy
README.md - Operator → Video organization: runs organization
README.md - Video organization → HDF5 dataset: reads hierarchy
README.md - Video organization → Recordings: organizes videos
README.md - Operator → Dataset inspection: prints contents
README.md - Dataset inspection → HDF5 dataset: reads contents
README.md - Operator → Depth point clouds: runs conversion