Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ahadjawaid/openego
/ functions
Functions
77 in github.com/ahadjawaid/openego
⨍
Functions
77
◇
Types & classes
3
↓ 5 callers
Function
get_hdf5_data
Load data from HDF5 file.
openego/core/utils.py:50
↓ 4 callers
Function
get_benchmark_name
(video_path: Path)
openego/data/openego.py:102
↓ 3 callers
Method
__getitem__
(self, index: int, demo_slice: Optional[slice] = None)
openego/data/openego.py:40
↓ 3 callers
Function
cleanup_extraction_artifacts
(root_dir: str | Path, benchmark_name: str)
openego/download_data.py:202
↓ 3 callers
Function
get_video_frames
Load video frames using OpenCV.
openego/core/utils.py:12
↓ 3 callers
Function
load_json
(file_path: Union[str, Path])
openego/core/utils.py:8
↓ 2 callers
Method
__len__
(self)
openego/data/openego.py:25
↓ 2 callers
Function
convert_points_to_trajetory_coordinates
Convert 3D points to 2D pixel coordinates using camera intrinsics. Args: points: shape [num_points, 3] or [batch_size, num_point
openego/core/projection.py:4
↓ 2 callers
Function
download_from_box
(url: str, show_progress: bool = True, save_dir: str | Path = ".")
openego/download_data.py:64
↓ 2 callers
Function
empty_annotation
(video_info, task="")
port_openego_to_lerobot.py:45
↓ 2 callers
Function
get_demo_fps
(annotation, metadata, video_info)
port_openego_to_lerobot.py:80
↓ 2 callers
Function
get_egodex_intrinsic
(video_path: Path)
openego/data/openego.py:134
↓ 2 callers
Function
get_egodex_joints
(video_path: Path, visibility_confidence_threshold: float = 0.5)
openego/data/openego.py:110
↓ 2 callers
Function
get_sorted_paths
Get sorted file paths matching pattern.
openego/core/utils.py:45
↓ 2 callers
Function
get_video_info
Get video metadata.
openego/core/utils.py:28
↓ 2 callers
Function
load_demo
(video_path: Path)
port_openego_to_lerobot.py:49
↓ 2 callers
Function
merge_dir_into
(src_dir: str | Path, dst_dir: str | Path)
openego/download_data.py:142
↓ 2 callers
Function
normalize_visibility
(v, n_frames, n_joints)
port_openego_to_lerobot.py:32
↓ 2 callers
Function
remove_macosx_artifacts
(root_dir: str | Path)
openego/download_data.py:135
↓ 2 callers
Function
to_jsonable
(x)
port_openego_to_lerobot.py:18
↓ 2 callers
Function
unzip_file
(zip_path: str | Path, extract_dir: str | Path | None = None, show_progress: bool = True)
openego/download_data.py:119
↓ 1 callers
Method
_load_annotation
(self, video_path: Path, benchmark_name: str, demo_slice: Optional[slice] = None)
openego/data/openego.py:79
↓ 1 callers
Method
_load_joint
(self, video_path: Path, benchmark_name: str, demo_slice: Optional[slice] = None)
openego/data/openego.py:68
↓ 1 callers
Method
_load_metadata
(self, video_path: Path, benchmark_name: str, video_info: Mapping[str, Any])
openego/data/openego.py:87
↓ 1 callers
Method
_load_rgb
(self, video_path: Path, demo_slice: Optional[slice] = None)
openego/data/openego.py:65
↓ 1 callers
Function
build_features
(image_shape)
port_openego_to_lerobot.py:84
↓ 1 callers
Function
flatten_named_subdir
(root_dir: str | Path, expected_name: str)
openego/download_data.py:183
↓ 1 callers
Function
flatten_single_nested_dir
(root_dir: str | Path)
openego/download_data.py:166
↓ 1 callers
Function
get_box_filename
(url: str)
openego/download_data.py:11
↓ 1 callers
Function
is_valid_zip
(zip_path: str | Path)
openego/download_data.py:23
↓ 1 callers
Function
is_zip_already_extracted
(zip_path: str | Path, extract_dir: str | Path | None = None)
openego/download_data.py:35
↓ 1 callers
Function
main
Run pytest with appropriate arguments.
run_tests.py:7
↓ 1 callers
Function
main
()
port_openego_to_lerobot.py:229
↓ 1 callers
Function
port_openego
( raw_dir: Path, repo_id: str, push_to_hub: bool = False, private: bool = False, root: Pat
port_openego_to_lerobot.py:125
Method
__init__
( self, data_dir: Path, data_types: List[str] = ["joint", "rgb", "annotation", "metada
openego/data/openego.py:10
Method
dict
(self)
openego/data/annotations.py:23
Method
duration
(self)
openego/data/openego.py:37
Method
duration
(self)
openego/data/annotations.py:39
Method
end_frame
(self)
openego/data/annotations.py:47
Method
frames
(self)
openego/data/annotations.py:51
Method
get_item_from_demo_name
(self, video_name: Union[str, List[str]])
openego/data/openego.py:59
Method
intrinsic
(self)
openego/data/annotations.py:70
Method
joints
(self)
openego/data/annotations.py:58
Method
joints_pixel
(self)
openego/data/annotations.py:64
Method
left_hand_joints
(self)
openego/data/annotations.py:74
Method
left_hand_pixel_joints
(self)
openego/data/annotations.py:100
Method
left_hand_visibility
(self)
openego/data/annotations.py:82
Method
num_demos
(self)
openego/data/openego.py:29
Method
num_frames
(self)
openego/data/openego.py:33
Method
num_frames
(self)
openego/data/annotations.py:31
Method
provider
Create OpenEgoDataProvider instance with test data.
tests/test_openego_provider.py:18
Method
resolution
(self)
openego/data/annotations.py:35
Method
right_hand_joints
(self)
openego/data/annotations.py:78
Method
right_hand_pixel_joints
(self)
openego/data/annotations.py:104
Method
right_hand_visibility
(self)
openego/data/annotations.py:91
Method
start_frame
(self)
openego/data/annotations.py:43
Method
test_action_dataclass
Test Action dataclass functionality.
tests/test_openego_provider.py:188
Method
test_action_frames_property
Test Action.frames property loads video frames.
tests/test_openego_provider.py:215
Method
test_action_pixel_joints
Test Action pixel coordinate conversion.
tests/test_openego_provider.py:230
Method
test_benchmarks_property
Test benchmarks property.
tests/test_openego_provider.py:58
Method
test_data_dir
Return path to test data directory.
tests/test_openego_provider.py:13
Method
test_duration_property
Test duration property returns total duration in seconds.
tests/test_openego_provider.py:52
Method
test_get_benchmark_name
Test benchmark name extraction from paths.
tests/test_openego_provider.py:176
Method
test_getitem_all_data_types
Test __getitem__ returns all requested data types.
tests/test_openego_provider.py:64
Method
test_getitem_invalid_index
Test __getitem__ with invalid index.
tests/test_openego_provider.py:104
Method
test_getitem_subset_data_types
Test __getitem__ with subset of data types.
tests/test_openego_provider.py:90
Method
test_init_with_invalid_directory
Test initialization with non-existent directory.
tests/test_openego_provider.py:32
Method
test_init_with_valid_directory
Test initialization with valid data directory.
tests/test_openego_provider.py:25
Method
test_len
Test __len__ returns number of videos.
tests/test_openego_provider.py:37
Method
test_load_annotation
Test annotation loading.
tests/test_openego_provider.py:143
Method
test_load_joint
Test joint data loading.
tests/test_openego_provider.py:122
Method
test_load_metadata
Test metadata loading.
tests/test_openego_provider.py:163
Method
test_load_rgb
Test RGB frame loading.
tests/test_openego_provider.py:109
Method
test_num_demos_property
Test num_demos property.
tests/test_openego_provider.py:42
Method
test_num_frames_property
Test num_frames property returns total frames.
tests/test_openego_provider.py:47
Method
test_video_slice
Test loading video with frame slice.
tests/test_openego_provider.py:250
Method
visualize
(self)
openego/data/annotations.py:107