Skip to main content

Ollama for Computer Vision — run any heavy CV model on any laptop without freezing

Project description

pixo

Ollama for Computer Vision — run heavy CV models on any laptop without freezing your machine, losing progress, or fighting dependency hell.

pip install pixo
pixo pull yolov8
pixo run yolov8 --input photo.jpg

Why pixo?

Running computer vision models (SAM2, YOLO, GroundingDINO, Depth Anything) on your own machine is painful. Your laptop freezes, jobs crash halfway, dependencies conflict, and there's no ETA. pixo fixes all of that.

Problem Without pixo With pixo
Laptop freezes RAM/CPU maxed out, hard reboot Resource Guardian caps usage, machine stays responsive
Job crashes at 80% Start over from zero Auto-checkpoint, resume from where it stopped
No time estimate Stare at a blank screen Pre-run estimate + live ETA
Setup complexity README with 47 steps pixo pull model && pixo run model --input file

Quick Start

# Install
pip install pixo

# See what's available
pixo list

# Download a model
pixo pull yolov8

# Run it
pixo run yolov8 --input photo.jpg
pixo run yolov8 --input video.mp4

# Check your hardware
pixo doctor

# Speed up with ONNX (40% faster on CPU)
pixo optimize yolov8

Key Features

Resource Guardian

Your laptop won't freeze. pixo checks resources before running and caps usage during execution.

# Safe for low-RAM machines (processes frame-by-frame)
pixo run yolov8 --input video.mp4 --low-memory

# Work normally while pixo runs in the background
pixo run yolov8 --input video.mp4 --background

Free Cloud GPUs

Too slow locally? Route to free cloud GPUs automatically.

pixo setup-cloud          # Connect Kaggle/Colab (one-time)
pixo run yolov8 --input video.mp4 --backend kaggle  # Run on GPU for free

Smart Routing

pixo estimates time per backend and picks the fastest option.

pixo run yolov8 --input video.mp4
# Local (CPU):  ~32 minutes
# Local (ONNX): ~19 minutes
# Kaggle (GPU): ~7 minutes  <-- recommended

Supported Models

Model Task Status
YOLOv8 Object detection Working
SAM2 Image segmentation Model card ready
GroundingDINO Open-set detection Model card ready
SAMURAI Video tracking + segmentation Model card ready
Depth Anything V2 Depth estimation Model card ready
Florence-2 Vision-language Model card ready

Commands

pixo pull <model>              # Download a model
pixo run <model> --input <file>  # Run inference
pixo list                      # List available models
pixo info <model>              # Show model details
pixo doctor                    # Check hardware
pixo optimize <model>          # Convert to ONNX
pixo setup-cloud               # Connect cloud accounts
pixo cloud-status              # Check cloud connections
pixo rm <model>                # Remove a downloaded model

Adding a Model

pixo uses a plugin system. Each model is defined by two files:

pixo/models/cards/your_model/
  modelcard.yaml   # Model metadata, dependencies, hardware requirements
  run.py           # Two functions: setup() and run()

Development

git clone https://github.com/Janinduu/pixo.git
cd pixo
pip install -e .

License

MIT

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

pixo-0.1.1.tar.gz (34.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pixo-0.1.1-py3-none-any.whl (39.5 kB view details)

Uploaded Python 3

File details

Details for the file pixo-0.1.1.tar.gz.

File metadata

  • Download URL: pixo-0.1.1.tar.gz
  • Upload date:
  • Size: 34.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for pixo-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f3a88c6987767788c5c6de62bc2d48301e87bb947b7d7aca180288cd01be3b3d
MD5 d277a0eb42892289da57733e6f0ab6b7
BLAKE2b-256 0e8d70d94b5b370e9161660280e8f55db4a935102707c8fd8c792e95102403db

See more details on using hashes here.

File details

Details for the file pixo-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pixo-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 39.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for pixo-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7fdf852186ca89ec19137d10eee29b2db5e1607720bf7f452536a7e4060c932e
MD5 d42857a2ae2967e77355c33f627effaa
BLAKE2b-256 2821040d22fa3d1385b13b0710bf82a13233490de8a3e2afbff5fa0c56bef6c7

See more details on using hashes here.

Supported by

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