Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ObjectTag

ObjectTag screenshot

ObjectTag makes it easy to create high-quality datasets for object detection. Capture images, annotate objects with bounding boxes, add labels, review your data, and export your dataset in common formats like YOLO, COCO or as needed for PyTorch.

Whether you are prototyping a computer vision model, collecting training data in the field, or preparing a dataset for ML workflows, ObjectTag keeps the process simple and efficient.

ο£Ώ Download iOS app from AppStore

πŸš€ Usage

  1. Download and unzip your dataset,
  2. Copy ObjectDetectionDataset or create your own dataset class
  3. Use it e.g. like this in PyTorch:
from ODDataset import ObjectDetectionDataset
from torch.utils.data import DataLoader
from torchvision import transforms



default_transform = transforms.Compose([
    transforms.ToTensor(),
])

def collate_fn(batch):
    return tuple(zip(*batch))

# Expected structure:
# mydataset/
# β”œβ”€β”€ dimensions/
# β”‚   β”œβ”€β”€ image_001.jpg
# β”‚   └── image_002.jpg
# └── labels.json
dataset = ObjectDetectionDataset(
    image_folder="mydataset/dimensions",
    labels_json_path="mydataset/labels.json",
    transform=default_transform,
)

loader = DataLoader(
    dataset,
    batch_size=4,
    shuffle=True,
    collate_fn=collate_fn,
)

for images, targets in loader:
    print(f"Images batch shape: {images[0].shape}")
    print(f"Targets: {targets, }")
    break  # just the first batch for testing

πŸ’¬ Feedback

If you have feature requests or encounter bugs, please open an issue in this repository.

πŸ”’ Privacy & Terms

About

ObjectTag makes it easy to create high-quality datasets for object detection. Capture images, annotate objects with bounding boxes, add labels, review your data, and export your dataset in common formats like PyTorch, YOLO and COCO.

Resources

Stars

6 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages