Skip to content

digera/eater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eater

Individual cat identification system using body pattern recognition.

Setup

# Install dependencies
pip install -e ".[dev]"

# Set up environment variables
export EATER_DB_HOST=localhost
export EATER_DB_PORT=5432
export EATER_DB_USER=postgres
export EATER_DB_PASSWORD=yourpassword
export EATER_DB_NAME=eater

# Ensure pgvector extension is available in Postgres
# Connect to Postgres and run: CREATE EXTENSION vector;

# Run
python -m eater.main

Architecture

  • Detection: YOLOv8 (COCO "cat" class)
  • Identification: PPGNet-Cat embeddings
  • Database: Postgres + pgvector for similarity search
  • TUI: Textual for annotation

Testing

# Run unit tests (no Postgres needed)
pytest tests/ -v

# Run database integration tests (requires Postgres with pgvector)
EATER_RUN_DB_TESTS=1 pytest tests/ -v  # uses EATER_DB_HOST, EATER_DB_NAME, etc.

Models

Download models to models/:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages