Datasets:
Dataset Viewer (First 5GB)
pose-mediapipe.pose
unknown | transcripts.json
listlengths 1
1
| mp4
unknown | json
dict | __key__
stringlengths 1
4
| __url__
stringclasses 9
values |
---|---|---|---|---|---|
"zcxMPoAHOAQAAAUADgBQT1NFX0xBTkRNQVJLUwQAWFlaQyEAIwABAAQATk9TRQ4ATEVGVF9FWUVfSU5ORVIIAExFRlRfRVlFDgB(...TRUNCATED) | [{"bible-ref":"MAT 26:39-41","biblenlp-vref":[24162,24163,24164],"end_frame":2627,"language":{"BCP-4(...TRUNCATED) | "AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAtmVl21kYXQAAAGzABAHAAABthAwWMu2xIEqN9v4+2+Rt9/HTb+(...TRUNCATED) | {"bible-ref":"MAT 26:39-41","biblenlp-vref":[24162,24163,24164],"duration_sec":52.54,"fps":50.0,"hei(...TRUNCATED) |
214
| "hf://datasets/bridgeconn/sign-bibles-isl@227b910f0d27197664efe0073eb22d53ff2c28a5/ins/indian_sign_l(...TRUNCATED) |
"zcxMPoAHOAQAAAUADgBQT1NFX0xBTkRNQVJLUwQAWFlaQyEAIwABAAQATk9TRQ4ATEVGVF9FWUVfSU5ORVIIAExFRlRfRVlFDgB(...TRUNCATED) | [{"bible-ref":"MAT 16:13-16","biblenlp-vref":[23754,23755,23756,23757],"end_frame":2879,"language":{(...TRUNCATED) | "AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAycXR21kYXQAAAGzABAHAAABthAwWOW2QCLHnTvHbbix9t/H238(...TRUNCATED) | {"bible-ref":"MAT 16:13-16","biblenlp-vref":[23754,23755,23756,23757],"duration_sec":57.58,"fps":50.(...TRUNCATED) |
8
| "hf://datasets/bridgeconn/sign-bibles-isl@227b910f0d27197664efe0073eb22d53ff2c28a5/ins/indian_sign_l(...TRUNCATED) |
"zcxMPoAHOAQAAAUADgBQT1NFX0xBTkRNQVJLUwQAWFlaQyEAIwABAAQATk9TRQ4ATEVGVF9FWUVfSU5ORVIIAExFRlRfRVlFDgB(...TRUNCATED) | [{"bible-ref":"LUK 6:10-11","biblenlp-vref":[25225,25226],"end_frame":1595,"language":{"BCP-47":"en-(...TRUNCATED) | "AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAbakvW1kYXQAAAGzABAHAAABthAwWNFtkgkR9txI22/j7b+Ptv4(...TRUNCATED) | {"bible-ref":"LUK 6:10-11","biblenlp-vref":[25225,25226],"duration_sec":31.9,"fps":50.0,"height":108(...TRUNCATED) |
739
| "hf://datasets/bridgeconn/sign-bibles-isl@227b910f0d27197664efe0073eb22d53ff2c28a5/ins/indian_sign_l(...TRUNCATED) |
"zcxMPoAHOAQAAAUADgBQT1NFX0xBTkRNQVJLUwQAWFlaQyEAIwABAAQATk9TRQ4ATEVGVF9FWUVfSU5ORVIIAExFRlRfRVlFDgB(...TRUNCATED) | [{"bible-ref":"LUK 1:69","biblenlp-vref":[25031],"end_frame":1599,"language":{"BCP-47":"en-US","ISO6(...TRUNCATED) | "AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAYuOS21kYXQAAAGzABAHAAABthAwOOW2WBeR9trx9t/HTb1jbb+(...TRUNCATED) | {"bible-ref":"LUK 1:69","biblenlp-vref":[25031],"duration_sec":31.98,"fps":50.0,"height":1080,"langu(...TRUNCATED) |
928
| "hf://datasets/bridgeconn/sign-bibles-isl@227b910f0d27197664efe0073eb22d53ff2c28a5/ins/indian_sign_l(...TRUNCATED) |
"zcxMPoAHOAQAAAUADgBQT1NFX0xBTkRNQVJLUwQAWFlaQyEAIwABAAQATk9TRQ4ATEVGVF9FWUVfSU5ORVIIAExFRlRfRVlFDgB(...TRUNCATED) | [{"bible-ref":"LUK 13:10-13","biblenlp-vref":[25597,25598,25599,25600],"end_frame":2747,"language":{(...TRUNCATED) | "AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAyJLX21kYXQAAAGzABAHAAABthAwWOW2SCLF7fIvj7b1jbb+Ptv(...TRUNCATED) | {"bible-ref":"LUK 13:10-13","biblenlp-vref":[25597,25598,25599,25600],"duration_sec":54.94,"fps":50.(...TRUNCATED) |
851
| "hf://datasets/bridgeconn/sign-bibles-isl@227b910f0d27197664efe0073eb22d53ff2c28a5/ins/indian_sign_l(...TRUNCATED) |
"zcxMPoAHOAQAAAUADgBQT1NFX0xBTkRNQVJLUwQAWFlaQyEAIwABAAQATk9TRQ4ATEVGVF9FWUVfSU5ORVIIAExFRlRfRVlFDgB(...TRUNCATED) | [{"bible-ref":"MRK 4:20","biblenlp-vref":[24412],"end_frame":2197,"language":{"BCP-47":"en-US","ISO6(...TRUNCATED) | "AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAgP2721kYXQAAAGzABAHAAABthAwaMJTlskbfbcbfcsd1NR46up(...TRUNCATED) | {"bible-ref":"MRK 4:20","biblenlp-vref":[24412],"duration_sec":43.94,"fps":50.0,"height":1080,"langu(...TRUNCATED) |
311
| "hf://datasets/bridgeconn/sign-bibles-isl@227b910f0d27197664efe0073eb22d53ff2c28a5/ins/indian_sign_l(...TRUNCATED) |
"zcxMPoAHOAQAAAUADgBQT1NFX0xBTkRNQVJLUwQAWFlaQyEAIwABAAQATk9TRQ4ATEVGVF9FWUVfSU5ORVIIAExFRlRfRVlFDgB(...TRUNCATED) | [{"bible-ref":"LUK 12:53","biblenlp-vref":[25581],"end_frame":1462,"language":{"BCP-47":"en-US","ISO(...TRUNCATED) | "AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAa5jZW1kYXQAAAGzABAHAAABthAwWIXfeyQSo+2/j77qx99/G23(...TRUNCATED) | {"bible-ref":"LUK 12:53","biblenlp-vref":[25581],"duration_sec":29.24,"fps":50.0,"height":1080,"lang(...TRUNCATED) |
864
| "hf://datasets/bridgeconn/sign-bibles-isl@227b910f0d27197664efe0073eb22d53ff2c28a5/ins/indian_sign_l(...TRUNCATED) |
"zcxMPoAHOAQAAAUADgBQT1NFX0xBTkRNQVJLUwQAWFlaQyEAIwABAAQATk9TRQ4ATEVGVF9FWUVfSU5ORVIIAExFRlRfRVlFDgB(...TRUNCATED) | [{"bible-ref":"MRK 16:14","biblenlp-vref":[24956],"end_frame":1289,"language":{"BCP-47":"en-US","ISO(...TRUNCATED) | "AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAW2SGG1kYXQAAAGzABAHAAABthAwWMStsLwS4+2+Rtt/H23yPvP(...TRUNCATED) | {"bible-ref":"MRK 16:14","biblenlp-vref":[24956],"duration_sec":25.78,"fps":50.0,"height":1080,"lang(...TRUNCATED) |
264
| "hf://datasets/bridgeconn/sign-bibles-isl@227b910f0d27197664efe0073eb22d53ff2c28a5/ins/indian_sign_l(...TRUNCATED) |
"zcxMPoAHOAQAAAUADgBQT1NFX0xBTkRNQVJLUwQAWFlaQyEAIwABAAQATk9TRQ4ATEVGVF9FWUVfSU5ORVIIAExFRlRfRVlFDgB(...TRUNCATED) | [{"bible-ref":"MRK 13:8","biblenlp-vref":[24794],"end_frame":3140,"language":{"BCP-47":"en-US","ISO6(...TRUNCATED) | "AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlA00A6m1kYXQAAAGzABAHAAABthAwWGJaPORAEuNunFjbb+Ptu8f(...TRUNCATED) | {"bible-ref":"MRK 13:8","biblenlp-vref":[24794],"duration_sec":62.8,"fps":50.0,"height":1080,"langua(...TRUNCATED) |
458
| "hf://datasets/bridgeconn/sign-bibles-isl@227b910f0d27197664efe0073eb22d53ff2c28a5/ins/indian_sign_l(...TRUNCATED) |
"zcxMPoAHOAQAAAUADgBQT1NFX0xBTkRNQVJLUwQAWFlaQyEAIwABAAQATk9TRQ4ATEVGVF9FWUVfSU5ORVIIAExFRlRfRVlFDgB(...TRUNCATED) | [{"bible-ref":"MRK 3:27","biblenlp-vref":[24384],"end_frame":1512,"language":{"BCP-47":"en-US","ISO6(...TRUNCATED) | "AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAW7ELW1kYXQAAAGzABAHAAABthAwSM62wnAro+2/j7b7G23Ej7b(...TRUNCATED) | {"bible-ref":"MRK 3:27","biblenlp-vref":[24384],"duration_sec":30.24,"fps":50.0,"height":1080,"langu(...TRUNCATED) |
280
| "hf://datasets/bridgeconn/sign-bibles-isl@227b910f0d27197664efe0073eb22d53ff2c28a5/ins/indian_sign_l(...TRUNCATED) |
End of preview. Expand
in Data Studio
Dataset Card for Sign Bible Dataset
This dataset contains Indian sign language videos from the Bible recordings, processed for machine learning applications. The dataset is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0).
Dataset Details
Contains 1111 sign videos of 19.5 hours in total.
Uses
- Sign video and corresponding pose estimation data for pose based applications
- Parallel Sign language - text for translation purposes
How to use
import webdataset as wds
from torch.utils.data import DataLoader
import numpy as np
import json
import tempfile
import os
import cv2
def main():
lang = "ins"
project = "indian_sign_language_version_islv"
split = "train"
buffer_size = 1024
dataset = (
wds.WebDataset(
f"https://huggingface.co/datasets/bridgeconn/sign-bibles-isl/resolve/main/{lang}/{project}/shard_{{00001..00002}}-{split}.tar",
shardshuffle=False)
.shuffle(buffer_size)
.decode()
)
for sample in dataset:
''' Each sample contains:
'mp4', 'pose-dwpose.npz', 'pose-mediapipe.pose'
'transcripts.json' and 'json'
'''
# print(sample.keys())
# JSON metadata
json_data = sample['json']
print(json_data['total_frames'])
print(json_data['bible-ref'])
print(json_data['biblenlp-vref'])
print(json_data['signer'])
# Text
text_json = sample['transcripts.json']
print(text_json[0]['text'])
print(text_json[0]['language']['name'])
# main video
mp4_data = sample['mp4']
process_video(mp4_data)
# # dwpose results
# dwpose_coords = sample["pose-dwpose.npz"]
# frame_poses = dwpose_coords['frames'].tolist()
# print(f"Frames in dwpose coords: {len(frame_poses)} poses")
# print(f"Pose coords shape: {len(frame_poses[0][0])}")
# print(f"One point looks like [x,y]: {frame_poses[0][0][0]}")
# mediapipe results in .pose format
pose_format_data = sample["pose-mediapipe.pose"]
process_poseformat(pose_format_data)
break
def process_poseformat(pose_format_data):
from pose_format import Pose
temp_file = None
try:
with tempfile.NamedTemporaryFile(suffix=".pose", delete=False) as tmp:
tmp.write(pose_format_data)
temp_file = tmp.name
data_buffer = open(temp_file, "rb").read()
pose = Pose.read(data_buffer)
print(f"Mediapipe results from pose-format: {pose.body.data.shape}")
except Exception as e:
print(f"Error processing pose-format: {e}")
finally:
if temp_file and os.path.exists(temp_file):
os.remove(temp_file) # Clean up the temporary file
def process_video(mp4_data):
print(f"Video bytes length: {len(mp4_data)} bytes")
temp_file = None
try:
# Processing video from temporary file
with tempfile.NamedTemporaryFile(suffix=".mp4", delete=False) as tmp:
tmp.write(mp4_data)
temp_file = tmp.name
cap = cv2.VideoCapture(temp_file)
if not cap.isOpened():
raise IOError(f"Could not open video file: {temp_file}")
# Example: Get video metadata
frame_count = int(cap.get(cv2.CAP_PROP_FRAME_COUNT))
fps = cap.get(cv2.CAP_PROP_FPS)
width = int(cap.get(cv2.CAP_PROP_FRAME_WIDTH))
height = int(cap.get(cv2.CAP_PROP_FRAME_HEIGHT))
print(f"Video Info: {frame_count} frames, {fps:.2f} FPS, {width}x{height}")
# Example: Read and display the first frame (or process as needed)
ret, frame = cap.read()
if ret:
print(f"First frame shape: {frame.shape}, dtype: {frame.dtype}")
# You can then use this frame for further processing, e.g.,
frame_rgb = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
import matplotlib.pyplot as plt
plt.imshow(frame_rgb)
plt.title(f"Sample First Frame")
plt.show()
else:
print("Could not read first frame.")
cap.release()
except Exception as e:
print(f"Error processing external MP4: {e}")
finally:
if temp_file and os.path.exists(temp_file):
os.remove(temp_file) # Clean up the temporary file
if __name__ == '__main__':
main()
- Downloads last month
- 286
Continuous signing videos
Continuous signing videos
Parallel text
Parallel text
Bible reference to signed verses
Bible reference to signed verses
Pose estimation data in the following formats
Pose estimation data in the following formats
Signer id for each video
Signer id for each video
Size of the auto-converted Parquet files (First 5GB per split):
23.3 GB
Number of rows (First 5GB per split):
300
Estimated number of rows:
1,097