Skip to main content

Run any computer vision model with one command — without freezing your laptop

Project description

pixo

Run any computer vision model with one command — without freezing your laptop, 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.2.0.tar.gz (46.5 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.2.0-py3-none-any.whl (54.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pixo-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6e2a6705b657df468ca5716f7fa344f969ee40bf79ca0680caa35cc837013a2d
MD5 6013d28ffa4db67118fbca14496e8188
BLAKE2b-256 d11cf6f68b8282d611a4e0ab5a0af58b0632d52ec219b6e228c5453d7925d406

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pixo-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 54.8 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8bb532d3e806a873a16bd1d453196b75ca7927276559d3cf66c0ef9d0fb0828a
MD5 e2f7589f361efe1ef7aa8f8425c86685
BLAKE2b-256 8429e2645cde5bd19b78df215a23835bee49d70c1c2ea82aca8efa0cfd1141da

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