Skip to main content

Distinguish behavioral clusters Toolbox

Project description

CASTLE

CASTLE integrates the strengths of visual foundation models trained on large datasets possess open-world visual concepts, including Segment Anything (SA), DeAOT, and DINOv2, for one-shot image segmentation and unsupervised visual feature extraction. Furthermore, CASTLE employs unsupervised multi-stage and/or multi-layer UMAP clustering algorithms to distinguish behavioral clusters with unique temporal variability.

Install

git clone https://github.com/RaisoLiu/castle-animal.git
cd castle-animal
python install .

Example

Image segmentation

1+1

Video objects segmentation

from castle import generate_aot

tracker = generate_aot(ckpt_path, MODEL, DEVICE)
tracker.add_reference_frame(frame, mask, num_object)


new_mask = 

Visual latent extractioin

1+1

UMAP & HDBSCAN analysis

1+1

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

castle_ai-0.0.1.tar.gz (88.7 kB view details)

Uploaded Source

Built Distribution

castle_ai-0.0.1-py2.py3-none-any.whl (119.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file castle_ai-0.0.1.tar.gz.

File metadata

  • Download URL: castle_ai-0.0.1.tar.gz
  • Upload date:
  • Size: 88.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.12

File hashes

Hashes for castle_ai-0.0.1.tar.gz
Algorithm Hash digest
SHA256 7d2d207f6a4e2c128be0c833aacc4a74e7701525eb8261d095a6a09bf3e63ea9
MD5 18154821f6c645f320e391a66613eed9
BLAKE2b-256 5162824906e1634f33dab131d334c2de762f0f4876494f42105d50c00452146b

See more details on using hashes here.

File details

Details for the file castle_ai-0.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: castle_ai-0.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 119.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.12

File hashes

Hashes for castle_ai-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 641016e86490311752a30affca6e8bc2d6b2f5b469d4b00f278648da3f5d31b2
MD5 6fd2fd2ec698945c46d0fe22d880e10d
BLAKE2b-256 1a6e83a4d49ddb9d51e4a42bee576322615d521d20dda61b05bee8911f2b4c6f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page