{"id":20458691,"url":"https://github.com/pupil-labs/aois_module","last_synced_at":"2025-09-10T23:33:29.181Z","repository":{"id":227888488,"uuid":"649663220","full_name":"pupil-labs/aois_module","owner":"pupil-labs","description":"A module to segment masks and submit them to Cloud.","archived":false,"fork":false,"pushed_at":"2024-03-18T14:08:06.000Z","size":6596,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-06-09T02:41:13.090Z","etag":null,"topics":["cloud","pupil-labs","segment-anything"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pupil-labs.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-05T11:17:01.000Z","updated_at":"2024-04-04T07:35:24.000Z","dependencies_parsed_at":"2025-01-15T23:42:40.359Z","dependency_job_id":"1258f7e2-bb11-4741-9c24-2ce9db52d5b7","html_url":"https://github.com/pupil-labs/aois_module","commit_stats":null,"previous_names":["pupil-labs/aois_module"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pupil-labs/aois_module","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pupil-labs%2Faois_module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pupil-labs%2Faois_module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pupil-labs%2Faois_module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pupil-labs%2Faois_module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pupil-labs","download_url":"https://codeload.github.com/pupil-labs/aois_module/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pupil-labs%2Faois_module/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266437400,"owners_count":23928240,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloud","pupil-labs","segment-anything"],"created_at":"2024-11-15T12:13:27.942Z","updated_at":"2025-07-22T06:08:01.505Z","avatar_url":"https://github.com/pupil-labs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"====================================================================\nPupil Labs AOIs Module: Automate AOI Definition with GroundingSAM\n====================================================================\n\n.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json\n   :target: https://github.com/astral-sh/ruff\n   :alt: Ruff\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n   :target: https://github.com/psf/black\n   :alt: Code style: Black\n\n.. image:: https://img.shields.io/badge/skeleton-2024-informational\n   :target: https://blog.jaraco.com/skeleton\n\n.. image:: https://img.shields.io/badge/python-3.10-blue.svg\n   :target: https://www.python.org/downloads/release/python-3100/\n   :alt: Python version: 3.10\n\n**Introduction**\n----------------\n\nThe Pupil Labs AOIs Module leverages the powerful GroundingSAM framework to automate the process of defining Areas of Interest (AOIs) within the Reference Image Mapper/Marker Mapper enrichment in Cloud. This innovative tool offers a user-friendly web interface, allowing for the upload of reference images and the specification of desired segmentation parameters. By utilizing `GroundingSAM \u003chttps://github.com/IDEA-Research/Grounded-Segment-Anything\u003e`_ for segmentation, and facilitating mask submission through our `Cloud API \u003chttps://api.cloud.pupil-labs.com/v2\u003e`_, this module significantly streamlines the enrichment process, eliminating the need for manual mask drawing.\n\n\n**Quick Start with Google Colab**\n---------------------------------\n\n.. image:: https://img.shields.io/static/v1?label=\u0026message=Open%20in%20Google%20Colab\u0026color=blue\u0026labelColor=grey\u0026logo=Google%20Colab\u0026logoColor=#F9AB00\n   :target: https://colab.research.google.com/drive/1SJQS6-P56wpDxJTNfZeuzwZADKK9h6ri?usp=sharing\n   :alt: Open in Google Colab\n\n**Local Installation**\n----------------------\n\n**Docker Installation**\n\n1. Clone the repository and build the Docker image:\n\n.. code:: bash\n\n    git clone https://github.com/pupil-labs/aois_module\n    cd aois_module\n    docker build -t pupil-labs-aois-module .\n\n**Python Package Installation**\n\nOptional step to set up a virtual environment using UV (from astral.sh):\n\n.. code:: bash\n\n    curl -LsSf https://astral.sh/uv/install.sh | sh\n    uv venv --seed --python3.11\n    source .venv/bin/activate\n    uv pip install pupil-labs-aois-module\n\nAlternatively, install directly with pip:\n\n.. code:: bash\n\n    pip install pupil-labs-aois-module\n\nOr, for a development setup, clone the repository and install:\n\n.. code:: bash\n\n    git clone https://github.com/pupil-labs/aois-module.git\n    cd aois-module\n    pip install .\n\n**Running the Module**\n----------------------\n\n**Locally**\n\n.. code:: bash\n\n    pl-aois\n\n**Using Docker**\n\n.. code:: bash\n\n    docker run -p 8002:8002 pupil-labs-aois-module\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpupil-labs%2Faois_module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpupil-labs%2Faois_module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpupil-labs%2Faois_module/lists"}