Skip to content

royerlab/img-embed-td

Repository files navigation

Image Embedding For Tracking

A toolbox for image embedding feature extraction for tracksdata graphs.

Installation

pip install git+https://github.com/royerlab/img-embed-td.git

Quick Start

tracksdata compatibility through python

import torch
import tracksdata as td
from img_embed_td import ImageEmbeddingConfig, ImageEmbeddingNodeAttrs

graph = ...

config = ImageEmbeddingConfig(
    model_name="dinov3-vits16plus",
)

embed_ops = ImageEmbeddingNodeAttrs(config=config)
embed_ops.add_node_attrs(graph, frames=frames)

geff CLI compatibility

# in-place addition of embedding attributes to the graph
img-embed-td your_graph.geff directory_with_images/*.tif -m dinov3-vits16plus

About

A toolbox for image embedding feature extraction for tracksdata & geff graphs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published