Skip to main content

LivePyxel

logo livePyxel

LivePyxel is a Python-based GUI for fast pixel annotation of images captured directly from a webcam feed. It’s designed to speed up dataset preparation for instance segmentation and other ML workflows.


Tutorials


Requirements

  • Python: 3.9 – 3.12 recommended
  • OS: Windows, macOS, or Linux
  • Core deps (installed for you via pip unless using a conda env below):
    • PyQt5 (Qt5)
    • OpenCV (cv2)
    • NumPy

Tip: If you’re on Windows and prefer Conda, see the Conda section; Conda’s Qt/OpenCV packages are very reliable there.


Option A — Quick install from PyPI (recommended for users)

pip install --upgrade pip
pip install livepyxel

Run the app:

LivePyxel
# or
livepyxel
# or
python -m livepyxel

(Optional) Create a virtual environment first

Windows (PowerShell / cmd):

python -m venv .venv
.\.venv\Scripts\activate
pip install --upgrade pip
pip install livepyxel
LivePyxel

macOS / Linux:

python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install livepyxel
LivePyxel

Option B — Conda environments

You can use Conda to manage Python and heavy binary deps (Qt, OpenCV, NumPy), and then install LivePyxel from PyPI without re-installing those deps via pip.

1) End users (install the released package)

Run the file environment.yml at the repo root

This will create a new env called livepyxel-env, then run the app:

conda activate livepyxel
LivePyxel

Option C — From source with pip (no Conda)

For contributors who prefer pure pip/venv:

git clone https://github.com/UGarCil/LivePyxel.git
cd LivePyxel

python -m venv .venv
.\.venv\Scripts\activate   # Windows
# source .venv/bin/activate  # macOS/Linux

pip install --upgrade pip
pip install -e .            # editable install for development
LivePyxel

If you have defined dev extras in pyproject.toml, you can do:

pip install -e ".[dev]"

Troubleshooting

  • Command not found: make sure your virtualenv/conda env is activated before running LivePyxel.
  • Black window / missing icons: ensure you’re on the latest version and that package data is included (it is by default from PyPI). If running from source, verify livepyxel/icons/ exists.
  • Import errors when running a module directly: launch via LivePyxel or python -m livepyxel (not by python livepyxel/imageAnnotator.py) so package-relative imports work.
  • OpenCV or Qt conflicts in Conda: stick to the Conda packages (pyqt, opencv, numpy) and use pip ... --no-deps for LivePyxel.
  • Python version: prefer Python 3.9–3.12. Python 3.13 support is pending upstream wheels for some deps.

License

This project is released under the MIT License. See LICENSE for details.


Links

Release files for livepyxel 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for livepyxel 0.1.3
File Size Uploaded
livepyxel-0.1.3.tar.gz 8.7 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for livepyxel 0.1.3
File Interpreter ABI Platform
livepyxel-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 17.3 MB

Release files / livepyxel-0.1.3.tar.gz

Download URL livepyxel-0.1.3.tar.gz
Size 8.7 MB
Tags Source
SHA-256 checksum
How to use checksums
5581eb33b79ac01c9c320a3212713239c4f247956339d1828d6fa5e804f2afdf
BLAKE2b-256 checksum
How to use checksums
b866abb9a2106589dbaa0e3b72667f4b40aaac11348fe11422f66bde55e244a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release files / livepyxel-0.1.3-py3-none-any.whl

Download URL livepyxel-0.1.3-py3-none-any.whl
Size 8.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
9267b3e5feadffb183d3e2ff4fc7c71299183aa96e44c944787f5714928677ec
BLAKE2b-256 checksum
How to use checksums
99377cb4cb44fc51093cc242a8a40e9fec1b42daf0826443d7d168775a9f93c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page